aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/dommatrixreadonly.rs
Commit message (Collapse)AuthorAgeFilesLines
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-12/+13
| | | | | * strict imports formatting * Reformat all imports
* No tracing of nop traceable fields (#29926)Samson2023-08-041-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Rename reflect_dom_object2.Josh Matthews2023-05-311-2/+2
|
* Formatting.Josh Matthews2023-05-281-2/+12
|
* Support arbitrary protos when wrapping DOM objects with constructors.Josh Matthews2023-05-281-7/+14
|
* Bump euclid to 0.22Martin Robinson2023-01-261-44/+33
| | | | | | | | | | | | | - Also updates raqote to latest with an upgrade of font-kit to 0.11 applied on as a patch - Update lyon_geom to the latest version Major change: - All matrices are now stored in row major order. This means that parameters to rotation functions no longer should be negated. - `post_...()` functions are now named `then()`. `pre_transform()` is removed, so `then()` is used and the order of operations changed.
* Add trait DomObjectWrap to provide WRAP functionYUAN LYU2020-03-201-4/+2
|
* Modify `script` to prevent further violations of snake_caseKunal Mohan2020-01-181-7/+10
|
* Add accountable-refcell as optional build time featureKunal Mohan2020-01-081-2/+2
|
* Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-241-9/+14
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-15/+15
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Fix DOMMatrix rotate test failureKagami Sascha Rosylight2019-07-031-7/+12
|
* add link to the specKagami Sascha Rosylight2019-07-021-0/+1
|
* Add DOMMatrix.prototype.scaleNonUniformKagami Sascha Rosylight2019-07-021-0/+11
|
* Support DOMMatrix string constructorKagami Sascha Rosylight2019-06-301-9/+67
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-4/+6
|
* `cargo fix --edition`Simon Sapin2018-11-061-11/+11
|
* Format script componentchansuke2018-09-191-73/+139
|
* Update mozjs.Emilio Cobos Álvarez2018-03-251-5/+4
|
* Add constructors for typed arrays in DOMMatrix and DOMMatrixReadOnlyChristian Poveda2018-03-231-0/+48
|
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-8/+8
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-18/+18
| | | | | | | 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 DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-3/+3
| | | | | | | | 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.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-34/+39
|
* Fix indentation errors in servo rust code that tidy now finds.coalman2017-04-181-1/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-13/+13
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-7/+6
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-13/+13
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-17/+25
|
* Revert "Make DOMRefCell use style’s copy of RefCell"Simon Sapin2016-10-041-2/+1
| | | | This reverts commit ec723057b2360446790d436fe5e234d798fb4175.
* DOMMatrix and DOMMatrixReadOnlyPeter2016-09-151-0/+634
Updated test expectations