Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename MutJS<T> to MutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Untry script | Simon Sapin | 2017-06-18 | 1 | -4/+4 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Remove and allow some dead code. | Ms2ger | 2016-12-22 | 1 | -3/+0 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -3/+3 |
| | | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS. | ||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -8/+8 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+1 |
| | |||||
* | Remove empty lines following braces. | Josh Matthews | 2016-05-27 | 1 | -1/+0 |
| | |||||
* | Get rid of a bunch of explicit derefs | David Zbarsky | 2015-11-03 | 1 | -2/+2 |
| | |||||
* | merge from master | rohan.prinja | 2015-11-03 | 1 | -1/+1 |
|\ | |||||
| * | Removed JS::root Fixes #8251 | nxnfufunezn | 2015-10-31 | 1 | -1/+1 |
| | | |||||
* | | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
|/ | |||||
* | Do not root NodeIterator::root_node | Anthony Ramine | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | Return a reference in Document::window() | Anthony Ramine | 2015-10-19 | 1 | -2/+1 |
| | |||||
* | Fix remaining MutHeap methods not to expose JS<T>. | Eli Friedman | 2015-10-15 | 1 | -8/+8 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -1/+0 |
| | | | | 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 | -9/+9 |
| | |||||
* | Remove dead code that surfaced when moved outside helper trait | Anthony Ramine | 2015-08-27 | 1 | -4/+0 |
| | |||||
* | Remove helper traits | Anthony Ramine | 2015-08-27 | 1 | -9/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -2/+2 |
| | |||||
* | Cleanup NodeIterator, Range, ServoHTMLParser, TextEncoder, URLHelper, URL, ↵ | Manish Goregaokar | 2015-08-18 | 1 | -2/+2 |
| | | | | VirtualMethods | ||||
* | Measure heap memory usage for more types. Fixes #6951 | Bogdan Cuza | 2015-08-13 | 1 | -0/+3 |
| | |||||
* | Refactor #[jstraceable] to #[derive(JSTraceable)] | David Winslow | 2015-07-01 | 1 | -1/+1 |
| | | | | fixes #6524 | ||||
* | Upgrade to SM 39 | Michael Wu | 2015-06-19 | 1 | -40/+38 |
| | |||||
* | Update NodeIterator code to apply review comments. | Jinwoo Song | 2015-05-28 | 1 | -186/+104 |
| | |||||
* | Implement nextNode(), previousNode() and detach() in NodeIterator | Jinwoo Song | 2015-05-27 | 1 | -8/+193 |
| | | | | | First patch to resolve #1235. We need more implementation for handling node removals, and I'll implement in next patch. | ||||
* | Implement Document.createNodeIterator and rebase patch | Jinwoo Song | 2015-05-27 | 1 | -7/+5 |
| | |||||
* | Implement more NodeIterator attribute and methods | Jinwoo Song | 2015-05-27 | 1 | -0/+43 |
| | | | | | | Just implement the skelectons - referenceNode attribute - nextNode() and previousNode() | ||||
* | Implement NodeIterator's attributes | Jinwoo Song | 2015-05-27 | 1 | -6/+64 |
| | | | | - root, whatToShow, and filter | ||||
* | Don't define empty FooMethods traits. | Ms2ger | 2015-03-13 | 1 | -6/+1 |
| | |||||
* | Remove manual impls of Reflectors (autogen) | Manish Goregaokar | 2014-12-27 | 1 | -6/+1 |
| | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports | ||||
* | Updated reflect_dom_object to be passed by value | Michael Booth | 2014-11-30 | 1 | -1/+1 |
| | |||||
* | Use #[dom_struct] everywhere | Manish Goregaokar | 2014-10-16 | 1 | -3/+1 |
| | |||||
* | Simple privatizations | Tim Taubert | 2014-10-13 | 1 | -1/+2 |
| | |||||
* | Made some DOM fields private. | ProgramFOX | 2014-09-26 | 1 | -1/+1 |
| | | | | Relevant to #2242. | ||||
* | Use JSTraceable everywhere | Manish Goregaokar | 2014-09-24 | 1 | -1/+1 |
| | |||||
* | Make Reflector #[must_root], propagate to non-HTMLElements | Manish Goregaokar | 2014-09-17 | 1 | -0/+1 |
| | |||||
* | Cargoify servo | Jack Moffitt | 2014-09-08 | 1 | -0/+35 |