Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -6/+2 | |
| | ||||||
* | Always pass InRealm to GlobalScope::from_context to avoid getting null global | CYBAI | 2020-02-16 | 1 | -2/+5 | |
| | ||||||
* | rename compartment to realm | Kunal Mohan | 2020-01-24 | 1 | -5/+5 | |
| | ||||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+2 | |
| | ||||||
* | re-structure blob, structured serialization | Gregory Terzian | 2019-12-11 | 1 | -11/+7 | |
| | ||||||
* | Support WebIDL `record<>` | Kagami Sascha Rosylight | 2019-10-15 | 1 | -33/+47 | |
| | ||||||
* | Use safe JSContext when possible in interface.rs | marmeladema | 2019-08-09 | 1 | -3/+2 | |
| | ||||||
* | Remove some usage of unsafe code in Promise | marmeladema | 2019-08-09 | 1 | -12/+4 | |
| | ||||||
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -75/+48 | |
| | ||||||
* | Change bindings generation to make Exposed annotation aware of ↵ | sreeise | 2019-07-14 | 1 | -0/+12 | |
| | | | | members/partial interfaces | |||||
* | Use the newly added inCompartments option everywhere it can be | Bastien Orivel | 2019-05-25 | 1 | -10/+4 | |
| | ||||||
* | Add support for attributes to the inCompartments binding parameter | Bastien Orivel | 2019-05-25 | 1 | -3/+2 | |
| | ||||||
* | Pass InCompartment by value | Aron Zwaan | 2019-04-25 | 1 | -2/+2 | |
| | ||||||
* | Add proof parameter to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-24 | 1 | -4/+11 | |
| | ||||||
* | Rename Promise::new to Promise::new_in_current_compartment | Aron Zwaan | 2019-04-03 | 1 | -2/+4 | |
| | ||||||
* | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -4/+7 | |
| | ||||||
* | Remove now-unnecessary must_root and allow(unrooted_must_root) annotations | Manish Goregaokar | 2019-01-04 | 1 | -2/+0 | |
| | ||||||
* | 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 | -1/+1 | |
| | ||||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -10/+24 | |
| | ||||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -3/+4 | |
| | ||||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -30/+30 | |
| | ||||||
* | Handle default empty sequence values | Keith Yeung | 2018-11-01 | 1 | -0/+2 | |
| | ||||||
* | Format script component | chansuke | 2018-09-19 | 1 | -143/+414 | |
| | ||||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -1/+2 | |
| | ||||||
* | Add codegen test for function overloads taking typed array args | Igor Matuszewski | 2018-03-23 | 1 | -0/+3 | |
| | ||||||
* | Root `any` members in dictionaries | Igor Matuszewski | 2018-03-16 | 1 | -2/+2 | |
| | ||||||
* | Root JS object members in dictionaries | Igor Matuszewski | 2018-03-16 | 1 | -1/+1 | |
| | ||||||
* | Support nullable typed arrays in codegen | Igor Matuszewski | 2018-03-14 | 1 | -0/+1 | |
| | ||||||
* | WIP: Accept typed array arguments in codegen | Igor Matuszewski | 2018-03-14 | 1 | -0/+5 | |
| | ||||||
* | Add WPT test for WebIDL union conversion containing object values | Igor Matuszewski | 2018-03-13 | 1 | -0/+8 | |
| | ||||||
* | Use safe NonZero constructor instead of an explicit null check | Simon Sapin | 2018-01-22 | 1 | -4/+2 | |
| | ||||||
* | Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject> | Simon Sapin | 2018-01-22 | 1 | -8/+8 | |
| | ||||||
* | Root sequence<{any,object}> IDL arguments using CustomAutoRooter | Igor Matuszewski | 2018-01-05 | 1 | -0/+9 | |
| | | | | Also pulls in mozjs 0.1.10 to support the change. | |||||
* | Fix binding generation for overloaded functions with optionals and default ↵ | Fernando Jiménez Moreno | 2017-11-11 | 1 | -0/+2 | |
| | | | | values | |||||
* | Import sequence inner types if it appears in dictionary members | Keith Yeung | 2017-11-08 | 1 | -0/+1 | |
| | ||||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`. | |||||
* | Replace NonZero<*mut JSObject> with a wrapper to enable local trait impls. | Simon Sapin | 2017-10-16 | 1 | -8/+8 | |
| | ||||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | 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 | -20/+20 | |
| | | | | | | | 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 dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 | |
| | ||||||
* | Remove almost all uses of Heap::new. | Josh Matthews | 2017-09-25 | 1 | -3/+3 | |
| | ||||||
* | Store rootable dictionary members of dictionaries in RootedTraceableBox. | Josh Matthews | 2017-09-25 | 1 | -2/+2 | |
| | ||||||
* | Be more conservative about safety of dictionary and union values. | Josh Matthews | 2017-09-25 | 1 | -5/+5 | |
| | | | | | | | | Mark dictionaries containing GC values as must_root, and wrap them in RootedTraceableBox in automatically-generated APIs. To accommodate union variants that are now flagged as unsafe, add RootedTraceableBox to union variants that need to be rooted, rather than wrapping the entire union value. | |||||
* | Make Promise::reject_error sound | Anthony Ramine | 2017-09-22 | 1 | -1/+1 | |
| | ||||||
* | Make Promise::resolve_native actually sound | Anthony Ramine | 2017-09-21 | 1 | -5/+2 | |
| | | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand. | |||||
* | Rename a couple of Promise methods | Anthony Ramine | 2017-09-21 | 1 | -2/+2 | |
| | ||||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -2/+2 | |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | |||||
* | Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26) | Simon Sapin | 2017-07-27 | 1 | -2/+2 | |
| | ||||||
* | Update the WebIDL parser | Anthony Ramine | 2017-06-09 | 1 | -6/+3 | |
| |