Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -3/+3 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -8/+8 |
| | |||||
* | Make first argument of DOMManipulationTaskSource as a Box<ScriptChan + | CYBAI | 2018-10-18 | 1 | -8/+13 |
| | | | | | | | | | | | 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 | ||||
* | Format script component | chansuke | 2018-09-19 | 1 | -11/+9 |
| | |||||
* | Replace mpsc with crossbeam/servo channel, update ipc-channel | Simon Sapin | 2018-09-12 | 1 | -1/+1 |
| | | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com> | ||||
* | Add the TaskSourceName to CommonScriptMsg::Task | Agustin Chiappe Berrini | 2018-09-04 | 1 | -2/+3 |
| | | | | Update QueuedTaskConversion and the TaskQueue to use it | ||||
* | introduce "per task source" ignoring of tasks | Gregory Terzian | 2018-07-10 | 1 | -1/+3 |
| | |||||
* | added pipelines to all task sources | ddh | 2017-10-25 | 1 | -2/+3 |
| | | | | changed task sources to accept pipeline ids | ||||
* | added time to interactive metrics, refactored metrics to use traits | ddh | 2017-10-24 | 1 | -0/+1 |
| | | | | changed task macro to take pipeline info | ||||
* | 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. | ||||
* | Introduce TaskOnce | Anthony Ramine | 2017-09-20 | 1 | -6/+6 |
| | | | | | 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 | -2/+2 |
| | |||||
* | Make Task require Send | Anthony Ramine | 2017-09-20 | 1 | -1/+1 |
| | |||||
* | Move Task to its own module | Anthony Ramine | 2017-09-18 | 1 | -1/+2 |
| | |||||
* | Introduce MainThreadScriptMsg::DispatchJobQueue | Anthony Ramine | 2017-09-17 | 1 | -16/+0 |
| | | | | This removes the last remaining use of Task::run_with_script_thread | ||||
* | Send AsyncJobHandler as a MainThreadTask | Anthony Ramine | 2017-09-16 | 1 | -0/+16 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -14/+10 |
| | | | | | | | | | | | | 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`. | ||||
* | Reformat some task-related functions | Anthony Ramine | 2017-09-08 | 1 | -5/+8 |
| | |||||
* | Kill DOMManipulationTask | Anthony Ramine | 2017-09-08 | 1 | -17/+7 |
| | | | | Just use a bare Runnable value. | ||||
* | Kill Runnable::is_cancelled ⚔️ | Anthony Ramine | 2017-09-07 | 1 | -3/+1 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -1/+1 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Added Debug implementations. | Alan Jeffrey | 2017-06-13 | 1 | -0/+13 |
| | |||||
* | Update to string-cache 0.3 | Simon Sapin | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | Make TaskSource::queue take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Make task queue API usable from non-main threads. | Josh Matthews | 2016-07-14 | 1 | -5/+10 |
| | |||||
* | Move boxing to runnable initialization | Connor Brewster | 2016-07-13 | 1 | -3/+3 |
| | |||||
* | Make all task source runnables cancellable | Connor Brewster | 2016-07-13 | 1 | -8/+11 |
| | | | | Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable | ||||
* | Add event runnables | Connor Brewster | 2016-07-11 | 1 | -29/+16 |
| | | | | Make tasks a wrapper over runnables | ||||
* | Combined DOMManipulationTask runnable variants into a single variant | Connor Brewster | 2016-07-06 | 1 | -18/+8 |
| | |||||
* | Add Miscellaneous event type to DOM task source | Manish Goregaokar | 2016-07-05 | 1 | -2/+4 |
| | |||||
* | Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource. | Ms2ger | 2016-06-03 | 1 | -5/+1 |
| | |||||
* | Clean up DOMManipulationTaskSource | Keith Yeung | 2016-06-02 | 1 | -6/+22 |
| | |||||
* | Implement user interaction task source | Keith Yeung | 2016-05-11 | 1 | -1/+3 |
| | |||||
* | Rename DOM manipulation messages to tasks | Keith Yeung | 2016-05-04 | 1 | -1/+1 |
| | |||||
* | Add media tasks to the DOM manipulation task queue. | Josh Matthews | 2016-05-03 | 1 | -0/+3 |
| | |||||
* | change changes effecting verbosity | faineance | 2016-03-27 | 1 | -2/+1 |
| | |||||
* | use self.0 instead of destructing single item tuple structs | faineance | 2016-03-27 | 1 | -3/+2 |
| | |||||
* | Add task_source directory | Keith Yeung | 2016-03-10 | 1 | -0/+63 |
Use DOMManipulationTaskSource whenever possible |