Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -3/+5 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Rename reflect_dom_object2. | Josh Matthews | 2023-05-31 | 1 | -2/+2 |
| | |||||
* | Formatting. | Josh Matthews | 2023-05-28 | 1 | -1/+4 |
| | |||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -4/+33 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -5/+1 |
| | |||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+1 |
| | |||||
* | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -2/+2 |
| | |||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -3/+3 |
| | | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls. | ||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -12/+12 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -24/+35 |
| | |||||
* | 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 | -5/+5 |
| | | | | | | | 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 MutNullableJS<T> to MutNullableDom<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | |||||
* | 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 FocusEvent::new_uninitialized take a &Window | Anthony Ramine | 2017-01-21 | 1 | -4/+3 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -2/+2 |
| | | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS. | ||||
* | Make WebIDL constructors take a more specific global if possible (fixes #14071) | Rohan Prinja | 2016-11-30 | 1 | -2/+2 |
| | |||||
* | Pass a &GlobalScope to WebIDL static methods and constructors | Anthony Ramine | 2016-10-06 | 1 | -3/+2 |
| | |||||
* | Introduce GlobalScope::as_window | Anthony Ramine | 2016-10-06 | 1 | -1/+2 |
| | |||||
* | Make reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -3/+3 |
| | |||||
* | Move DOMString back to script | Anthony Ramine | 2016-05-24 | 1 | -1/+1 |
| | | | | This entirely removes the 'non-geckolib' feature of the util crate. | ||||
* | Implement the focusevent argument to Document::createEvent | SunyDays | 2016-04-27 | 1 | -0/+6 |
| | |||||
* | implement and use From<bool> for enum and back | Alexander Popiak | 2016-03-17 | 1 | -12/+4 |
| | | | | | implement and use From<bool> for EventBubbles (and back direction) implement and use From<bool> for EventCancelable (and back direction) | ||||
* | Implement focus and blur events | Paul Rouget | 2016-02-18 | 1 | -0/+84 |