Commit graph

39514 commits

Author SHA1 Message Date
Simon Sapin
08705345d6 Always construct TC API URLs from $TASKCLUSTER_PROXY_URL or $TASKCLUSTER_ROOT_URL 2019-11-05 14:25:33 +01:00
bors-servo
593f8bd0f6
Auto merge of #24640 - paulrouget:no-allfiles-opt, r=jdm
Remove all_files options for clang-format check

fix #24638
2019-11-05 07:42:29 -05:00
Paul Rouget
56b3005721 Only updated history once 2019-11-05 12:05:50 +01:00
Mátyás Mustoha
4050b7f9ec Implement the basic WebGL2 buffer data operations
Adds support for `bufferData`, `bufferSubData`, `copyBufferSubData`
and `getBufferSubData`.

Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.3
2019-11-05 11:33:13 +01:00
bors-servo
28dbbda5bb
Auto merge of #24521 - tigleym:missing_cssom_attributes, r=jdm
Implement MouseEvent's x/y and offsetX/offsetY attributes

<!-- Please describe your changes on the following line: -->
Implement MouseEvent's x/y and offsetX/offsetY attributes

---
<!-- 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 #24248 (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. -->
2019-11-05 02:43:19 -05:00
bors-servo
2aca5c82e4
Auto merge of #24652 - servo:nitouryuu, r=nox
Don’t run tasks on new TC for GitHub push events (for now)
2019-11-05 01:54:24 -05:00
bors-servo
c89676be1d
Auto merge of #24655 - Manishearth:surfman-patch, r=jdm
Patch surfman and webxr

Gets us a working hololens build without readback.

We should make sure these commits get preserved by merging them in eventually (so that bisection isn't broken)

r? @jdm
2019-11-04 22:44:43 -05:00
Shinichi Morimoto
70c62ceee7 Fix check conditions 2019-11-05 11:24:38 +09:00
Shinichi Morimoto
b0a12f6a8a fix #24367 2019-11-05 11:24:38 +09:00
Micah Tigley
38b91c3501 Implement MouseEvent's x/y and offsetX/offsetY attributes 2019-11-04 18:28:08 -05:00
bors-servo
4886788a8e
Auto merge of #24641 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See individual commits for details.

https://bugzilla.mozilla.org/show_bug.cgi?id=1593642
2019-11-04 17:04:52 -05:00
bors-servo
1d450ba1f3
Auto merge of #24639 - paulrouget:xaml-keybindings, r=jdm
Xaml keybindings

Some keybindings for the Windows UWP app.
2019-11-04 14:40:31 -05:00
Simon Sapin
55fe681ca1 New TC: only run tasks for pushes to the try-communitytc branch 2019-11-04 20:23:07 +01:00
Manish Goregaokar
e6989d692c Patch surfman and webxr 2019-11-04 08:45:59 -08:00
Simon Sapin
d8b630779d Support both Taskcluster deployments
Part of https://bugzilla.mozilla.org/show_bug.cgi?id=1574648
2019-11-04 17:39:17 +01:00
Simon Sapin
5abb013dfd Upload uncompressed Docker images
Work aronud https://bugzilla.mozilla.org/show_bug.cgi?id=1593543
2019-11-04 17:39:17 +01:00
Kagami Sascha Rosylight
01e0b2cb5e Use IDL sequence default value 2019-11-04 23:39:37 +09:00
Paul Rouget
f11132f8c8 No need to cancel the task. The thread is ending. 2019-11-04 15:15:41 +01:00
Kagami Sascha Rosylight
cf46a9a6dc Store source as an enum 2019-11-04 23:12:59 +09:00
Kagami Sascha Rosylight
f8b61c0315 Use MessageEventSource on MessageEvent IDL 2019-11-04 23:12:52 +09:00
WPT Sync Bot
4aba25d880 Update web-platform-tests to revision 341891a7294014cb21b0a85cd0e024997aa21555 2019-11-04 13:46:42 +00:00
Emilio Cobos Álvarez
83f8bec0b5
Fix Gecko build. 2019-11-04 13:43:20 +01:00
Emilio Cobos Álvarez
0f512b4432
style: Fix Servo build. 2019-11-04 13:41:55 +01:00
Emilio Cobos Álvarez
a44515c314 style: Rustfmt recent changes. 2019-11-04 13:36:32 +01:00
Sam Mauldin
ac4894ed8d style: Rename Mozfield / Mozfieldtext to Field and Fieldtext.
Split off of Bug 1590894
Rename these to support unprefixed version
Also add alias to keep compatibility

Differential Revision: https://phabricator.services.mozilla.com/D50989
2019-11-04 13:36:32 +01:00
Boris Chiou
0624324942 style: Extend compositor properties for motion.
Differential Revision: https://phabricator.services.mozilla.com/D50014
2019-11-04 13:36:32 +01:00
Boris Chiou
40ede5bacb style: Use serde to serialize LengthPercentage and StyleRayFunction.
We need to pass these two types into the compositor, so we need a better
way to serialize these rust types. We use serde and bincode to
serialize/deserialize them, and use ByteBuf to pass the &[u8] data
through IPC. We define StyleVecU8 for FFI usage only.

Differential Revision: https://phabricator.services.mozilla.com/D50688
2019-11-04 13:36:32 +01:00
Boris Chiou
d99606a841 style: Add new layer messages for passing motion path info.
This also includes the implementation of SetAnimatable, FromAnimatable,
and merge the final matrix with motion path.

Besides, we always use PathBuilderSkia for calculating the gfx::Path for
web-renderer.

Differential Revision: https://phabricator.services.mozilla.com/D50011
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
fc1233f3d2 style: Remove -moz-binding, nsStyleDisplay::mBinding and similar.
Differential Revision: https://phabricator.services.mozilla.com/D50556
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
5f30ecc9b1 style: Remove some XBL code in the style system.
Differential Revision: https://phabricator.services.mozilla.com/D50554
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
854c480177 style: Experiment with implementing zoom as a transform + transform-origin shorthand.
This is a gross hack, of course, but has the advantage of not breaking sites
that use both zoom and -moz-transform / -moz-transform-origin.

There should be no behavior change when the pref is off, of course, and the
webcompat team wanted to experiment with this.

Differential Revision: https://phabricator.services.mozilla.com/D49792
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
ca05003ef6 style: Simplify media query code now that lifetimes are non-lexical.
We can deindent and simplify a bunch of this code now.

Differential Revision: https://phabricator.services.mozilla.com/D49509
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
11c1317c37 style: Remove useless conditional compilation.
Servo doesn't use this flag or -webkit- prefixed media queries, so no point in
doing this conditionally.

Differential Revision: https://phabricator.services.mozilla.com/D49508
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
70dda74b0f style: Remove layout.css.prefixes.device-pixel-ratio-webkit.
There's no effort to disable it any time soon, so I don't think it's useful to
keep the pref around.

Differential Revision: https://phabricator.services.mozilla.com/D49507
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
b98ac61a70 style: Hide -moz-touch-enabled media query in Nightly and Early Beta.
This is effectively superseded by the hover / any-hover media queries, which
actually are standard, and is also causing trouble in the wild.

Not even the browser fronted uses it, so we should be able to just remove it
everywhere at once.

Differential Revision: https://phabricator.services.mozilla.com/D49506
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
7965ddefa6 style: Support multiple parts in ::part() selectors.
Differential Revision: https://phabricator.services.mozilla.com/D48753
2019-11-04 13:36:32 +01:00
Emilio Cobos Álvarez
f701192e38 style: Remove old scroll-snap implementation, and scroll snapping prefs.
Differential Revision: https://phabricator.services.mozilla.com/D49267
2019-11-04 13:36:32 +01:00
Cameron McCormack
972e89fd41 style: Report missing include filename in ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D48625
2019-11-04 13:36:32 +01:00
Paul Rouget
ddbb0d5cc4 CPP formating 2019-11-04 12:46:14 +01:00
Paul Rouget
b1753fea2d remove allfiles option for clang-format 2019-11-04 12:44:52 +01:00
Paul Rouget
749f2217f9 XAML key bindings 2019-11-04 12:30:22 +01:00
Paul Rouget
7fb12fcc43 Indent XAML file 2019-11-04 12:30:15 +01:00
bors-servo
f626355b67
Auto merge of #24552 - paulrouget:clangformat, r=jdm
mach fmt calls clang-format

Fix #24031

What would be the right way to also integrate this with tidy?
2019-11-04 04:48:20 -05:00
Paul Rouget
36c1669215 Format support/hololens/ 2019-11-04 07:05:06 +01:00
bors-servo
84f13342f6
Auto merge of #24625 - servo-wpt-sync:wpt_update_03-11-2019, r=servo-wpt-sync
Sync WPT with upstream (03-11-2019)

Automated downstream sync of changes from upstream as of 03-11-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-11-03 10:57:09 -05:00
WPT Sync Bot
bca3835607 Update web-platform-tests to revision 424249088dd679888e07bd315dd8ebc98ccf323a 2019-11-03 13:38:54 +00:00
bors-servo
d02496969a
Auto merge of #24563 - Akash-Pateria:async-wasm-compilation-initial, r=jdm
Binding stream consumer to support asynchronous WebAssembly compilation

This PR contains changes related to binding the Stream Consumer wrapper for supporting async WebAssembly compilation in Servo. The changes are listed below:

- Added a StreamConsumer wrapper and implemented its corresponding behaviors such as consumeChunk, streamEnd, streamError, and noteResponseURLs.
- Added ReportStreamErrorCallback for reporting the CompileError/TypeError occurred during the compilation.

---
- [X] `./mach build -d` does not report any errors, however, it has a few warnings of unused functions since we are calling them as yet.
- [X] `./mach test-tidy` does not report any errors
- [X] These changes are part of #21476 fix
2019-11-03 08:29:14 -05:00
bors-servo
7f77cb0bde
Auto merge of #24603 - servo:jdm-patch-36, r=SimonSapin
Install rustc-dev for nightly rust toolchain

Fixes #24579.
2019-11-03 06:38:28 -05:00
takumi
b30fc2d19e Solve #22346
keypress event should be triggered for keys representing character
values. So, we should trigger this event for enter key.
This event should not trigger for IME inputs.
2019-11-03 18:07:25 +09:00
Ridhim Rastogi
9fb01e879b Add StreamConsumer wrapper and ReportStreamErrorCallback fn 2019-11-03 03:41:41 -05:00