bors-servo
cd2f950de3
Auto merge of #13056 - KiChjang:transition-event, r=mbrubeck
...
Implement transition event and infrastructure
Fixes #10245 .
<!-- 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/13056 )
<!-- Reviewable:end -->
2016-10-12 02:08:37 -05:00
Keith Yeung
668163ec5c
Emit TransitionEnd events in the layout thread and process it in the script thread
2016-10-11 19:36:06 -07:00
Anthony Ramine
3a547cc113
Generalise RootedVec::<JS<T>>::r as [JS<T>]::r
2016-10-11 19:44:33 +02:00
Anthony Ramine
45c9aa7487
Generalise RootedReference
...
It now becomes RootedReference<'root> and includes an associated type for
the return type of its 'r' method.
This removes the need for OptionalRootedReference.
2016-10-11 19:44:33 +02:00
Anthony Ramine
0b3ab875f4
Remove intrinsic Root::r()
2016-10-11 19:44:32 +02:00
Anthony Ramine
ea27f9d5ec
Introduce ServoParser
...
This is a common inline parent to ServoHTMLParser and ServoXMLParser.
2016-10-11 14:50:58 +02:00
bors-servo
39d3fce1af
Auto merge of #13649 - servo:rustup, r=larsbergstrom
...
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
<!-- 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/13649 )
<!-- Reviewable:end -->
2016-10-09 20:12:38 -05:00
Anthony Ramine
1854566683
Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)
...
A cargo bump and a switch to serde_derive is needed to do this rustup.
2016-10-09 18:53:47 +02:00
Emilio Cobos Álvarez
d7e2b40484
webgl: Honor ArrayBuffer or ArrayBufferView in bufferData and bufferSubData.
2016-10-09 13:23:39 +02:00
Emilio Cobos Álvarez
602246a14c
script: Mark as unsafe multiple array_buffer_view_to_xxx functions that take a raw JSObject pointer.
2016-10-09 12:32:37 +02:00
Emilio Cobos Álvarez
ea8f115b8c
webgl: A few fixes regarding the nullability of WebGL parameters.
2016-10-09 12:32:37 +02:00
Alan Jeffrey
f53408df80
IFrame elements now manage FrameIds rather than the constellation.
2016-10-07 14:11:32 -05:00
bors-servo
a6e4b5bb86
Auto merge of #13596 - nox:inline, r=Ms2ger
...
Get rid of dom::bindings::global
Globals in that PR are now represented by the fake IDL interface `GlobalScope`.
<!-- 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/13596 )
<!-- Reviewable:end -->
2016-10-07 07:52:09 -05:00
Anthony Ramine
d8e92bb271
Rename Reflectable::global_scope to global
2016-10-06 21:36:41 +02:00
Anthony Ramine
b6bbd41e11
Remove GlobalRoot and GlobalRef
2016-10-06 21:36:00 +02:00
Anthony Ramine
907781eb75
Remove Reflectable::global
2016-10-06 21:35:58 +02:00
Anthony Ramine
e7a1149984
Introduce GlobalScope::file_reading_task_source
2016-10-06 21:35:57 +02:00
Anthony Ramine
ca15dd5eea
Introduce GlobalScope::process_event
2016-10-06 21:35:56 +02:00
Anthony Ramine
cdf3ef05e7
Introduce GlobalScope::new_script_pair
2016-10-06 21:35:55 +02:00
Anthony Ramine
144dc62575
Do not use GlobalRoot in CodegenRust anymore
2016-10-06 21:35:55 +02:00
Anthony Ramine
02d38e74e9
Make Promise::Reject and Resolve take a &GlobalScope
2016-10-06 21:35:54 +02:00
Anthony Ramine
26455b8a67
Remove global_root_from_reflector
2016-10-06 21:35:54 +02:00
Anthony Ramine
4d9347d5b3
Introduce GlobalScope::enqueue_promise_job
2016-10-06 21:35:53 +02:00
Anthony Ramine
6e3be6d894
Introduce GlobalScope::flush_promise_jobs
2016-10-06 21:35:52 +02:00
Anthony Ramine
514819f37a
Introduce GlobalScope::get_runnable_wrapper
2016-10-06 21:35:51 +02:00
Anthony Ramine
991801488c
Move timers to GlobalScope
2016-10-06 21:35:51 +02:00
Anthony Ramine
9c04eb60bd
Move JS evaluation functions to GlobalScope
2016-10-06 21:35:50 +02:00
Anthony Ramine
19108aa330
Pass a &GlobalScope to WebIDL static methods and constructors
2016-10-06 21:35:49 +02:00
Anthony Ramine
1fd470889d
Introduce GlobalScope::networking_task_source
2016-10-06 21:35:49 +02:00
Anthony Ramine
a7305b7fc4
Introduce GlobalScope::script_chan
2016-10-06 21:35:48 +02:00
Anthony Ramine
71236e168a
Introduce GlobalScope::core_resource_thread
2016-10-06 21:35:48 +02:00
Anthony Ramine
bad49e4696
Introduce GlobalScope::resource_threads
2016-10-06 21:35:46 +02:00
Anthony Ramine
86d2008137
Introduce GlobalScope::report_an_error
2016-10-06 21:35:46 +02:00
Anthony Ramine
766010379e
Introduce GlobalScope::as_window
2016-10-06 21:35:45 +02:00
Anthony Ramine
f38159b7d3
Introduce GlobalScope::get_url
2016-10-06 21:35:44 +02:00
Anthony Ramine
3302a53d38
Introduce GlobalScope::api_base_url
2016-10-06 21:35:43 +02:00
Anthony Ramine
ac5c4c2194
Make Error::to_jsval take a &GlobalScope
2016-10-06 21:35:42 +02:00
Anthony Ramine
b3393fba18
Make StructuredCloneData::read take a &GlobalScope
2016-10-06 21:35:40 +02:00
Anthony Ramine
896d8d4781
Make throw_dom_exception take a &GlobalScope
2016-10-06 21:35:39 +02:00
Anthony Ramine
ae6af5172b
Introduce Reflectable::global_scope
2016-10-06 21:35:38 +02:00
Anthony Ramine
27f100b1d4
Introduce GlobalScope::pipeline_id
2016-10-06 20:59:13 +02:00
Anthony Ramine
c6ff767625
Introduce GlobalScope::scheduler_chan
2016-10-06 20:59:13 +02:00
Anthony Ramine
f789e73fd2
Introduce GlobalScope::constellation_chan
2016-10-06 20:59:12 +02:00
Anthony Ramine
ae3763e7b3
Introduce GlobalScope::time_profiler_chan
2016-10-06 20:59:12 +02:00
Anthony Ramine
bfa7d045d0
Introduce GlobalScope::mem_profiler_chan
2016-10-06 20:59:11 +02:00
Anthony Ramine
fe6fca9e1f
Introduce GlobalScope::devtools_chan
2016-10-06 20:59:11 +02:00
Anthony Ramine
14a0b8d88c
Move console timers to GlobalScope
2016-10-06 20:59:11 +02:00
Anthony Ramine
d7c2da450b
Introduce GlobalScope::live_devtools_updates
2016-10-06 20:59:10 +02:00
Anthony Ramine
3e5c0c386c
Introduce GlobalScope::get_next_worker_id
2016-10-06 20:59:10 +02:00
Anthony Ramine
fcb59d3057
Make reflect_dom_object take a &GlobalScope
2016-10-06 20:59:09 +02:00