Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -17/+17 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -36/+46 |
| | |||||
* | Updated content_type of Document and XMLDocument from DOCString to Mime | Nupur Baghel | 2018-02-09 | 1 | -1/+1 |
| | |||||
* | replace DocumentSource::NotFromParser with DocumentSource::FromParser | tigercosmos | 2018-01-06 | 1 | -2/+2 |
| | |||||
* | Use FetchCanceller for document loads | Manish Goregaokar | 2017-11-22 | 1 | -2/+4 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -4/+4 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | 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. |