aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Update js.Ms2ger2015-05-101-1/+1
|/ /
* / layout: Don't rerun selector matching unless we need to when resizingPatrick Walton2015-05-071-5/+7
|/ | | | the window.
* Support WebDriver takeScreenshot command.James Graham2015-05-071-3/+2
| | | | | This adds support for compositing to a PNG without actually quiting the browser.
* Implement webdriver commands for back/forward/title/handles.James Graham2015-05-061-1/+3
|
* Auto merge of #5753 - JIoJIaJIu:timeline, r=jdmbors-servo2015-05-061-0/+11
|\ | | | | | | | | | | | | | | | | RequestAnimationFrame [Task](https://github.com/servo/servo/issues/5681) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5753) <!-- Reviewable:end -->
| * Start using on_refresh_driver_tick #5681Guro Bokum2015-05-061-0/+11
| | | | | | | | Final
* | Auto merge of #5951 - SimonSapin:au-cleanup, r=mbrubeckbors-servo2015-05-051-4/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | Fix #5943. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5951) <!-- Reviewable:end -->
| * Rename Au methods with f32/f64 instead of frac32/frac/subpxSimon Sapin2015-05-051-1/+1
| |
| * Replace Au-related free functions in util::geometry with Au methods.Simon Sapin2015-05-051-4/+1
| |
* | 1. Add an Option<Pipeline_id> field to the LoadData struct, and a ↵Himaja2015-05-051-0/+1
|/ | | | | | corresponding parameter to LoadData::new() 2. Change addEvent in the NetworkEventActor to add_request and add_response
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-7/+3
|
* Remove FIXMEPhilip Munksgaard2015-05-041-2/+0
| | | | | | | Following the (short) in #5930 it was decided that we should remove this FIXME. Fixes #5930
* Auto merge of #5725 - pgonda:dispatch-mousedown-mouseup, r=jdmbors-servo2015-04-301-11/+21
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5725) <!-- Reviewable:end -->
| * added dispatching for mousedown and mouseup events, fixes #5705Peter2015-04-291-11/+21
| |
* | Uniformise the various Msg types [#5882]Prabhjyot Singh Sodhi2015-04-301-5/+5
| |
* | Implement Clone for Copy types.Ms2ger2015-04-281-1/+1
| |
* | Uniformise root() methodsAnthony Ramine2015-04-281-2/+3
| | | | | | | | | | They now live in traits Rootable, OptionalOptionalRootable, OptionalRootable and ResultRootable.
* | Make RootedVec/RootCollection #[no_move]; improve code (fixes #5737)Manish Goregaokar2015-04-281-1/+1
| |
* | Fix some no_move errorsManish Goregaokar2015-04-281-5/+5
|/
* Factor out a handle_parsing_complete function from ScriptTask::Load.Ms2ger2015-04-271-34/+46
|
* Add script execution support via WebDriverJames Graham2015-04-231-0/+13
|
* Auto merge of #5802 - mmatyas:indentfix, r=jdmbors-servo2015-04-221-1/+1
|\ | | | | | | | | | | <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5802) <!-- Reviewable:end -->
| * Fix some irregular indentation.Mátyás Mustoha2015-04-221-1/+1
| |
* | Refactored image cache task - details below.Glenn Watson2015-04-231-39/+47
|/ | | | | | | | | | | | | | | | | | | | * Simpler image cache API for clients to use. * Significantly fewer threads. * One thread for image cache task (multiplexes commands, decoder threads and async resource requests). * 4 threads for decoder worker tasks. * Removed ReflowEvent hacks in script and layout tasks. * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe. * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow. * Add reflow batching for when multiple images load quickly. * Reduces the number of paints loading wikipedia from ~95 to ~35. * Reasonably simple to add proper prefetch support in a follow up PR. * Async loaded images always construct Image fragments now, instead of generic. * Image fragments support the image not being present. * Simpler implementation of synchronous image loading for reftests. * Removed image holder. * image.onload support. * image NaturalWidth and NaturalHeight support. * Updated WPT expectations.
* Store a Runtime object in ScriptTask.Ms2ger2015-04-221-17/+13
|
* Make ScriptTask::js_context immutable.Ms2ger2015-04-201-11/+4
| | | | | Since we drop the ScriptTask almost immediately after clearing the field, there's little reason to do it manually.
* Support focus management and keyboard events for iframes.Glenn Watson2015-04-201-25/+38
|
* Make mouse_over_targets a RootedVecBogdan Cuza2015-04-181-3/+5
|
* Documentation.Josh Matthews2015-04-161-0/+3
|
* Implement sync XHR by creating and spinning on-demand event loops.Josh Matthews2015-04-161-0/+26
|
* Start switching net/ to use abstractions over channels to allow introducing ↵Josh Matthews2015-04-161-3/+2
| | | | non-channel communication in the future.
* Make Metadata use ContentTypeBogdan Cuza2015-04-141-5/+4
|
* Update some URLs.Ms2ger2015-04-141-1/+1
| | | | | The HTML spec's division into pages is not stable, so it is safer to use the URL without a specific page (which will redirect).
* Using unwrap() as suggested in review.Adenilson Cavalcanti2015-04-131-2/+2
|
* Squashing a few compiler warnings.Adenilson Cavalcanti2015-04-131-1/+1
|
* Firefox timeline integration #4957Guro Bokum2015-04-131-0/+72
|
* Use a simple Temporary value in TreeIteratorAnthony Ramine2015-04-131-14/+10
|
* Use Page::window_for_script_deallocation in ScriptMemoryFailsafejosiahdaniels2015-04-121-2/+2
| | | | Also: Rename window_for_script_dealloation to window_for_script_deallocation
* Move Runtime to rust-mozjs.Ms2ger2015-04-101-56/+2
|
* Add rt and cx methods to Runtime.Ms2ger2015-04-101-4/+14
|
* Create a Runtime struct to manage JSRuntime and JSContext.Ms2ger2015-04-101-25/+44
| | | | | I intend to move this struct into rust-mozjs, but I kept it here for easier iteration for now.
* Resume tracing our collections of roots.Ms2ger2015-04-101-3/+4
| | | | | The second JS_SetExtraGCRootsTracer call clobbered the first, so trace_collections was no longer being called.
* Split out shared networking code into net_traits crateGilles Leblanc2015-04-031-4/+4
| | | | Fixes #4476
* Introduce a MouseButton enum.Ms2ger2015-04-031-2/+2
|
* script: Stop destroying all flows on every mouse-over event.Patrick Walton2015-04-011-3/+1
|
* broadcasting storage changes eventssnf2015-03-311-1/+1
|
* auto merge of #5428 : pcwalton/servo/squash-mouse-move, r=jdmbors-servo2015-03-301-2/+17
|\ | | | | | | | | | | Otherwise they queue up if the event handler isn't 60FPS. r? @jdm
| * script: Squash mouse-move events just like resizes.Patrick Walton2015-03-271-2/+17
| | | | | | | | Otherwise they queue up if the event handler isn't 60FPS.
* | auto merge of #5422 : bdero/servo/bdero/box-syntax, r=jdmbors-servo2015-03-291-2/+2
|\ \ | | | | | | | | | Closes #5417
| * | Use box syntax instead of Box::new()Brandon DeRosier2015-03-291-2/+2
| |/ | | | | | | Closes #5417