Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -4/+4 | |
| | ||||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -6/+6 | |
| | ||||||
* | Use more named string interpolation. | Josh Matthews | 2017-09-25 | 1 | -10/+13 | |
| | ||||||
* | Remove almost all uses of Heap::new. | Josh Matthews | 2017-09-25 | 1 | -3/+7 | |
| | ||||||
* | Initialize rooted dictionaries to a stable value before setting fields. | Josh Matthews | 2017-09-25 | 1 | -22/+30 | |
| | ||||||
* | Derive the Default trait for dictionaries containing GC values. | Josh Matthews | 2017-09-25 | 1 | -4/+15 | |
| | ||||||
* | Store rootable dictionary members of dictionaries in RootedTraceableBox. | Josh Matthews | 2017-09-25 | 1 | -8/+19 | |
| | ||||||
* | Be more conservative about safety of dictionary and union values. | Josh Matthews | 2017-09-25 | 1 | -8/+35 | |
| | | | | | | | | Mark dictionaries containing GC values as must_root, and wrap them in RootedTraceableBox in automatically-generated APIs. To accommodate union variants that are now flagged as unsafe, add RootedTraceableBox to union variants that need to be rooted, rather than wrapping the entire union value. | |||||
* | Don't generate union conversion functions for object variants. | Josh Matthews | 2017-09-25 | 1 | -2/+6 | |
| | ||||||
* | Rename a couple of Promise methods | Anthony Ramine | 2017-09-21 | 1 | -1/+1 | |
| | ||||||
* | script: Properly implement LegacyPlatformGetOwnProperty in WebIDL. | Emilio Cobos Álvarez | 2017-09-18 | 1 | -9/+24 | |
| | | | | | We were missing the "ignoreNamedProperties" bit, which my previous patch uncovers. | |||||
* | script: remove unused function. | Emilio Cobos Álvarez | 2017-09-18 | 1 | -1/+0 | |
| | ||||||
* | script: Fix integer-JSID handling in named getters. | Emilio Cobos Álvarez | 2017-09-18 | 1 | -6/+8 | |
| | | | | Fixes #10686 | |||||
* | script: Fix code generation for named getters. | Emilio Cobos Álvarez | 2017-09-17 | 1 | -3/+1 | |
| | | | | Fixes part of #18535 | |||||
* | Update the WebIDL parser | Anthony Ramine | 2017-08-30 | 1 | -8/+31 | |
| | ||||||
* | Fix compartment mismatch issue | Connor Brewster | 2017-08-09 | 1 | -1/+6 | |
| | ||||||
* | Generate DOM bindings imports for webidl typedefs | Fernando Jiménez Moreno | 2017-08-02 | 1 | -6/+15 | |
| | ||||||
* | Implement CEReactions codegen | Connor Brewster | 2017-07-18 | 1 | -2/+11 | |
| | ||||||
* | Implement HTMLConstructor | Connor Brewster | 2017-06-15 | 1 | -6/+78 | |
| | ||||||
* | Generate GetConstructorObject for all interfaces | Connor Brewster | 2017-06-13 | 2 | -2/+6 | |
| | ||||||
* | Update the WebIDL parser | Anthony Ramine | 2017-06-09 | 12 | -273/+1142 | |
| | ||||||
* | Renamed BrowsingContext to WindowProxy in script. | Alan Jeffrey | 2017-05-12 | 2 | -3/+2 | |
| | ||||||
* | Fix various build warnings | Aaron Cunningham | 2017-04-24 | 1 | -0/+1 | |
| | | | | | | This should remove six separate warnings when building servo. One of the warnings was an unused mut, and the other were various dead code warnings | |||||
* | Add way to get c_void ptr or c_char from caller | mckaymatt | 2017-04-04 | 1 | -1/+2 | |
| | ||||||
* | Auto merge of #15659 - gregkatz:eliminate_transmute_find_enum, r=Ms2ger | bors-servo | 2017-02-21 | 1 | -14/+13 | |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate a mem::transmute in CodeGen <!-- Please describe your changes on the following line: --> Eliminate a mem::transmute in CodeGen by changing the find_enum_string_index function to take a slice of pairs and return an enum value. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15587 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15659) <!-- Reviewable:end --> | |||||
| * | Eliminate a mem::transmute in CodeGen | Gregory Katz | 2017-02-20 | 1 | -14/+13 | |
| | | ||||||
* | | Auto merge of #15585 - servo:CGConstant, r=nox | bors-servo | 2017-02-20 | 1 | -10/+7 | |
|\ \ | |/ |/| | | | | | | | | | | | Simplify CGConstant. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15585) <!-- Reviewable:end --> | |||||
| * | Simplify CGConstant. | Ms2ger | 2017-02-16 | 1 | -10/+7 | |
| | | ||||||
* | | Auto merge of #15589 - servo:RootedTraceable-union, r=nox | bors-servo | 2017-02-19 | 1 | -0/+6 | |
|\ \ | | | | | | | | | | | | | | | | | | | | | | Use RootedTraceableBox for unions. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15589) <!-- Reviewable:end --> | |||||
| * | | Use RootedTraceableBox for unions. | Ms2ger | 2017-02-16 | 1 | -0/+6 | |
| | | | ||||||
* | | | Adds an `as_str()` method to WebIDL enums to hide slice of strings from ↵ | Gregory Katz | 2017-02-16 | 1 | -1/+7 | |
|/ / | | | | | | | callers. Uses the new method in two places. | |||||
* | | Use RootedTraceableBox for dictionaries. | Ms2ger | 2017-02-16 | 1 | -3/+50 | |
| | | ||||||
* | | Use from_jsval for dictionaries. | Ms2ger | 2017-02-16 | 1 | -2/+2 | |
| | | ||||||
* | | Implement JSTraceable for more types. | Ms2ger | 2017-02-16 | 1 | -0/+2 | |
| | | ||||||
* | | Use Heap for dictionary and union members. | Ms2ger | 2017-02-16 | 1 | -10/+19 | |
| | | ||||||
* | | Share a little less code between the branches for conversion to any. | Ms2ger | 2017-02-16 | 1 | -12/+11 | |
| | | ||||||
* | | Pass isMember to getJSToNativeConversionInfo for unions. | Ms2ger | 2017-02-16 | 1 | -6/+5 | |
|/ | | | | Also includes a documentation update for isMember. | |||||
* | Modify CodegenRust.py to import structs from sequence return values | Zakor Gyula | 2017-02-13 | 1 | -0/+2 | |
| | ||||||
* | Auto merge of #15453 - servo:unwrapCastableObject, r=nox | bors-servo | 2017-02-08 | 1 | -24/+11 | |
|\ | | | | | | | | | | | | | | | Inline unwrapCastableObject into its only caller. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15453) <!-- Reviewable:end --> | |||||
| * | Inline unwrapCastableObject into its only caller. | Ms2ger | 2017-02-08 | 1 | -24/+11 | |
| | | ||||||
* | | Remove unused Descriptor.needsRooting field. | Ms2ger | 2017-02-08 | 1 | -3/+0 | |
| | | ||||||
* | | Remove typeNeedsRooting(). | Ms2ger | 2017-02-08 | 1 | -7/+0 | |
| | | | | | | | | | | | | It is only used once, in a case where it can never have an effect: in case for it to do something, both returnType.isDictionary() and returnType.isGeckoInterface() would need to be true at the same time. | |||||
* | | Remove pointless assertion in the typedef code. | Ms2ger | 2017-02-08 | 1 | -1/+0 | |
| | | ||||||
* | | Cleanup formatting for typedefs. | Ms2ger | 2017-02-08 | 1 | -5/+10 | |
| | | ||||||
* | | Fix typo in the non-union code path for typedefs. | Ms2ger | 2017-02-08 | 1 | -1/+1 | |
| | | ||||||
* | | Support using typedefs with nullable unions. | Ms2ger | 2017-02-08 | 1 | -1/+2 | |
|/ | ||||||
* | Properly root expando objects. | Ms2ger | 2017-02-07 | 1 | -10/+14 | |
| | ||||||
* | Auto merge of #15327 - servo:missing-newline-wrap-panic, r=jdm | bors-servo | 2017-02-01 | 1 | -1/+1 | |
|\ | | | | | | | | | | | | | | | Add a missing newline in wrap_panic() calls. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15327) <!-- Reviewable:end --> | |||||
| * | Add a missing newline in wrap_panic() calls. | Ms2ger | 2017-02-01 | 1 | -1/+1 | |
| | | ||||||
* | | Root the arguments to callback functions. | Ms2ger | 2017-02-01 | 1 | -4/+6 | |
|/ | | | | | | | Note that this relies on the fact that Heap<JSVal> and JSVal are binary compatible. Fixes #15324. |