Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename reflect_dom_object2. | Josh Matthews | 2023-05-31 | 1 | -2/+2 |
| | |||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -6/+26 |
| | |||||
* | Do not panic on navigating across documents | Utsav Oza | 2020-07-30 | 1 | -0/+1 |
| | |||||
* | Implement concept of dirty root | Anthony Ramine | 2020-05-19 | 1 | -13/+2 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+1 |
| | |||||
* | Selection interface working for synthetic operations | Patrick Shaughnessy | 2020-02-13 | 1 | -0/+54 |
| | |||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+1 |
| | |||||
* | Attr is a Node, with consequences for many Node methods | Patrick Shaughnessy | 2019-12-23 | 1 | -0/+1 |
| | |||||
* | Use `#![register_tool]` instead of `#![register_attr]` | Simon Sapin | 2019-11-15 | 1 | -1/+1 |
| | | | | CC https://github.com/rust-lang/rust/issues/66079 | ||||
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -5/+5 |
| | |||||
* | Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestors | Fernando Jiménez Moreno | 2019-04-26 | 1 | -12/+36 |
| | |||||
* | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵ | Fernando Jiménez Moreno | 2019-04-26 | 1 | -6/+1 |
| | | | | comments... | ||||
* | Introduce ShadowIncluding enum for tree traversals | Fernando Jiménez Moreno | 2019-04-26 | 1 | -2/+2 |
| | |||||
* | Implement concept of shadow including tree order | Fernando Jiménez Moreno | 2019-04-26 | 1 | -1/+4 |
| | |||||
* | Throw NotSupported when trying to deep clone a shadow root | Fernando Jiménez Moreno | 2019-04-26 | 1 | -8/+8 |
| | |||||
* | Partial ShadowRoot implementation of DocumentOrShadowRoot | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+8 |
| | |||||
* | ShadowRoot interface | Fernando Jiménez Moreno | 2019-04-26 | 1 | -3/+5 |
| | |||||
* | Implement CDATASection interface and createCDATASection method | George Roman | 2019-03-14 | 1 | -6/+8 |
| | |||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -8/+10 |
| | | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls. | ||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -6/+7 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -3/+3 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -1/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -24/+24 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -172/+214 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. | ||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -8/+8 |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | ||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -4/+7 |
| | | | | | | | | | | | | | | | | | | | | 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 | -25/+25 |
| | | | | | | | 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 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 | -2/+2 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) | Simon Sapin | 2017-08-15 | 1 | -2/+2 |
| | |||||
* | Untry script | Simon Sapin | 2017-06-18 | 1 | -42/+42 |
| | |||||
* | Remove obsolete step from Text::SplitText | Anthony Ramine | 2017-03-07 | 1 | -6/+0 |
| | | | | https://github.com/whatwg/dom/pull/419 | ||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Change #[privatize] into #[derive(DenyPublicFields)] | Anthony Ramine | 2017-02-15 | 1 | -3/+1 |
| | |||||
* | 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. | ||||
* | Mark JSTraceable and its method as unsafe | Anthony Ramine | 2016-12-06 | 1 | -3/+3 |
| | |||||
* | Refactor fragment parsing | Anthony Ramine | 2016-12-01 | 1 | -10/+2 |
| | |||||
* | Make WebIDL constructors take a more specific global if possible (fixes #14071) | Rohan Prinja | 2016-11-30 | 1 | -3/+3 |
| | |||||
* | Add missing actions in CreateContextualFragment method | Guillaume Gomez | 2016-11-18 | 1 | -2/+3 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -2/+2 |
| | |||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -45/+45 |
| | |||||
* | 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 | -2/+2 |
| | |||||
* | Use a stack guard and a macro for RootedVec instead of return_address. | Eduard Burtescu | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | Implement Range::createContextualFragment | Guillaume Gomez | 2016-06-03 | 1 | -0/+41 |
| |