Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CanGc fixes in `errorevent.rs` (#33960) | tanishka | 2024-10-22 | 1 | -2/+2 |
| | | | | | | | | | | | | | * CanGc fixes in errorevent.rs Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Allow too_many_arguments to avoid lint error Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> | ||||
* | clippy: Fix a bunch of warnings in `script` (#32680) | Martin Robinson | 2024-07-04 | 1 | -7/+6 |
| | | | This is just a portion of the errors that are remaining to be fixed. | ||||
* | clippy: Fix a few clippy problems in `components/scripts/dom` (#31905) | Rosemary Ajayi | 2024-03-28 | 1 | -1/+0 |
| | | | | | * option_as_ref_deref * fix | ||||
* | clippy:Fix clippy problems in components/scripts/binding (#31893) | Rosemary Ajayi | 2024-03-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * constants have by default a static lifetime * constants have by default a static lifetime * unneeded unit expression * unneeded unit expression * Box of default value * casting raw pointers * casting raw pointers | ||||
* | clippy: Fix several warnings (#31710) | RustAndMetal | 2024-03-18 | 1 | -2/+2 |
| | | | Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com> | ||||
* | 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> | ||||
* | Use Foo_Binding instead of FooBinding for namespace modules (#30447) | Samson | 2023-09-30 | 1 | -1/+1 |
| | | | | | * Update Codegen.py to emit Foo_Binding instead of FooBinding * s/FooBinding/Foo_Binding/g | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -12/+14 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Make GlobalScope.get_cx a static method. | Josh Matthews | 2023-05-20 | 1 | -1/+1 |
| | |||||
* | Always pass InRealm to GlobalScope::from_context to avoid getting null global | CYBAI | 2020-02-16 | 1 | -6/+3 |
| | |||||
* | rename compartment to realm | Kunal Mohan | 2020-01-24 | 1 | -2/+2 |
| | |||||
* | Use `#![register_tool]` instead of `#![register_attr]` | Simon Sapin | 2019-11-15 | 1 | -3/+3 |
| | | | | CC https://github.com/rust-lang/rust/issues/66079 | ||||
* | Use safe JSContext in callbacks | marmeladema | 2019-08-09 | 1 | -25/+21 |
| | |||||
* | Modify *::get_cx methods to return a safe JSContext instead of a raw one | marmeladema | 2019-07-24 | 1 | -2/+2 |
| | |||||
* | Callbacks now uses safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -5/+6 |
| | |||||
* | Update to SpiderMonkey 66. | Josh Matthews | 2019-05-10 | 1 | -6/+6 |
| | |||||
* | Prevent JS execution and layout operations while DOM in inconsistent state. | Josh Matthews | 2018-12-14 | 1 | -0/+6 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -5/+5 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -6/+6 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -21/+20 |
| | |||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -5/+5 |
| | |||||
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -2/+2 |
| | | | | | | | | Fixes warnings from rust-lang/rust#44229 when `--enable-commonmark` is passed to rustdoc. This is mostly a global find-and-replace for bare URIs on lines by themselves in doc comments. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | | | | | | | 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 JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -4/+4 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -1/+1 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Add way to get c_void ptr or c_char from caller | mckaymatt | 2017-04-04 | 1 | -1/+2 |
| | |||||
* | removing mutHeapJs references | SendilKumar N | 2017-03-07 | 1 | -3/+3 |
| | | | | changes as per comments | ||||
* | Don't try to get the global of an object while it's being destroyed. | Ms2ger | 2017-01-19 | 1 | -1/+2 |
| | | | | | Fixes #15070. Fixes #15097. | ||||
* | Implement the incumbent global. | Ms2ger | 2017-01-17 | 1 | -3/+30 |
| | | | | Fixes #10963. | ||||
* | Add a permanent root to WebIDL callbacks, ensuring they are always safe to ↵ | Josh Matthews | 2017-01-13 | 1 | -10/+45 |
| | | | | store. | ||||
* | Expose CallbackObject more. | Ms2ger | 2017-01-09 | 1 | -13/+21 |
| | | | | This will make it easier to use new fields added to it. | ||||
* | Introduce CallbackObject::new(). | Ms2ger | 2017-01-09 | 1 | -7/+11 |
| | |||||
* | Change the order of code in callback.rs to make more sense. | Ms2ger | 2017-01-09 | 1 | -33/+35 |
| | |||||
* | Implement the entry global. | Ms2ger | 2017-01-06 | 1 | -0/+8 |
| | | | | Partial fix for #10963. | ||||
* | Simplify CallSetup. | Ms2ger | 2017-01-05 | 1 | -16/+13 |
| | |||||
* | Rename `Reflectable` to `DomObject`. | Corey Farwell | 2016-12-08 | 1 | -4/+4 |
| | | | | Fixes https://github.com/servo/servo/issues/8473. | ||||
* | Remove GlobalRoot and GlobalRef | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Remove global_root_from_reflector | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -3/+3 |
| | |||||
* | Dispatch error events at the window object. | Ms2ger | 2016-09-02 | 1 | -1/+1 |
| | |||||
* | Remove the JSAutoCompartment from report_pending_exception. | Ms2ger | 2016-08-26 | 1 | -1/+3 |
| | | | | It doesn't really belong there. | ||||
* | Reuse report_pending_exception in CallSetup. | Ms2ger | 2016-07-05 | 1 | -10/+4 |
| | |||||
* | Switch to using the new rooted!/RootedGuard API for rooting. | Eduard Burtescu | 2016-07-04 | 1 | -18/+17 |
| | |||||
* | Clean up the functions to retrieve a global root from JS objects | Anthony Ramine | 2016-05-27 | 1 | -1/+1 |
| | |||||
* | Stop re-rooting CallSetup::exception_compartment. | Ms2ger | 2016-05-17 | 1 | -2/+1 |
| | |||||
* | Remove JS_SaveFrameChain and JS_RestoreFrameChain calls. | Ms2ger | 2016-05-17 | 1 | -9/+2 |
| | | | | | They were cargo-culted from Gecko, where they haven't been necessary for a while either. | ||||
* | Remove Request handling from CallSetup. | Ms2ger | 2016-05-17 | 1 | -7/+0 |
| | |||||
* | Remove `#[allow(raw_pointer_derive)]` attributes | Brandon Fairchild | 2015-11-27 | 1 | -1/+0 |
| | | | | | | The attributes are unused. Fixes #8699. |