aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Use the --device-pixel-ratio in opt instead of /components/servo/Paul Rouget2018-03-221-11/+1
|
* split window code and browser code in two different filesPaul Rouget2018-03-222-3/+15
|
* forward EmbedderMsg to embedderPaul Rouget2018-03-222-125/+17
|
* Reduce the number of calls to the embedder by grouping the screen and window ↵Paul Rouget2018-03-226-97/+80
| | | | coordinates into one structure
* refactor(counter_style): parse int via parse_non_negativeOJ Kwon2018-03-212-19/+13
|
* Auto merge of #20378 - Eijebong:parking_lot, r=jdmbors-servo2018-03-214-4/+4
|\ | | | | | | | | | | | | | | Bump parking_lot to 0.5 <!-- 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/20378) <!-- Reviewable:end -->
| * Bump parking_lot to 0.5Bastien Orivel2018-03-214-4/+4
| |
* | Auto merge of #20370 - christianpoveda:issue_20348, r=jdmbors-servo2018-03-213-11/+19
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Blobs support typed arrays now <!-- Please describe your changes on the following line: --> Blobs support typed arrays now, the relevant test were modified --- <!-- 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 #20348 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/20370) <!-- Reviewable:end -->
| * Blobs support typed arrays nowChristian Poveda2018-03-213-11/+19
| |
* | Bump ipc-channel and bincodeBastien Orivel2018-03-2130-35/+45
| | | | | | | | This required bumping uuid too which unfortunately duplicated rand.
* | Auto merge of #20298 - Eijebong:websocket, r=noxbors-servo2018-03-212-19/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | Bump servo-websocket to 0.21 <!-- 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/20298) <!-- Reviewable:end -->
| * | Update servo-websocket to 0.21Bastien Orivel2018-03-152-19/+34
| | |
* | | Simplify GetShaderPrecisionFormatIgor Gutorov2018-03-213-29/+23
| | |
* | | Simplify BufferParameterIgor Gutorov2018-03-203-17/+16
| | |
* | | Simplify VertexAttribOffsetIgor Gutorov2018-03-203-8/+8
| | |
* | | Simplify GetTexParameterIgor Gutorov2018-03-203-37/+32
| |/ |/|
* | Update steps with new specCYBAI2018-03-201-17/+21
| |
* | Make `type` argument as optional and ignore it in open methodCYBAI2018-03-202-17/+5
| |
* | Re-expose webrender debugger feature in components/servoMatt2018-03-202-1/+2
| | | | | | | | | | | | Update ws in debugger to 0.7.3 Update lockfile
* | Add Servo_Property_IsShorthand to geckolib/glue.rsJonathan Watt2018-03-191-0/+6
| |
* | style: Better Shadow DOM assertions.Emilio Cobos Álvarez2018-03-192-1/+2
| | | | | | | | | | | | Bug: 1445682 Reviewed-by: xidorn Differential Revision: https://phabricator.services.mozilla.com/D748
* | Auto merge of #20338 - emilio:moz-document-haxx, r=xidornbors-servo2018-03-193-39/+77
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a pref to allow parsing @-moz-document url-prefix in content. Bug: 1446470 Reviewed-by: xidorn <!-- 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/20338) <!-- Reviewable:end -->
| * | style: Update bindings.Emilio Cobos Álvarez2018-03-191-0/+4
| | |
| * | style: Add another pref to control the url-prefix hack.Emilio Cobos Álvarez2018-03-191-0/+4
| | | | | | | | | | | | | | | | | | MozReview-Commit-ID: D4qL0oO69Uh Bug: 1446470 Reviewed-by: xidorn
| * | style: Allow @-moz-document url-prefix() on content.Emilio Cobos Álvarez2018-03-192-16/+44
| | | | | | | | | | | | | | | | | | MozReview-Commit-ID: zaT41fpsDT Bug: 1446470 Reviewed-by: xidorn
| * | style: Cleanup @-moz-document parsing a bit.Emilio Cobos Álvarez2018-03-191-25/+27
| | | | | | | | | | | | | | | | | | MozReview-Commit-ID: 7vd0BLAqM0v Bug: 1446470 Reviewed-by: xidorn
* | | Auto merge of #20339 - emilio:atom-from-dead-beef, r=noxbors-servo2018-03-196-48/+44
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Remove unsound Atom From implementations. Fixes #20158 <!-- 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/20339) <!-- Reviewable:end -->
| * | | style: Remove unsound Atom From implementations.Emilio Cobos Álvarez2018-03-196-48/+44
| |/ / | | | | | | | | | Fixes #20158
* | | Auto merge of #20304 - nupurbaghel:counterbound, r=emiliobors-servo2018-03-192-17/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CounterBound::Integer made to store an Integer <!-- 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 #20197 <!-- Either: --> - [x] These changes do not require tests because they involve datatype change of already existing enum CounterBound <!-- 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/20304) <!-- Reviewable:end -->
| * | CounterBound::Integer made to store an IntegerNupur Baghel2018-03-192-17/+11
| | |
* | | Auto merge of #20314 - Xanewok:remove-heap-constructor, r=jdmbors-servo2018-03-186-25/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't use unsafe Heap::new constructor <!-- Please describe your changes on the following line: --> Pulls https://github.com/servo/rust-mozjs/pull/398 and aims to close https://github.com/servo/rust-mozjs/issues/343. We can't convert from `JSVal` to `Heap<JSVal>` safely (due to GC barriers we can't move Heap value after changing its underlying value to something meaningful, e.g. non-null or non-undefined), so I decided to also wrap the Heap values in a Box (and in dictionaries in RootedTraceableBox, see https://github.com/servo/servo/pull/20265#issuecomment-372838379 and the issue for more details) in dictionaries. Since we allocate more to be safe, I think it'd be good to also do some sort of a JS perf run, if there is any to see if there's any significant overhead. r? @jdm --- <!-- 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 #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because checking for not moving Heap after setting a value would require encoding a lot more info in type system (Heap) and I'm not sure how to do that and end up with an ergonomic and consistent API <!-- 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/20314) <!-- Reviewable:end -->
| * | | Root `any` members in dictionariesIgor Matuszewski2018-03-164-19/+39
| | | |
| * | | Root JS object members in dictionariesIgor Matuszewski2018-03-162-6/+4
| | | |
| * | | Use mozjs 0.3 fork without Heap::newIgor Matuszewski2018-03-162-2/+2
| | | |
* | | | Auto merge of #20316 - UK992:win32-icon, r=jdmbors-servo2018-03-181-24/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows: Add icon to servo.exe Based on https://github.com/servo/servo/pull/11969 --- - [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/20316) <!-- Reviewable:end -->
| * | | | Add icon to servo.exeUK9922018-03-171-24/+0
| | | | |
* | | | | Auto merge of #20071 - paulrouget:typedsize, r=glennwbors-servo2018-03-1611-86/+106
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use typed coordinates more Requires https://github.com/servo/servo/pull/19895 We use Size2D and Point2D across compositing, constellation and script, loosing the type of pixels we use (DevicePixel, DeviceIndepententPixel or CSSPixel) along the way, which might lead to bugs like `window.outerHeight` not taking into account the page zoom (using DeviceIndepententPixel instead of CSSPixel). This should make the situation a bit better. --- <!-- 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 #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because we can't zoom in a 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/20071) <!-- Reviewable:end -->
| * | | | remove WindowMethods::size()Paul Rouget2018-03-161-3/+1
| | | | |
| * | | | alias some euclid typesPaul Rouget2018-03-169-61/+65
| | | | |
| * | | | Use typed coordinates.Paul Rouget2018-03-169-59/+77
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use Size2D and Point2D across compositing, constellation and script, losing the type of pixels we use (DevicePixel, DeviceIndepententPixel or CSSPixel) along the way, which might lead to bugs like window.outerHeight not taking into account the page zoom (using DeviceIndepententPixel instead of CSSPixel).
* | | | feat(windowevent): expose CaptureWebRender eventOJ Kwon2018-03-163-1/+20
| | | |
* | | | build(cargo): enable webrender capture featureOJ Kwon2018-03-161-1/+1
|/ / /
* | | Auto merge of #20310 - fabricedesre:opt-multiprocess, r=jdmbors-servo2018-03-151-0/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the MULTIPROCESS static when changing default options <!-- Please describe your changes on the following line: --> When the options are set not from the command line but by calling `set_defaults()` which is common for embedders, the MULTIPROCESS static is not set, and so the setting is ignored. This patch fixes that. --- <!-- 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 #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because we have no tests around that. <!-- 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/20310) <!-- Reviewable:end -->
| * | | Update the MULTIPROCESS static when changing default optionsFabrice Desré2018-03-151-0/+3
| | | |
* | | | Update to handle WebRender API changesMartin Robinson2018-03-164-35/+36
|/ / / | | | | | | | | | Items now only take a clipping rectangle instead of a LocalClip.
* / / Don't access the reflector when dropping a Promise (fixes #18651)Anthony Ramine2018-03-151-8/+13
|/ / | | | | | | The reflector may be dead already.
* | Have servo report traversal statistics to gecko.Xidorn Quan2018-03-152-11/+150
| |
* | Split TraversalStatistics into two parts.Xidorn Quan2018-03-152-62/+64
| |
* | Update bindings.Xidorn Quan2018-03-153-2433/+4359
| |
* | Auto merge of #20267 - Xanewok:typed-arrays-stack-heap-variants, r=Xanewokbors-servo2018-03-147-8/+87
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support JS typed arrays as arguments and in WebIDL unions <!-- Please describe your changes on the following line: --> Supersedes #20205. This brings support to receiving typed arrays as function arguments (those are stack-rooted with CustomAutoRooter) and also being a member of a union (which is basically heap-rooted? similarly to other webidl unions). This is based on my other PR #20265 (which means it has to pull an external rust-mozjs branch and contains some also slightly unrelated changes here) since it shares `RootedTraceableBox::from_box` here and some other additional changes at rust-mozjs, but it can be easily separated if needed. I tried adding support to nullable typed arrays but couldn't work around an issue of codegen always sticking a "OrNull" at the end of my type (presumably because of [this](https://github.com/servo/servo/blob/master/components/script/dom/bindings/codegen/parser/WebIDL.py#L2241)?). How would I go about avoiding the suffix with nullable arguments? If we were to add also support for nullable typed arrays then I think we wouldn't be blocked anymore on this in WebGL 1.0. r? @jdm --- <!-- 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 #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/20267) <!-- Reviewable:end -->