aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-19533-535/+535
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-19391-391/+391
|
* Update MPL license to https (part 2)Jan Andre Ikenmeyer2018-11-19315-315/+315
|
* Update mozjs and enable 'init_once' feature for AndroidPaul Rouget2018-11-192-2/+12
|
* Auto merge of #22142 - Eijebong:crossbeamup, r=jdmbors-servo2018-11-1871-455/+248
|\ | | | | | | | | | | | | | | | | | | | | Update crossbeam-channel to 0.3 https://github.com/servo/ipc-channel/pull/210 <!-- 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/22142) <!-- Reviewable:end -->
| * Update crossbeam-channel to 0.3Bastien Orivel2018-11-1871-455/+248
| |
* | Auto merge of #22217 - yawboakye:fix-duplicate-code, r=jdmbors-servo2018-11-181-1/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | Remove duplicate code `req.pipeline_id` is already set with `init.pipeline_id` during initialization. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors <!-- 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/22217) <!-- Reviewable:end -->
| * Remove duplicate codeYaw Boakye2018-11-181-1/+0
| | | | | | | | | | `req.pipeline_id` is already set with `init.pipeline_id` during initialization.
* | Update image related dependenciesBastien Orivel2018-11-184-4/+4
| |
* | Auto merge of #22214 - jabedude:validate-argument, r=jdmbors-servo2018-11-171-0/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add GetShaderPrecisionFormat argument validation This patch adds a check on the shader_type argument. If it is not one either FRAGMENT_SHADER or VERTEX_SHADER, we return INVALID_ENUM. <!-- 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 #22080 <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because @jdm wants to wait until the PR is open to test. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/22214) <!-- Reviewable:end -->
| * | Add GetShaderPrecisionFormat argument validationJosh Abraham2018-11-171-0/+8
| | | | | | | | | | | | | | | This patch adds a check on the shader_type argument. If it is not one either FRAGMENT_SHADER or VERTEX_SHADER, we return INVALID_ENUM.
* | | Auto merge of #22213 - emilio:gecko-sync, r=emiliobors-servo2018-11-1726-369/+456
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Sync changes from mozilla-central. See each individual commit for details. https://bugzilla.mozilla.org/show_bug.cgi?id=1508026 <!-- 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/22213) <!-- Reviewable:end -->
| * | | style: Fix formatting.Emilio Cobos Álvarez2018-11-177-20/+34
| | | |
| * | | style: fixed an unused import warning.Alex Gaynor2018-11-171-1/+0
| | | | | | | | | | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D12028
| * | | style: Add a mechanism to serialize shorthands for getComputedStyle().Emilio Cobos Álvarez2018-11-172-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the mechanism reusing the animation machinery for now, so it asserts in a few cases that this wouldn't handle correctly. For shorthands that have colors and other bits we'd need a more sophisticated mechanism with a bit more code (that resolves colors and such), but it'd look something like this regardless, and we should have this in any case. Differential Revision: https://phabricator.services.mozilla.com/D11944
| * | | style: Make the serialization of the mask shorthand more compact.Emilio Cobos Álvarez2018-11-171-14/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps to preserve the old longhand form when possible (mask used to be a longhand), which will be relevant when we serialize this for the computed value. Differential Revision: https://phabricator.services.mozilla.com/D11943
| * | | style: Simplify background-repeat.Emilio Cobos Álvarez2018-11-172-100/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way we always serialize in the shortest form, and take less space. This is useful because when serializing uncomputed values we'd like to compare to the initial value to avoid serializing parts of a shorthand, but with the existing implementation we would generate always a second keyword, which means that we'll never match it. This also matches Chrome and WebKit, incidentally, so I'm pretty confident the behavior change when serializing specified style is web-compatible. Differential Revision: https://phabricator.services.mozilla.com/D11941
| * | | style: Also move page-break-inside outside of mako.Emilio Cobos Álvarez2018-11-178-7/+34
| | | | | | | | | | | | | | | | Differential Revision: https://phabricator.services.mozilla.com/D11876
| * | | style: Move the page-break-{before,after} properties to not use mako.Emilio Cobos Álvarez2018-11-178-44/+44
| | | | | | | | | | | | | | | | | | | | | | | | And respect the computed value of `left` / `right` / etc. Differential Revision: https://phabricator.services.mozilla.com/D11872
| * | | Remove dom.webcomponents.customelements.enabled pref.Timothy Guan-tin Chien2018-11-172-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the following functions: * nsContentUtils::IsCustomElementsEnabled() * CustomElementRegistry::IsCustomElementEnabled(JSContext* aCx, JSObject* aObject) * CustomElementRegistry::IsCustomElementEnabled(nsIDocument* aDoc) and all references of the pref. Depends on D11183 Differential Revision: https://phabricator.services.mozilla.com/D11249
| * | | Remove dom.webcomponents.shadowdom.enabled.Timothy Guan-tin Chien2018-11-171-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the dom.webcomponents.shadowdom.enabled pref and all its references, including the following functions: * nsContentUtils::IsShadowDOMEnabled() * nsIDocument::IsShadowDOMEnabled() * nsDocument::IsShadowDOMEnabled(JSContext* aCx, JSObject* aGlobal) * nsDocument::IsShadowDOMEnabled(const nsINode* aNode) * nsTextNode::IsShadowDOMEnabled(JSContext* aCx, JSObject* aObject) This function is renamed and updated to nsDocument::IsCallerChromeOrAddon(): * nsDocument::IsShadowDOMEnabledAndCallerIsChromeOrAddon(JSContext* aCx, JSObject* aObject) I didn't change the tests that load Shadow DOM tests in an iframe, in the interest of keeping hg annotation history. Differential Revision: https://phabricator.services.mozilla.com/D11183
| * | | style: Store MediaFeatureDescription references as an index into the ↵Cameron McCormack2018-11-171-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MEDIA_FEATURES array. The current use of a static reference is incompatible with sharing style sheet data across processes. Differential Revision: https://phabricator.services.mozilla.com/D11845
| * | | style: Store variable references with a boxed slice rather than a ↵Cameron McCormack2018-11-171-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PrecomputedHashSet. Once we've parsed the variable references, there is no need to keep an entire HashSet object around, as all we do is iterate over the values. Differential Revision: https://phabricator.services.mozilla.com/D11735
| * | | style: Support keywords [x|y|z] on rotate.Boris Chiou2018-11-174-8/+85
| | | | | | | | | | | | | | | | | | | | | | | | Update the parser and the serialization to support the keywords, [x|y|z]. Differential Revision: https://phabricator.services.mozilla.com/D11531
| * | | style: Add an atom bit to know whether we're ascii lowercase.Emilio Cobos Álvarez2018-11-172-34/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And thus massively speed up ascii-case-insensitive atom comparisons when both atoms are lowercase (which is the common case by far). This removes almost all the slow selector-matching in this page, and it seems an easier fix than storing the lowercased version of all class-names in quirks mode in elements and selectors... Differential Revision: https://phabricator.services.mozilla.com/D10945
| * | | style: Parse any order of number and angle for Rotate.Boris Chiou2018-11-171-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotate accepts rotate axis and angle in any order (i.e. <number>{3} <angle> or <angle> <number>{3}), so we rewrite the parser. Differential Revision: https://phabricator.services.mozilla.com/D11417
| * | | style: Rewrite the interpolation of Rotate to return correct type.Boris Chiou2018-11-171-33/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original implementation always returns Rotate::Rotate3D, but it is not correct, so we have to rewrite it: 1. If both from value and to value are none, we don't have to convert it into identity value, so just return None. 2. If one of the value is none, we replace it with an identity value based on the other one's rotate axis. 3. If we only have 2D rotation, we just animate the <angle>. 4. Otherwise, we do interpolation by 3D rotation. Differential Revision: https://phabricator.services.mozilla.com/D11247
| * | | style: Remove serialize_basicshape_position.Emilio Cobos Álvarez2018-11-171-82/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per https://github.com/w3c/csswg-drafts/issues/2274. There's a whole lot of new failures, but those need to be updated along with the spec changes in that issue. We did resolve that position serialized the same everywhere though. Differential Revision: https://phabricator.services.mozilla.com/D1933
| * | | style: Remove outdated comment.Emilio Cobos Álvarez2018-11-171-3/+0
| | | |
| * | | style: Allow user-select: -moz-text on user-agent stylesheets only.Emilio Cobos Álvarez2018-11-172-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's only used in contenteditable.css, and same usage in comm-central. That sheet is loaded as a ua sheet so let's restrict it to that. No relevant external usage either. This value was introduced in bug 1181130. Differential Revision: https://phabricator.services.mozilla.com/D11584
| * | | style: Remove user-select: -moz-all.Emilio Cobos Álvarez2018-11-171-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's an attempt of an alias to `all`, except it doesn't get handled in all places. Seems unused both in comm-central and mozilla-central, and all external usage I could find is followed by -webkit-user-select: all. Differential Revision: https://phabricator.services.mozilla.com/D11582
| * | | style: Remove unimplemented values of the user-select property.Emilio Cobos Álvarez2018-11-171-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | Can't believe we literally had no code to handle them. Differential Revision: https://phabricator.services.mozilla.com/D11581
| * | | style: Move user-select outside of mako.Emilio Cobos Álvarez2018-11-178-9/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first step to unprefix user-select. This has no behavior change, it's just a nicer way to do the same thing which allows us to unship individual values more easily using parse(condition). Differential Revision: https://phabricator.services.mozilla.com/D11580
| * | | style: Remove outdated comment.Emilio Cobos Álvarez2018-11-171-3/+0
| | | |
* | | | Auto merge of #22202 - servo:webgl, r=jdmbors-servo2018-11-1716-639/+703
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up some code on the WebGL texture upload paths This doesn't actually change anything… yet. <!-- 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/22202) <!-- Reviewable:end -->
| * | | Pass a TexPixels value to tex_image_2d and tex_sub_image_2dAnthony Ramine2018-11-161-52/+39
| | | |
| * | | Remove some boolean flags in tex_image_2d and tex_sub_image_2dAnthony Ramine2018-11-162-30/+89
| | | |
| * | | Simplify define_resource_idAnthony Ramine2018-11-161-7/+1
| | | |
| * | | Send alignment info directly in TexImage2D and TexSubImage2d messagesAnthony Ramine2018-11-163-20/+10
| | | |
| * | | Fix the data type sent in tex_sub_image_2dAnthony Ramine2018-11-161-1/+3
| | | |
| * | | Make TexImage2D and TexSubImage2D struct variantsAnthony Ramine2018-11-163-47/+70
| | | |
| * | | Optimise memory allocation in set_webrender_image_keyAnthony Ramine2018-11-161-0/+1
| | | |
| * | | Prefix some pixels functions with rgba8_Anthony Ramine2018-11-169-15/+15
| | | |
| * | | Move prepare_pixels helper functions to canvas_traitsAnthony Ramine2018-11-169-449/+426
| | | |
| * | | Introduce TexPixelsAnthony Ramine2018-11-161-41/+69
| | | |
| * | | Call prepare_pixels in tex_image_2d and tex_sub_image_2dAnthony Ramine2018-11-161-45/+48
| | | |
* | | | Auto merge of #22191 - mandreyel:update-sw-global-scope, r=paulrougetbors-servo2018-11-162-3/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update webidl of ServiceWorkerGlobalScope Part of #19302. --- <!-- 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 are part of #19302 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because they just update the webidl for `ServiceWorkerGlobalScope`; related tests should be updated when we start to implement its functions. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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/22191) <!-- Reviewable:end -->
| * | | | Update webidl of ServiceWorkerGlobalScopemandreyel2018-11-132-3/+6
| |/ / /
* | | | Auto merge of #22171 - CYBAI:sw-up-to-date, r=jdmbors-servo2018-11-162-5/+22
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update webidl of ServiceWorkerRegistration I'll start to work on #19302 and I'd like to update these sw related webidl one by one. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes is part of #19302 - [x] These changes do not require tests because it just updates the webidl for `ServiceWorkerRegistration`; related tests should be updated when we start to implement its functions. <!-- 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/22171) <!-- Reviewable:end -->
| * | | Update webidl of ServiceWorkerRegistrationCYBAI2018-11-112-5/+22
| | | |