Commit graph

37138 commits

Author SHA1 Message Date
bors-servo
67beaa46e2
Auto merge of #23236 - swarnimarun:loop_patch, r=ferjm
Implement HTMLMediaElement.loop Attribute

<!-- Please describe your changes on the following line: -->
Work done for Implementing HTMLMediaElement.loop Attribute,
- Uncomment `loop` attribute from webidl
- Add make_bool macros for Loop and SetLoop functions
- Update the required tests

---
<!-- 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 #22290

<!-- Either: -->
- [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/23236)
<!-- Reviewable:end -->
2019-04-29 12:20:43 -04:00
bors-servo
a9f7b13230
Auto merge of #23233 - paulrouget:glutin-port-refactoring, r=jdm
Glutin port refactoring

Glutin port refactoring in preparation for the compositor and libservo refactoring.

In theory, the only behavior change is for headless mode. The headless event loop now uses winit's event loop (but still headless).

Notes:
- headless and glutin window implementations are now separated
- I split the methods of the embedder in 2: window specific and general methods. In the future, we still want the app to run even without a window or with multiple windows

<!-- 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/23233)
<!-- Reviewable:end -->
2019-04-29 10:45:29 -04:00
CYBAI
5b9f151f03 Update regex to 1.1 2019-04-29 22:25:12 +09:00
bors-servo
799490a02e
Auto merge of #22743 - ferjm:shadowdom, r=emilio
Partial ShadowDOM support

This is just an early WIP, not to take it very seriously yet.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [x] These changes fix #22719
- [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/22743)
<!-- Reviewable:end -->
2019-04-29 08:38:50 -04:00
Fernando Jiménez Moreno
37e88e77cd Set self as containing_shadow_root for shadow roots 2019-04-29 12:15:16 +02:00
Fernando Jiménez Moreno
68bee1c771 Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_r
Clarify special case for containing_shadow_root and add it to layout
accessor
2019-04-29 12:02:04 +02:00
Aron Zwaan
3229af509f Create new compartment in Promise constructor 2019-04-29 11:36:43 +02:00
Paul Rouget
21ed7653f4 Refactoring of the Glutin port in preparation of the compositor refactoring. 2019-04-29 10:04:51 +02:00
bors-servo
d58ea974ba
Auto merge of #23285 - servo-wpt-sync:wpt_update_29-04-2019, r=servo-wpt-sync
Sync WPT with upstream (29-04-2019)

Automated downstream sync of changes from upstream as of 29-04-2019.
[no-wpt-sync]
2019-04-29 00:58:07 -04:00
WPT Sync Bot
c084436da7 Update web-platform-tests to revision 3b0853b41cdb88c713f2ac3636f5b69c14b31d49 2019-04-29 00:57:48 -04:00
bors-servo
c58f91ec1f
Auto merge of #23284 - servo-wpt-sync:wpt_update_28-04-2019, r=servo-wpt-sync
Sync WPT with upstream (28-04-2019)

Automated downstream sync of changes from upstream as of 28-04-2019.
[no-wpt-sync]
2019-04-28 01:39:42 -04:00
WPT Sync Bot
fc1d662be8 Update web-platform-tests to revision 301ce26e6c4fdc9c7b04dc86e009835662519c37 2019-04-28 01:39:16 -04:00
bors-servo
ffd9441a3d
Auto merge of #23279 - snarasi6:master, r=jdm
Implement deprecated setPosition and setOrientation methods for AudioListener #22898

<!-- Please describe your changes on the following line: -->
I have uncommented the two methods SetPosition and SetOrientation in AudioListener.webidl and have included the two methods in the AudioListener.rs file. I have some errors while handling the NotSupported error for the methods. Can you please review the code and help me out with the errors?

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./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/23279)
<!-- Reviewable:end -->
2019-04-27 20:47:11 -04:00
snarasi6
feeb89149d Implemented SetOrientation and SetPosition functions but still have errors in throwing NotSupported error message 2019-04-27 18:38:15 -04:00
bors-servo
10bee0db5d
Auto merge of #23259 - Akhilesh1996:master, r=Manishearth
Implement AudioParam.setValueCurveAtTime #22897

<!-- Please describe your changes on the following line: -->
Updated audioparam.rs to send the new UserAutomationEvent SetValueCurveAtTime to the audio engine and updated test results.

---
<!-- 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 #22897 (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/23259)
<!-- Reviewable:end -->
2019-04-27 08:57:04 -04:00
bors-servo
7607f3c995
Auto merge of #23280 - servo-wpt-sync:wpt_update_27-04-2019, r=servo-wpt-sync
Sync WPT with upstream (27-04-2019)

Automated downstream sync of changes from upstream as of 27-04-2019.
[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/23280)
<!-- Reviewable:end -->
2019-04-27 05:25:48 -04:00
WPT Sync Bot
b30b1992ac Update web-platform-tests to revision 4accec3d14ccdc7b170017c0df299b954019f06f 2019-04-27 02:52:58 -04:00
bors-servo
6cf3ba9db2
Auto merge of #23276 - servo:jdm-patch-38, r=Manishearth
Install gcc-6 on TravisCI.

This is a followup for #23182.

<!-- 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/23276)
<!-- Reviewable:end -->
2019-04-27 02:52:40 -04:00
Akhilesh V
b519a0b941 Implemented JS API for setValueCurveAtTime and updated tests 2019-04-26 23:17:24 -04:00
bors-servo
630cf2745b
Auto merge of #23275 - servo:jdm-patch-37, r=Manishearth
Use llvm's linker for x86 builds.

This is a follow up to #23256 and #23211.

<!-- 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/23275)
<!-- Reviewable:end -->
2019-04-26 20:22:54 -04:00
Josh Matthews
5083451813
Install gcc-6 on TravisCI. 2019-04-26 16:53:56 -04:00
Josh Matthews
f723e150ec
Use llvm's linker for x86 builds. 2019-04-26 16:24:13 -04:00
Swarnim Arun
4383f4de48 Update video loop and interface https tests 2019-04-27 00:38:57 +05:30
Swarnim Arun
3bf3a7861a Implement HTMLMediaElement.loop Attribute 2019-04-26 23:13:18 +05:30
bors-servo
94c1551c8f
Auto merge of #23182 - jdm:xenial, r=jdm
Switch to Xenial for Linux CI.

<!-- 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/23182)
<!-- Reviewable:end -->
2019-04-26 12:51:09 -04:00
bors-servo
b4a2d60b25
Auto merge of #23211 - jdm:win-cross, r=SimonSapin
Add Windows x86 build job.

This will make it easier to start working on Hololens embedding work without having to deal with a broken build first.

---
- [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

<!-- 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/23211)
<!-- Reviewable:end -->
2019-04-26 08:55:28 -04:00
Josh Matthews
57d241fce5 Add Windows x86 build job. 2019-04-26 08:54:24 -04:00
Fernando Jiménez Moreno
9b2eb77530 Do not lazy initialize RareData on its getters 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
d0b2e826ef Move StylesheetSetRef to script 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
9d52feffbb Rename shadow_root_from_node to containing_shadow_root 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
e4f34fde1b Rename StylesheetSet to StylesheetSetRef 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
9df1c2f2cc Revert unnecessary format changes 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
3f312f7915 Set dirty descendants flag only for elements 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
ccc4f7c377 Add dom.shadowdom.enabled to preferences list 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
59c634b259 Set dirty descendants if node is connected 2019-04-26 12:00:26 +02:00
Fernando Jiménez Moreno
6bf1ca20a2 Make Node and Element rare_data an Option 2019-04-26 12:00:25 +02:00
Fernando Jiménez Moreno
f6069630d2 Update tests manifest 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
890297ef0a Optimize Node::GetRootNode 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
8eba587547 Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestors 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
0ca4792dc6 Revert changes in sheet_set_methods macro 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
efbfc0f939 Make devtools find node by unique id function include shadow trees 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
5a165c6bd8 Move is_connected function from style to layout, where it is used 2019-04-26 11:42:38 +02:00
Fernando Jiménez Moreno
5be6779f9a Revert style/dom_apis changes 2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
bdd2f32c0f Minor tweaks: rename composed_parent_node_ref, remove or update outdated comments... 2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
0313e38074 Tweak list of shadow roots attached to doc 2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
b8925a0297 Set IS_CONNECTED flag on host and children instead of on containing shadow root 2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
1427c43620 Update size of tests after *RareData changes 2019-04-26 11:42:37 +02:00
Fernando Jiménez Moreno
c75da615bd Add custom elements related stuff into ElementRareData 2019-04-26 11:31:19 +02:00
Fernando Jiménez Moreno
a9019da39d Move mutation observers list to NodeRareData 2019-04-26 11:31:19 +02:00
Fernando Jiménez Moreno
6af4729f42 Introduce NodeRareData and ElementRareData 2019-04-26 11:31:19 +02:00