Commit graph

4553 commits

Author SHA1 Message Date
Cameron McCormack
01c42693d4 Add Servo_InheritComputedValues. 2016-05-06 17:23:30 +10:00
bors-servo
0558687d71 Auto merge of #11043 - heycam:attr, r=bholley
Pass in string lengths to Gecko_GetAttrAsUTF8.

<!-- 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/11043)
<!-- Reviewable:end -->
2016-05-05 23:51:54 -07:00
bors-servo
6c326cd372 Auto merge of #11034 - mbrubeck:always-be-updating, r=SimonSapin
Update libc, url, image, app_units

<!-- 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/11034)
<!-- Reviewable:end -->
2016-05-05 19:05:55 -07:00
Cameron McCormack
603a19929c Pass in string lengths to Gecko_GetAttrAsUTF8. 2016-05-06 11:58:53 +10:00
bors-servo
b29ae6383a Auto merge of #11018 - bholley:list_style_type, r=mbrubeck
Geckolib: Implement list-style-type

Corresponding Gecko patch: https://bugzilla.mozilla.org/show_bug.cgi?id=1269933

<!-- 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/11018)
<!-- Reviewable:end -->
2016-05-05 12:23:37 -07:00
Matt Brubeck
f7c82e639e Update libc, url, image, app_units 2016-05-05 11:12:24 -07:00
bors-servo
52adcf38ac Auto merge of #11002 - heycam:text-transform, r=bholley
Support text-transform in geckolib.

Needs https://bugzilla.mozilla.org/show_bug.cgi?id=1270001.  I just edited gecko_style_structs.rs manually.

<!-- 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/11002)
<!-- Reviewable:end -->
2016-05-05 11:03:54 -07:00
Fabrice Desré
073bd6ad21 Update to Rust nightly 2016-04-29 2016-05-05 08:12:59 -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
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
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
Cameron McCormack
580f58c146 Support top, right, bottom and left in geckolib. 2016-05-05 11:40:56 +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
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
Glenn Watson
2a5d846f74 Switch android GL context to ES3, now that WR has been updated. 2016-05-05 09:13:45 +10:00
Bobby Holley
f1f36efc96 Geckolib: Implement list-style-type. 2016-05-04 14:23:17 -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
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
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
bors-servo
1a1ea30f8c Auto merge of #10959 - heycam:color, r=bholley
Support color-typed properties in geckolib

This is on top of https://github.com/servo/servo/pull/10957 though I'm not sure how to make that PR's commits not appear in this one.

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/10959)
<!-- Reviewable:end -->
2016-05-04 01:00:22 -07:00
Connor Brewster
dc85be4be5 Implement alert dialogs
Fixed conflict

Fixed merge issue

Finished implementation

Disable tinyfiledialogs on Windows

addressed comments

Use ancestor's SubpageId
Move display alert from method to function
Add extra test for nested iframes

Addressed comments

Updated tinyfiledialogs
2016-05-03 22:09:35 -06:00
Bobby Holley
d4aa0288d6 Enable standard logging for geckolib. 2016-05-03 17:40:05 -07:00
Bobby Holley
aa0e3e25e2 Add a runtime-wide initialization hook for Geckolib. 2016-05-03 17:40:04 -07:00
Bobby Holley
9fdb791e93 Geckolib: Implement font-weight. 2016-05-03 17:40:03 -07:00
Cameron McCormack
d4e36556db Support color in geckolib. 2016-05-04 09:44:17 +10:00
Cameron McCormack
66a3769446 Support skip_longhands="*" on geckolib struct trait definitions. 2016-05-04 09:44:15 +10:00
Cameron McCormack
d8969e2447 Support {background,outline}-color in geckolib. 2016-05-04 09:44:14 +10:00
Cameron McCormack
330c47f78e Support {flood,lighting,stop,text-decoration}-color in geckolib. 2016-05-04 09:44:12 +10:00
Cameron McCormack
174680f98c Support border-*-color in geckolib. 2016-05-04 09:44:11 +10:00
Cameron McCormack
952459c0d4 Support color-typed properties in geckolib. 2016-05-04 09:44:10 +10:00
bors-servo
2c69278067 Auto merge of #10756 - servo:smup, r=Ms2ger
Update SpiderMonkey

<!-- 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/10756)
<!-- Reviewable:end -->
2016-05-03 15:46:40 -07:00
Emilio Cobos Álvarez
0f7b70c0b7
geckolib: Implement Servo_GetComputedValuesForPseudoElement 2016-05-04 00:34:10 +02:00
Emilio Cobos Álvarez
028f9b6cd2
style: layout: Allow a lazy pseudo-element implementation in Servo. 2016-05-04 00:33:58 +02:00
Emilio Cobos Álvarez
18c1fee3c7
geckolib: Make anon-box PEs an ADT. 2016-05-03 19:01:54 +02:00
Emilio Cobos Álvarez
9caaa6004e
style: Support lazy pseudo-elements
These can't be supported in Servo as of right now, because I'm not
totally sure the accesses that should be done in layout would be
thread-safe.

It can be revisited later though.
2016-05-03 19:01:54 +02:00
Anthony Ramine
eb94f1a918 Update SpiderMonkey 2016-05-03 18:36:11 +02:00
zakorgy
f679985090 Update dependencies 2016-05-03 11:36:33 +02:00
Attila Dusnoki
ecf4c942da BluetoothThread refactor 2016-05-03 11:35:33 +02:00
bors-servo
ddada69acb Auto merge of #10957 - heycam:number, r=bholley
Support plain number-typed properties 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/10957)
<!-- Reviewable:end -->
2016-05-02 21:58:17 -07:00
Cameron McCormack
3255bb809e Add a predefined Number type. 2016-05-03 10:01:30 +10:00
Cameron McCormack
0f2dc53b0a Factor out opacity property to use an Opacity type. 2016-05-03 10:01:28 +10:00
Cameron McCormack
d69763b0c1 Generate geckolib setters for properties with simple predefined types. 2016-05-03 10:01:28 +10:00
Matt Brubeck
6379243485 Remove unused dependencies 2016-05-02 16:33:56 -07:00
Matt Brubeck
a2b0585ffd Update lazy_static, selectors, string_cache, futf, quickersort 2016-05-02 16:05:31 -07:00