Commit graph

36788 commits

Author SHA1 Message Date
Emilio Cobos Álvarez
edf6e6a54f
style: Update cbindgen due to breaking change.
https://github.com/eqrion/cbindgen/pull/233 changed the way one of the options
we use work.

I think the new behavior is better, but we should do this sooner rather than
later, and fix broken builds.

Differential Revision: https://phabricator.services.mozilla.com/D10301
2018-11-05 12:29:37 +01:00
Emilio Cobos Álvarez
badb8f398a
style: Support ::before / ::after on ::slotted pseudos.
See https://github.com/w3c/csswg-drafts/issues/3150 for the issue that would
expand this to all pseudos.

Differential Revision: https://phabricator.services.mozilla.com/D9994
2018-11-05 12:29:30 +01:00
Sean Voisen
62aaf865aa
style: Ignore border-image-source when overriding document colors.
Differential Revision: https://phabricator.services.mozilla.com/D10017
2018-11-05 12:29:20 +01:00
Emilio Cobos Álvarez
a3fcfb6435
style: Add a fast path for querySelector{,All} when we have classes or tags in the rightmost compound.
Before this patch we were only optimizing the case of a single selector, which
is fine, but not enough to catch ones like .foo .bar or so.

This patch allows us to optimize classes and tags in the rightmost compound,
while keeping the current optimization for #id selectors.

Need to profile this, but code-wise should be ready for review.

Differential Revision: https://phabricator.services.mozilla.com/D9351
2018-11-05 12:29:10 +01:00
Emilio Cobos Álvarez
a9af61e3be
style: Don't allow auto in grid line names.
See https://github.com/w3c/csswg-drafts/issues/2856.

Differential Revision: https://phabricator.services.mozilla.com/D9882
2018-11-05 12:28:59 +01:00
Emilio Cobos Álvarez
26040d1b00
style: Remove unused style constant.
Also remove specified-value-only keywords, since those are handled
only in Rust code and C++ doesn't need to know about them.

Differential Revision: https://phabricator.services.mozilla.com/D9634
2018-11-05 12:28:10 +01:00
Fernando Jiménez Moreno
fb28cc7fb5 Update GStreamer binaries for Android. Include required codecs 2018-11-05 11:39:20 +01:00
Bastien Orivel
08a535a4cb Use a BTreeMap to store formdata
I'm really unsure about the MallocSizeOf of BTreeMap as I took the same
code as for HashMap.

Fixes #13105
Fixes #21381
2018-11-05 08:20:31 +01:00
bors-servo
176d984b3b
Auto merge of #22109 - servo-wpt-sync:wpt_update_04-11-2018, r=jdm
Sync WPT with upstream (04-11-2018)

Automated downstream sync of changes from upstream as of 04-11-2018.
[no-wpt-sync]

<!-- 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/22109)
<!-- Reviewable:end -->
2018-11-04 22:32:11 -05:00
WPT Sync Bot
3c4e5d8f18 Update web-platform-tests to revision 064f51c50eab34723ef435e80188bde08f718c2c 2018-11-04 22:29:22 -05:00
fabrizio8
b3319360b5 Removed unused in_scroll_transaction and removed import of std::time:Instant since it was only used by in_scroll_transaction. 2018-11-04 13:00:39 -05:00
bors-servo
348f5520ee
Auto merge of #22107 - CYBAI:update-spec-link, r=emilio
Update to new ServiceWorker spec link

I think this is missing in #13408

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because it just updates the spec link

<!-- 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/22107)
<!-- Reviewable:end -->
2018-11-04 12:35:23 -05:00
bors-servo
299ec554a8
Auto merge of #22105 - servo-wpt-sync:wpt_update_03-11-2018, r=jdm
Sync WPT with upstream (03-11-2018)

Automated downstream sync of changes from upstream as of 03-11-2018.
[no-wpt-sync]

<!-- 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/22105)
<!-- Reviewable:end -->
2018-11-04 06:56:34 -05:00
CYBAI
0a82cea555 Update to new ServiceWorker spec link 2018-11-04 17:26:48 +08:00
WPT Sync Bot
612038c4d6 Update web-platform-tests to revision 6e9693d2690e0648fb9a1bd902af7cc078f28515 2018-11-03 22:48:49 -04:00
Pyfisch
d41be1d56d Rustfmt net_traits crate 2018-11-03 16:18:44 +01:00
Pyfisch
f512e262a5 Reduce right drift in scheme_fetch 2018-11-03 16:15:48 +01:00
Pyfisch
2481ad25f8 Rustfmt net crate 2018-11-03 15:29:01 +01:00
bors-servo
4ec7dedce1
Auto merge of #22096 - servo-wpt-sync:wpt_update_02-11-2018, r=jdm
Sync WPT with upstream (02-11-2018)

Automated downstream sync of changes from upstream as of 02-11-2018.
[no-wpt-sync]

<!-- 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/22096)
<!-- Reviewable:end -->
2018-11-03 07:37:23 -04:00
fabrizio8
85fb000e89 removed an unused variable 2018-11-03 00:07:38 -04:00
WPT Sync Bot
bd791500b2 Update web-platform-tests to revision c583bcd7eb30f38cb2d673031cde245776f1da5a 2018-11-02 22:59:27 -04:00
fabrizio8
e3e391b09c fix #22075
Combined on_scroll_window_event with on_scroll_start_window_event and on_scroll_end_window_event
2018-11-02 22:57:53 -04:00
mandreyel
0ed9b682a2 Remove Constellation::focused_browsing_context_id 2018-11-02 21:44:32 +01:00
Alan Jeffrey
0b05df76c5 Added icon for launching Magic Leap Servo 2018-11-02 13:40:39 -05:00
mandreyel
7be7f18d48 Add browsers map to Constellation for per browser bookkeeping 2018-11-02 18:55:16 +01:00
Alan Jeffrey
57085eea6a Shut down servo when the ML app quits 2018-11-02 10:57:26 -05:00
mandreyel
83418ff861 Update Constellation to track each browser's focused browsing context 2018-11-02 13:36:06 +01:00
bors-servo
ba1ed11ced
Auto merge of #22089 - servo-wpt-sync:wpt_update_01-11-2018, r=jdm
Sync WPT with upstream (01-11-2018)

Automated downstream sync of changes from upstream as of 01-11-2018.
[no-wpt-sync]

<!-- 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/22089)
<!-- Reviewable:end -->
2018-11-02 07:55:42 -04:00
WPT Sync Bot
4a942c982f Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9 2018-11-01 23:02:46 -04:00
bors-servo
200cc8aa6b
Auto merge of #22084 - KiChjang:idl-default-empty-array, r=jdm
Handle default empty sequence values

Fixes #22077.

<!-- 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/22084)
<!-- Reviewable:end -->
2018-11-01 18:13:49 -04:00
Keith Yeung
99589d2f2a Handle default empty sequence values 2018-11-01 14:54:23 -07:00
bors-servo
ad32d52ba5
Auto merge of #22076 - asajeffrey:magicleap-scroll, r=jdm
Support scrolling in Magic Leap Servo

<!-- Please describe your changes on the following line: -->

Add support for scrolling in Magic Leap Servo. Also adds support for mouse down and mouse up events.

---
<!-- 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 #22043
- [X] These changes do not require tests because we can't test ML

<!-- 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/22076)
<!-- Reviewable:end -->
2018-11-01 17:09:59 -04:00
bors-servo
46fdf156e4
Auto merge of #21644 - Eijebong:hyperup, r=jdm
Update hyper to 0.12

<!-- 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/21644)
<!-- Reviewable:end -->
2018-11-01 15:03:01 -04:00
Bastien Orivel
024b40b39d Update hyper to 0.12 2018-11-01 19:17:36 +01:00
Alan Jeffrey
3970c4ffbe Support scrolling in Magic Leap Servo 2018-11-01 12:16:01 -05:00
bors-servo
95bfaa0a77
Auto merge of #22067 - jdm:mesaup, r=manishearth
Update osmesa dependency.

Fixes #22063.

<!-- 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/22067)
<!-- Reviewable:end -->
2018-11-01 07:19:34 -04:00
bors-servo
8aded34bf6
Auto merge of #21914 - Eijebong:canvas-cleanup, r=jdm
Use pixels::get_rect in CanvasData::draw_image

Those functions are the same except that get_rect isn't failible, so we
have to check that the rect we want is actually in the image.

<!-- 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/21914)
<!-- Reviewable:end -->
2018-11-01 03:29:06 -04:00
bors-servo
126ed26171
Auto merge of #22060 - jdm:ml, r=asajeffrey
Add a build switch to disable the native bluetooth backend.

Fixes #22059.

<!-- 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/22060)
<!-- Reviewable:end -->
2018-11-01 02:23:53 -04:00
bors-servo
07071b42c7
Auto merge of #22061 - servo-wpt-sync:wpt_update_30-10-2018, r=jdm
Sync WPT with upstream (30-10-2018)

Automated downstream sync of changes from upstream as of 30-10-2018.
[no-wpt-sync]

<!-- 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/22061)
<!-- Reviewable:end -->
2018-10-31 23:58:16 -04:00
bors-servo
ace6324935
Auto merge of #22066 - asajeffrey:magicleap-url-bar, r=jdm
Magic Leap URL bar

<!-- Please describe your changes on the following line: -->

This PR gets the URL bar in the Servo2D magic leap app to function: it shows the current URL, and navigates Servo when edited.

---
<!-- 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 do not require tests because we can't test on ML

<!-- 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/22066)
<!-- Reviewable:end -->
2018-10-31 21:45:28 -04:00
bors-servo
eea3c5d10e
Auto merge of #22046 - servo:tc-android-x86, r=Manishearth+asajeffrey
Taskcluster: build for Android x86 and test in emulator

This adds to Taskcluster the equivalent of Buildbot’s `android-x86` job. CC https://github.com/servo/saltfs/issues/559

Like on Buildbot, the Android emulator runs on a Packet.net server. However we can compiler in a separate task, and run that task on fast AWS instances. The Packet server is provisionned and installed automatically with Terraform scripts forked from https://github.com/taskcluster/taskcluster-infrastructure/tree/master/modules/docker-worker.

Taskcluster’s “livelog” functionality seems to be broken on Packet tasks, so logs are only available after a task is completed.

<!-- 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/22046)
<!-- Reviewable:end -->
2018-10-31 18:57:19 -04:00
Simon Sapin
b1da53e47f Use apt-get update before apt-get install 2018-10-31 23:55:21 +01:00
Josh Matthews
a51276986e Update osmesa dependency. 2018-10-31 18:33:41 -04:00
bors-servo
fa8b4ea139
Auto merge of #21983 - emilio:inline-absolute, r=jdm
style: Re-enable the rule that was accidentally disabled by a typo in the CSS parser.

In #21946 I commented out this rule because before that patch we were
accidentally ignoring it because of a typo in the CSS parser, since that PR
didn't intend to change behavior.

This PR does though, and re-enables the rule.

<!-- 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/21983)
<!-- Reviewable:end -->
2018-10-31 14:57:44 -04:00
bors-servo
8350c5e1ff
Auto merge of #22049 - ferjm:timeranges, r=jdm
Implement TimeRanges interface

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

Spec: https://html.spec.whatwg.org/multipage/media.html#time-ranges

<!-- 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/22049)
<!-- Reviewable:end -->
2018-10-31 13:37:05 -04:00
Fernando Jiménez Moreno
664d5cd2fa Implement TimeRanges interface 2018-10-31 18:35:53 +01:00
Alan Jeffrey
c2f33709d1 Get the Servo2D URL bar to show the current URL, and to navigate when edited. 2018-10-31 11:11:01 -05:00
bors-servo
4c5a3c0d9f
Auto merge of #22024 - ferjm:range.request.file.urls, r=jdm
Support for byte range requests on file urls

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

This is required to allow seeking on media behind file urls

<!-- 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/22024)
<!-- Reviewable:end -->
2018-10-31 09:55:23 -04:00
Fernando Jiménez Moreno
594f17a8e1 Tests for byte range requests on file urls 2018-10-31 13:07:03 +01:00
Fernando Jiménez Moreno
0f73544297 Support for byte range requests on file urls 2018-10-31 12:50:58 +01:00