aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-933/+0
|
* make Node.type_id field privateSean McArthur2014-09-051-1/+1
|
* Stop artificially constraining the size of the GC heap.Ms2ger2014-08-191-0/+11
|
* Structured clone the argument to DedicatedWorkerGlobalScope.postMessage.Ms2ger2014-08-141-3/+2
|
* Structured clone the argument to Worker.postMessage.Ms2ger2014-08-141-1/+2
|
* Implement DedicatedWorkerGlobalScope.postMessage.Ms2ger2014-08-121-0/+3
|
* Store a pointer to the Worker in the DedicatedWorkerGlobalScope.Ms2ger2014-08-121-0/+4
|
* Improve the documentation for ScriptMsg.Ms2ger2014-08-111-8/+14
|
* Give workers their own ScriptChan and use it for postMessage.Ms2ger2014-08-111-10/+15
| | | | | This ensures that XHR callbacks for XHR objects in workers are called on the worker thread rather than the main thread.
* Upgrade Rust.Jack Moffitt2014-08-081-1/+1
|
* Decouple compositing and script crates.Josh Matthews2014-08-081-82/+121
|
* Merge pull request #3000 from Ms2ger/rendertaskMs2ger2014-08-061-1/+1
|\ | | | | Use spawn_named_with_send_on_failure for the RenderTask; r=Manishearth
| * Pass an argument to spawn_named_with_send_on_failure to support spawning ↵Josh Matthews2014-08-041-1/+1
| | | | | | | | native tasks.
* | Implement support for :disabled CSS selectorBruno de Oliveira Abinader2014-08-051-2/+23
|/
* Upgrade Rust.Jack Moffitt2014-08-021-8/+5
|
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-211-1/+1
|
* Merge pull request #2850 from ebalint/1992_move_timer_firing_implJosh Matthews2014-07-211-24/+1
|\ | | | | Move timer firing implemention into Window #1992
| * Move timer firing implemention into Window #1992Edit Balint2014-07-161-24/+1
| |
* | Revert "Merge pull request #2819 from bjwbell/iframe-layers"Cameron Zwarich2014-07-191-2/+2
| | | | | | | | | | This reverts commit 0200b61f713f2cdddcbc06ccd4cb5de11332899a, reversing changes made to ca968219025a46e57b5cd770ae7c8ac5919876b1.
* | Restructure compositor layers to work with iframesBryan Bell2014-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a frame is selected via set_ids, a tree of root compositor layers is also created, matching the tree of pipelines in the frame. This decouples the chronological ordering dependency for parent frames and child iframes sending CreateOrUpdateRootLayer & CreateOrUpdateDescendentLayer messages. Change the Compositor ready and render states to per pipeline. This ensures the compositor doesn't composite for an epoch until every *pipeline* in the epoch is finished rendering. For iframes it fixes a bug where the compositor didnt wait on the child pipeline ready state before compositing the window. Gotchas: * layout task or script task failure on exit ("task '' failed at sending on a closed channel"), this happens if the child iframe shares the same script task as the parent and can be avoided by adding the sandbox attribute to the iframe. Other changes: * Inline set_clipping_rect in compositor.rs * Commented out ref test simple_iframe.html fails on os x
* | Load scripts in workers.Ms2ger2014-07-151-17/+18
|/
* Introduce abstractions for global scopes.Ms2ger2014-07-151-2/+3
| | | | Part of #2811.
* Move the call to RegisterBindings::Register into WindowBinding::Wrap.Ms2ger2014-07-131-5/+0
|
* Pass a JSContext and a reflector to RegisterBindings::Register.Ms2ger2014-07-131-1/+1
| | | | | This makes the generated code less dependent on the fact that all global objects are Windows.
* Store proxy handlers in a static array rather than a hashtable per window.Ms2ger2014-07-121-2/+1
|
* Remove needless mutabilities from script crate.Tetsuharu OHZEKI2014-06-221-6/+6
|
* Separate "desktop" and "mobile" zoom calculations.Matt Brubeck2014-06-201-8/+7
| | | | | | | | This ensures that the layout viewport responds to each type of zoom correctly, and lays the ground for CSS Media Queries and CSS Device Adaption. Until we have proper touch support, mobile-style "pinch" zoom can be simulated by holding Ctrl while scrolling with a mousewheel or trackpad gesture.
* auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdmbors-servo2014-06-131-4/+4
|\ | | | | | | | | removed .clone() calls modified from_rooted method parameter: T to &T
| * Replace uses of JS<T>.unrooted() with JS::from_rooted #2580Edit Balint2014-06-131-4/+4
| |
* | Split Page code out of script_task.rs #2530Edit Balint2014-06-131-412/+11
|/
* Pass immutable document to parse_html.Ms2ger2014-06-111-3/+3
|
* Use internal mutability for Window::{active_timers, next_timer_handle}.Ms2ger2014-06-111-18/+14
|
* Use internal mutability for Window::browser_context.Ms2ger2014-06-111-1/+1
|
* Use internal mutability for Node.flags.Ms2ger2014-06-111-3/+3
|
* Use internal mutability for EventTarget.Ms2ger2014-06-111-1/+1
|
* Use internal mutability for Event.Ms2ger2014-06-111-9/+10
|
* Pass a JSRef to RegisterBindings::Register.Ms2ger2014-06-111-1/+1
| | | | | JS<T> should only be used for members of traced structures; the correct type for arguments is JSRef.
* Outside of compositor, store window size in CSS pxMatt Brubeck2014-06-091-15/+15
| | | | | | | | | | This fixes an issue where the CSS viewport was too large on high-DPI displays because it was set to the window size in device pixels, instead of px. This patch ensures that the window size is converted from device pixels to px before being passed to script/layout code. The Window trait now exposes the window size in both device pixels and density-independent screen coordinates, with clearer method names.
* Upgrade Rust.Jack Moffitt2014-06-051-11/+8
|
* auto merge of #2535 : saneyuki/servo/mut, r=jdmbors-servo2014-06-011-2/+1
|\ | | | | | | Related #2514
| * Fix regression that no update to Page.fragment_node.Tetsuharu OHZEKI2014-06-021-2/+1
| |
* | Implement Event::new_initialized and initialize the event in Event::new.Ms2ger2014-05-311-5/+7
|/
* Use Cell instead of RefCell for Page.fragment_node.Tetsuharu OHZEKI2014-05-301-5/+5
|
* Fix unused_result warning in script_taskManish Goregaokar2014-05-291-1/+1
|
* Remove unnecessary pubs from script_taskMatt Brubeck2014-05-281-24/+20
|
* Use *mut T for the T* pointers in SpiderMonkey.Ms2ger2014-05-261-9/+9
|
* Initial spec-incompliant implementation of default click action for anchor ↵Tetsuharu OHZEKI2014-05-231-32/+44
| | | | | | | | | | | | | elements. This is cherry-picked from https://github.com/mozilla/servo/pull/1688: * Initial spec-incompliant implementation of default click action for anchor elements. * Add documentation; gut the new document URL loading method and move it all into the new Window method. * Add test for default event prevention. Original developer: Josh Matthews <josh@joshmatthews.net>
* Update Rust.Ms2ger2014-05-221-20/+19
|
* auto merge of #2442 : Manishearth/servo/xhr-async, r=jdmbors-servo2014-05-201-0/+4
|\ | | | | | | (Note that only `getAllResponseHeaders()` is supported at the moment, I'll be adding the other header methods later.)
| * Async XHR GET with basic response header supportManish Goregaokar2014-05-201-0/+4
| |