Commit graph

17633 commits

Author SHA1 Message Date
bors-servo
0baf665721 Auto merge of #11017 - mbrubeck:rustup3, r=larsberstrom
Update to Rust nightly 2016-04-29

Patch by @fabricedesre from #11010, updated to fix test-tidy and to not conflict with other PRs in the queue. r? @larsbergstrom

<!-- 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/11017)
<!-- Reviewable:end -->
2016-05-05 09:04:22 -07:00
Fabrice Desré
073bd6ad21 Update to Rust nightly 2016-04-29 2016-05-05 08:12:59 -07:00
bors-servo
15c5c81b1f Auto merge of #11020 - ConnorGBrewster:fix_button_formsubmitter_methods, r=KiChjang
Fix formsubmitter methods for buttons

Fixes #11015
Fixes #11014

<!-- 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/11020)
<!-- Reviewable:end -->
2016-05-05 07:48:40 -07:00
bors-servo
95a1f7668c Auto merge of #11023 - emilio:geckolib-up, r=bholley
geckolib: Update bindings to unlock nsStyleAutoArray

This uses the following bindgen commit:
64fe3d27be

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/11023)
<!-- Reviewable:end -->
2016-05-05 05:55:43 -07:00
bors-servo
38311b6fce Auto merge of #11021 - glennw:es3-android, r=larsbergstrom
Switch android GL context to ES3, now that WR has been updated.

<!-- 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/11021)
<!-- Reviewable:end -->
2016-05-05 04:30:52 -07:00
zakorgy
ed92f31ebc Remove BluetoothDevice members 2016-05-05 12:47:52 +02:00
bors-servo
fb5e00c294 Auto merge of #11011 - fabricedesre:friendly-time, r=jdm
Make build time display more human friendly

I mean, I like to convert seconds in my head, only almost every day ;)

<!-- 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/11011)
<!-- Reviewable:end -->
2016-05-05 03:27:31 -07:00
Mátyás Mustoha
0bcf35c5a8 Use NEON build flag on ARM and AArch64 2016-05-05 12:17:37 +02:00
Mátyás Mustoha
200af79c4b Improve build target argument handling 2016-05-05 12:17:36 +02:00
bors-servo
319f520e4d Auto merge of #11001 - heycam:alnp, r=bholley
Support most remaining length/percentage/none/auto-taking properties in geckolib

This is on top of #10999 so no need to review 8ae820b.

<!-- 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/11001)
<!-- Reviewable:end -->
2016-05-05 00:44:57 -07:00
askeing
3c56d41699 Checking the browsing_context before change title, and adding wpt test 2016-05-05 14:12:03 +08:00
Cameron McCormack
84ef0de160 Support max-{width,height} in geckolib. 2016-05-05 15:42:15 +10:00
Cameron McCormack
04f976bfb2 Support min-{width,height} and text-indent in geckolib. 2016-05-05 15:42:13 +10:00
Cameron McCormack
8d6a99b46e Support width and height in geckolib. 2016-05-05 15:42:12 +10:00
Michael Howell
d98431ee45 Use tag names in all user-agent selectors.
Fixes #11004
2016-05-04 21:47:21 -07:00
bors-servo
8bc4785bed Auto merge of #10999 - heycam:move-width-height, r=SimonSapin
Move width and height from Box to Position.

This helps with style struct alignment between Servo and Gecko.

<!-- 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/10999)
<!-- Reviewable:end -->
2016-05-04 19:52:25 -07:00
Cameron McCormack
580f58c146 Support top, right, bottom and left in geckolib. 2016-05-05 11:40:56 +10:00
Cameron McCormack
d5270427ff Move width and height from Box to Position.
This helps with style struct alignment between Servo and Gecko.
2016-05-05 11:40:54 +10:00
bors-servo
ec5f826d18 Auto merge of #10998 - bholley:font_weight_and_logging, r=mbrubeck
Geckolib: implement font-weight and logging support

<!-- 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/10998)
<!-- Reviewable:end -->
2016-05-04 18:37:26 -07:00
Keith Yeung
12a96f7194 Rename DOM manipulation messages to tasks 2016-05-04 21:01:26 -04:00
Keith Yeung
ce302c78c1 Rename ToggleEventRunnable to DetailsNotificationRunnable 2016-05-04 21:01:26 -04:00
Emilio Cobos Álvarez
0b0b675654
geckolib: Add pending pseudo-elements. 2016-05-05 02:18:47 +02:00
Emilio Cobos Álvarez
788915ca5d
geckolib: Update bindings to unlock nsStyleAutoArray
This uses the following bindgen commit:
64fe3d27be
2016-05-05 02:18:46 +02:00
bors-servo
c1252a40d9 Auto merge of #10993 - pcwalton:fix-animations, r=glennw
compositing: Perform animation-related compositing operations in WebRender.

I accidentally removed this code in #10936.

Fixes transitions.

r? @glennw

<!-- 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/10993)
<!-- Reviewable:end -->
2016-05-04 16:26:08 -07:00
Glenn Watson
2a5d846f74 Switch android GL context to ES3, now that WR has been updated. 2016-05-05 09:13:45 +10:00
Connor Brewster
169af6f35e fix formsubmitter methods for buttons 2016-05-04 16:39:41 -06:00
bors-servo
97dfcedbcf Auto merge of #11000 - pcwalton:wr-pipeline-relative-events, r=glennw
compositing: Send mouse events to the right pipeline when using WebRender.

Fixes mouse events in browser.html.

Requires servo/webrender_traits#47 and servo/webrender#272.

r? @glennw
cc @paulrouget

<!-- 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/11000)
<!-- Reviewable:end -->
2016-05-04 14:55:09 -07:00
Bobby Holley
f1f36efc96 Geckolib: Implement list-style-type. 2016-05-04 14:23:17 -07:00
bors-servo
35ba29355f Auto merge of #10691 - pcwalton:float-fixes, r=mbrubeck
layout: Fix float speculation with percentage inline sizes, rewrite vertical alignment, fix inline block ascent/descent computation, and fix absolute inline-block hypothetical boxes.

<!-- 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/10691)
<!-- Reviewable:end -->
2016-05-04 13:49:23 -07:00
Patrick Walton
dacc482ee9 tests: Fix the input_buttons_margins_a.html reftest.
It depends on the vertical alignment of button text, which is a spec
bug.
2016-05-04 13:43:45 -07:00
Patrick Walton
4227a698d0 tests: Add a reftest to check that floats with percentage widths
properly push text down.
2016-05-04 13:43:44 -07:00
Patrick Walton
86314bd7a3 tests: Update test expectations. 2016-05-04 13:43:43 -07:00
Patrick Walton
2bef5606bd layout: Minor whitespace cleanup. 2016-05-04 13:20:24 -07:00
Patrick Walton
d2511e33c6 layout: When printing out debug info for the float list, include
information about each float.
2016-05-04 13:20:23 -07:00
Patrick Walton
4ae6a68e35 layout: Fix non-vertical-align-correct wording in a comment. 2016-05-04 13:20:23 -07:00
Patrick Walton
0198a9dda8 layout: Include float information in flows' debug output. 2016-05-04 13:20:22 -07:00
Patrick Walton
9e1935c2ed layout: Make the hypothetical box for display: inline-block with
`position: absolute` inline per CSS 2.1 § 10.3.7.
2016-05-04 13:20:22 -07:00
Patrick Walton
b7c9674044 layout: Consider vertical alignment of fragments during line breaking.
This makes the line breaker determine the final block positions of each
line rather than doing it in a separate pass afterward. Not only does
this simplify the code, it makes `vertical-align` and float placement
interact properly.
2016-05-04 13:20:21 -07:00
Patrick Walton
04f05349b1 layout: Check flow descendants of inline block fragments to find their
baselines when aligning inline fragments per CSS 2.1 § 10.8.1.
2016-05-04 13:20:21 -07:00
Patrick Walton
8823f87276 layout: Don't pretend inline fragment sizes are zero when placing them
between floats.
2016-05-04 13:19:52 -07:00
Patrick Walton
94306cd183 layout: Speculate that the inline sizes of floats with percentage
inline sizes are nonzero.

This is a bit of a hack.
2016-05-04 13:19:51 -07:00
Olaf Buddenhagen
15066559a5 mach run --debug: Cleanup: Use nicer syntax in rust-gdb/rust-lldb check
Follow-up on f3cd5d2961 : after actually
reading a Python tutorial, I realised this can be handled in a more
elegant fashion :-)
2016-05-04 22:13:42 +02:00
Fabrice Desré
5b328623af Make build time display more human friendly 2016-05-04 12:58:53 -07:00
Patrick Walton
91907f563b compositing: Send mouse events to the right pipeline when using
WebRender.

Fixes mouse events in browser.html.

Requires servo/webrender_traits#47 and servo/webrender#272.
2016-05-04 11:40:15 -07:00
bors-servo
20fc8b3c8d Auto merge of #10932 - jdm:401, r=SimonSapin
Add the requesting URL to the 401 prompt. Only show the 401 prompt wh…

…en the WWW-Authenticate header is present.

Fixes #10912.

<!-- 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/10932)
<!-- Reviewable:end -->
2016-05-04 11:37:16 -07:00
bors-servo
b4f573db1a Auto merge of #10840 - ConnorGBrewster:window_alert, r=jdm
Implement alert dialogs

fix #10812

Implements alert dialogs using tinyfiledialogs

r? @jdm

<!-- 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/10840)
<!-- Reviewable:end -->
2016-05-04 09:10:40 -07:00
bors-servo
944a8dc25a Auto merge of #10632 - szeged:bluetooth-ipc, r=jdm
WebBluetooth impementation

Update the current WebBluetooth implementation.

<!-- 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/10632)
<!-- Reviewable:end -->
2016-05-04 08:06:06 -07:00
bors-servo
7a439e6237 Auto merge of #10997 - mbrubeck:openssl-1.0.1t, r=aneeshusa
Upgrade to OpenSSL 1.0.1t 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/10997)
<!-- Reviewable:end -->
2016-05-04 06:18:28 -07:00
bors-servo
29823cb378 Auto merge of #10934 - emilio:other-gecko-pseudos, r=bholley,mbrubeck
style: Add infrastructure to support lazy pseudo-elements

This builds on top of #10815, so it's really just the last commit the one that should be reviewed.

I tried to apply the new infrastructure to servo, but failed (for now?).

The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it.

r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added)

<!-- 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/10934)
<!-- Reviewable:end -->
2016-05-04 03:42:23 -07:00
Cameron McCormack
d2f6138fb3 Support text-transform in geckolib. 2016-05-04 18:17:58 +10:00