Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -35/+35 |
| | |||||
* | Make first argument of DOMManipulationTaskSource as a Box<ScriptChan + | CYBAI | 2018-10-18 | 1 | -0/+11 |
| | | | | | | | | | | | Send> We don't have `window` for `workers`. So, if we use `global.as_window()` to get the DOMManipulationTaskSource, it will make worker panic. Instead, we should get the DOMManipulationTaskSource from each own thread. Ref: https://github.com/servo/servo/pull/20755#discussion_r193557746 | ||||
* | Implement unhandledrejection event | CYBAI | 2018-10-18 | 1 | -1/+57 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -37/+59 |
| | |||||
* | Add Websocket task source | Agustin Chiappe Berrini | 2018-09-08 | 1 | -0/+13 |
| | | | | | | | | According to the doc: https://html.spec.whatwg.org/multipage/web-sockets.html#network The task source for all tasks queued in the websocket section are the websocket task source, so this commit also updates those references to use the appropriate one. | ||||
* | Upgraded to SM 60 | Alan Jeffrey | 2018-08-20 | 1 | -11/+2 |
| | |||||
* | Introduce DOMTracker, cancel eventsource fetch when aborting document load | Gregory Terzian | 2018-07-29 | 1 | -0/+25 |
| | |||||
* | use remote-event task source in EventSource | Gregory Terzian | 2018-07-13 | 1 | -1/+14 |
| | |||||
* | introduce "per task source" ignoring of tasks | Gregory Terzian | 2018-07-10 | 1 | -2/+6 |
| | |||||
* | Fix typo for worklet | CYBAI | 2018-06-03 | 1 | -4/+4 |
| | |||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -2/+4 |
| | |||||
* | added autoclose worker | Nupur Baghel | 2018-02-22 | 1 | -0/+22 |
| | |||||
* | Use specific negative assertion for DOM globalscope | CYBAI | 2018-01-26 | 1 | -1/+1 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -3/+3 |
| | | | | | | | | 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. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -12/+12 |
| | | | | | | | 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 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | Clean up GlobalScope::report_an_error | Anthony Ramine | 2017-09-18 | 1 | -15/+19 |
| | |||||
* | Move Task to its own module | Anthony Ramine | 2017-09-18 | 1 | -1/+2 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -6/+6 |
| | | | | | | | | | | | | 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`. | ||||
* | Store microtask queues in their global (fixes #18467) | Anthony Ramine | 2017-09-13 | 1 | -21/+20 |
| | |||||
* | Store a Rc<MicrotaskQueue> directly on Window | Anthony Ramine | 2017-09-13 | 1 | -4/+4 |
| | |||||
* | Reformat GlobalScope::new_inherited | Anthony Ramine | 2017-09-13 | 1 | -18/+18 |
| | |||||
* | Make Performance Timeline API work in Workers | Fernando Jiménez Moreno | 2017-09-05 | 1 | -0/+26 |
| | |||||
* | make use of ScriptToConstellationChan | Paul Rouget | 2017-08-15 | 1 | -6/+6 |
| | |||||
* | return Option from GlobalScope::current | Jyotsna Prakash | 2017-06-22 | 1 | -2/+6 |
| | | | | | handles the case where GlobalScope::current calls CurrentGlobalOrNull and the result is null | ||||
* | Implemented Houdini worklets. | Alan Jeffrey | 2017-05-17 | 1 | -9/+29 |
| | |||||
* | added origin to globalscope | ddh | 2017-04-24 | 1 | -2/+12 |
| | |||||
* | Terminate timer scheduler thread during shutdown | Fernando Jiménez Moreno | 2017-03-30 | 1 | -4/+4 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Perform a microtask checkpoint after executing classic scripts and callbacks. | Josh Matthews | 2017-02-01 | 1 | -0/+11 |
| | |||||
* | Generalize promise job queue into solitary microtask queue. | Josh Matthews | 2017-02-01 | 1 | -17/+6 |
| | |||||
* | Inline dom::eventdispatcher into dom::event | Anthony Ramine | 2017-01-22 | 1 | -2/+1 |
| | |||||
* | Implement the incumbent global. | Ms2ger | 2017-01-17 | 1 | -1/+8 |
| | | | | Fixes #10963. | ||||
* | Store parser's current line when script elements are created. | karenher | 2017-01-11 | 1 | -3/+3 |
| | | | | | | Use the newly stored line as the starting line number when evaluating JS. This ensures that inline scripts will report errors with meaningful line numbers. | ||||
* | Implement the entry global. | Ms2ger | 2017-01-06 | 1 | -0/+9 |
| | | | | Partial fix for #10963. | ||||
* | Implement a getter for the 'current' global object. | Ms2ger | 2016-12-23 | 1 | -1/+14 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -2/+2 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Update js, AGAIN | Anthony Ramine | 2016-11-27 | 1 | -3/+3 |
| | |||||
* | Update js. | Ms2ger | 2016-11-27 | 1 | -6/+3 |
| | |||||
* | Urlmageddon: Use refcounted urls more often. | Emilio Cobos Álvarez | 2016-11-17 | 1 | -3/+3 |
| | |||||
* | Properly implement TaskSource for NetworkingTaskSource | Keith Yeung | 2016-11-11 | 1 | -2/+3 |
| | |||||
* | Remove GlobalRoot and GlobalRef | Anthony Ramine | 2016-10-06 | 1 | -2/+49 |
| | |||||
* | Introduce GlobalScope::file_reading_task_source | Anthony Ramine | 2016-10-06 | 1 | -0/+13 |
| | |||||
* | Introduce GlobalScope::process_event | Anthony Ramine | 2016-10-06 | 1 | -1/+13 |
| | |||||
* | Introduce GlobalScope::new_script_pair | Anthony Ramine | 2016-10-06 | 1 | -1/+15 |
| |