Anthony Ramine
|
6c9fb5ae7a
|
Introduce TaskOnce
Having both TaskBox and TaskOnce allows us to remove the superfluous inner boxing
from CancellableTask<T>.
|
2017-09-20 10:37:09 +02:00 |
|
Anthony Ramine
|
52527d6f9d
|
Rename Task to TaskBox
|
2017-09-20 10:07:29 +02:00 |
|
Anthony Ramine
|
f088b708c9
|
Make Task require Send
|
2017-09-20 09:40:53 +02:00 |
|
Anthony Ramine
|
46628fba05
|
Move Task to its own module
|
2017-09-18 02:47:04 +02:00 |
|
Anthony Ramine
|
56117d3185
|
Rename Runnable to Task
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`.
|
2017-09-16 15:43:26 +02:00 |
|
Anthony Ramine
|
53d30d85b3
|
Reformat some task-related functions
|
2017-09-08 10:19:06 +02:00 |
|
Anthony Ramine
|
35a7252254
|
Kill UserInteractionTask
Just use a bare Runnable value.
|
2017-09-08 10:17:23 +02:00 |
|
Anthony Ramine
|
17a1dd9385
|
Kill Runnable::is_cancelled ⚔️
|
2017-09-07 14:54:03 +02:00 |
|
Clément DAVID
|
c5fe235112
|
order derivable traits lists
Ignoring :
- **generated**.rs
- python/tidy/servo_tidy_tests/rust_tidy.rs
|
2017-08-23 21:38:44 +02:00 |
|
Alan Jeffrey
|
a47e94c8f6
|
Added Debug implementations.
|
2017-06-13 10:46:59 -05:00 |
|
Simon Sapin
|
53b638c0e2
|
Update to string-cache 0.3
|
2016-11-03 16:23:05 +01:00 |
|
Anthony Ramine
|
44ca9f3d71
|
Make TaskSource::queue take a &GlobalScope
|
2016-10-06 21:35:52 +02:00 |
|
Josh Matthews
|
2aef518ce6
|
Make task queue API usable from non-main threads.
|
2016-07-14 13:27:41 -04:00 |
|
Connor Brewster
|
ad30275d04
|
Move boxing to runnable initialization
|
2016-07-13 11:10:23 -06:00 |
|
Connor Brewster
|
5f7324a9a5
|
Make all task source runnables cancellable
Implement all Runnable methods on CancellableRunnable to redirect to their inner runnable
|
2016-07-13 09:59:51 -06:00 |
|
Connor Brewster
|
afc0ccb48d
|
Add event runnables
Make tasks a wrapper over runnables
|
2016-07-11 22:21:45 -06:00 |
|
Ms2ger
|
0861b701d5
|
Derive Clone for DOMManipulationTaskSource, UserInteractionTaskSource.
|
2016-06-03 09:33:18 +02:00 |
|
Per Lundberg
|
2f7ed1d73e
|
Removed unused imports
This fixes #11185.
|
2016-05-15 22:24:26 +03:00 |
|
Keith Yeung
|
cc049515dc
|
Implement user interaction task source
|
2016-05-11 10:12:25 -04:00 |
|
Rahul Sharma
|
2caa9a2a76
|
refactors entities from script_thread into script_runtime
|
2016-04-06 12:46:49 +05:30 |
|
faineance
|
7c45a4fea0
|
change changes effecting verbosity
|
2016-03-27 13:54:41 +01:00 |
|
faineance
|
418842faf9
|
use self.0 instead of destructing single item tuple structs
|
2016-03-27 11:50:08 +01:00 |
|
Keith Yeung
|
3f2cbf0025
|
Add task_source directory
Use DOMManipulationTaskSource whenever possible
|
2016-03-10 01:05:53 -05:00 |
|