aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix new failure in Nightly 2017-11-01.Simon Sapin2017-11-011-0/+1
| | | | The rustc::declare_lints! macro started using a :vis fragment specifier.
* Remove usage of unstable box syntax, except in the script crateSimon Sapin2017-10-121-2/+1
| | | | | … because there’s a lot of it, and script still uses any other unstable features anyway.
* Associate bound WebGLTextures with texture units.Imanol Fernandez2017-09-281-0/+1
|
* Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-2/+2
| | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* Auto merge of #18553 - mdboom:tidy-support-multiline-strings, r=wafflespeanutbors-servo2017-09-211-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make tidy aware of Rust multiline strings <!-- Please describe your changes on the following line: --> This makes the internal tidy script properly ignore the contents of Rust multiline strings. --- <!-- 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 fix #18551 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/18553) <!-- Reviewable:end -->
| * Make tidy aware of Rust multiline stringsMichael Droettboom2017-09-211-1/+1
| | | | | | | | | | | | As a result of tighter and more correct handling of character literals, this now catches a few kinds of syntax involving lifetimes that were previously missed, so those have been updated.
* | Split feature gates into lines for easy greppingMatt Brubeck2017-09-211-1/+4
|/
* Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30)Simon Sapin2017-08-311-1/+1
|
* Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)Simon Sapin2017-08-151-7/+15
|
* Upgrade to rustc 1.20.0-nightly (3bfc18a96 2017-06-29)Simon Sapin2017-06-301-1/+1
|
* Update Rust nightly to 1.19.0-nightly (2416e222e 2017-06-09)Anthony Ramine2017-06-091-11/+4
|
* Revert "Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)"Anthony Ramine2017-06-031-4/+11
| | | | This reverts commit f081380dc03dba9664877df2829097f32c40694a.
* Update Rust nightly to 1.19.0-nightly (6165203c4 2017-06-03)Anthony Ramine2017-06-031-11/+4
|
* Stop using unstable slice_patterns featureMatt Brubeck2017-05-011-1/+1
|
* Update rustc to 1.18.0-nightly (b0a4074c5 2017-04-26)Anthony Ramine2017-04-261-3/+3
|
* Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31)Simon Sapin2017-03-312-13/+12
|
* Auto merge of #15771 - jdm:img-panic, r=noxbors-servo2017-03-081-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve behaviour of image elements that perform multiple requests This addresses cases where image elements end up making multiple requests, as well as makes the element respond to additional relevant mutations that trigger updating the image data. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15709 (github issue number if applicable). - [X] There are tests for these changes <!-- 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/15771) <!-- Reviewable:end -->
| * Move checks for document completion to the end of the event loop.Josh Matthews2017-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | This better reflects the text of the specification - rather than queuing a task to dispatch the load evnet as soon as the document loader is unblocked, we want to "spin the event loop until there is nothing that delays the load event in the Document." Spinning the event loop is a concept that requires running tasks completely, hence we check the condition before returning to the start of the event loop.
* | Remove unused function match_ty_unwrapAnthony Ramine2017-02-271-31/+0
| |
* | Rewrite the ban-type lint in PythonJefry Lagrange2017-02-252-55/+0
| | | | | | | | | | | | Delete old rust ban lint and move tests to python tidy Fix ban lint regex and fix test
* | Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-242-34/+1
|/
* Make script thread initiate requests for images needed by layout.Josh Matthews2017-02-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In support of this goal, the layout thread collects information about CSS images that are missing image data and hands it off to the script thread after layout completes. The script thread stores a list of nodes that will need to be reflowed after the associated network request is complete. The script thread ensures that the nodes are not GCed while a request is ongoing, which the layout thread is incapable of guaranteeing. The image cache's API has also been redesigned in support of this work. No network requests are made by the new image cache, since it does not possess the document-specific information necessary to initiate them. Instead, there is now a single, synchronous query operation that optionally reserves a slot when a cache entry for a URL cannot be found. This reserved slot is then the responsibility of the queryer to populate with the contents of the network response for the URL once it is complete. Any subsequent queries for the same URL will be informed that the response is pending until that occurs. The changes to layout also remove the synchronous image loading code path, which means that reftests now test the same code that non-test binaries execute. The decision to take a screenshot now considers whether there are any outstanding image requests for layout in order to avoid intermittent failures in reftests that use CSS images.
* Move script lints to script_pluginsAnthony Ramine2017-02-166-0/+439
The plugins crate now just allows to hook into clippy from a single crate.