aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/user_interaction.rs
Commit message (Collapse)AuthorAgeFilesLines
* added pipelines to all task sourcesddh2017-10-251-2/+3
| | | | changed task sources to accept pipeline ids
* added time to interactive metrics, refactored metrics to use traitsddh2017-10-241-0/+1
| | | | changed task macro to take pipeline info
* Remove use of unstable box syntax.Simon Sapin2017-10-161-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 TaskOnceAnthony Ramine2017-09-201-5/+5
| | | | | Having both TaskBox and TaskOnce allows us to remove the superfluous inner boxing from CancellableTask<T>.
* Rename Task to TaskBoxAnthony Ramine2017-09-201-2/+2
|
* Make Task require SendAnthony Ramine2017-09-201-1/+1
|
* Move Task to its own moduleAnthony Ramine2017-09-181-1/+2
|
* Rename Runnable to TaskAnthony Ramine2017-09-161-14/+9
| | | | | | | | | | | | 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 functionsAnthony Ramine2017-09-081-5/+8
|
* Kill UserInteractionTaskAnthony Ramine2017-09-081-17/+7
| | | | Just use a bare Runnable value.
* Kill Runnable::is_cancelled ⚔️Anthony Ramine2017-09-071-3/+1
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Added Debug implementations.Alan Jeffrey2017-06-131-0/+13
|
* Update to string-cache 0.3Simon Sapin2016-11-031-1/+1
|
* Make TaskSource::queue take a &GlobalScopeAnthony Ramine2016-10-061-2/+2
|
* Make task queue API usable from non-main threads.Josh Matthews2016-07-141-4/+9
|
* Move boxing to runnable initializationConnor Brewster2016-07-131-2/+2
|
* Make all task source runnables cancellableConnor Brewster2016-07-131-5/+8
| | | | Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
* Add event runnablesConnor Brewster2016-07-111-20/+17
| | | | Make tasks a wrapper over runnables
* Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource.Ms2ger2016-06-031-5/+1
|
* Removed unused importsPer Lundberg2016-05-151-1/+0
| | | | This fixes #11185.
* Implement user interaction task sourceKeith Yeung2016-05-111-6/+42
|
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-061-1/+2
|
* change changes effecting verbosityfaineance2016-03-271-2/+1
|
* use self.0 instead of destructing single item tuple structsfaineance2016-03-271-3/+2
|
* Add task_source directoryKeith Yeung2016-03-101-0/+21
Use DOMManipulationTaskSource whenever possible