Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | clippy: Fix clippy problems in `components/script/dom` (#31891) | Rosemary Ajayi | 2024-03-27 | 1 | -2/+2 |
| | | | | | | | * deref on an immutable reference * use of with literal radix of 10 * fix | ||||
* | clippy: Fix various warnings in `components/script/dom` (#31890) | Rosemary Ajayi | 2024-03-27 | 1 | -8/+8 |
| | | | | | * redundant field names in struct initialization * reduthis pattern creates a reference to a reference | ||||
* | Fix rustdoc errors in `components/script/dom` (#31617) | Mucha Naibei | 2024-03-11 | 1 | -1/+1 |
| | | | | | * Fix rustdoc errors in components/script/dom * Revert if to iff in audiobuffer.rs | ||||
* | Replace script_plugins with a clippy like rustc driver (named crown) (#30508) | Samson | 2023-12-01 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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> | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -9/+12 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Extract some thread local use from generic code. | Josh Matthews | 2020-06-04 | 1 | -21/+37 |
| | |||||
* | Use `#![register_tool]` instead of `#![register_attr]` | Simon Sapin | 2019-11-15 | 1 | -1/+1 |
| | | | | CC https://github.com/rust-lang/rust/issues/66079 | ||||
* | Remove now-unnecessary must_root and allow(unrooted_must_root) annotations | Manish Goregaokar | 2019-01-04 | 1 | -1/+0 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -7/+7 |
| | |||||
* | Drop `TrustedPromise` before dropping JSRuntime | CYBAI | 2018-10-21 | 1 | -0/+6 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -15/+21 |
| | |||||
* | Use specific assertion for DOM binding refcounted | CYBAI | 2018-01-26 | 1 | -1/+1 |
| | |||||
* | Do not trace Rust values when thread is shutting down. | Josh Matthews | 2017-10-20 | 1 | -3/+1 |
| | |||||
* | Make DomRoot::new unsafe | Anthony Ramine | 2017-09-26 | 1 | -2/+1 |
| | |||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Make Promise::reject_error sound | Anthony Ramine | 2017-09-22 | 1 | -5/+1 |
| | |||||
* | Make Promise::resolve_native actually sound | Anthony Ramine | 2017-09-21 | 1 | -4/+1 |
| | | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand. | ||||
* | Introduce TaskOnce | Anthony Ramine | 2017-09-20 | 1 | -3/+3 |
| | | | | | Having both TaskBox and TaskOnce allows us to remove the superfluous inner boxing from CancellableTask<T>. | ||||
* | Rename Task to TaskBox | Anthony Ramine | 2017-09-20 | 1 | -3/+3 |
| | |||||
* | Make Task require Send | Anthony Ramine | 2017-09-20 | 1 | -2/+2 |
| | |||||
* | Use task! to resolve promises | Anthony Ramine | 2017-09-18 | 1 | -12/+8 |
| | |||||
* | Use task! to reject promises | Anthony Ramine | 2017-09-18 | 1 | -12/+8 |
| | |||||
* | Move Task to its own module | Anthony Ramine | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | Use normal tasks to reject and resolve promises | Anthony Ramine | 2017-09-17 | 1 | -5/+5 |
| | |||||
* | Rename Runnable to Task | Anthony Ramine | 2017-09-16 | 1 | -11/+11 |
| | | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`. | ||||
* | Update Trusted<T> documentation | Fernando Jiménez Moreno | 2017-08-09 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 1.21.0-nightly (599be0d18 2017-07-26) | Simon Sapin | 2017-07-27 | 1 | -1/+1 |
| | |||||
* | Implemented paint worklet rendering context. | Alan Jeffrey | 2017-06-30 | 1 | -0/+2 |
| | |||||
* | Implemented Houdini worklets. | Alan Jeffrey | 2017-05-17 | 1 | -0/+39 |
| | |||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -7/+7 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Support an equivalent of Trusted<T> for Rc<Promise> objects named ↵ | Josh Matthews | 2016-09-22 | 1 | -8/+86 |
| | | | | TrustedPromise. | ||||
* | Remove mutex from Trusted | Alan Jeffrey | 2016-08-29 | 1 | -77/+52 |
| | | | | | Use weak references rather than message passing to garbage-collect dead references. | ||||
* | Make debug logging for tracing JS objects more informative. | Josh Matthews | 2016-05-11 | 1 | -1/+2 |
| | |||||
* | Update SpiderMonkey | Anthony Ramine | 2016-05-03 | 1 | -1/+2 |
| | |||||
* | Remove extraneous script_chan parameter from Trusted::new | Keith Yeung | 2016-04-28 | 1 | -1/+2 |
| | |||||
* | refactors entities from script_thread into script_runtime | Rahul Sharma | 2016-04-06 | 1 | -1/+1 |
| | |||||
* | task -> thread | rohan.prinja | 2016-01-10 | 1 | -10/+10 |
| | |||||
* | Remove from Trusted::new an unnecessary argument | Arthur Skobara | 2015-12-12 | 1 | -2/+2 |
| | |||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -2/+3 |
| | |||||
* | rearrange imports to be in alphabetical order | rohan.prinja | 2015-10-30 | 1 | -2/+1 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+2 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -3/+3 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -4/+2 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -4/+4 |
| | |||||
* | Splitting ScriptMsg into various enums; r=jdm | Ravi Shankar | 2015-08-15 | 1 | -2/+2 |
| |