Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `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 |
| | |||||
* | removed instances of -> () in existing code | lucantrop | 2017-03-13 | 1 | -2/+2 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Add a object-in-union test. | Ms2ger | 2017-02-16 | 1 | -0/+2 |
| | |||||
* | Use RootedTraceableBox for unions. | Ms2ger | 2017-02-16 | 1 | -1/+1 |
| | |||||
* | Use RootedTraceableBox for dictionaries. | Ms2ger | 2017-02-16 | 1 | -1/+2 |
| | |||||
* | Use Heap for dictionary and union members. | Ms2ger | 2017-02-16 | 1 | -4/+4 |
| | |||||
* | Support dictionaries in unions. | Ms2ger | 2017-01-20 | 1 | -0/+1 |
| | | | | Fixes #11612. | ||||
* | Implement the incumbent global. | Ms2ger | 2017-01-17 | 1 | -0/+3 |
| | | | | Fixes #10963. | ||||
* | Implement the entry global. | Ms2ger | 2017-01-06 | 1 | -0/+4 |
| | | | | Partial fix for #10963. | ||||
* | Removed util. | Alan Jeffrey | 2016-12-14 | 1 | -1/+1 |
| | |||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | script creates methods taking '*mut JSContext' unsafe | Abelardo E. Mendoza | 2016-11-14 | 1 | -34/+52 |
| | | | | rebase + marked the necessary new code as unsafe | ||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -13/+13 |
| | |||||
* | Remove GlobalRoot and GlobalRef | Anthony Ramine | 2016-10-06 | 1 | -2/+1 |
| | |||||
* | Use global_scope_from_context in TestBinding::PromiseNativeHandler | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Remove Reflectable::global | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Make Promise::Reject and Resolve take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Move timers to GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+4 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -18/+18 |
| | |||||
* | Introduce GlobalScope::as_window | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Make Promise::new take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -4/+4 |
| |