Commit graph

37208 commits

Author SHA1 Message Date
Michał Mieczkowski
775ff3b623 Fix warning about unused result 2019-07-03 10:47:37 +02:00
Michal Mieczkowski
1bbe92ff76 Return None instead of panicking 2019-07-02 21:29:45 +02:00
Michal Mieczkowski
8da643d998 Add stub for set_clipboard_contents and get_clipboard_contents in libsimpleservo jniapi and libmlservo 2019-07-01 19:16:21 +02:00
Michal Mieczkowski
02d55885c8 Handle get_clipboard_contents and set_clipboard_contents in libsimpleservo capi 2019-07-01 19:12:59 +02:00
Michal Mieczkowski
caaa2a425c Add HostTrait methods get_clipboard_contents set_clipboard_contents, and call them instead of directly handlind clipboard 2019-06-24 22:51:43 +02:00
Michal Mieczkowski
588cec0422 Clipboard handling in libsimpleservo 2019-06-15 13:38:38 +02:00
Michal Mieczkowski
2726fc1dea Restore DummyClipboardContext for textinput.rs tests 2019-06-15 12:12:15 +02:00
Michal Mieczkowski
884b54a626 Remove unneeded clipboard import. 2019-06-15 11:57:39 +02:00
Michal Mieczkowski
9c74e4d9ce Code cleanup 2019-06-13 20:33:55 +02:00
Michal Mieczkowski
05a6495d43 Remove not needed DummyClipboardContext 2019-06-13 20:20:25 +02:00
Michal Mieczkowski
f4d972adb2 Forward to embedder message for setting/getting clipboard contents from clipboard provider.
Create clipboard context in browser.rs and handle new messages.
2019-06-13 20:18:53 +02:00
Michal Mieczkowski
1e5103e675 Add Embbedder messages for setting/getting clipboard contents 2019-06-13 20:16:04 +02:00
Michal Mieczkowski
18434c9927 Remove clipboard handling from constellation, and remove ScriptMessage for getting/setting clipboard 2019-06-13 20:15:12 +02:00
bors-servo
5b79711ece
Auto merge of #23462 - servo-wpt-sync:wpt_update_26-05-2019, r=servo-wpt-sync
Sync WPT with upstream (26-05-2019)

Automated downstream sync of changes from upstream as of 26-05-2019.
[no-wpt-sync]
2019-05-26 09:57:22 -04:00
WPT Sync Bot
a6792ec098 Update web-platform-tests to revision a4df0fa7be958c11e80caf57fd36c935d11a2a34 2019-05-26 13:57:10 +00:00
bors-servo
4aad79f9d2
Auto merge of #23460 - servo-wpt-sync:wpt_update_25-05-2019, r=servo-wpt-sync
Sync WPT with upstream (25-05-2019)

Automated downstream sync of changes from upstream as of 25-05-2019.
[no-wpt-sync]
2019-05-25 09:58:27 -04:00
WPT Sync Bot
db54f176d0 Update web-platform-tests to revision ac3d096a5972dea5ecca1c43e324086895db7c6f 2019-05-25 13:58:15 +00:00
bors-servo
a97eb93d99
Auto merge of #23457 - jdm:glutes, r=jdm
Glutin 0.21

This is just #23288 taking into account the lessons learned in #23448 so that Android builds successfully.

<!-- 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/23457)
<!-- Reviewable:end -->
2019-05-25 07:18:40 -04:00
Josh Matthews
2875e5ccb3 Upgrade parking_lot to 0.8. 2019-05-25 07:18:06 -04:00
Paul Rouget
e2cfe5d05f Glutin update: ignore gl_generator duplicate 2019-05-25 07:15:32 -04:00
Paul Rouget
53bb2e8743 Glutin update: new Context API 2019-05-25 07:15:32 -04:00
Paul Rouget
7f61160277 Glutin update: ignore rand-core and nix duplicate 2019-05-25 07:15:32 -04:00
Paul Rouget
1758207393 Glutin update: dependencies update 2019-05-25 07:15:30 -04:00
bors-servo
1c74a80e28
Auto merge of #23449 - Eijebong:winapi, r=jdm
Dedupe winapi

<!-- 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/23449)
<!-- Reviewable:end -->
2019-05-25 00:06:29 -04:00
bors-servo
df882a757f
Auto merge of #23455 - mboros1:master, r=emilio
Add missing dependency to build servo in Fedora 30

<!-- Please describe your changes on the following line: -->
Add missing dependency libunwind-devel to mach bootstrap for dnf and updating README file to reflect changes

---
<!-- 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 #23454 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because mach build tests it

<!-- 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/23455)
<!-- Reviewable:end -->
2019-05-24 22:21:29 -04:00
Martin Boros
900e951d53 fixed formatting in bootstrap file 2019-05-24 21:45:01 -04:00
Martin Boros
5d1e4b32fc adds libunwind-devel to fedora dnf dependencies for bootstrap and updates README file 2019-05-24 21:27:20 -04:00
bors-servo
61d2641a7d
Auto merge of #23364 - jdm:ndk-llvm2, r=asajeffrey
Use llvm toolchain for android build

<!-- 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/23364)
<!-- Reviewable:end -->
2019-05-24 18:15:37 -04:00
Josh Matthews
ccde5867fb Use llvm toolchain for entirety of android build. 2019-05-24 16:05:01 -04:00
Bastien Orivel
3e7a9a012e Dedupe winapi
Since mio still hasn't been released, this uses custom forks with just
winapi bumped to 0.3 in them.
2019-05-24 19:07:56 +02:00
bors-servo
2181872973
Auto merge of #23452 - servo-wpt-sync:wpt_update_24-05-2019, r=servo-wpt-sync
Sync WPT with upstream (24-05-2019)

Automated downstream sync of changes from upstream as of 24-05-2019.
[no-wpt-sync]
2019-05-24 10:00:14 -04:00
WPT Sync Bot
732399d5d9 Update web-platform-tests to revision 138d2e938d493a5c8435025162759c2e34b3b1d1 2019-05-24 13:59:54 +00:00
bors-servo
ce37d5ebf2
Auto merge of #23437 - Eijebong:darling, r=jdm
Update darling to 0.9

<!-- 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/23437)
<!-- Reviewable:end -->
2019-05-24 00:51:36 -04:00
bors-servo
ce756346a4
Auto merge of #23383 - jdm:tc-parent, r=jdm
Reuse more tasks

<!-- 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/23383)
<!-- Reviewable:end -->
2019-05-23 22:51:41 -04:00
bors-servo
5ffa689e9f
Auto merge of #23412 - servo:ssh, r=Manishearth
Add some SSH keys to tc-mac workers

<!-- 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/23412)
<!-- Reviewable:end -->
2019-05-23 21:12:40 -04:00
bors-servo
3eca80e5b2
Auto merge of #23439 - servo-wpt-sync:wpt_update_22-05-2019, r=jdm
Sync WPT with upstream (22-05-2019)

Automated downstream sync of changes from upstream as of 22-05-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/23439)
<!-- Reviewable:end -->
2019-05-23 19:00:55 -04:00
Simon Sapin
3d0be552d8 git show --pretty=%P sometimes prints a diff. Use git cat-file instead. 2019-05-23 16:38:28 -04:00
Simon Sapin
0ed6cdbb42 Compute the "task ID" only when needed 2019-05-23 16:16:40 -04:00
bors-servo
965477eb96
Auto merge of #23407 - georgeroman:reintroduce_parallelism_in_bluetooth_tests, r=jdm
Reintroduce parallelism in the bluetooth tests

<!-- Please describe your changes on the following line: -->
With https://github.com/web-platform-tests/wpt/pull/16819 in place, https://github.com/servo/servo/issues/22619 should be fixed, so the changes introduced by https://github.com/servo/servo/pull/22662 can be reverted.

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

<!-- 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/23407)
<!-- Reviewable:end -->
2019-05-23 13:41:25 -04:00
Josh Matthews
0edf865deb Index taskcluster tasks by merge parents if available. 2019-05-23 18:35:07 +02:00
bors-servo
f24f517965
Auto merge of #23272 - tdelacour:ISSUE-20455, r=SimonSapin
ISSUE-20455: introduce stronger types for textinput indexing

<!-- Please describe your changes on the following line: -->
Added two new types:
- ByteOffset
- UTF16CodeUnitOffset

I've replaced any instance of `usize` that would be better represented by one or the other of these. I also updated any downstream code, including the unit tests for `textinput.rs`. Along the way, I tried to add or edit comments to better reflect my understanding of this file - happy to revisit if I have misrepresented anything.

I did not end up finding any places where types were very obviously being mixed, as the issue description suggested I should do... LMK if I should re-audit the file for that (might need a bit of guidance)!

---
<!-- 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 #20455 (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/23272)
<!-- Reviewable:end -->
2019-05-23 12:01:29 -04:00
Josh Matthews
8426c14422
Remove intermittent failure. 2019-05-23 09:47:19 -04:00
Simon Sapin
ed4c1ff3d6 Add some SSH keys to tc-mac workers 2019-05-23 13:35:36 +02:00
Bastien Orivel
c7ff341768 Update darling to 0.9 2019-05-23 12:14:56 +02:00
bors-servo
e0c95ed855
Auto merge of #23442 - jdm:no-glutin-up, r=jdm
Revert glutin upgrade.

#23409 is permanently affecting all macOS android builds starting with this PR.

<!-- 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/23442)
<!-- Reviewable:end -->
2019-05-22 23:53:01 -04:00
Josh Matthews
60688da71a Revert "Glutin update: dependencies update"
This reverts commit 30fb18e711.
2019-05-22 14:18:38 -04:00
Josh Matthews
8606af4104 Revert "Glutin update: ignore rand-core and nix duplicate"
This reverts commit da28a0c580.
2019-05-22 14:18:33 -04:00
Josh Matthews
414a854e77 Revert "Glutin update: ignore gl_generator duplicate"
This reverts commit 5bdb0da657.
2019-05-22 14:18:27 -04:00
Josh Matthews
40cdad1b3e Revert "Glutin update: new Context API"
This reverts commit d55d6644a0.
2019-05-22 14:18:20 -04:00
Simon Sapin
5d3fc37e26 PR #23272 review nits 2019-05-22 19:59:33 +02:00