Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix commonmark Markdown warnings in docs, part 1 | Matt Brubeck | 2017-10-17 | 1 | -1/+1 |
| | | | | | | | | 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 usage of unstable features const_ptr_null and const_ptr_null_mut | Simon Sapin | 2017-10-16 | 1 | -2/+2 |
| | |||||
* | 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 dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -1/+1 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Track custom element state | Connor Brewster | 2017-08-09 | 1 | -3/+5 |
| | |||||
* | Add construction stack | Connor Brewster | 2017-08-09 | 1 | -18/+37 |
| | |||||
* | Implement CEReactions codegen | Connor Brewster | 2017-07-18 | 1 | -0/+9 |
| | |||||
* | Implement step 5 of HTMLConstructor | Connor Brewster | 2017-06-15 | 1 | -7/+11 |
| | |||||
* | Implement HTMLConstructor | Connor Brewster | 2017-06-15 | 1 | -5/+76 |
| | |||||
* | Add function to get constructor objects by name | Connor Brewster | 2017-06-15 | 1 | -0/+210 |
| | |||||
* | Update js, AGAIN | Anthony Ramine | 2016-11-27 | 1 | -4/+4 |
| | |||||
* | Implement WebIDL namespaces | Anthony Ramine | 2016-09-08 | 1 | -2/+5 |
| | |||||
* | Reorder some stuff in bindings::interface | Anthony Ramine | 2016-09-06 | 1 | -101/+101 |
| | |||||
* | Remove NonNullJSNative | Anthony Ramine | 2016-09-06 | 1 | -5/+1 |
| | |||||
* | Move WebIDL constants machinery to bindings::constant | Anthony Ramine | 2016-09-06 | 1 | -58/+3 |
| | |||||
* | Simplify InterfaceConstructorBehavior | Anthony Ramine | 2016-09-06 | 1 | -32/+30 |
| | |||||
* | Define interface members on the global object directly (fixes #4593) | Anthony Ramine | 2016-08-25 | 1 | -10/+14 |
| | |||||
* | Pass a MutableHandleObject to create_global_object | Anthony Ramine | 2016-08-25 | 1 | -16/+14 |
| | |||||
* | Make create_global_object take a &'static Class | Anthony Ramine | 2016-08-25 | 1 | -1/+1 |
| | |||||
* | Rename utils::create_dom_object to interface::create_global_object | Anthony Ramine | 2016-08-25 | 1 | -14/+57 |
| | |||||
* | Make define_constants unsafe | Anthony Ramine | 2016-08-25 | 1 | -10/+8 |
| | |||||
* | Update SpiderMonkey to m-c bcf4ff0c3eef. | Ms2ger | 2016-07-28 | 1 | -48/+44 |
| | | | | | | This currently breaks Servo on Android, because there are a number of interdependent changes that cannot easily land serially in a way that keeps it working throughout. We expect to fix this in the near future. | ||||
* | Implement the [Exposed] extended attribute on interfaces. | Ms2ger | 2016-07-12 | 1 | -0/+9 |
| | | | | Fixes #2823. | ||||
* | Switch to using the new rooted!/RootedGuard API for rooting. | Eduard Burtescu | 2016-07-04 | 1 | -17/+17 |
| | |||||
* | Implement [Unscopable] (fixes #11583) | Anthony Ramine | 2016-06-07 | 1 | -8/+40 |
| | |||||
* | Implement [Func] | Anthony Ramine | 2016-05-27 | 1 | -4/+4 |
| | |||||
* | Rename receiver to global in bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -8/+8 |
| | |||||
* | Remove some 'static lifetimes from bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -18/+18 |
| | |||||
* | Make define_constants private | Anthony Ramine | 2016-05-26 | 1 | -1/+4 |
| | |||||
* | Remove utils::Prefable in favour of guard::Guard | Anthony Ramine | 2016-05-26 | 1 | -25/+26 |
| | |||||
* | Remove Prefable::terminator 🤖 | Anthony Ramine | 2016-05-26 | 1 | -4/+12 |
| | |||||
* | Simplify how Prefable arrays are passed in bindings::interface | Anthony Ramine | 2016-05-26 | 1 | -18/+16 |
| | |||||
* | Use JS_NewStringCopyN for the representation of interface objects | Anthony Ramine | 2016-05-16 | 1 | -9/+9 |
| | | | | | This removes the need for the final null byte and we can make NonCallbackInterfaceObjectClass::new safe again I guess. | ||||
* | Auto merge of #10756 - servo:smup, r=Ms2ger | bors-servo | 2016-05-03 | 1 | -19/+16 |
|\ | | | | | | | | | | | | | | | Update SpiderMonkey <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10756) <!-- Reviewable:end --> | ||||
| * | Update SpiderMonkey | Anthony Ramine | 2016-05-03 | 1 | -19/+16 |
| | | |||||
* | | Implement hiding of interface members via Pref annotations. | Josh Matthews | 2016-05-02 | 1 | -8/+22 |
| | | |||||
* | | Start generating arrays of specs for easier implementation of preference checks. | Josh Matthews | 2016-05-02 | 1 | -15/+23 |
|/ | |||||
* | Refactor the `call` hook on non-callback interface objects (fixes #10744) | Anthony Ramine | 2016-04-25 | 1 | -8/+51 |
| | | | | | | | | | | | It's now set through the intermediate InterfaceConstructorBehavior structure, which lets us improve the abstraction around NonCallbackInterfaceObjectClass a bit better. When the interface's constructor is supposed to always throw, the error for calling `Foo()` without new is "Illegal constructor.". when the interface actually defines an interface, the error is instead "This constructor needs to be called with `new`.". | ||||
* | Make NonCallbackInterfaceObjectClass::new unsafe | Anthony Ramine | 2016-04-25 | 1 | -1/+1 |
| | |||||
* | Make all interface objects share the same funToString | Guillaume Gomez | 2016-03-21 | 1 | -11/+21 |
| | |||||
* | Cache legacy callback interface objects in proto_or_icache_array | Anthony Ramine | 2016-02-25 | 1 | -6/+7 |
| | | | | | We need them to be cached to not instantiate them multiple times with lazy initialisation. | ||||
* | All interface objects now share the same hasInstance | Guillaume Gomez | 2016-02-17 | 1 | -19/+34 |
| | |||||
* | Fix the hasInstance hook of interface objects | Anthony Ramine | 2016-02-15 | 1 | -10/+17 |
| | | | | Step 2 wasn't properly implemented. | ||||
* | Clean up imports in script::dom::bindings::interface | Anthony Ramine | 2016-02-15 | 1 | -4/+2 |
| | |||||
* | Move ConstantSpec, NonNullJSNative and define_constants from utils to interface | nxnfufunezn | 2016-01-24 | 1 | -3/+63 |
| | |||||
* | implement NonCallbackInterfaceObjectClass::as_jsclass() | apopiak | 2016-01-14 | 1 | -1/+8 |
| | |||||
* | Fix prototypes of interface objects (fixes #2665) | Anthony Ramine | 2016-01-12 | 1 | -8/+7 |
| | |||||
* | Inline create_constructor into its only caller | Anthony Ramine | 2016-01-12 | 1 | -28/+13 |
| |