Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Add ImmutableOrigin to allow for serializing origins | Connor Brewster | 2017-02-22 | 1 | -2/+2 |
| | |||||
* | Adds an `as_str()` method to WebIDL enums to hide slice of strings from ↵ | Gregory Katz | 2017-02-16 | 1 | -2/+1 |
| | | | | callers. Uses the new method in two places. | ||||
* | Allow windows to share browsing contexts. | Alan Jeffrey | 2017-01-28 | 1 | -3/+3 |
| | |||||
* | The constellation notifies the script thread about documents becoming ↵ | Alan Jeffrey | 2017-01-27 | 1 | -0/+3 |
| | | | | inactive, active and fully active. | ||||
* | Kill ServoParser::pipeline | Anthony Ramine | 2017-01-27 | 1 | -2/+2 |
| | |||||
* | Auto merge of #14647 - servo:current-global, r=jdm | bors-servo | 2016-12-29 | 1 | -0/+2 |
|\ | | | | | | | | | | | | | | | Support the 'current' global object. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14647) <!-- Reviewable:end --> | ||||
| * | Pass the Document's origin to its constructor. | Ms2ger | 2016-12-23 | 1 | -0/+2 |
| | | | | | | | | CC #10963. | ||||
* | | Update links to DOM Parsing specification | Raghav | 2016-12-28 | 1 | -1/+1 |
|/ | | | | | Changed links from https://domparsing.spec.whatwg.org/ to https://w3c.github.io/DOM-Parsing/. | ||||
* | Make WebIDL constructors take a more specific global if possible (fixes #14071) | Rohan Prinja | 2016-11-30 | 1 | -3/+2 |
| | |||||
* | Reorganise ServoParser | Anthony Ramine | 2016-11-14 | 1 | -4/+3 |
| | | | | | | Free-standing fonctions parse_html and friends are now static methods on ServoParser, and the HTML and XML tokenizers have been moved to private submodules. | ||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -3/+2 |
| | |||||
* | Merge script::parse and script::dom::servoparser | Anthony Ramine | 2016-10-11 | 1 | -2/+2 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Introduce GlobalScope::as_window | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | script: Obtain referrer policy from header | Aravind Gollakota | 2016-07-15 | 1 | -0/+2 |
| | |||||
* | Implement Document.referrer | Nazım Can Altınova | 2016-07-14 | 1 | -2/+4 |
| | |||||
* | Added support for additional xml types to DOMParser::parseFromString | Andrew Fluth | 2016-06-01 | 1 | -2/+5 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Store a pointer to the browsing context in the Document. | Ms2ger | 2016-02-11 | 1 | -0/+2 |
| | |||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -6/+10 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -2/+1 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). | ||||
* | M1503 - Integrate XML parse -Initial Steps | jsharda | 2015-11-04 | 1 | -6/+9 |
| | |||||
* | Make DOMString a newtype around String, rather than a typedef. | Ms2ger | 2015-11-04 | 1 | -1/+1 |
| | | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type. | ||||
* | Get rid of a bunch of explicit derefs | David Zbarsky | 2015-11-03 | 1 | -1/+1 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Do not root DOMParser::window | Anthony Ramine | 2015-10-19 | 1 | -5/+4 |
| | |||||
* | Issue 8028: `parse_html` should take `Url` rather than `&Url` | Stephen Li | 2015-10-15 | 1 | -1/+1 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -2/+1 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Make the traits for the IDL interfaces take &self | Anthony Ramine | 2015-08-27 | 1 | -2/+2 |
| | |||||
* | 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 | -2/+0 |
| | | | | closes #7357 | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -2/+2 |
| | |||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -10/+10 |
| | |||||
* | Make external script sources load asynchronously, yet still block further ↵ | Josh Matthews | 2015-05-20 | 1 | -2/+2 |
| | | | | 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/+9 |
| | | | | 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/+1 |
| | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable. | ||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | 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' ``` | ||||
* | Implement Element.innerHTML setter | Chris Paris | 2015-03-18 | 1 | -1/+1 |
| | |||||
* | Refactored optional argument "last_modified" for Document | Martin Schröder | 2015-03-16 | 1 | -0/+2 |
| | | | | Fixes #4981 | ||||
* | Move everything unrelated to the frame tree out of Page and into Document or ↵ | Josh Matthews | 2015-03-03 | 1 | -1/+1 |
| | | | | Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. | ||||
* | Remove unsupported types from the SupportedType IDL enum. | Ms2ger | 2015-02-28 | 1 | -4/+0 |
| | |||||
* | Replace uint/int by usize/isize in various places. | Ms2ger | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -1/+3 |
| | | | | into_string has been removed from Rust. | ||||
* | Fixes #4164 Make Constructor and new functions take GlobalRef by value | Matt McCoy | 2015-01-07 | 1 | -1/+1 |
| | |||||
* | Remove unsound Root::deref() calls in DOMParser::ParseFromString. | Ms2ger | 2015-01-01 | 1 | -8/+8 |
| | | | | Note that Root::clone() calls through to JSRef::clone() due to autoderef. |