Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove doublepointer in VirtualMethods, and from_borrowed_ref | Manish Goregaokar | 2015-08-27 | 1 | -4/+4 |
| | | | | | | | | | Most of the heavy lifting done by: ``` $ ls *rs | xargs gawk -i inplace '/let .*: &&.*from_borrowed_ref/{sub("&&", "\\&");sub("_borrowed_","_");} {print $0}' $ ls *rs | xargs gawk -i inplace "/impl.*VirtualMethods/{in_vm=1; sub(/<'a>/,\"\");sub(/&'a /,\"\")} /^}\$/{in_vm=0;} in_vm{\$0=gensub(/\\*self([^.])/,\"self\\\1\",\"g\"); sub(/from_borrowed_ref/,\"from_ref\")} {print}" ``` | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -9/+9 |
| | |||||
* | Auto merge of #7006 - Wafflespeanut:script_cleanup, r=jdm | bors-servo | 2015-08-15 | 1 | -3/+3 |
|\ | | | | | | | | | | | | | | | | | | | Splitting ScriptMsg into various enums... ... for #3734, which is also one of the oldest issues. (/cc @jdm) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7006) <!-- Reviewable:end --> | ||||
| * | Splitting ScriptMsg into various enums; r=jdm | Ravi Shankar | 2015-08-15 | 1 | -3/+3 |
| | | |||||
* | | replace .len() == 0 with is_empty() | João Oliveira | 2015-08-14 | 1 | -1/+1 |
|/ | | | | closes #7198 | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+3 |
| | |||||
* | script: Make the resource task communication use IPC channels. | Patrick Walton | 2015-07-31 | 1 | -6/+7 |
| | |||||
* | net: Use a thread for each `AsyncResponseTarget` to avoid having to send | Patrick Walton | 2015-07-31 | 1 | -2/+10 |
| | | | | trait objects across process boundaries. | ||||
* | net: Make most of the resource task messages serializable. | Patrick Walton | 2015-07-31 | 1 | -1/+1 |
| | |||||
* | Introduce VirtualMethods::children_changed() | Anthony Ramine | 2015-07-25 | 1 | -3/+4 |
| | | | | | | | | | This virtual method mimics the behaviour of mutation observers and make it more viable than the older child_inserted(), which didn't cover removed nodes and was called as many times as there were inserted nodes. A few other shortcomings where remove_child() was called directly instead of Node::remove() were also fixed while at it. | ||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -43/+46 |
| | |||||
* | Reduce max line length from 150 to 120 characters | Corey Farwell | 2015-05-24 | 1 | -2/+5 |
| | | | | Part of https://github.com/servo/servo/issues/6041 | ||||
* | Update test expectations. Mark script loads as complete when the response is ↵ | Josh Matthews | 2015-05-21 | 1 | -2/+8 |
| | | | | complete. | ||||
* | Make external script sources load asynchronously, yet still block further ↵ | Josh Matthews | 2015-05-20 | 1 | -18/+83 |
| | | | | parsing. Hook up document loading to async networking events. | ||||
* | Implement a DocumentLoader type that tracks pending loads and notifies the ↵ | Josh Matthews | 2015-05-11 | 1 | -2/+5 |
| | | | | script task when the queue is empty. Dispatch the document load event based on the DocumentLoader's notification. | ||||
* | Uniformise root() methods | Anthony Ramine | 2015-04-28 | 1 | -1/+2 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Fix some no_move errors | Manish Goregaokar | 2015-04-28 | 1 | -2/+2 |
| | |||||
* | Remove as_slice() calls from script. | Ms2ger | 2015-04-26 | 1 | -2/+2 |
| | |||||
* | Don't link to specific WHATWG multipage page | Corey Farwell | 2015-04-16 | 1 | -6/+6 |
| | | | | | | | | | | | | | | "Links to the multipage version of the specification are unfortunately likely to break over time." -- https://html.spec.whatwg.org/multipage/asefij.html This commit removes all references to the specific pages when viewing WHATWG using multipage mode. I went through all these links and they redirect fine. Regex used to generate this commit: `s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g` | ||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -4/+4 |
| | | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` | ||||
* | Use a Temporary iterator in Node::collect_text_contents() | Anthony Ramine | 2015-04-07 | 1 | -2/+1 |
| | |||||
* | Make Element::get_attribute() take its namespace by reference | Anthony Ramine | 2015-04-06 | 1 | -6/+6 |
| | |||||
* | Split out shared networking code into net_traits crate | Gilles Leblanc | 2015-04-03 | 1 | -1/+1 |
| | | | | Fixes #4476 | ||||
* | Rewrite NodeChildrenIterator to return Temporary. | Ms2ger | 2015-04-02 | 1 | -1/+1 |
| | |||||
* | Handle the for and event attributes on a script element correctly when one ↵ | Keith Yeung | 2015-04-01 | 1 | -13/+14 |
| | | | | of them is present (fixes #5258). | ||||
* | Use box syntax instead of Box::new() | Brandon DeRosier | 2015-03-29 | 1 | -4/+4 |
| | | | | Closes #5417 | ||||
* | Use new `if let` syntax wherever possible. Fixes #4153. | Zack Slayton | 2015-03-10 | 1 | -12/+8 |
| | |||||
* | auto merge of #5054 : psdh/servo/scriptimplementation, r=jdm | bors-servo | 2015-03-06 | 1 | -9/+26 |
|\ | | | | | | | Fixes #4089 | ||||
| * | implement missing steps from "prepare a script" algorithm | Prabhjyot Singh Sodhi | 2015-03-06 | 1 | -9/+26 |
| | | | | | | | | Fixes #4089 | ||||
* | | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -4/+3 |
|/ | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Implement Document.currentScript | James Gilbertson | 2015-02-27 | 1 | -10/+9 |
| | |||||
* | Implement 'beforescriptexecute' and 'afterscriptexecute' events. | James Gilbertson | 2015-02-25 | 1 | -21/+52 |
| | | | | Spec: https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block, sections 2.b.2 & 2.b.9 | ||||
* | Split the 'Execute a script block' code out of prepare(). | Ms2ger | 2015-02-23 | 1 | -44/+128 |
| | | | | | | | This also adds comments for missing steps. The only change in behaviour should be the debug message when an external script fails to load. | ||||
* | Introduce dom::htmlscriptelement::EventDispatcher. | Tetsuharu OHZEKI | 2015-02-23 | 1 | -10/+19 |
| | |||||
* | Fixing Intermittent failure in pages with timers | Prabhjyot Singh Sodhi | 2015-02-22 | 1 | -2/+2 |
| | | | | Fixes #4923 | ||||
* | auto merge of #4939 : KiChjang/servo/script-element-error-events, r=jdm | bors-servo | 2015-02-21 | 1 | -3/+37 |
|\ | | | | | | | Fixes #4506 | ||||
| * | Script elements now fire async error events (fixes #4506) | Keith Yeung | 2015-02-21 | 1 | -3/+37 |
| | | |||||
* | | implementing step 12 of 'prepare a script' algorithm | Prabhjyot Singh Sodhi | 2015-02-21 | 1 | -2/+18 |
|/ | |||||
* | Import net as net rather than servo_net. | Ms2ger | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | Initialize trusted-ness of DOM events properly | Gilles Leblanc | 2015-02-03 | 1 | -3/+2 |
| | | | | Fixes #3740 | ||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | ||||
* | Don't shadow lifetimes in script. | Ms2ger | 2015-01-28 | 1 | -1/+1 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -4/+4 |
| | |||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -1/+2 |
| | | | | into_string has been removed from Rust. | ||||
* | fixup! Make script load event asynchronous for internal scripts | Tetsuharu OHZEKI | 2015-01-11 | 1 | -1/+1 |
| | |||||
* | Make script load event asynchronous for internal scripts | Tetsuharu OHZEKI | 2015-01-11 | 1 | -0/+28 |
| | |||||
* | Add the enum to describe the script origin. | Tetsuharu OHZEKI | 2015-01-11 | 1 | -3/+8 |
| | |||||
* | Fix #3936 – {Window,WorkerGlobalScope}.set{Timeout,Interval}(DOMString) | Guillaume Bort | 2015-01-07 | 1 | -2/+2 |
| | |||||
* | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -4/+5 |
|\ | |||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -4/+5 |
| | |