Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -1/+2 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -6/+1 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -7/+7 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -6/+7 |
| | |||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -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 Ramine | 2017-09-26 | 1 | -6/+6 |
| | | | | | | | 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 #[dom_struct] a proc_macro attribute | Anthony Ramine | 2017-02-24 | 1 | -0/+1 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+2 |
| | |||||
* | Use Option<T> to return from getters | Anthony Ramine | 2016-08-30 | 1 | -2/+2 |
| | | | | | This removes the cumbersome &mut bool argument and offers overall a more readable code. | ||||
* | Remove empty lines following braces. | Josh Matthews | 2016-05-27 | 1 | -1/+0 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implemented stub for NavigatorPlugins | Connor Brewster | 2016-04-11 | 1 | -0/+67 |