Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -8/+8 |
| | | | | | | | | 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. | ||||
* | 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 MutJS<T> to MutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -7/+7 |
| | |||||
* | 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 |
| | |||||
* | Remove HeapGCValue | Anthony Ramine | 2016-12-12 | 1 | -7/+7 |
| | | | | | | 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 reflect_dom_object take a &GlobalScope | Anthony Ramine | 2016-10-06 | 1 | -2/+1 |
| | |||||
* | Most of the code refactoring needed to be done is done with this commit. | Arthur Marble | 2016-09-18 | 1 | -2/+2 |
| | |||||
* | Refactored metaKey to meta_key where possible | Arthur Marble | 2016-09-17 | 1 | -2/+2 |
| | |||||
* | This commit refactors altKey to alt_key when possible. | Arthur Marble | 2016-09-17 | 1 | -2/+2 |
| | |||||
* | This commit refactors shiftKey to shift_key where possible. | Arthur Marble | 2016-09-17 | 1 | -2/+2 |
| | |||||
* | This commit refactors ctrlKey to ctrl_key wherever possible. | Arthur Marble | 2016-09-17 | 1 | -2/+2 |
| | |||||
* | 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 and use From<bool> for enum and back | Alexander Popiak | 2016-03-17 | 1 | -2/+2 |
| | | | | | implement and use From<bool> for EventBubbles (and back direction) implement and use From<bool> for EventCancelable (and back direction) | ||||
* | Make Event's isTrusted attribute unforgeable | John DeSilva | 2015-12-13 | 1 | -0/+5 |
| | |||||
* | rearrange imports to be in alphabetical order | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | more refactoring | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | move Castable into dom::bindings::inheritance | rohan.prinja | 2015-10-30 | 1 | -1/+1 |
| | |||||
* | Dispatch touch events and perform default touch actions. | Matt Brubeck | 2015-10-22 | 1 | -1/+1 |
| | | | | | This is currently limited to simple single-touch actions. It does not include momentum scrolling or pinch zooming. | ||||
* | Add bindings for TouchEvent DOM interfaces | Matt Brubeck | 2015-10-22 | 1 | -0/+117 |