Commit Graph

7469 Commits

Author SHA1 Message Date
Manish Goregaokar
c1f91ab2e2 servo: Merge #13722 - Remove test-geckolib, run test-stylo on travis (from Manishearth:test-stylo); r=jdm
test-geckolib used to do things, but almost all of geckolib has been moved to the style crate, with the tests in `tests/unit/stylo`. (`./mach test-stylo) Now test-geckolib does nothing.

Fixes #13721
r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 2bb7cc227bf2a3260e3b9c4f3953ca55d93629fe
2016-10-13 01:50:37 -05:00
Manish Goregaokar
a228c9b31a servo: Merge #13723 - Regen bindings, warning fix (from Manishearth:resync); r=bholley
The warning only happens on the latest stable (which we use in the incubator), so there's an `#[allow()]` there for now as well.

Don't signal r+ to bors, I'll do that myself when the incubator side lands.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: d9bb663421efe7ce9446476fc0d4b82ceb11355f
2016-10-12 22:01:20 -05:00
NamSoo Cho
95e06e531d servo: Merge #13724 - font_variant_position (from NamsooCho:font_variant_position); r=Manishearth
<!-- Please describe your changes on the following line: -->

added 'font-variant-position' property to font.mako-rs
---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #13669 (github issue number if applicable).

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 46fe1c320d8a34b83e236e2c4bdb6dc1576ec1d5
2016-10-12 20:05:11 -05:00
Manish Goregaokar
016ff30ae6 servo: Merge #13720 - Add release test-stylo to buildbot steps, https://github.com/servo/saltfs/pull/508#issuecomment-253203920 (from Manishearth:resync-yml); r=aneeshusa
r? @aneeshusa

Source-Repo: https://github.com/servo/servo
Source-Revision: 4034bd68c2b2b9b899ecfb6e0d2b3ba17109c5ae
2016-10-12 17:03:48 -05:00
Patrick Walton
f1f3ee7678 servo: Merge #13705 - layout: Don't touch the inline positions of block children unless they are to be reflowed (from pcwalton:incremental-float); r=notriddle
See the comment added to
`BlockFlow::propagate_assigned_inline_size_to_children()` for details.

Closes #13704.

r? @notriddle

Source-Repo: https://github.com/servo/servo
Source-Revision: 0ffbba94fa141f0049c96b3c30dccc22b1b43e6c
2016-10-12 16:00:37 -05:00
Aniruddh Agarwal
f603646ec0 servo: Merge #13698 - Implement -moz-text-align-last property (from awesomeaniruddh:implement-moz-text-align-last); r=Wafflespeanut
<!-- 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
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #13638  (github issue number if applicable).

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

The test page in Firefox:
<img width="1392" alt="firefox" src="https://cloud.githubusercontent.com/assets/5279150/19276203/a43b486c-8fa3-11e6-9b56-a4cf45217e52.png">

The test page in Stylo:
<img width="1392" alt="servo" src="https://cloud.githubusercontent.com/assets/5279150/19276213/a9c7704e-8fa3-11e6-858b-d6e5f67d3a6c.png">

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c392dd3e792d55d6632a50b29a1f7a5055d4a3f
2016-10-12 15:15:20 -05:00
Simon Sapin
bc0d8cc65a servo: Merge #13640 - Move some of the CSSStyleDeclaration logic to the style crate (from servo:CSSStyleDeclaration_in_style); r=mbrubeck
<!-- Please describe your changes on the following line: -->

… so that Stylo can re-use it.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1295865

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 626d093245066755c751510d2c09a9b864b129fd
2016-10-12 14:21:34 -05:00
Mátyás Mustoha
baf045a53d servo: Merge #13697 - Fix missing c_void error when building for Android (from mmatyas:android_cvoid); r=emilio
<!-- Please describe your changes on the following line: -->
Including `c_void` is also required on Android, because of https://github.com/mmatyas/servo/blob/master/ports/glutin/window.rs#L170

(This is a fix for servo/servo#13154)

Source-Repo: https://github.com/servo/servo
Source-Revision: f4cb87a783a85734021bdb14419de1350fbd255b
2016-10-12 12:34:54 -05:00
Matt Brubeck
eb5fc0a23e servo: Merge #13706 - Update all ports to serde 0.8.11 (from mbrubeck:always-be-updating); r=nox
This updates CEF and Stylo to the version already used in the Servo build.  Should fix long compile times in the build-cef step in automation.

Source-Repo: https://github.com/servo/servo
Source-Revision: a332e0bb563526f405d346fc463b004dccb7d1a1
2016-10-12 11:42:17 -05:00
Emilio Cobos Álvarez
9c6b30748c servo: Merge #13694 - Introduce AnimationValue to manage animated properties in Gecko (from emilio:style-animation); r=Manishearth,birtles
<!-- Please describe your changes on the following line: -->

Doesn't compile because there are a bunch of `from_computed_value` missing, and I need to take care of fixing that before, but open for discussion.

@birtles: is an interface like this something like what you were looking for?

cc @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: f80623fd9325a01387fabddf85a59d2da8d162cd
2016-10-12 10:34:10 -05:00
Manish Goregaokar
05cfe1b1c7 servo: Merge #13701 - Vendor nsstring bindings, use for text-overflow (from Manishearth:nsstring); r=emilio,mystor
From [bug 1309165](https://bugzilla.mozilla.org/show_bug.cgi?id=1309165)

Source-Repo: https://github.com/servo/servo
Source-Revision: f584003191cc125b181bb8c555d8fae6eccd0e70
2016-10-12 08:28:27 -05:00
Scott Trinh
6e9209cc94 servo: Merge #13493 - Partial fix for #12415: expose WebGL interfaces (from scotttrinh:webgl-idl); r=jdm
<!-- 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 partially fix #12415  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they do not add any features

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: a466f43fe532157d2100788080e132b00864dd36
2016-10-12 06:53:17 -05:00
Ms2ger
9bc979e91d servo: Merge #13691 - Use mem::replace in take_pseudo_styles (from servo:mem-replace); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 494a89c27f302c47dff3c95c1a152219ad0463f7
2016-10-12 04:49:22 -05:00
Keith Yeung
cbf9b31fea servo: Merge #13056 - Implement transition event and infrastructure (from KiChjang:transition-event); r=mbrubeck
Fixes #10245.

Source-Repo: https://github.com/servo/servo
Source-Revision: cd2f950de3bcbf88208dec16f7025ff516473e0d
2016-10-12 02:08:37 -05:00
Cameron McCormack
3136a5b51d servo: Merge #13692 - Fix return types of Owned<T>::into_box Gecko sugar types (from heycam:into-box); r=Manishearth
<!-- Please describe your changes on the following line: -->

We're not transmuting to the right type.  The only current use of `into_box` is to drop a `PerDocumentStyleData`, so we weren't accidentally doing anything terribly bad, just not calling the `Drop` impl for that type.

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f12b77007981c056098b1daa9b759912d46b7c18
2016-10-12 01:15:12 -05:00
Manish Goregaokar
fcfb942224 servo: Merge #13700 - Run bindings tests with whole crate (from Manishearth:bindgen-testing); r=emilio
We currently run bindgen's autogenerated `#[test]` blocks directly on the structs files.

That is, after generating them, we run `rustc --test` on them. This works fine for now, but
if you want to refer to types defined outside of these files (e.g. in https://bugzilla.mozilla.org/show_bug.cgi?id=1309165),
the tests are broken.

This puts a `cargo test -p style` in `./mach test-stylo`. I disabled doctests because they were failing (unable to find the `ns!()` and `atom!()` macros), and I couldn't figure out why -- will investigate in a later bug.

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 7e192ce6442c69b38f1d86326464b3879fcb0368
2016-10-12 00:14:35 -05:00
Martin Robinson
a894e56028 servo: Merge #13696 - Add a custom Debug formatter for ClippingRegion (from mrobinson:clipping_region_print); r=emilio
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because debug printing is untested.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This will make display list dumps more likely to fit on a single line.

Source-Repo: https://github.com/servo/servo
Source-Revision: b9bd15ebb0e84b48d5b0e7d1e952a911960d4fef
2016-10-11 20:58:49 -05:00
Cameron McCormack
6390b96669 servo: Merge #13695 - avoid initializing image layers after repeat/origin values have already been written (from heycam:layer-init); r=Manishearth
<!-- Please describe your changes on the following line: -->

@bors-servo r=manishearth

given in https://bugzilla.mozilla.org/show_bug.cgi?id=1309081

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ca7ce6329421d031188dd071c4d75c475a0cc88
2016-10-11 18:37:39 -05:00
Anthony Ramine
cf69fd522f servo: Merge #13647 - Unify all rooting traits under RootedReference (from nox:rootedreference); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: cf2a6475cb3d7d98b925e7a235ebf36f6abe883d
2016-10-11 17:00:55 -05:00
Patrick Walton
e87bbe3700 servo: Merge #13602 - layout: Rewrite Servo's vertical-align support to match CSS 2.1 § 10.8, and implement vertical-align: middle per CSS 2.1 § 10.8.1 (from pcwalton:vertical-align-middle); r=mbrubeck
`InlineMetrics` has been split into `InlineMetrics` for fragments and
`LineMetrics` for lines. Both structures' fields have been renamed in
order to more clearly delineate the difference between *space* and
*content*. Vertical positioning of fragments has been reworked to take
margins and borders into account only for replaced content.

This patch fixes the `vertical_align_super_a.html` reftest. Servo now
matches the rendering that Gecko and WebKit produce.

Additionally, this includes a test for the popular inline-block
centering technique described here:
https://s.codepen.io/shshaw/fullpage/gEiDt?#Inline-Block

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 768a699fa5d822173b2247d6348413d09951a8bb
2016-10-11 15:33:47 -05:00
Martin Robinson
73f07d709c servo: Merge #13693 - Correct the unicode codes used for tree printing (from mrobinson:hexadecimal); r=emilio
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because the tree printing code is untested and this is just a correction of a build fix.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

These were converted from inline UTF-8 to escape sequences, but the
sequences should be in hexadecimal instead of decimal.

Source-Repo: https://github.com/servo/servo
Source-Revision: 717e438b64522b632d62991dc69e9131584db0f6
2016-10-11 14:19:44 -05:00
Bobby Holley
c37f6a192d servo: Merge #13688 - stylo: Use AtomicRefCell for PerDocumentStyleData (from bholley:styleset_refcell); r=Manishearth
Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1309090

Source-Repo: https://github.com/servo/servo
Source-Revision: 3916d1d61305bd27338cac4a9e9f9c110182582b
2016-10-11 12:03:29 -05:00
Ms2ger
0380b4290e servo: Merge #13677 - Use the fetch stack for HTMLMediaElement (from servo:media-fetch); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 51bcf516c831f60a6fc05d970df5fad99730558e
2016-10-11 11:10:39 -05:00
Anthony Ramine
4adf074ce8 servo: Merge #13675 - Clean up the parsers into a single interface (from nox:servoparser); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 928e5ad1e5ca4344e69cd8029749ecb623eabd9f

--HG--
rename : servo/components/script/parse/html.rs => servo/components/script/dom/servoparser/html.rs
rename : servo/components/script/parse/xml.rs => servo/components/script/dom/servoparser/xml.rs
rename : servo/components/script/dom/webidls/ServoXMLParser.webidl => servo/components/script/dom/webidls/ServoParser.webidl
2016-10-11 10:16:23 -05:00
Bobby Holley
9069afb48d servo: Merge #13686 - Fix warnings and make style and geckolib #![deny(warnings)] (from bholley:fix_warnings); r=Manishearth
Warnings have been piling up in the style system, and making it harder to tell when new warnings are introduced. I think we should tighten up on them.

CC @emilio @Manishearth @SimonSapin @heycam @pcwalton @metajack @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: e597719b73ff4ed58fb6628b6f998cab4058583c
2016-10-11 06:17:44 -05:00
Corey Farwell
d18207ebdd servo: Merge #13680 - Migrate user agent string to Cow<'static, str> (from frewsxcv:user-agent-cow); r=nox
In most scenarios, where the user of Servo will not override the default
user agent, the user agent can be a `&'static str`. But since we allow
for customization, we currently use a `String` to represent the user
agent. This commit migrates the user agent to be represented as a
`Cow<'static, str`, which (at the cost of ergonomics) prevents
unnecessary allocations whenever cloning the user agent string in the
scenario the user doesn't override the user agent.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4dcd223e8370816f8d0a424d9e31492aa4755f47
2016-10-11 04:04:20 -05:00
Patrick Walton
304472af14 servo: Merge #13685 - layout: Don't use the existing block position as the float ceiling when placing block formatting contexts in the sequential fallback (from pcwalton:block-formatting-context-fallback-placement); r=notriddle
The existing block position isn't yet computed at that time, so it
contains junk data. It just so happened to work on first reflow because
that value is usually set to zero, but it usually failed on subsequent
reflows.

Improves certain Wikipedia pages.

Closes #13630 (though Google is still broken; it was a separate bug and
will be split off into a separate issue).

r? @notriddle

Source-Repo: https://github.com/servo/servo
Source-Revision: cad5a4e3261ddb82b542b9a087b48daab51bbfd3
2016-10-11 01:11:24 -05:00
Bobby Holley
bdf0d364f9 servo: Merge #13656 - Refactor style logic to avoid direct access to the node data during the cascade (from bholley:existing_style); r=emilio
The new restyle architecture doesn't store these things in consistent places, so we need a more abstract API.

Source-Repo: https://github.com/servo/servo
Source-Revision: abcc4aeaf212fc5fc5f9e15e46feba11e3e9284f
2016-10-10 23:22:05 -05:00
Corey Farwell
2f46dee49a servo: Merge #13679 - Cleanup logic, remove unnecessary allocations in Request API (from frewsxcv:remove-str-alloc); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: a618b245ce4b9b7850e1afc28a19cf2ed98bc69c
2016-10-10 18:53:21 -05:00
Corey Farwell
e00cd1c4fd servo: Merge #13678 - Remove unused trait method (from frewsxcv:unused-trait-method); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: f43a14ea687166da92bf23bdd61b546a74288d04
2016-10-10 16:29:25 -05:00
Alan Jeffrey
1f1e80df43 servo: Merge #13627 - Pipeline always stores frame (from asajeffrey:pipeline-always-stores-frame-id); r=ConnorGBrewster
<!-- Please describe your changes on the following line: -->

This change makes the pipeline always store the frame id, not just optionally. This is the first part of a long slog to use FrameIds rather than PipelineIds to identify frames. cc @ConnorGBrewster

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 51b806fcc0542c5e49ebc9f00a9f527d52b4556c
2016-10-10 14:58:14 -05:00
UK992
8433990a3e servo: Merge #13661 - Warn and exit mach if it detects MinGW Python (from UK992:mingw-python); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
r? @Wafflespeanut

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: c1cc2bbbaebf13710bee1cb426484c2eed155f7c
2016-10-10 13:45:18 -05:00
Simon Sapin
815f962e81 servo: Merge #13676 - Remove usage of deprecated SipHasher (from servo:no-siphasher); r=pcwalton
<!-- Please describe your changes on the following line: -->

<s>Hashing in `SimpleHashCache` is not randomized anymore. Does this matter?</s>

r? @pcwalton

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: ef7423bf0034a41b12ba50e623c9b3dba39a53bc
2016-10-10 11:39:06 -05:00
Manish Goregaokar
daf848c2d7 servo: Merge #13674 - Implement column-count in stylo (from Manishearth:column_count); r=emilio
Unblocks column-fill easy property
r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: aef6054dc64043860e90ca962b60c51c683789f2
2016-10-10 09:37:29 -05:00
Manish Goregaokar
fbe2016107 servo: Merge #13673 - Don't pref-gate properties in geckolib mode (from Manishearth:no-prefs-geckolib); r=emilio
This led to me wasting a lot of time trying to figure out why my column-count implementation in gecko didn't work.

We might eventually want to hook into the Gecko prefs, but the mechanism would probably be different

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: 960d884fd4dd2ad5dabfb4dd9d52e50f9d5c292c
2016-10-10 08:11:32 -05:00
Manish Goregaokar
750768b2f3 servo: Merge #13672 - Regen bindings (from Manishearth:regen); r=emilio
From https://hg.mozilla.org/mozilla-central/rev/d72cf6ecebaf

Source-Repo: https://github.com/servo/servo
Source-Revision: 37340d0c26dc03500804432c3caef00bbd178733
2016-10-10 06:21:18 -05:00
Emilio Cobos Álvarez
c1494bd3e8 servo: Merge #13671 - stylo: Fix GeckoNode::is_element implementation (from emilio:flag-madness); r=Manishearth
<!-- Please describe your changes on the following line: -->

r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 48f75bf2f68914a11eed83cbd23776f7e0b9c2bd
2016-10-10 04:06:23 -05:00
Eric Anholt
364e976b00 servo: Merge #13665 - webgl: Implement uniformMatrix*fv (from anholt:webgl-uniform-matrix-v); r=emilio
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

These new functions are derived from the existing uniform*fv
functions.  They get used in a lot of demo code, so it should greatly
improve our compatibility.

This regresses uniformMatrixBadArgs.html, which gets at an existing
problem in our uniform matrix support (failure to validate
that the uniform is a matrix before calling down) but previously just
failed because it only called the 'fv' variants and never the existing
'f' variants.

Source-Repo: https://github.com/servo/servo
Source-Revision: aab9d61025fe72bdcb37f13c9cc53b787a636036
2016-10-10 03:15:10 -05:00
Shubheksha Jalan
77174d8c98 servo: Merge #13663 - changed set_value() to set() in gecko.mako.rs (from shubheksha:fix/13657); r=Manishearth
<!-- Please describe your changes on the following line: -->
Changed `set_value()` to `set()` in gecko.mako.rs

---
<!-- 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 #13657 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because just the `set_value()` call was changed to `set()`

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: b110eb394ebeb6528240ac3d01e17b0577a9dfbd
2016-10-09 21:15:28 -05:00
Anthony Ramine
d480281b15 servo: Merge #13649 - Update to Rust 1.14.0-nightly (19ac57926 2016-10-08) (from servo:rustup); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 39d3fce1af89bf30e201dcb873d7f2ffe0ad3d42
2016-10-09 20:12:38 -05:00
Corey Farwell
bab1cedf2f servo: Merge #13660 - Simplify logic for writing to stderr (from frewsxcv:stderr); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b7ed99bf704553039e0b33485476424b14f73528
2016-10-09 18:45:03 -05:00
Nazım Can Altınova
4cc6eb1411 servo: Merge #13604 - Implement all gradients (from canaltinova:gradient); r=Manishearth
<!-- Please describe your changes on the following line: -->
Implementation of all gradients.
r? @Manishearth

---
<!-- 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 #13549 (github issue number if applicable).

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

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: fe6fac4ee2af33c0fc61381c86c351982d4b73fd
2016-10-09 16:40:18 -05:00
Ravi Shankar
4de8213a5b servo: Merge #13658 - Import NS_FONT_* constants for unlocking some easy issues (from servo:font_consts); r=Manishearth
<!-- 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

<!-- Either: -->
- [x] These changes do not require tests because it's generated code

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: b091ada480cfdb381d8f07eb98c1fb9bdebd3f89
2016-10-09 14:39:55 -05:00
Brian Birtles
13fe5b429d servo: Merge #13553 - Support creating StyleAnimationValue objects from Servo (from birtles:animvalues); r=Manishearth
These are the servo-side changes for [bug 1302949](https://bugzilla.mozilla.org/show_bug.cgi?id=1302949#c59). @Manishearth has already reviewed them there.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [bug 1302949](https://bugzilla.mozilla.org/show_bug.cgi?id=1302949#c59)
- [X] These changes do not require tests because there are existing tests for this in mozilla-central

Source-Repo: https://github.com/servo/servo
Source-Revision: 804317c8858a096eb99e1ff0baf860dbdfcbb04d
2016-10-09 08:53:28 -05:00
Manish Goregaokar
06d4aceed2 servo: Merge #13651 - impl GeckoStyleCoordConvertible for Au (from Manishearth:au-togeckostyle); r=emilio
r? @heycam

Source-Repo: https://github.com/servo/servo
Source-Revision: 5955f4a754beabb331bfe0d6ec2a9fa2e3898e69
2016-10-09 07:52:51 -05:00
Emilio Cobos Álvarez
fe65f0f44d servo: Merge #13305 - WebGL IDL and correctness (from emilio:webgl-idl); r=nox,KiChjang
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

This is a change set with multiple intentions:
 * Be correct.
 * Unlock tests that are blocking @anholt.
 * Ease the transition to typed arrays once the changes by @Ms2ger start rolling
   in, since I expect the amount of test expectations to update to be
   non-trivial.

I expect having it to run on try a few times, but... r? @nox or @KiChjang

Source-Repo: https://github.com/servo/servo
Source-Revision: ddff5ce2eb635ff1c51ed7fee2d33e890c541221
2016-10-09 06:26:06 -05:00
Manish Goregaokar
8e15060578 servo: Merge #13620 - Test that Servo_* functions have the right signatures (from Manishearth:type-assert); r=emilio
Fixes #12992

Needs #13617

Not very happy with this solution (and perhaps it should be done in pure Rust, though that can be split out as another easy bug).

But it works. The bindings changes are from running a regen on [bug 1308234](https://bugzilla.mozilla.org/show_bug.cgi?id=1308234)

r? @emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: a0e404c79e100917d5c7512f500b488fe87c12dc
2016-10-09 03:56:34 -05:00
Bobby Holley
79a77ced40 servo: Merge #13655 - Move children_to_process to layout (from bholley:children_to_process); r=<try>
We don't need this for Gecko, and it's hard to implement in that case because
there's nowhere obvious to put it (we don't plan to create TSDs for non-dirty
nodes, and non-dirty nodes can have dirty children which require the
children_to_process atomic). There are various solutions here, but punting is
the easiest.

We'll need to rethink this if/when we need to do a bottom-up traversal for
Gecko.

Source-Repo: https://github.com/servo/servo
Source-Revision: 70dbfd28fa44b0cd89a0ea39a6bd1180611c5e66
2016-10-09 01:37:42 -05:00
Corey Farwell
a286b6fb44 servo: Merge #13411 - Migrate mime_classifier top-level string to enum (from frewsxcv:mime); r=jdm
I made this branch months ago and forgot about it. Instead of just throwing the changes away, I rebased off origin/master and opened this pull request. If these changes aren't desired, no feelings hurt, just close this. If they are desired, let me know if there are any changes you want me to make and I'll also need to rewrite/squash the commits.

Source-Repo: https://github.com/servo/servo
Source-Revision: b1d8eff467d3c324e0cc729b06983931000c2680
2016-10-08 15:40:47 -05:00
Corey Farwell
b502835f60 servo: Merge #13652 - Fix capitalization for enum variants (from frewsxcv:variant-naming); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3768ea2cc735a90e22d716d94100305382d17f1b
2016-10-08 14:55:24 -05:00