aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Report errors using the top-level frame id rather than the pipeline id.Alan Jeffrey2016-11-171-1/+1
| |
* | Initial work on job queues for service workersRahul Sharma2016-11-221-8/+64
| |
* | Auto merge of #14274 - stshine:servo-url-index, r=emiliobors-servo2016-11-201-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement range index with the Position enum on ServoUrl <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because refactoring <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> r? @emilio <!-- 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/14274) <!-- Reviewable:end -->
| * | Implement range index with the Position enum on ServoUrlPu Xingyu2016-11-181-1/+1
| |/
* | Remove redundant url clonesPu Xingyu2016-11-181-3/+3
| | | | | | | | | | They are now redundant since now document.url() returns a struct rather than a reference.
* | Move fragment navigation into Document objectPu Xingyu2016-11-181-64/+2
|/ | | | | | | Move the `check_and_scroll_fragment()` method into Document, make the mothod set the fragment of url after navigation, and use the `perform_a_scroll()` method to scroll rather than an individual method. Also removes the broken `Window.fragment` fields.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-15/+18
|
* Storage notifications routed via the constellation.Alan Jeffrey2016-11-151-7/+18
|
* Reorganise ServoParserAnthony Ramine2016-11-141-10/+10
| | | | | | Free-standing fonctions parse_html and friends are now static methods on ServoParser, and the HTML and XML tokenizers have been moved to private submodules.
* Properly implement TaskSource for NetworkingTaskSourceKeith Yeung2016-11-111-4/+3
|
* Script thread lifetime is now managed by the constellation.Alan Jeffrey2016-11-091-15/+24
|
* Auto merge of #14013 - asajeffrey:script-thread-no-root-document, r=jdmbors-servo2016-11-081-407/+298
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Script thread with no root document <!-- Please describe your changes on the following line: --> This PR removes the single root document from the script thread, and replaces it by a lookup table from `PipelineId`s to `Document`s. This is needed if we're going to share script threads, as per #633. The last commit is the one that matters, the ones before are #13646. cc @jdm @Ms2ger @ConnorGBrewster --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because refactoring <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/14013) <!-- Reviewable:end -->
| * Replace script thread root browsing context by a collection of documents.Alan Jeffrey2016-11-081-407/+298
| |
* | Webbluetooth Async behaviourAttila Dusnoki2016-11-081-2/+2
| |
* | Code review comments and upstream merge conflictsRaghav2016-11-041-42/+52
|\| | | | | | | | | | | Incorporated code review comments in components/net/http_loader.rs Resolved merge conflicts in cargo.lock file. Updated ReferrerPolicy in lib.rs
| * Move ReferrerPolicy to net_traits.Ms2ger2016-11-041-2/+2
| |
| * Auto merge of #13646 - asajeffrey:script-lookup-iframes-by-frameid, ↵bors-servo2016-11-031-40/+50
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=ConnorGBrewster Script lookup iframes by frameid <!-- Please describe your changes on the following line: --> Lookup iframes by `FrameId` rather than `PipelineId`. This should make lookup much more reliable, since the frame id doesn't change. cc @ConnorGBrewster @aneeshusa --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because refactoring <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/13646) <!-- Reviewable:end -->
| | * Lookup frames by frame_id, not pipeline_id.Alan Jeffrey2016-11-031-40/+50
| | |
| * | Auto merge of #14044 - servo:bluetooth, r=emiliobors-servo2016-11-031-1/+1
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | Split the bluetooth code out from the net crates. <!-- 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/14044) <!-- Reviewable:end -->
| | * Split the bluetooth code out from the net crates.Ms2ger2016-11-031-1/+1
| | |
* | | Network Security : Implement StrictOrigin and StrictOriginWhenCrossOriginRaghav2016-11-041-0/+4
|/ / | | | | | | | | | | Referer policy strict-origin and strict-origin-when-cross-origin changes have been implemented. Relevant unit test cases have been added. Enum for RefererPolicy has been added to hyper codebase and v 0.9.11 of hyper contains these changes. This commit also contains changes related to upgrade of hyper from v0.9.10 to v0.9.11. Other dependencies changed are rayon, utils, num_cpus.
* / Update to string-cache 0.3Simon Sapin2016-11-031-1/+1
|/
* Auto merge of #13453 - metajack:media-query-list, r=jdmbors-servo2016-11-021-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement matchMedia and MediaQueryList <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #13376 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Fixes #13376. <!-- 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/13453) <!-- Reviewable:end -->
| * Implement matchMedia and MediaQueryListJack Moffitt2016-11-021-0/+5
| | | | | | | | Fixes #13376.
* | Use fetch in ScriptThread.Ms2ger2016-11-021-17/+16
| | | | | | | | | | I did not find the prose that defines the creation of the request in the HTML standard (if it exists).
* | Move WindowSizeType to script_traits.Ms2ger2016-10-221-3/+2
| |
* | Move LoadData to script_traits.Ms2ger2016-10-211-2/+2
| |
* | Auto merge of #13848 - mrobinson:remove-layers, r=glennwbors-servo2016-10-211-5/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove concept of Layers from Servo <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because this PR should not change behavior. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Layers were a feature of the legacy drawing path. If we re-add them at some point, it probably makes more sense to make them a product of display list inspection. This change also remove a bunch of dead painting code. <!-- 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/13848) <!-- Reviewable:end -->
| * | Remove concept of Layers from ServoMartin Robinson2016-10-211-5/+1
| |/ | | | | | | | | | | | | | | Layers were a feature of the legacy drawing path. If we re-add them at some point, it probably makes more sense to make them a product of display list inspection. This change also remove a bunch of dead painting code.
* / Stop ticking animations on non-dirty nodes during traversal.Bobby Holley2016-10-201-0/+3
|/
* Remove old rendering backend.Glenn Watson2016-10-181-2/+0
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Auto merge of #13741 - servo:fetch-doc-unused, r=Manishearthbors-servo2016-10-131-1/+0
|\ | | | | | | | | | | | | | | Remove some unused support for the legacy network stack in script. <!-- 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/13741) <!-- Reviewable:end -->
| * Remove DocumentLoader::pipeline.Ms2ger2016-10-131-1/+0
| |
* | Setting a devtools timeline marker may fail, due to pipeline lookup failure.Alan Jeffrey2016-10-121-10/+10
|/
* Auto merge of #13056 - KiChjang:transition-event, r=mbrubeckbors-servo2016-10-121-0/+38
|\ | | | | | | | | | | | | | | | | | | | | 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 -->
| * Emit TransitionEnd events in the layout thread and process it in the script ↵Keith Yeung2016-10-111-0/+38
| | | | | | | | thread
* | Remove intrinsic Root::r()Anthony Ramine2016-10-111-15/+14
|/
* Merge script::parse and script::dom::servoparserAnthony Ramine2016-10-111-4/+3
|
* Unify ServoHTMLParser and ServoXMLParser in ServoParserAnthony Ramine2016-10-111-4/+5
|
* Move ParserContext to script::parseAnthony Ramine2016-10-111-2/+1
|
* Send touch events to root pipeline, and allow forwarding to iframes.Glenn Watson2016-10-081-6/+9
| | | | | | | | | Instead of letting the compositor try to find the correct scroll layer for a touch event, switch touch events to work the same way that mouse events do. Touch events are now dispatched to the root pipeline, and then forwarded to child iframes as required.
* Make the closure in flush_promise_jobs return a Root<GlobalScope>Anthony Ramine2016-10-061-2/+3
|
* Introduce GlobalScope::enqueue_promise_jobAnthony Ramine2016-10-061-3/+3
|
* Make PromiseJobQueue::enqueue take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::flush_promise_jobsAnthony Ramine2016-10-061-2/+2
|
* Make TaskSource::queue take a &GlobalScopeAnthony Ramine2016-10-061-2/+3
|
* Make RunnableWrapper store an Option<Arc<AtomicBool>>Anthony Ramine2016-10-061-3/+5
| | | | | This makes WorkerGlobalScope::get_runnable_wrapper not panic anymore when the worker is a ServiceWorkerGlobalScope.
* Move timers to GlobalScopeAnthony Ramine2016-10-061-4/+4
|
* Make devtools::handle_evaluate_js take a &GlobalScopeAnthony Ramine2016-10-061-2/+1
|
* Move JS evaluation functions to GlobalScopeAnthony Ramine2016-10-061-1/+1
|