Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Miscellaneous build / tidy fixes. | Emilio Cobos Álvarez | 2021-02-26 | 1 | -15/+16 |
| | |||||
* | Remove an obsolete comment | Anthony Ramine | 2020-03-31 | 1 | -1/+0 |
| | |||||
* | Introduce AttrHelpersForLayout::namespace | Anthony Ramine | 2020-03-31 | 1 | -0/+6 |
| | |||||
* | Don't clone the result of AttrHelpersForLayout::local_name | Anthony Ramine | 2020-03-31 | 1 | -3/+3 |
| | | | | There is no need to do that. Embrace returning borrows from the DOM, it good. | ||||
* | Rename AttrHelpersForLayout methods | Anthony Ramine | 2020-03-31 | 1 | -6/+6 |
| | |||||
* | Make AttrHelpersForLayout methods be safe | Anthony Ramine | 2020-03-31 | 1 | -10/+10 |
| | | | | The unsafety isn't there, it's in the creation of the LayoutDom<T> values. | ||||
* | Remove a bunch of _forever suffixes in Attr methods | Anthony Ramine | 2020-03-30 | 1 | -8/+8 |
| | | | | They don't return &'static references anymore. | ||||
* | Fix AttrHelpersForLayout | Anthony Ramine | 2020-03-30 | 1 | -12/+11 |
| | | | | We should never be returning 'static stuff from attrs, that's a big lie. | ||||
* | Give a lifetime parameter to LayoutDom | Anthony Ramine | 2020-03-28 | 1 | -1/+1 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+1 |
| | |||||
* | Add accountable-refcell as optional build time feature | Kunal Mohan | 2020-01-08 | 1 | -2/+1 |
| | |||||
* | Attr is a Node, with consequences for many Node methods | Patrick Shaughnessy | 2019-12-23 | 1 | -33/+15 |
| | |||||
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -2/+6 |
| | |||||
* | Remove unused code from script* crates | est31 | 2019-06-02 | 1 | -16/+0 |
| | |||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -3/+3 |
| | | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls. | ||||
* | 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 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -13/+13 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -28/+27 |
| | |||||
* | MutationObserver api: Implement takeRecords() and characterData mutations | Fabrice Desré | 2018-05-02 | 1 | -1/+1 |
| | |||||
* | Use specific assertion for DOM attr | CYBAI | 2018-01-26 | 1 | -2/+2 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -8/+12 |
| | | | | | | | | | | | | | | | | | | | | 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 DOMRefCell<T> to DomRefCell<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things. | ||||
* | Rename LayoutJS<T> to LayoutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | |||||
* | Rename MutNullableJS<T> to MutNullableDom<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 |
| | |||||
* | Handle exceptions during upgrades | Connor Brewster | 2017-08-09 | 1 | -1/+1 |
| | |||||
* | Support custom element callback reactions | Connor Brewster | 2017-07-17 | 1 | -1/+14 |
| | |||||
* | Mutation Observer API | Sumit | 2017-05-15 | 1 | -0/+8 |
| | |||||
* | Upgrade to html5ever 0.16 | Simon Sapin | 2017-05-02 | 1 | -1/+1 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | script: Propagate the attribute into the document's element_attr_will_change ↵ | Emilio Cobos Álvarez | 2017-01-30 | 1 | -1/+1 |
| | | | | method. | ||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -4/+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. | ||||
* | Make Attr::prefix return an Option<&Prefix> | Anthony Ramine | 2016-12-01 | 1 | -3/+3 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -21/+20 |
| | |||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -3/+3 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+1 |
| | |||||
* | Revert "Make DOMRefCell use style’s copy of RefCell" | Simon Sapin | 2016-10-04 | 1 | -1/+1 |
| | | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175. | ||||
* | Make DOMRefCell use style’s copy of RefCell | Simon Sapin | 2016-08-31 | 1 | -1/+1 |
| | |||||
* | Stop re-exporting AttrValue. | Ms2ger | 2016-06-07 | 1 | -1/+1 |
| | |||||
* | Removed mutation calls from sync_property_with_attrs_style method in order ↵ | David Raifaizen | 2016-05-25 | 1 | -1/+6 |
| | | | | to avoid reparsing serialized output | ||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -9/+8 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement nodeName on Attr | David Zbarsky | 2016-04-03 | 1 | -0/+5 |
| | |||||
* | Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS | Mathieu Hordesseaux | 2016-01-28 | 1 | -7/+3 |
| | |||||
* | Fix a bunch of clippy lints | Johannes Linke | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Update string_cache to 0.2. | Alan Jeffrey | 2015-11-25 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -15/+32 |
| | |||||
* | Replaced DOMString constructor by conversion functions. | Alan Jeffrey | 2015-11-12 | 1 | -7/+11 |
| | | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("..."). |