Lars Bergstrom
1abe64c8bc
Do AppVeyor builds on the try branch
2016-04-05 10:29:38 -05:00
bors-servo
a8ed5c3fc6
Auto merge of #10074 - zakorgy:tidyfix, r=Wafflespeanut
...
Fix ./mach test-tidy --faster issue
issue #9778
<!-- 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/10074 )
<!-- Reviewable:end -->
2016-04-05 20:04:54 +05:30
Stjepan Glavina
7b38f289b0
Implement URL.searchParams
...
Spec: https://url.spec.whatwg.org/#dom-url-searchparams
2016-04-05 16:10:05 +02:00
Ms2ger
5fc5891e04
Rewrite scrollingElement.html to fail reliably when URL.createObjectURL is not implemented.
2016-04-05 15:15:46 +02:00
bors-servo
d1e8b79583
Auto merge of #10399 - jdm:pb, r=jdm
...
Private browsing - Initial steps
Rebase of #10160 .
<!-- 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/10399 )
<!-- Reviewable:end -->
2016-04-05 17:41:11 +05:30
Paul Rouget
0d529274a4
Ignore ForceTouchEvent.webidl
2016-04-05 18:42:29 +08:00
Paul Rouget
df6e7394d4
forcetouch events support
...
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
2016-04-05 18:42:28 +08:00
bors-servo
17ffc6cf71
Auto merge of #10362 - amarant:10348-string-preferences, r=jdm
...
Issue #10348 Implement StringMozPreference, string preferences, WPT test
I'm not exactly sure of the wanted semantics with boolean values.
Fixes #10348 .
<!-- 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/10362 )
<!-- Reviewable:end -->
2016-04-05 16:06:26 +05:30
bors-servo
05a4dcdc3b
Auto merge of #10329 - Manishearth:skip-backtrace, r=asajeffrey
...
Skip printing the backtrace for RecvError/SendError
We currently get tons of useless backtraces clogging up the output when we have a panic cascade. This adds a handler that outputs a single line when a thread panics due to a sender or receiver hanging up, since this is almost always due to a panic cascade.
We could add a commandline arg that gets us back the old behavior, though I'm not sure if this is necessary.
r? @asajeffrey
<!-- 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/10329 )
<!-- Reviewable:end -->
2016-04-05 13:02:01 +05:30
zakorgyula
fad0b369a7
Fix ./mach test-tidy --faster issue
...
issue number: 9778
2016-04-05 07:29:34 +02:00
Mauricio Collares
c3d6bfc3df
Move some CSS properties from Animation to Box and delete Animation
2016-04-05 00:28:19 -03:00
Mauricio Collares
d8222dd63d
Move CSS line-height property from InheritedBox to InheritedText
2016-04-05 00:28:18 -03:00
Mauricio Collares
bbc5c51be8
Move CSS flex-direction property from Flex to Position and delete Flex
2016-04-05 00:28:08 -03:00
Mauricio Collares
aae8919da4
Move some CSS properties from Box to Position
2016-04-05 00:21:49 -03:00
Mauricio Collares
281e385ab2
Rename PositionOffsets to Position
2016-04-05 00:21:48 -03:00
Mauricio Collares
841aef06e0
Move CSS content property from Box to Counters
2016-04-05 00:21:47 -03:00
Mauricio Collares
8c8090b5cd
Move CSS text-shadow property from Effects to InheritedText
2016-04-05 00:21:46 -03:00
Mauricio Collares
347cf0580c
Move CSS text-overflow property from InheritedText to Text
2016-04-05 00:21:39 -03:00
bors-servo
95c410830c
Auto merge of #10356 - Ar13mis:add_uniform2f, r=emilio
...
WebGL: add Uniform2f
Currently blocked on servo/webrender_traits#30
<!-- 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/10356 )
<!-- Reviewable:end -->
2016-04-05 07:30:42 +05:30
Manish Goregaokar
a2c82a03ba
Add option for printing full backtraces
2016-04-05 06:23:17 +05:30
Mauricio Collares
4f0558e84f
Move CSS image-rendering property from Effects to InheritedBox
2016-04-04 21:36:51 -03:00
Alan Jeffrey
8cc04913f7
Added --soft-fail option.
2016-04-04 19:23:06 -05:00
bors-servo
863c905025
Auto merge of #10325 - stjepang:pref-disable-jit, r=mbrubeck
...
Add preferences to enable/disable the JITs
When creating a runtime (script.rs), we check prefs and then enable or
disable the JITs (Baseline and Ion) accordingly.
Closes #10278 .
<!-- 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/10325 )
<!-- Reviewable:end -->
2016-04-05 05:50:13 +05:30
bors-servo
d6c5fd8dab
Auto merge of #10400 - jdm:block, r=SimonSapin
...
Update block package to reduce 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/10400 )
<!-- Reviewable:end -->
2016-04-05 04:52:24 +05:30
Ar13mis
86b1f4249a
Add Uniform2f
2016-04-04 16:00:22 -06:00
Stjepan Glavina
3ad7119b08
Add preferences to enable/disable the JITs
...
When creating a runtime (script.rs), we check prefs and then enable or
disable the JITs (Baseline and Ion).
2016-04-04 22:42:45 +02:00
bors-servo
b568b72d76
Auto merge of #10391 - autrilla:inline-content-changed, r=Ms2ger
...
Inlined content_changed
cc @Ms2ger
<!-- 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/10391 )
<!-- Reviewable:end -->
2016-04-05 01:37:55 +05:30
Josh Matthews
c99b339376
Update block package to reduce warnings.
2016-04-04 15:29:57 -04:00
dhaval0603
af64a888e6
Private browsing - Initial steps
2016-04-04 15:22:38 -04:00
bors-servo
8dd24fa783
Auto merge of #10377 - emilio:geckolib, r=bholley
...
geckolib: All bindings aligning properly!
So the following PR includes bitfield support and correct `#[repr(..)]` for enum declarations (even though I was forced to add a dummy variant in order for `rustc` to be happy).
So... **That makes all of our style structs align correctly**!
The only failing test is `nsDataHashTable`, but you know, that test is ill-formed because of it being an opaque type with type parameters.
BTW, just landed on bindgen 7ee7bae788
, so you can add `-raw-line "use gecko_style_structs::*;"` in `regen_bindings.sh` and stop relying on manual hacks.
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/10377 )
<!-- Reviewable:end -->
2016-04-05 00:38:15 +05:30
bors-servo
a29da7b48e
Auto merge of #10365 - emilio:warnings, r=Wafflespeanut
...
servo: Clean up unused variables and imports
<!-- 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/10365 )
<!-- Reviewable:end -->
2016-04-04 23:39:31 +05:30
bors-servo
2477cfc9b4
Auto merge of #10330 - danlrobertson:flex-axes, r=SimonSapin
...
Compute available main and cross size of flex containers
Compute the available main and cross size of flex containers, and add a helper for min/main constraints. Currently, this should only impact inline sizing. I wanted to get some feedback before I made more changes. Will probably need to be rebased if #10178 is merged first or visa versa.
Specs:
https://drafts.csswg.org/css-flexbox/#line-sizing
https://drafts.csswg.org/css2/visudet.html#min-max-widths
https://drafts.csswg.org/css2/visudet.html#min-max-heights
<!-- 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/10330 )
<!-- Reviewable:end -->
2016-04-04 21:18:45 +05:30
bors-servo
a3b55d68a8
Auto merge of #10359 - bholley:style_struct_management, r=SimonSapin
...
Implement construction, destruction, and copying of gecko style structs
This requires some new machinery on the gecko side, which I'll get up in bugzilla shortly.
<!-- 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/10359 )
<!-- Reviewable:end -->
2016-04-04 20:11:29 +05:30
bors-servo
ca3d120f4a
Auto merge of #10372 - dzbarsky:rmAttrNS, r=Ms2ger
...
Implement nodeName on Attr
<!-- 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/10372 )
<!-- Reviewable:end -->
2016-04-04 18:12:32 +05:30
bors-servo
3b2a1a3c47
Auto merge of #10354 - perlun:implement-missing-html-script-element-attributes, r=Ms2ger
...
HTMLScriptElement: Added missing DOM properties
This should sort out most (all?) of the ones pointed out in #10227 .
/cc @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/10354 )
<!-- Reviewable:end -->
2016-04-04 17:21:22 +05:30
bors-servo
a9eb08dbaa
Auto merge of #10344 - servo:wpt-20160401, r=Ms2ger
...
Update web-platform-tests to revision 15ad8eaadd91425cc9331b2e658d4c2796ae5ad8.
Fixes #10375 .
<!-- 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/10344 )
<!-- Reviewable:end -->
2016-04-04 16:17:43 +05:30
Adrian Utrilla
bc1b8ef4c6
Inlined content_changed
2016-04-04 11:33:37 +02:00
Ms2ger
dba68269e0
Update web-platform-tests to revision 15ad8eaadd91425cc9331b2e658d4c2796ae5ad8
2016-04-04 09:43:55 +02:00
bors-servo
241518a7d2
Auto merge of #10034 - rilut:implement-elementsfrompoint, r=emilio
...
Implement Document#elementsFromPoint
Fixes #9859 .
I'm trying to implement Document#elementsFromPoint, which I need to reuse the `get_nodes_under_mouse` and `mouse_over` function which have been removed a days ago in #9715 . So I added it back while I'm not sure if my implementation is correct. Any advice will be greatly appreciated.
<!-- 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/10034 )
<!-- Reviewable:end -->
2016-04-04 12:48:39 +05:30
Per Lundberg
99f473631a
HTMLScriptElement: Added missing DOM properties
...
This should sort out most (all?) of the ones pointed out in #10227 .
(Amended with suggested fixes in PR #10354.)
2016-04-03 22:33:57 +03:00
Arnaud Marant
95c077af46
Issue #10348 Implement StringMozPreference, string preferences, WPT tests
...
I'm not exactly sure of the wanted semantics with boolean values.
2016-04-03 21:28:17 +02:00
David Zbarsky
8cbcdfb761
Implement nodeName on Attr
2016-04-03 10:27:41 -07:00
bors-servo
d35ae3beb7
Auto merge of #9972 - dagnir:xhr-data, r=KiChjang
...
Xhr data
Builds on existing work by @emosenkis. Fixes #8015 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9972 )
<!-- Reviewable:end -->
2016-04-03 20:45:36 +05:30
Till Schneidereit
410924d94b
Snap scrolling to major axis of movement
...
This is what Safari does, and it leads to much better behavior, in particular wrt overscrolling. It does cause a staircase effect when scrolling diagonally, which again Safari has, too. I don't think that bad, because it should occur very rarely in practice.
Fixes #10341
2016-04-03 17:02:33 +02:00
Rizky Luthfianto
07584b9f29
Implement Document#elementsFromPoint
2016-04-03 21:44:01 +07:00
bors-servo
f6c2924936
Auto merge of #10360 - mbrubeck:die-opt, r=emilio
...
Remove unused -Z dump-display-list-optimized flag
<!-- 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/10360 )
<!-- Reviewable:end -->
2016-04-03 18:35:01 +05:30
bors-servo
88d29e537c
Auto merge of #10369 - autrilla:Uniform4iv, r=emilio
...
Issue #10368 : Implemented Uniform4iv and Uniform4i
Uniform4iv can make use of Uniform4i, so I implemented both.
<!-- 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/10369 )
<!-- Reviewable:end -->
2016-04-03 11:48:47 +05:30
Emilio Cobos Álvarez
70229b1720
webgl: Add test for WebGL vertex attributes out of bounds.
2016-04-03 01:22:52 +02:00
Emilio Cobos Álvarez
ee8ecd9299
webgl: tests: Fix webgl triangle test
...
It was giving a ton of whitespace errors, and I don't know if it's due
to nodeValue or ANGLE...
2016-04-03 01:21:56 +02:00
Emilio Cobos Álvarez
6fcc03c965
webgl: Make the api return the context limits and use them for validations
...
This allows keeping the VertexAttrib* calls asynchronous.
Another option would be to do the validation in the apply() function,
but that'd require us passing an unnecessary channel around and add
extra synchronization.
The counterpart of this is that it has to be updated when the context
changes, but that's less problem.
2016-04-03 01:21:56 +02:00