Commit graph

6381 commits

Author SHA1 Message Date
Bobby Holley
a77a5ecb16 Implement StandaloneStyleContext::new. 2016-02-03 18:39:16 -08:00
Bobby Holley
cafc0aabdf Hoist style-only traversal into geckolib.
Implementing StandaloneStyleContext::new is going to require a TLS key (just
like LayoutContext::new), and we don't want that key in shared code.
2016-02-03 18:39:16 -08:00
bors-servo
b794efee05 Auto merge of #9506 - mmatyas:update_gaol, r=jdm
Update gaol to f1da357

servo/gaol@f1da357 adds AArch64 support to gaol, required for building Servo for this platform.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9506)
<!-- Reviewable:end -->
2016-02-04 06:14:37 +05:30
bors-servo
44b7ebf3cc Auto merge of #9314 - larsbergstrom:cargoup, r=Manishearth
Update cargo

r? @Manishearth

(wait for a try run first - I can't repro the -fPIC stuff from the previous one right now, but we'll see...)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9314)
<!-- Reviewable:end -->
2016-02-04 04:37:16 +05:30
bors-servo
dcf4218e30 Auto merge of #9121 - simartin:issue_9095, r=jdm
Issue #9095: Send a notification when a file load is cancelled.

Fixes https://github.com/servo/servo/issues/9095

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9121)
<!-- Reviewable:end -->
2016-02-03 23:29:35 +05:30
Lars Bergstrom
2ded261bf2 Fontconfig-sys version bump to work around SemVer sorting issues 2016-02-03 09:48:29 -06:00
bors-servo
b1fffcd85d Auto merge of #9500 - notriddle:ttt, r=nox
Bump quickersort version.

(fixes an exception-safety bug in the heapsort fallback)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9500)
<!-- Reviewable:end -->
2016-02-03 12:29:26 +05:30
bors-servo
64ad9e17d9 Auto merge of #9498 - KiChjang:update-url, r=nox
Update rust-url

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9498)
<!-- Reviewable:end -->
2016-02-03 11:38:51 +05:30
bors-servo
2d4a5eb983 Auto merge of #9493 - Ms2ger:paint-thread-messages, r=jdm
Use the select macro on the paint thread.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9493)
<!-- Reviewable:end -->
2016-02-03 10:16:46 +05:30
bors-servo
ae20f2556b Auto merge of #9510 - nox:bump-selectors, r=SimonSapin
Update rust-selectors

This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9510)
<!-- Reviewable:end -->
2016-02-03 07:04:11 +05:30
Emilio Cobos Álvarez
a1c830f1c1 Update rust-selectors
This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.
2016-02-03 02:11:31 +01:00
Keith Yeung
9b23839394 Update rust-url 2016-02-02 20:04:01 -05:00
bors-servo
ea385fdd11 Auto merge of #9492 - mmatyas:arm64_linker_fix, r=jdm
Fix build error on AArch64

When cross compiling to AArch64, the native `cc` is used in the final linking step, instead of `aarch64-linux-gnu-gcc`. This patch fixes the issue.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9492)
<!-- Reviewable:end -->
2016-02-03 01:05:02 +05:30
Mátyás Mustoha
2cd0064f58 Update gaol to f1da357 2016-02-02 12:16:34 +01:00
Michael Howell
fa91acc7c9 Bump quickersort version.
(fixes an exception-safety bug in the heapsort fallback)
2016-02-01 18:37:43 -07:00
Glenn Watson
50e946eab9 Update ipc-channel to get deadlock fix for Linux. 2016-02-02 08:22:44 +10:00
Anthony Ramine
436b952298 Bump Rust to 2016-01-31 nightly 2016-02-01 17:55:36 +01:00
Ms2ger
2fd53c266e Use the select macro on the paint thread. 2016-02-01 17:40:58 +01:00
Mátyás Mustoha
94740c7251 Fix final linking step on AArch64 2016-02-01 16:55:27 +01:00
Ms2ger
add80b13f3 Move over to gaol from the servo repository. 2016-02-01 12:34:36 +01:00
bors-servo
6b1a08c051 Auto merge of #9452 - glennw:update-gleam-again, r=ecoal95
This updates gleam to a version that relies on OpenGL 3.3 (which is n…

…eeded for the instancing changes in WR - see servo/gleam@fc7e28e).

Hopefully the build machines and everyone using Servo has GL 3.3 available on their machines - if it causes any problems, we can revert this change and investigate further.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9452)
<!-- Reviewable:end -->
2016-02-01 06:26:54 +05:30
Glenn Watson
814b94b6bd This updates gleam to a version that relies on OpenGL 3.3 (which is needed for the instancing changes in WR - see servo/gleam@fc7e28e).
Hopefully the build machines and everyone using Servo has GL 3.3 available on their machines - if it causes any problems, we can revert this change and investigate further.
2016-02-01 09:21:59 +10:00
Anthony Ramine
74b6d8b70d Bump clipboard to remove libc 0.1.z dependency 2016-01-31 23:46:47 +01:00
bors-servo
46b3eb6535 Auto merge of #9208 - jmr0:master-img, r=asajeffrey
Use image metadata to lay out images

Fixes #7047.

cc: @jdm

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9208)
<!-- Reviewable:end -->
2016-01-31 01:18:41 +05:30
bors-servo
f8bdda499e Auto merge of #9447 - mmatyas:aarch64_target_fix, r=larsbergstrom
Fix AArch64 target triplets

The AArch64 platform uses the `aarch64-linux-gnu` triplet.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9447)
<!-- Reviewable:end -->
2016-01-31 00:17:48 +05:30
bors-servo
0ada7f9c8e Auto merge of #9459 - shinglyu:testwebidl, r=Wafflespeanut
Add mach test-webidl command

I updated the `WebIDL.py` from latest mozilla-central. And add a `./mach test-webidl` command. For #9397

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9459)
<!-- Reviewable:end -->
2016-01-30 21:21:53 +05:30
Anthony Ramine
b5ba123e5a Let Servo use a non-broken expat-sys version 2016-01-30 15:48:50 +01:00
bors-servo
cd51ac742d Auto merge of #9464 - frewsxcv:is-empty, r=KiChjang
Prefer `is_empty` over `len` when option is available.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9464)
<!-- Reviewable:end -->
2016-01-30 09:36:01 +05:30
Corey Farwell
f62e83c848 Prefer is_empty over len when option is available. 2016-01-29 22:49:47 -05:00
bors-servo
ae67f94b80 Auto merge of #9456 - g-k:global-resize-event, r=KiChjang
Add onresize handler to GlobalEventHandlers

Rebased: https://github.com/servo/servo/pull/8006

Fixes #7996

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9456)
<!-- Reviewable:end -->
2016-01-30 08:00:40 +05:30
jmr0
167ffa7a95 adding image metadata notification capabilities to image cache 2016-01-29 20:54:49 -05:00
bors-servo
f0122efcec Auto merge of #9427 - nikkisquared:implement_main_fetch, r=jdm
Partial implementation of Main Fetch step

I started out with Step 11 of Main Fetch so I could test creating filtered responses, which broke my tests that compare the Fetch result to a message on a server. I realized that if I got the tests to work, I'd likely end up breaking them again with the next step of Main Fetch I added, so I went ahead and did as much of Main Fetch as I could figure out.

Some steps I'm sure I could implement, I just don't know how. Such as when the spec says to "wait for response", or how to implement a Runnable object (which iirc is what I need to use) to run everything after Step 8 in parallel.

The fetch tests are still not running correctly, but I sure it's because they're getting a filtered response which doesn't have the body of response. I'm not sure how to handle that, whether it means a change needed in the tests or in the Fetch code. Like always, I look forward to feedback on my work!

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9427)
<!-- Reviewable:end -->
2016-01-30 04:55:27 +05:30
Jeff Harrison
d4fe40089b Add onresize handler to GlobalEventHandlers
Refs: https://github.com/servo/servo/issues/7996
Rebased: https://github.com/servo/servo/pull/8006
2016-01-29 18:22:52 -05:00
bors-servo
d1ff330ba8 Auto merge of #9438 - pcwalton:root-margins, r=mbrubeck
Expand the block size of the root flow's margin box to the viewport size instead of expanding the block size of its border box.

Closes #9308.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9438)
<!-- Reviewable:end -->
2016-01-30 03:55:24 +05:30
Nikki
db8cc6eccf Partial implementation of Main Fetch step, including appropiate updates to tests 2016-01-29 12:40:54 -07:00
bors-servo
5e1f0495a9 Auto merge of #9170 - SimonSapin:multicol2, r=mbrubeck
Add CSS Multicolumn support with block fragmentation

![a](https://cloud.githubusercontent.com/assets/291359/12147538/bfb198ac-b499-11e5-9936-c54c93d0b1ed.png)

Includes/supersedes #8763.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9170)
<!-- Reviewable:end -->
2016-01-30 00:49:14 +05:30
bors-servo
dc223eb4c3 Auto merge of #9420 - shssoichiro:console-time, r=KiChjang
Implement console#time and console#timeEnd methods

Fixes #9325

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9420)
<!-- Reviewable:end -->
2016-01-29 23:47:52 +05:30
bors-servo
4bd295f0ed Auto merge of #9450 - jdm:ipcchannelupgrade, r=nox
Upgrade ipc-channel to diagnose #8961.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9450)
<!-- Reviewable:end -->
2016-01-29 21:30:20 +05:30
Shing Lyu
18b6817755 Add mach test-webidl command 2016-01-29 21:12:21 +08:00
bors-servo
0c5591a8ec Auto merge of #9407 - KiChjang:radio-node-list, r=nox
Implement RadioNodeList

I also had to implement the NamedGetter for HTMLFormControlsCollection as well, since that's the only consumer of RadioNodeList and I wanted to see which wpt test passes.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9407)
<!-- Reviewable:end -->
2016-01-29 14:04:16 +05:30
bors-servo
58369f22b2 Auto merge of #9454 - mbrubeck:glutinup, r=glennw
Update to servo-glutin 0.4.8

Fixes #9451. r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9454)
<!-- Reviewable:end -->
2016-01-29 09:22:08 +05:30
Keith Yeung
4229b68062 Implement NamedItem and NamedGetter on HTMLFormControlsCollection 2016-01-28 18:33:51 -05:00
bors-servo
1483a5de32 Auto merge of #9446 - glennw:zero-perspective, r=pcwalton
Fix panic when perspective property is zero.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9446)
<!-- Reviewable:end -->
2016-01-29 04:35:04 +05:30
Matt Brubeck
fc7e8431ce Update to servo-glutin 0.4.8 2016-01-28 14:09:35 -08:00
Josh Matthews
320d9db616 Upgrade ipc-channel to diagnose #8961. 2016-01-28 14:53:04 -05:00
Patrick Walton
777c46fd3f Expand the block size of the root flow's margin box to the viewport size
instead of expanding the block size of its border box.

Closes #9308.
2016-01-28 11:12:37 -08:00
bors-servo
562fe03e80 Auto merge of #9436 - fstr:issue-9403, r=KiChjang
Use .find().map() instead of .filter_map().next()

Patch for issue #9403

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9436)
<!-- Reviewable:end -->
2016-01-28 21:58:29 +05:30
Mathieu Hordesseaux
322b120f8a Implement SetNamedItem, SetNamedItemNS, SetAttributeNode and SetAttributeNodeNS 2016-01-28 12:35:44 +01:00
Mátyás Mustoha
9e69ca660c Fix AArch64 target triplets 2016-01-28 11:17:37 +01:00
Simon Sapin
47d918ca35 Document new return value of BlockFlow::assign_block_size_block_base 2016-01-28 09:43:14 +01:00