aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #8729 - dzbarsky:canvas_webidl, r=dzbarskybors-servo2015-11-292-25/+27
|\ | | | | | | | | | | | | | | Update Canvas webIDL to spec <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8729) <!-- Reviewable:end -->
| * Update Canvas webIDL to specDavid Zbarsky2015-11-282-25/+27
| |
* | Add tracking issues for body/document attributesCorey Farwell2015-11-282-0/+14
|/
* Auto merge of #8703 - eefriedman:dom-getter-setter-atom, r=frewsxcvbors-servo2015-11-2825-159/+124
|\ | | | | | | | | | | | | | | Compute attribute name atoms at compile-time. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8703) <!-- Reviewable:end -->
| * Compute attribute name atoms at compile-time.Eli Friedman2015-11-2725-159/+124
| |
* | Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanutbors-servo2015-11-281-10/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure crate are alphabetically sorted cc @nox <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692) <!-- Reviewable:end -->
| * | Add check up on extern crate order and sort extern crates alphabeticallyGuillaume Gomez2015-11-281-10/+10
| | |
* | | Auto merge of #8701 - nerith:attribute, r=jdmbors-servo2015-11-285-8/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove `#[allow(raw_pointer_derive)]` attributes The attributes are unused. Fixes #8699. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701) <!-- Reviewable:end -->
| * | | Remove `#[allow(raw_pointer_derive)]` attributesBrandon Fairchild2015-11-275-8/+1
| | |/ | |/| | | | | | | | | | | | | The attributes are unused. Fixes #8699.
* | | Auto merge of #8675 - GuillaumeGomez:master, r=noxbors-servo2015-11-2710-40/+152
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add XMLDocument object Fixes #8000 (Still working on it) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675) <!-- Reviewable:end -->
| * | Add XMLDocument objectGuillaume Gomez2015-11-2710-40/+152
| | |
* | | Use set_plaintext_state instead of plaintext tagKeith Yeung2015-11-271-8/+2
| | |
* | | Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)Manish Goregaokar2015-11-273-25/+23
| |/ |/| | | | | … and libc 0.2 and many other dependencies
* | Defined new trait ParseErrorReporter and added error_reporter member to ↵GauriGNaik2015-11-258-7/+52
|/ | | | ParserContext
* Auto merge of #8671 - paulrouget:iframe-hit-test, r=pcwaltonbors-servo2015-11-261-30/+35
|\ | | | | | | | | | | | | | | | | | | Fix clip rect for iframes in hit testing code Fixes #8080 r? @mrobinson <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8671) <!-- Reviewable:end -->
| * Convert from client to page coords in scriptMatt Brubeck2015-11-251-30/+35
| |
* | Update string_cache to 0.2.Alan Jeffrey2015-11-2543-204/+206
| | | | | | | | | | | | | | | | | | | | | | Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock. Removed references to string_cache_plugin. Import atom! and ns! from string_cache. Replaced ns!("") by ns!(). Replaced ns!(XML) and co by ns!(xml) and co. Replaced atom!(foo) by atom!("foo"). Replaced Atom::from_slice by Atom::from. Replaced atom.as_slice() by &*atom.
* | Auto merge of #6826 - dzbarsky:deletecontents, r=jdmbors-servo2015-11-252-2/+77
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Implement Range#deleteContents Sadly calling ExtractContents and discarding the result doesn't do the right thing. It may be worth having a CutContents method that takes an `Option<DocumentFragment>` and switch the behavior based on it, to share the code between DeleteContents and ExtractContents, like what Gecko does. Maybe a followup. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6826) <!-- Reviewable:end -->
| * Implement Range#deleteContentsDavid Zbarsky2015-11-252-2/+77
| |
* | Auto merge of #8660 - pcwalton:ipc-channel-errors, r=larsbergstrombors-servo2015-11-251-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update `ipc-channel` to pick up the improved error reporting. Intended to help diagnose intermittent failures. r? @jdm or @larsbergstrom (or whoever) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8660) <!-- Reviewable:end -->
| * | Update `ipc-channel` to pick up the improved error reporting.Patrick Walton2015-11-231-1/+1
| | | | | | | | | | | | Intended to help diagnose intermittent failures.
* | | Auto merge of #8655 - jdm:domain, r=jdmbors-servo2015-11-242-2/+15
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | Implement document.domain getter Rebased from #6840 + test fixes. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8655) <!-- Reviewable:end -->
| * | Implement document.domain getterTom Schuster2015-11-232-2/+15
| | |
* | | Auto merge of #8656 - servo:canvas-currentcolor, r=SimonSapinbors-servo2015-11-232-6/+36
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement currentColor for Canvas colors Fixes #7120. This is #7120 by @dzbarsky, with one tidy error fixed. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8656) <!-- Reviewable:end -->
| * | Tidy.Simon Sapin2015-11-231-1/+1
| | |
| * | Parse currentColor as Canvas2D colorDavid Zbarsky2015-11-212-6/+36
| |/
* | Remove two unused imports from components/script/dom/node.rsNick Fitzgerald2015-11-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes these two compiler warnings: ``` Compiling servo v0.0.1 (file:///Users/fitzgen/src/servo/components/servo) /Users/fitzgen/src/servo/components/script/dom/node.rs:26:65: 26:78 warning: unused import, #[warn(unused_imports)] on by default /Users/fitzgen/src/servo/components/script/dom/node.rs:26 use dom::bindings::inheritance::{Castable, CharacterDataTypeId, ElementTypeId}; ^~~~~~~~~~~~~ /Users/fitzgen/src/servo/components/script/dom/node.rs:27:53: 27:70 warning: unused import, #[warn(unused_imports)] on by default /Users/fitzgen/src/servo/components/script/dom/node.rs:27 use dom::bindings::inheritance::{EventTargetTypeId, HTMLElementTypeId, NodeTypeId}; ^~~~~~~~~~~~~~~~~ ```
* | Make the needs_reflow method actually work correctly.Eli Friedman2015-11-212-4/+15
|/ | | | | The document node is always dirty because layout never clears the bit; instead, check the dirty bit of the root element.
* Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapinbors-servo2015-11-213-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | Implement 'url!(..)' macro https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622) <!-- Reviewable:end -->
| * Implement 'url!(..)' macroCorey Farwell2015-11-213-3/+3
| | | | | | | | | | | | https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137
* | Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=noxbors-servo2015-11-212-7/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove 'Node::is_anchor_element' Should fixes #8631. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633) <!-- Reviewable:end -->
| * | Remove 'Node::is_anchor_element'Rizky Luthfianto2015-11-212-7/+3
| |/
* | Auto merge of #8627 - rilut:refactor-script, r=Ms2gerbors-servo2015-11-212-3/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs Actually, I'm not sure whether to move `unsafe extern "C" fn shadow_check_callback` from script_task.rs to lib.rs or to keep it there. cc: @wenderen <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8627) <!-- Reviewable:end -->
| * | refactor(script): move SetDOMProxyInformation() call to lib.rsRizky Luthfianto2015-11-212-3/+5
| | |
* | | Auto merge of #8621 - jgraham:webdriver_css, r=jdmbors-servo2015-11-212-0/+19
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for getting an element's computed style through WebDriver. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8621) <!-- Reviewable:end -->
| * | | Add support for getting an element's computed style through WebDriver.James Graham2015-11-202-0/+19
| | |/ | |/|
* / | Remove an unused trait.Ms2ger2015-11-201-42/+0
|/ /
* | Auto merge of #8599 - jdm:e10s-redux, r=metajackbors-servo2015-11-203-13/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compositing: Split Servo up into multiple sandboxed processes. Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch. Rebase of #6884. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599) <!-- Reviewable:end -->
| * | compositing: Split Servo up into multiple sandboxed processes.Patrick Walton2015-11-193-13/+38
| | | | | | | | | | | | | | | Multiprocess mode is enabled with the `-M` switch, and sandboxing is enabled with the `-S` switch.
* | | Auto merge of #8589 - vegayours:8360_reduce_node_unique_id_size, r=eefriedmanbors-servo2015-11-202-7/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Reduce node.unique_id size <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8589) <!-- Reviewable:end -->
| * | reduce node.unique_id sizeAleksandr Likhanov2015-11-192-7/+8
| | | | | | | | | | | | | | | fix sizeof unittest update Cargo.lock
* | | Auto merge of #8564 - jgraham:webdriver_attr, r=Ms2gerbors-servo2015-11-192-0/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Get Element Attribute WebDriver command This intentionally doesn't implement the special handling for boolean attributes yet, since that requires some kind of exhaustive list of all such attributes <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8564) <!-- Reviewable:end -->
| * | | Implement Get Element Attribute WebDriver commandJames Graham2015-11-182-0/+17
| | | |
* | | | Auto merge of #8604 - Ms2ger:unused-import, r=jdmbors-servo2015-11-191-1/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused import. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8604) <!-- Reviewable:end -->
| * | | | Remove unused import.Ms2ger2015-11-191-1/+0
| | |_|/ | |/| |
* / | | Rename a confusing argument.Ms2ger2015-11-191-2/+2
|/ / /
* | | Auto merge of #8530 - KiChjang:split-constellation-msg, r=jdmbors-servo2015-11-1915-21/+28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split ConstellationMsg into ScriptMsg and CompositorMsg Fixes #8356. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8530) <!-- Reviewable:end -->
| * | | Split ConstellationMsg into ScriptMsg and CompositorMsgKeith Yeung2015-11-1615-21/+28
| |/ /
* | / Correct undisciplined rebase. (Closes #8583.)benshu2015-11-181-2/+0
| |/ |/|
* | Auto merge of #8569 - Ms2ger:fmt-script, r=metajackbors-servo2015-11-1850-886/+1500
|\ \ | | | | | | | | | | | | | | | | | | | | | Rustfmt some of script. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8569) <!-- Reviewable:end -->