Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enforce linking to spec for method implementations via macros | Corey Farwell | 2015-08-31 | 1 | -0/+7 |
| | |||||
* | Time distribution across script event categories. | benshu | 2015-08-28 | 1 | -4/+5 |
| | |||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -7/+7 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that JSRef<T> is gone, there is no need to have helper traits. On components/script/*.rs: # Remove imports. /^ *use dom::[a-z]+::\{.*Helpers/ { s/\{(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers, /\{/ s/, (Raw[^L]|[^L][^a])[a-zA-Z]+Helpers([,}])/\2/g s/\{([a-zA-Z]+)\}/\1/ /\{\}/d s/::self;$/;/ } /^ *use dom::[a-z]+::\{?(Raw[^L]|[^L][^a])[a-zA-Z]+Helpers\}?;$/d On components/script/dom/*.rs: # Ignore layout things. /^(pub )?(impl|trait).*Layout.* \{/,/^}$/ { P; D; } # Delete helpers traits. /^(pub )?trait ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? \{$/,/^\}$/D # Patch private helpers. /^impl.*Private.*Helpers/,/^\}$/ { s/^impl<'a> Private([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for &'a ([^ ]+) \{$/impl \3 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn /s/\(self([,)])/\(\&self\1/ } # Patch public helpers. /^impl.*Helpers/,/^\}$/ { s/^impl(<'a>)? ([^L][^ ]|L[^a])[^ ]+Helpers(<'a>)? for (&'a )?([^ ]+) \{$/impl \5 {/ /^ *(unsafe )?fn .*\(self.*[<&]'a/ { s/&'a /\&/g s/<'a, /</g } /^ *(unsafe )?fn .*\(&?self[,)]/s/(unsafe )?fn/pub &/ /^ *pub (unsafe )?fn /s/\(self([,)])/\(\&self\1/ } The few error cases were then fixed by hand. | ||||
* | make dom_struct derive HeapSizeOf, | João Oliveira | 2015-08-27 | 1 | -1/+0 |
| | | | | closes #7357 | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -9/+9 |
| | |||||
* | Cleanup WebGLRenderingContext, Websocker, WorkerGlobalScope | Manish Goregaokar | 2015-08-18 | 1 | -1/+1 |
| | |||||
* | Fix existing syntactics nits. | Josh Matthews | 2015-08-16 | 1 | -1/+1 |
| | |||||
* | Auto merge of #7214 - tomjakubowski:websocket-binaryType, r=Ms2ger | bors-servo | 2015-08-15 | 1 | -3/+33 |
|\ | | | | | | | | | | | | | | | | | | | Implement WebSocket#binaryType Closes #7098 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7214) <!-- Reviewable:end --> | ||||
| * | WebSocket: Implement WebSocket#binaryType | Tom Jakubowski | 2015-08-15 | 1 | -3/+33 |
| | | |||||
* | | Splitting ScriptMsg into various enums; r=jdm | Ravi Shankar | 2015-08-15 | 1 | -6/+5 |
| | | |||||
* | | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -1/+4 |
|/ | |||||
* | Implement WebSocket#onmessage. | Ms2ger | 2015-08-08 | 1 | -0/+1 |
| | |||||
* | Dispatch message events for WebSocket. | Ms2ger | 2015-08-07 | 1 | -13/+88 |
| | |||||
* | Use hosts-replaced URL only when loading resources | James Graham | 2015-08-05 | 1 | -7/+20 |
| | |||||
* | Add spec links | Bogdan Cuza | 2015-07-28 | 1 | -0/+4 |
| | |||||
* | Move the WebSocket constructor logic out of WebSocket::new. | Ms2ger | 2015-07-23 | 1 | -15/+11 |
| | |||||
* | Spawn a thread for WebSocket messages. | Ms2ger | 2015-07-22 | 1 | -44/+35 |
| | |||||
* | Set the WebSocket's Sender from the ConnectionEstablishedTask. | Ms2ger | 2015-07-22 | 1 | -2/+4 |
| | | | | | | | | This needs to happen off a task because we won't be able to access the WebSocket object directly once this code moves to a background thread. There is no behaviour change, because we make sure that self.ready_state is not Connecting in Send(). | ||||
* | Remove the receiver field from WebSocket. | Ms2ger | 2015-07-22 | 1 | -5/+1 |
| | | | | | The receiver will be used from another thread than the WebSocket object in the future. | ||||
* | Split up WebSocketTaskHandler. | Ms2ger | 2015-07-22 | 1 | -37/+17 |
| | | | | | There's no real reason to have internal dynamic dispatch inside a trait object. | ||||
* | Reject websocket protocol requests that don't match ↵ | Josh Matthews | 2015-07-22 | 1 | -3/+29 |
| | | | | https://tools.ietf.org/html/rfc6455#section-4.1 . | ||||
* | Don't try to send a message in WebSocket#close if the sender isn't present. | Ms2ger | 2015-07-16 | 1 | -1/+3 |
| | |||||
* | Handle Send correctly if readyState is not Open. | Ms2ger | 2015-07-16 | 1 | -2/+9 |
| | |||||
* | Remove WebSocket::sendCloseFrame. | Ms2ger | 2015-07-16 | 1 | -17/+11 |
| | | | | | | It is a field that is used a function argument. Given that the control flow is not quite the same, and we can't add an argument to Send, I opted for a separate function. | ||||
* | Remove parse_web_socket_url in favour of functions in rust-websocket. | Ms2ger | 2015-07-15 | 1 | -44/+6 |
| | |||||
* | Throw an InvalidStateError from WebSocket#send when it is called too early. | Ms2ger | 2015-07-14 | 1 | -1/+5 |
| | |||||
* | Stop panicking while establishing a WebSocket connection. | Ms2ger | 2015-07-14 | 1 | -9/+19 |
| | |||||
* | Fix #6379 | Bogdan Cuza | 2015-07-13 | 1 | -1/+3 |
| | |||||
* | Replace WebSocketTask::Open by ConnectionEstablished. | Ms2ger | 2015-07-13 | 1 | -14/+22 |
| | |||||
* | Remove some dead code from WebSockets. | Ms2ger | 2015-07-13 | 1 | -8/+0 |
| | |||||
* | Return the parsed URL from WebSocket#url. | Ms2ger | 2015-07-13 | 1 | -10/+10 |
| | |||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -2/+1 |
| | | | | fixes #6524 | ||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -33/+30 |
| | |||||
* | WebSocket constructor should not panic | Jinwoo Song | 2015-06-16 | 1 | -1/+10 |
| | | | | | | | | Make an early return when the WebSocket connection fails in the constructor. Also let the WebSocket connection to be closed when the connection could not be established. Fixes #6082. | ||||
* | Revert "WebSocket constructor should not panic" | Ms2ger | 2015-06-12 | 1 | -10/+1 |
| | | | | This reverts commit 877c369e0bc5db4286457be36d015eeb1f0ae2f2. | ||||
* | WebSocket constructor should not panic | Jinwoo Song | 2015-06-11 | 1 | -1/+10 |
| | | | | | | | | Make an early return when the WebSocket connection fails in the constructor. Also let the WebSockect connection to be closed when the connection could not be established. Fixes #6082. | ||||
* | Auto merge of #6174 - frewsxcv:cleanup-long-lines, r=SimonSapin | bors-servo | 2015-05-24 | 1 | -5/+10 |
|\ | | | | | | | | | | | | | | | Part of https://github.com/servo/servo/issues/6041 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6174) <!-- Reviewable:end --> | ||||
| * | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -5/+10 |
| | | | | | | | | Part of https://github.com/servo/servo/issues/6041 | ||||
* | | fixes 6111: WebSocket close event shouldn't be Cancelable | Alexander Putilin | 2015-05-24 | 1 | -1/+1 |
|/ | |||||
* | Adding in a missed algorithm step number in the comments. | Paul Faria | 2015-05-20 | 1 | -1/+1 |
| | |||||
* | Auto merge of #6127 - Nashenas88:websockets-invalid-urls, r=Ms2ger | bors-servo | 2015-05-20 | 1 | -9/+54 |
|\ | | | | | | | | | | | | | | | Fix #6061. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6127) <!-- Reviewable:end --> | ||||
| * | Responded to more code review comments. Simplified code a lot. | Paul Faria | 2015-05-19 | 1 | -64/+12 |
| | | |||||
| * | Responded to code review comments, general cleanup | Paul Faria | 2015-05-19 | 1 | -51/+29 |
| | | |||||
| * | Fixing one missed trailing whitespace, and fixed url | Paul Faria | 2015-05-19 | 1 | -2/+2 |
| | | |||||
| * | Removing trailing whitespace | Paul Faria | 2015-05-19 | 1 | -4/+4 |
| | | |||||
| * | Initial work on #6061. | Paul Faria | 2015-05-19 | 1 | -8/+127 |
| | | |||||
* | | Fixed definition of Close and Send in WebSocket.webidl and updated ↵ | Paul Faria | 2015-05-19 | 1 | -5/+6 |
|/ | | | | implementation in websocket.rs. | ||||
* | Made open event in WebScoket not cancelable (fixes #6101) | Keith Yeung | 2015-05-18 | 1 | -1/+1 |
| | |||||
* | Fix some overlong lines. | Ms2ger | 2015-05-14 | 1 | -1/+2 |
| |