aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Implement WebGL extensions.Imanol Fernandez2017-05-181-1/+2
|
* Implemented Houdini worklets.Alan Jeffrey2017-05-171-0/+39
|
* Auto merge of #16884 - jdm:structuredclone, r=jdmbors-servo2017-05-171-14/+38
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create higher-level APIs for manipulating custom structured clones. Rebase of #16321. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #16031 - [X] There are tests for these changes <!-- 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/16884) <!-- Reviewable:end -->
| * Create higher-level APIs for manipulating custom structured clones.alajara2017-05-151-14/+38
| |
* | Renamed constellation::Frame to constellation::BrowsingContext.Alan Jeffrey2017-05-151-2/+2
|/
* Renamed BrowsingContext to WindowProxy in script.Alan Jeffrey2017-05-123-5/+4
|
* Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07)Simon Sapin2017-05-082-18/+18
|
* Auto merge of #16689 - servo:m5e, r=noxbors-servo2017-05-033-4/+4
|\ | | | | | | | | | | | | | | Upgrade to html5ever 0.16 <!-- 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/16689) <!-- Reviewable:end -->
| * Upgrade to html5ever 0.16Simon Sapin2017-05-023-4/+4
| |
* | Fix up script and layout.Bobby Holley2017-05-021-0/+7
|/
* Fix various build warningsAaron Cunningham2017-04-241-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
* Fix indentation errors in servo rust code that tidy now finds.coalman2017-04-181-1/+1
|
* Implement Gamepad APIImanol Fernandez2017-04-121-0/+2
|
* Provide MIME type data for File in formdata::get_fileKeith Yeung2017-04-091-1/+1
|
* Add way to get c_void ptr or c_char from callermckaymatt2017-04-043-3/+26
|
* Rename font_face::FontFaceRule to FontFaceData.Xidorn Quan2017-03-301-3/+2
|
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-2/+2
|
* Auto merge of #15519 - gterzian:implement_structuredclone_callbacks, r=jdmbors-servo2017-03-211-7/+162
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implement structured clone callbacks - support Blob cloning <!-- Please describe your changes on the following line: --> 1. Implement stubs for structured clone callbacks. 2. Support Blob cloning. Partial implementation of https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm --- <!-- 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 - [ ] These changes fix #15021 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] 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/15519) <!-- Reviewable:end -->
| * support structured cloning for BlobGregory Terzian2017-03-221-24/+113
| |
| * implement stubs for structured clone callbacksGregory Terzian2017-03-051-3/+69
| |
* | Move all PropertyDeclarationBlock from RwLock<_> to Locked<_>Simon Sapin2017-03-191-1/+1
| |
* | Replace RwLock<StyleRule> with Locked<StyleRule>Simon Sapin2017-03-191-1/+1
| |
* | Replace RwLock<Keyframe> with Locked<Keyframe>Simon Sapin2017-03-191-1/+1
| |
* | Wrap most CSS rules in Locked<_> instead of RwLock<_>Simon Sapin2017-03-191-7/+7
| |
* | Replace RwLock<CssRules> with Locked<CssRules>Simon Sapin2017-03-191-1/+1
| |
* | Replace more RwLock<MediaList> with shared_lock::Locked<MediaList>Simon Sapin2017-03-191-2/+2
| |
* | Replace RwLock<MediaList> with shared_lock::Locked<MediaList>Simon Sapin2017-03-191-0/+2
| |
* | Auto merge of #15833 - sendilkumarn:mut-js-heap, r=noxbors-servo2017-03-072-48/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removing mutHeapJs references <!-- Please describe your changes on the following line: --> --- <!-- 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 #15316 <!-- 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/15833) <!-- Reviewable:end -->
| * | removing mutHeapJs referencesSendilKumar N2017-03-072-48/+4
| |/ | | | | | | changes as per comments
* / ext. filtering for lang matchingSendilKumar N2017-03-071-0/+58
|/
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Make script thread initiate requests for images needed by layout.Josh Matthews2017-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In support of this goal, the layout thread collects information about CSS images that are missing image data and hands it off to the script thread after layout completes. The script thread stores a list of nodes that will need to be reflowed after the associated network request is complete. The script thread ensures that the nodes are not GCed while a request is ongoing, which the layout thread is incapable of guaranteeing. The image cache's API has also been redesigned in support of this work. No network requests are made by the new image cache, since it does not possess the document-specific information necessary to initiate them. Instead, there is now a single, synchronous query operation that optionally reserves a slot when a cache entry for a URL cannot be found. This reserved slot is then the responsibility of the queryer to populate with the contents of the network response for the URL once it is complete. Any subsequent queries for the same URL will be informed that the response is pending until that occurs. The changes to layout also remove the synchronous image loading code path, which means that reftests now test the same code that non-test binaries execute. The decision to take a screenshot now considers whether there are any outstanding image requests for layout in order to avoid intermittent failures in reftests that use CSS images.
* Add ImmutableOrigin to allow for serializing originsConnor Brewster2017-02-221-3/+3
|
* Auto merge of #15659 - gregkatz:eliminate_transmute_find_enum, r=Ms2gerbors-servo2017-02-212-19/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 CodeGenGregory Katz2017-02-202-19/+18
| |
* | Auto merge of #15585 - servo:CGConstant, r=noxbors-servo2017-02-201-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.Ms2ger2017-02-161-10/+7
| |
* | Auto merge of #15650 - Greeene:rm_array_buffer_contents_trait, r=SimonSapinbors-servo2017-02-191-97/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ArrayBufferViewContents trait <!-- Please describe your changes on the following line: --> Removed ArrayBufferViewContents trait and dependent uses. --- <!-- 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 #15551 <!-- Either: --> - [ x ] These changes do not require tests because it's just unused trait and @jdm said, "No need for automated tests; if the build succeeds, it's good enough for a PR." <!-- 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/15650) <!-- Reviewable:end -->
| * | The ArrayBufferViewContents trait was removedIan2017-02-191-97/+1
| | |
* | | Auto merge of #15589 - servo:RootedTraceable-union, r=noxbors-servo2017-02-191-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.Ms2ger2017-02-161-0/+6
| | |
* | | Adds an `as_str()` method to WebIDL enums to hide slice of strings from ↵Gregory Katz2017-02-161-1/+7
|/ / | | | | | | callers. Uses the new method in two places.
* | Use RootedTraceableBox for dictionaries.Ms2ger2017-02-161-3/+50
| |
* | Introduce RootedTraceableBox.Ms2ger2017-02-162-0/+72
| |
* | Use from_jsval for dictionaries.Ms2ger2017-02-161-2/+2
| |
* | Implement JSTraceable for more types.Ms2ger2017-02-163-1/+9
| |
* | Use Heap for dictionary and union members.Ms2ger2017-02-162-13/+22
| |
* | Share a little less code between the branches for conversion to any.Ms2ger2017-02-161-12/+11
| |
* | Pass isMember to getJSToNativeConversionInfo for unions.Ms2ger2017-02-161-6/+5
|/ | | | Also includes a documentation update for isMember.
* Replace inheritance_integrity by trait shenanigansAnthony Ramine2017-02-151-2/+1
| | | | | | | | | | | | | | | | | For each derived DomObject impl, we also generate a dummy trait ShouldNotImplDomObject that is implemented for all T: DomObject. We then try to implement it for each field type except the first one. If compilation succeed, this means that field type doesn't implement DomObject itself otherwise it would break coherence rules. error[E0119]: conflicting implementations of trait `dom::xmlhttprequest::_IMPL_DOMOBJECT_FOR_XMLHttpRequest::ShouldNotImplDomObject` for type `((), SomeFieldTypeThatShouldNotImplementDomObject)`: --> /Users/nox/src/servo/components/script/dom/xmlhttprequest.rs:120:1 | 120 | #[dom_struct] | ^^^^^^^^^^^^^ | | | first implementation here | conflicting implementation for `((), SomeFieldTypeThatShouldNotImplementDomObject)`