Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Formatting. | Josh Matthews | 2023-05-28 | 1 | -2/+11 |
| | |||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -4/+20 |
| | |||||
* | dom: Implement current window event. | Josh Matthews | 2020-05-13 | 1 | -8/+12 |
| | |||||
* | Add support for transitionrun events | Martin Robinson | 2020-04-24 | 1 | -0/+1 |
| | | | | | | These events are triggered as soon as a transition is added to the list of running transitions. This will allow better test coverage while reworking the transitions and animations processing model. | ||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -1/+1 |
| | |||||
* | Event dispatch rewritten to resemble spec more often, activate on clicks better | Patrick Shaughnessy | 2020-02-12 | 1 | -126/+253 |
| | |||||
* | Expose DOMHighResTimeStamps at lower res | Patrick Shaughnessy | 2020-02-03 | 1 | -2/+2 |
| | |||||
* | move ConstellationMsg to compositing | Kunal Mohan | 2020-01-29 | 1 | -1/+1 |
| | |||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+1 |
| | |||||
* | implement historical srcElement attribute for Event interface | drexler | 2019-09-05 | 1 | -0/+5 |
| | |||||
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -3/+8 |
| | |||||
* | Update Event's timestamp | George Roman | 2019-03-26 | 1 | -4/+11 |
| | |||||
* | Simplify RootedReference and make it specifically about slicesIt's now ↵ | Anthony Ramine | 2019-03-11 | 1 | -1/+1 |
| | | | | called DomSlice<T>. | ||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -3/+8 |
| | | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls. | ||||
* | implement historical cancelBubble attribute for Event interface | Yuki Toyoda | 2019-03-03 | 1 | -0/+12 |
| | |||||
* | Implement historical returnValue attribute for Event interface | Patrick Ngai | 2019-02-28 | 1 | -0/+12 |
| | |||||
* | Update bool pattern matching into if-else | Piotr Szpetkowski | 2019-01-30 | 1 | -9/+12 |
| | |||||
* | Implement AddEventListenerOptions: once | Bastien Orivel | 2018-12-22 | 1 | -1/+4 |
| | | | | Fixes #13242 | ||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -17/+17 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -42/+49 |
| | |||||
* | implement "has event listener", plug into (before)unload | Gregory Terzian | 2018-05-05 | 1 | -27/+35 |
| | |||||
* | beforeunload and unload infrastructure | Gregory Terzian | 2018-05-05 | 1 | -1/+8 |
| | |||||
* | 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`. | ||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | 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 | -9/+9 |
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | |||||
* | Rename JS<T> to Dom<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 |
| | |||||
* | Derive the Default trait for dictionaries containing GC values. | Josh Matthews | 2017-09-25 | 1 | -0/+9 |
| | |||||
* | Introduce TaskOnce | Anthony Ramine | 2017-09-20 | 1 | -5/+5 |
| | | | | | Having both TaskBox and TaskOnce allows us to remove the superfluous inner boxing from CancellableTask<T>. | ||||
* | Rename Task to TaskBox | Anthony Ramine | 2017-09-20 | 1 | -5/+5 |
| | |||||
* | Move Task to its own module | Anthony Ramine | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -7/+7 |
| | | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`. | ||||
* | move name implementation as default implementation to the trait and remove ↵ | toidiu | 2017-09-03 | 1 | -4/+0 |
| | | | | overrides. | ||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -4/+4 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Remove some convenience methods on Event | Anthony Ramine | 2017-01-22 | 1 | -64/+22 |
| | | | | They don't need to exist anymore now that dom::eventdispatcher has been removed. | ||||
* | Inline dom::eventdispatcher into dom::event | Anthony Ramine | 2017-01-22 | 1 | -91/+276 |
| | |||||
* | Change event cancellation from bool to an enum | Ravi Shankar | 2016-12-27 | 1 | -5/+37 |
| | |||||
* | 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. | ||||
* | remove extra clones from dom event script | Jake Goldsborough | 2016-11-05 | 1 | -2/+2 |
| | |||||
* | Migrate `EventTarget` event firing functions to use `Atom`s. | Corey Farwell | 2016-11-03 | 1 | -2/+4 |
| | | | | This allows us to utilize more `atom` macros. | ||||
* | Remove "fire a simple event" concept, refactor event firing API. | Corey Farwell | 2016-11-03 | 1 | -2/+2 |
| | | | | | "fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933. | ||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -3/+2 |
| |