aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/num.rs
Commit message (Collapse)AuthorAgeFilesLines
* clippy: Fix dereferencing a tuple pattern warnings (#31811)Oluwatobi Sofela2024-03-211-1/+1
|
* Strict import formatting (grouping and granularity) (#30325)Samson2023-09-111-2/+3
| | | | | * strict imports formatting * Reformat all imports
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Format script componentchansuke2018-09-191-2/+4
|
* Replace all uses of the `heapsize` crate with `malloc_size_of`.Nicholas Nethercote2017-10-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`.
* Derive the Default trait for dictionaries containing GC values.Josh Matthews2017-09-251-0/+7
|
* order derivable traits listsClément DAVID2017-08-231-1/+1
| | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs
* Use heapsize_derive instead of heapsize_pluginSimon Sapin2016-11-031-0/+7
|
* Use num-traits in script.Ms2ger2016-04-201-1/+1
|
* Rustfmt some of script.Ms2ger2015-11-181-1/+2
|
* Remove the Zeroable definition for Finite<T>.Ms2ger2015-10-291-3/+0
| | | | I have no idea why it was added, and it appears to be unused.
* Add bindings for TouchEvent DOM interfacesMatt Brubeck2015-10-221-1/+1
|
* make test-tidy check that = have space after themerneyja2015-09-011-1/+1
|
* Refactor #[jstraceable] to #[derive(JSTraceable)]David Winslow2015-07-011-2/+1
| | | | fixes #6524
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-1/+1
|
* Introduce Finite<T: Float> for restricted values defined in WebIDL.Tetsuharu OHZEKI2015-03-251-0/+43