Commit graph

9711 commits

Author SHA1 Message Date
Anthony Ramine
b2a0b0f620 Update openssl to 0.7.12 2016-05-18 00:23:15 +02:00
Anthony Ramine
7682f4c3f9 Update png to 0.5.1 2016-05-18 00:23:13 +02:00
Anthony Ramine
736dad868d Update xml-rs to 0.3.4 2016-05-18 00:23:12 +02:00
Anthony Ramine
0aeb110bc8 Update selectors to 0.5.9 2016-05-18 00:23:11 +02:00
Anthony Ramine
d58ec5ab14 Update websocket to 0.17.1 2016-05-18 00:23:10 +02:00
Anthony Ramine
ff5aace4a5 Update cocoa to 0.4.1 and servo-glutin to 0.4.21 2016-05-18 00:22:43 +02:00
bors-servo
e0addae51c Auto merge of #11222 - KiChjang:stylo-keywords, r=bholley
Add -moz-user-* CSS longhands for Gecko

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [x] These changes do not require tests because stylo

r? @bholley

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11222)
<!-- Reviewable:end -->
2016-05-17 14:57:32 -07:00
Anthony Ramine
b9cda99ca5 Update internal crates to bitflags 0.7 2016-05-17 23:34:04 +02:00
Anthony Ramine
d580226a9c Reorder dependencies in many Cargo.toml files 2016-05-17 23:34:02 +02:00
Patrick Walton
8a83261b61 script: Avoid needless ChangeRunningAnimationsState messages during
typical `requestAnimationFrame()` animations.

This skips useless message traffic when `requestAnimationFrame()` is
called during an animation frame callback. It reduces CPU usage of the
following snippet by 49%:

    <script>
        function foo() {
            requestAnimationFrame(foo);
        }
    </script>
    <button onclick="foo()">Start rAF</button>

Partially addresses #9844.
2016-05-17 10:24:53 -07:00
bors-servo
a5cfbb226e Auto merge of #10190 - Ms2ger:framechain, r=jdm
Remove JS_SaveFrameChain and JS_RestoreFrameChain calls.

They were cargo-culted from Gecko, where they haven't been necessary for a
while either.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10190)
<!-- Reviewable:end -->
2016-05-17 10:14:14 -07:00
Ms2ger
5242342aff Stop re-rooting CallSetup::exception_compartment. 2016-05-17 16:32:05 +02:00
Ms2ger
e4db7b6e9c Remove JS_SaveFrameChain and JS_RestoreFrameChain calls.
They were cargo-culted from Gecko, where they haven't been necessary for a
while either.
2016-05-17 16:32:04 +02:00
bors-servo
82036b57c7 Auto merge of #11231 - servo:rustup, r=Ms2ger
Update Rust to 1.10.0-nightly (cd6a40017 2016-05-16)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11231)
<!-- Reviewable:end -->
2016-05-17 07:04:12 -07:00
Anthony Ramine
60aaac5175 Remove the custom PartialEq implementations on TypeId enums
https://github.com/rust-lang/rust/pull/33593 made them useless.
2016-05-17 15:30:14 +02:00
Anthony Ramine
2ab7f1366c Update Rust to 1.10.0-nightly (cd6a40017 2016-05-16) 2016-05-17 15:21:18 +02:00
bors-servo
985086501a Auto merge of #11230 - Ms2ger:request, r=nox
Remove Request handling from CallSetup.

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 --faster` 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 no behaviour changes

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11230)
<!-- Reviewable:end -->
2016-05-17 06:16:25 -07:00
Ms2ger
a2bb595974 Remove Request handling from CallSetup. 2016-05-17 14:17:22 +02:00
Ms2ger
a732c3ff76 Simplify FontContext::create_layout_font. 2016-05-17 14:08:43 +02:00
Keith Yeung
4f4d4cb7b4 Add -moz-user-input 2016-05-17 04:24:00 -04:00
Florian Duraffourg
4fb53c8256 Correct cookie handling behavior
- Cookies with empty values are not to be ignored as per RFC6265
- A space should separate two cookie-pairs as per RFC6265 section
  4.2.1
2016-05-17 10:13:47 +02:00
Keith Yeung
ff98e44654 Add -moz-user-select 2016-05-17 04:12:20 -04:00
Keith Yeung
ac9c411d18 Add -moz-user-modify 2016-05-17 04:12:18 -04:00
Keith Yeung
5e2f52df23 Add -moz-user-focus 2016-05-17 04:12:17 -04:00
bors-servo
fe4061e0ec Auto merge of #11213 - canaltinova:compositing, r=mbrubeck
Remove num-traits from compositing

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 --faster` does not report any errors
- [X] These changes fix #11198 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests

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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11213)
<!-- Reviewable:end -->
2016-05-16 18:16:22 -07:00
bors-servo
db5846ed7d Auto merge of #11215 - nox:greener-than-hulk, r=mbrubeck
Do not use libc in profile on Windows

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11215)
<!-- Reviewable:end -->
2016-05-16 17:24:16 -07:00
Anthony Ramine
7bc768f358 Do not use libc in profile on Windows 2016-05-17 01:12:10 +02:00
bors-servo
28e8d31c5d Auto merge of #11207 - mbrubeck:vertical-align, r=bholley
Support vertical-align in geckolib

r? @bholley

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11207)
<!-- Reviewable:end -->
2016-05-16 16:03:00 -07:00
Nazım Can Altınova
1f5641cd51 Remove num-traits from compositing 2016-05-17 00:41:46 +03:00
bors-servo
043b375ce3 Auto merge of #11208 - nox:greener-than-hulk, r=mbrubeck
Fix all Windows warnings

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11208)
<!-- Reviewable:end -->
2016-05-16 14:38:26 -07:00
Anthony Ramine
8eb363528b Fix all Windows warnings 2016-05-16 23:26:12 +02:00
Evrim Öztamur
b9d3310d00 Remove misleading nonexistant flag hint 2016-05-16 21:27:15 +02:00
bors-servo
3a28aad349 Auto merge of #11206 - mbrubeck:warnings, r=nox
Fix unused item warning on 32-bit platforms

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11206)
<!-- Reviewable:end -->
2016-05-16 11:57:50 -07:00
Matt Brubeck
07f213cb87 Fix unused item warning on 32-bit platforms 2016-05-16 11:45:27 -07:00
Matt Brubeck
36699c5748 Support vertical-align in geckolib 2016-05-16 11:34:02 -07:00
bors-servo
9c6e6cb8d8 Auto merge of #11204 - mbrubeck:warnings, r=Manishearth
Fix unused import warning in script::dom::bindings::js

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11204)
<!-- Reviewable:end -->
2016-05-16 10:40:17 -07:00
Matt Brubeck
eaf4c5e5c5 Fix unused import warning in script::dom::bindings::js 2016-05-16 09:19:55 -07:00
bors-servo
66acb1039e Auto merge of #11199 - servo:icon, r=metajack
On desktop, use the same app icon we use on Android

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11199)
<!-- Reviewable:end -->
2016-05-16 07:33:10 -07:00
Anthony Ramine
4af3e9028d Use JS_NewStringCopyN for the representation of interface objects
This removes the need for the final null byte and we can make
NonCallbackInterfaceObjectClass::new safe again I guess.
2016-05-16 15:22:07 +02:00
Anthony Ramine
d0b7a9f533 Update servo-glutin to 0.4.17 2016-05-16 15:14:31 +02:00
Anthony Ramine
27b00c62d9 Update cocoa to 0.3.3 2016-05-16 15:14:07 +02:00
bors-servo
2c674d0397 Auto merge of #11192 - perlun:remove-unused-imports, r=Manishearth
Removed unused imports

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11185
- [X] These changes do not require tests because it only removes dead code.

----

This fixes #11185.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11192)
<!-- Reviewable:end -->
2016-05-15 15:41:16 -07:00
Per Lundberg
2f7ed1d73e Removed unused imports
This fixes #11185.
2016-05-15 22:24:26 +03:00
bors-servo
f8fb33be42 Auto merge of #11187 - aneeshusa:rename-inherited-svg, r=emilio
Rename SVGInherited to InheritedSVG

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 they simply rename a struct

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

I saw this listed on https://public.etherpad-mozilla.org/p/aligning-style-structs.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11187)
<!-- Reviewable:end -->
2016-05-14 16:45:11 -07:00
Aneesh Agrawal
5457169871 Rename SVGInherited to InheritedSVG 2016-05-14 17:44:53 -04:00
bors-servo
7bede60272 Auto merge of #10668 - dzbarsky:read_pixels, r=emilio
Implement WebGLRenderingContextBase::readPixels().

@emilio
Anything obviously wrong stick out to you? Haven't had a chance to debug why tests/wpt/web-platform-tests/webgl/conformance-1.0.3/conformance/programs/gl-bind-attrib-location-long-names-test.html and co. get the wrong results from ReadPixels.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10668)
<!-- Reviewable:end -->
2016-05-14 14:13:44 -07:00
bors-servo
dfd0883663 Auto merge of #11183 - servo:rustup, r=emilio
Update to Rust 1.10.0-nightly (2b79e05a0 2016-05-13)

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11183)
<!-- Reviewable:end -->
2016-05-14 12:52:07 -07:00
Anthony Ramine
78e3b1a326 Update to Rust 1.10.0-nightly (2b79e05a0 2016-05-13) 2016-05-14 21:16:48 +02:00
bors-servo
e2990766dc Auto merge of #11180 - mbrubeck:text-cleanup, r=pcwalton
Minor cleanup and optimizations in glyph/style caching

Gets rid of some unnecessary String and Arc clones during text shaping and style matching.

r? @pcwalton

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11180)
<!-- Reviewable:end -->
2016-05-14 09:06:53 -07:00
bors-servo
d6509dc4c6 Auto merge of #11178 - mrmiywj:use-doc-base-URL, r=nox
Make Node::BaseURI use the document's base URL

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 #11145  (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.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11178)
<!-- Reviewable:end -->
2016-05-14 01:12:32 -07:00