aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_plugins/unrooted_must_root.rs
Commit message (Collapse)AuthorAgeFilesLines
* Replace script_plugins with a clippy like rustc driver (named crown) (#30508)Samson2023-12-011-376/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Remove script_plugins * Use crown instead of script_plugins * crown_is_not_used * Use crown in command base * bootstrap crown * tidy happy * disable sccache * Bring crown in tree * Install crown from tree * fix windows ci * fix warning * fix mac libscript_plugins.dylib is not available anymore * Update components/script/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> * Update for nightly-2023-03-18 Mostly just based off https://github.com/servo/servo/pull/30630 * Always install crown it's slow only when there is new version * Run crown test with `mach test-unit` * Small fixups; better trace_in_no_trace tests * Better doc * crown in config.toml * Fix tidy for real * no sccache on rustc_wrapper * document rustc overrides * fixup of compiletest * Make a few minor comment adjustments * Fix a typo in python/servo/platform/base.py Co-authored-by: Samson <16504129+sagudev@users.noreply.github.com> * Proper test types * Ignore tidy on crown/tests --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
* Update rust version to "nightly-2023-03-18" (#30630)Martin Robinson2023-11-011-3/+3
| | | This is necessary to update the network stack.
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-6/+4
| | | | | * strict imports formatting * Reformat all imports
* No tracing of nop traceable fields (#29926)Samson2023-08-041-0/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `no_trace` option to JSTraceable derive * NoTrace wrapper * Port some types to no_trace schematics * Fixing my unsafe mistakes (not tracing traceables) * Add docs & safety guards for no_trace Safety guards (trait shenanigans) guarantees safety usage of `no_trace` * Port canvas_traits to no_trace * Port servo_media to no_trace * Port net_traits to no_trace * Port style to no_trace * Port webgpu to no_trace * Port script_traits to no_trace * Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace * unrooted_must_root lint in seperate file * Add trace_in_no_trace_lint as script_plugin * Composable types in must_not_have_traceable * Introduced HashMapTracedValues wrapper * `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>` * Port rest of servo's types to no_trace * Port html5ever, euclid, mime and http to no_trace * Port remaining externals to no_trace * Port webxr and Arc<Mutex<_>> * Fix spelling in notrace doc
* Move script_plugins to a single fileSimon Sapin2019-09-291-312/+0
|
* Upgrade to rustc 1.40.0-nightly (084beb83e 2019-09-27)Simon Sapin2019-09-281-3/+3
|
* Upgrade to rustc 1.40.0-nightly (ddf43867a 2019-09-26)Simon Sapin2019-09-271-2/+2
|
* Upgrade to rustc 1.39.0-nightly (521d78407 2019-08-25)Simon Sapin2019-08-261-15/+7
|
* Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15)Simon Sapin2019-08-231-2/+2
|
* Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15)Simon Sapin2019-07-171-3/+3
|
* Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)Josh Matthews2019-07-051-1/+1
|
* Upgrade to rustc 1.37.0-nightly (04a3dd8a8 2019-06-18)Simon Sapin2019-06-221-5/+2
|
* Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13)Simon Sapin2019-05-141-27/+65
|
* Upgrade to rustc 1.35.0-nightly (4c27fb19b 2019-03-25)Simon Sapin2019-03-261-1/+1
|
* Upgrade to rustc 1.34.0-nightly (0ea22717a 2019-03-02)Simon Sapin2019-03-031-3/+3
|
* ReformatSimon Sapin2019-02-261-1/+4
|
* Upgrade to rustc 1.34.0-nightly (097c04cf4 2019-02-24)Simon Sapin2019-02-251-10/+10
|
* Compat with rustc 1.34.0-nightly (f6fac4225 2019-02-03)Simon Sapin2019-02-051-3/+3
|
* Upgrade to rustc 1.34.0-nightly (da6ab956e 2019-01-27)Simon Sapin2019-01-281-0/+4
|
* Update Rust to 1.33.0-nightly (03acbd71c 2019-01-14)Anthony Ramine2019-01-151-3/+2
|
* Exempt Rc<Promise> from unrooted_must_rootManish Goregaokar2019-01-041-1/+13
| | | | fixes #22504
* Upgrade to rustc 1.33.0-nightly (fb86d604b 2018-12-27)Simon Sapin2018-12-281-7/+7
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-3/+3
|
* `cargo fix --edition`Simon Sapin2018-11-061-1/+1
|
* Format components/script_pluginschansuke2018-09-131-43/+75
|
* Upgrade to rustc 1.30.0-nightly (7061b2775 2018-08-28)Simon Sapin2018-08-291-2/+1
|
* Upgrade to rustc 1.30.0-nightly (721913067 2018-08-26)Simon Sapin2018-08-271-6/+6
|
* Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16)Simon Sapin2018-07-181-2/+2
|
* Upgrade to rustc 1.29.0-nightly (e06c87544 2018-07-06)Simon Sapin2018-07-071-3/+3
|
* Rename BoundAttribBuffers to VertexAttribs and make it store a sliceAnthony Ramine2018-07-051-0/+1
|
* Upgrade to rustc 1.28.0-nightly (524ad9b9e 2018-05-29)Anthony Ramine2018-05-301-2/+2
| | | | Fixes https://github.com/servo/servo/issues/20844
* Revert "Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02)"Josh Matthews2018-05-181-2/+2
| | | | This reverts commit 46ad8110172cfc9d8d420e8eb41863f3d394e24d.
* Upgrade to rustc 1.27.0-nightly (8a37c75a3 2018-05-02)Simon Sapin2018-05-041-2/+2
|
* 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.
* 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.
* 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
|
* 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-311-1/+1
|
* 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.
* 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-161-0/+231
The plugins crate now just allows to hook into clippy from a single crate.