Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused code from script* crates | est31 | 2019-06-02 | 1 | -8/+0 |
| | |||||
* | Simplify RootedReference and make it specifically about slicesIt's now ↵ | Anthony Ramine | 2019-03-11 | 1 | -12/+17 |
| | | | | called DomSlice<T>. | ||||
* | Don't use RootedReference for Option<T> in codegen anymore | Anthony Ramine | 2019-03-10 | 1 | -14/+0 |
| | |||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -15/+0 |
| | | | | 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 |
| | |||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -5/+5 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -6/+6 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -42/+32 |
| | |||||
* | Add AudioParam connection support | Manish Goregaokar | 2018-07-30 | 1 | -0/+7 |
| | |||||
* | Replace NonZero<*{const,mut} _> with std::ptr::NonNull | Simon Sapin | 2018-01-22 | 1 | -18/+17 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -16/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Make usage of core_intrinsics optional | Simon Sapin | 2017-10-16 | 1 | -6/+4 |
| | |||||
* | Move remaining uses of NonZero to our nonzero crate | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | |||||
* | Make DomRoot<T> a type alias of a more general Root<T> type | Anthony Ramine | 2017-09-28 | 1 | -59/+107 |
| | | | | | | | This Root<T> relies on the concept of a stable trace object, which doesn't move for the whole lifetime of the T value. For safety reasons, T must be 'static. The only implementor of StableTraceObject for now is Dom<T>. | ||||
* | Kill RootCollectionPtr | Anthony Ramine | 2017-09-27 | 1 | -15/+4 |
| | |||||
* | Move STACK_ROOTS to dom::bindings::root | Anthony Ramine | 2017-09-27 | 1 | -3/+4 |
| | |||||
* | Move script_runtime::StackRootTLS to root::ThreadLocalStackRoots | Anthony Ramine | 2017-09-27 | 1 | -0/+18 |
| | |||||
* | Reorder things in dom::bindings::root | Anthony Ramine | 2017-09-27 | 1 | -205/+205 |
| | | | | The type DomRoot<T> is now the first one defined in it. | ||||
* | Store a Dom<T> in DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -5/+7 |
| | |||||
* | Make DomRoot::new unsafe | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -29/+29 |
| | | | | | | | 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 OnceCellJS<T> to DomOnceCell<T> | Anthony Ramine | 2017-09-26 | 1 | -7/+7 |
| | | | | Like DOMRefCell<T>. | ||||
* | Rename LayoutJS<T> to LayoutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -24/+24 |
| | |||||
* | Rename MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -12/+12 |
| | |||||
* | Rename MutJS<T> to MutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -10/+10 |
| | |||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -45/+45 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -0/+683 |