Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Provide the source window as part of postMessage events. | Josh Matthews | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | Fix new warnings | Simon Sapin | 2019-01-04 | 1 | -4/+0 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Update crossbeam-channel to 0.3 | Bastien Orivel | 2018-11-18 | 1 | -2/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -3/+5 |
| | |||||
* | 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 | -21/+36 |
| | |||||
* | 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> | ||||
* | introduce task-queues, and throttling the performance-timeline task-source, ↵ | Gregory Terzian | 2018-08-31 | 1 | -5/+5 |
| | | | | | | in script and worker threads. queue | ||||
* | Auto merge of #21430 - Eijebong:ws-origin, r=jdm | bors-servo | 2018-08-22 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | Properly set the origin on websocket messages <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21430) <!-- Reviewable:end --> | ||||
| * | Properly set the origin on websocket messages | Bastien Orivel | 2018-08-16 | 1 | -1/+1 |
| | | |||||
* | | Upgraded to SM 60 | Alan Jeffrey | 2018-08-20 | 1 | -10/+7 |
|/ | |||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -1/+2 |
| | |||||
* | added autoclose worker | Nupur Baghel | 2018-02-22 | 1 | -0/+1 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -3/+3 |
| | | | | | | | 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 dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Introduce TaskOnce | Anthony Ramine | 2017-09-20 | 1 | -5/+4 |
| | | | | | 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 | -3/+3 |
| | |||||
* | Use task! to forward unhandled errors to worker objects | Anthony Ramine | 2017-09-18 | 1 | -46/+2 |
| | |||||
* | Use task! to post worker messages | Anthony Ramine | 2017-09-18 | 1 | -21/+0 |
| | |||||
* | 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`. | ||||
* | Use absolute paths in the event handlers macros | Anthony Ramine | 2017-09-01 | 1 | -1/+0 |
| | |||||
* | Untry script | Simon Sapin | 2017-06-18 | 1 | -1/+1 |
| | |||||
* | Make #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Inline dom::eventdispatcher into dom::event | Anthony Ramine | 2017-01-22 | 1 | -2/+1 |
| | |||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -1/+1 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | script creates methods taking '*mut JSContext' unsafe | Abelardo E. Mendoza | 2016-11-14 | 1 | -1/+2 |
| | | | | rebase + marked the necessary new code as unsafe | ||||
* | Migrate `EventTarget` event firing functions to use `Atom`s. | Corey Farwell | 2016-11-03 | 1 | -1/+1 |
| | | | | This allows us to utilize more `atom` macros. | ||||
* | Remove "fire a simple event" concept, refactor event firing API. | Corey Farwell | 2016-11-03 | 1 | -1/+1 |
| | | | | | "fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933. | ||||
* | Remove intrinsic Root::r() | Anthony Ramine | 2016-10-11 | 1 | -1/+1 |
| | |||||
* | Rename Reflectable::global_scope to global | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -11/+9 |
| | |||||
* | Introduce GlobalScope::script_chan | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Make prepare_workerscope_init take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Introduce GlobalScope::report_an_error | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Introduce GlobalScope::api_base_url | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Make dispatch_jsval methods take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -5/+5 |
| | |||||
* | Make StructuredCloneData::read take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Introduce GlobalScope::pipeline_id | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Introduce GlobalScope::devtools_chan | Anthony Ramine | 2016-10-06 | 1 | -2/+3 |
| | |||||
* | Introduce GlobalScope::get_next_worker_id | Anthony Ramine | 2016-10-06 | 1 | -1/+1 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+4 |
| | |||||
* | Move workers' pipeline IDs to WorkerGlobalScope | Anthony Ramine | 2016-10-02 | 1 | -1/+1 |
| | |||||
* | Return an enum instead of a boolean from dispatch_event | Adolfo Ochagavía | 2016-09-26 | 1 | -2/+3 |
| | | | | Fixes #13196 | ||||
* | Update Rust to 1.13.0-nightly (6ffdda1ba 2016-09-14) | Anthony Ramine | 2016-09-15 | 1 | -2/+3 |
| | |||||
* | Use fn pipeline_id consistently, not fn pipeline | Aneesh Agrawal | 2016-09-13 | 1 | -3/+3 |
| | | | | | | | | | | | | Consistently use the name 'pipeline_id' to refer to a function that returns an (optional) PipelineId. This was prompted by discovering both fn pipeline and fn pipeline_id doing the same job in htmliframeelement.rs. Note that there is fn pipeline in components/compositing/compositor.rs, but that actually returns an Option<&CompositionPipeline>, not any kind of PipelineId. |