aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/conversions.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy:Fix clippy problems in components/scripts/binding (#31893)Rosemary Ajayi2024-03-271-2/+2
| | | | | | | | | | | | | | | * 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 `unnecessary_cast` warnings in `components/script` (#31823)Oluwatobi Sofela2024-03-221-5/+5
| | | | | | | * clippy: Fix unnecessary cast warnings * clippy: Replace redundant field names with their shorthand alternatives * clippy: Delete struct pattern dereferencings
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-20/+24
| | | | | * strict imports formatting * Reformat all imports
* Use MozTools 4 and update mozjs (#30326)Samson2023-09-111-2/+2
| | | | | | | | | | | | | | | | | | | * Update mozjs * moztools4 in bootstrap * no autoconf * tidy * switch to servo-build-deps * update mozjs for real * glue mozjs * fmt * move to servo/mozjs
* Clean up debug optionsMartin Robinson2023-05-011-1/+1
|
* Changes for spidermomkey upgrade.Josh Matthews2022-11-231-7/+5
|
* Update mozjs.Josh Matthews2021-02-181-6/+6
|
* Remove unnecessary generic from private_from_proto_check.Josh Matthews2020-06-041-8/+20
|
* dom: Remove unnecessary generic from private_from_proto_check_static.Josh Matthews2020-06-021-6/+3
|
* Auto merge of #24694 - servo:rustup, r=jdmbors-servo2019-11-091-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove use of on_unimplemented It errors in today’s Nightly: ```rust error[E0557]: feature has been removed --> components/script/lib.rs:9:12 | 9 | #![feature(on_unimplemented)] | ^^^^^^^^^^^^^^^^ feature has been removed error[E0658]: this is an internal attribute that will never be stable --> components/script/dom/bindings/conversions.rs:77:1 | 77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/29642 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to 2 previous errors ```
| * Remove use of on_unimplementedSimon Sapin2019-11-081-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It errors in today’s Nightly: ```rust error[E0557]: feature has been removed --> components/script/lib.rs:9:12 | 9 | #![feature(on_unimplemented)] | ^^^^^^^^^^^^^^^^ feature has been removed error[E0658]: this is an internal attribute that will never be stable --> components/script/dom/bindings/conversions.rs:77:1 | 77 | #[rustc_on_unimplemented(message = "The IDL interface `{Self}` is not derived from `{T}`.")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: for more information, see https://github.com/rust-lang/rust/issues/29642 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable error: aborting due to 2 previous errors ```
* | Use MessageEventSource on MessageEvent IDLKagami Sascha Rosylight2019-11-041-1/+21
|/
* Check existence of property in get_property_jsvalGeorge Roman2019-07-231-5/+12
|
* Auto merge of #23669 - georgeroman:more_array_like_types, r=ferjmbors-servo2019-07-041-6/+36
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for more array-like types in is_array_like <!-- 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 <!-- 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/23669) <!-- Reviewable:end -->
| * Add support for more array-like types in is_array_likeGeorge Roman2019-07-021-6/+36
| |
* | Remove `default-except-unstable`Simon Sapin2019-07-011-4/+1
|/ | | | | … and use remaining unstable features unconditionally. This doesn’t actually change the set of crates that can build on the Stable channel.
* Upgrade to Spidermonkey 67.Josh Matthews2019-06-261-14/+60
|
* Upgrade to rustc 1.34.0-nightly (0ea22717a 2019-03-02)Simon Sapin2019-03-031-1/+1
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-2/+0
| | | | A `crate_name::foo` path always works in 2018
* Reorder importsPyfisch2018-11-061-7/+9
|
* `cargo fix --edition`Simon Sapin2018-11-061-10/+10
|
* Format script componentchansuke2018-09-191-72/+99
|
* Upgraded to SM 60Alan Jeffrey2018-08-201-7/+9
|
* Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393Marcin Mielniczuk2018-03-281-14/+17
|
* Root `any` members in dictionariesIgor Matuszewski2018-03-161-1/+20
|
* Replace NonNullJSObjectPtr with std::ptr::NonNull<JSObject>Simon Sapin2018-01-221-11/+1
|
* Fix commonmark Markdown warnings in docs, part 1Matt Brubeck2017-10-171-23/+23
| | | | | | | | 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.
* Make usage of unstable feature on_unimplemented optional.Simon Sapin2017-10-161-1/+2
|
* Replace NonZero<*mut JSObject> with a wrapper to enable local trait impls.Simon Sapin2017-10-161-1/+11
|
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-12/+12
| | | | | | | 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::rootAnthony Ramine2017-09-261-1/+1
|
* Store rootable dictionary members of dictionaries in RootedTraceableBox.Josh Matthews2017-09-251-13/+5
|
* script: remove unused function.Emilio Cobos Álvarez2017-09-181-14/+0
|
* script: Add a comment about some conversion that looks fishy.Emilio Cobos Álvarez2017-09-171-4/+4
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Implemented paint worklets invoking worklet scripts.Alan Jeffrey2017-06-291-4/+47
|
* Untry scriptSimon Sapin2017-06-181-2/+2
|
* The ArrayBufferViewContents trait was removedIan2017-02-191-97/+1
|
* Introduce RootedTraceableBox.Ms2ger2017-02-161-0/+17
|
* Kill dead codeAnthony Ramine2017-02-121-27/+7
|
* Remove slice_to_array_buffer_view and update_array_buffer_viewderor18691072017-02-111-20/+0
|
* Use TypedArrayderor18691072017-02-101-54/+1
|
* squash: convert less interesting debug! logs to tracesDexter Haslem2017-01-181-7/+7
|
* WebVR API Implementation, r=larsbergstromImanol Fernandez2017-01-091-0/+58
|
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-8/+8
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Update js, AGAINAnthony Ramine2016-11-271-26/+10
|
* Update js.Ms2ger2016-11-021-2/+2
|
* webgl: Honor ArrayBuffer or ArrayBufferView in bufferData and bufferSubData.Emilio Cobos Álvarez2016-10-091-1/+24
|