bors-servo
0ff8adb097
Auto merge of #9811 - paulrouget:forceTouch, r=mbrubeck
...
forcetouch events
https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
Not sure how we want to land that yet. Maybe reproduce the webkit events (as in this PR), or as touch/mousemouse events.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9811 )
<!-- Reviewable:end -->
2016-04-05 21:07:05 +05:30
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
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:
- 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
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
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
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
dhaval0603
af64a888e6
Private browsing - Initial steps
2016-04-04 15:22:38 -04:00
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
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
Adrian Utrilla
bc1b8ef4c6
Inlined content_changed
2016-04-04 11:33:37 +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
Rizky Luthfianto
07584b9f29
Implement Document#elementsFromPoint
2016-04-03 21:44:01 +07:00
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
Adrian Utrilla
bd1448ab56
Added Uniform4iv and Uniform4i
2016-04-02 20:48:29 +02:00
bors-servo
8b32e63db8
Auto merge of #10215 - ConnorGBrewster:webgl_finish, r=emilio
...
WebGL: Finish, Flush, DetachShader, GenerateMipmap
Implements #10212 and #10213
r? @emilio
<!-- 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/10215 )
<!-- Reviewable:end -->
2016-04-03 00:08:47 +05:30
Connor Brewster
3fd7634f54
webgl: finish, flush, detachShader, generateMipmap, Uniform1i
2016-04-02 12:31:47 -06:00
bors-servo
c0bfcc5155
Auto merge of #10350 - mbrubeck:selection-chars, r=SimonSapin
...
Fix some char/byte bugs in textinput
Fixes #9569 . r? @SimonSapin or @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/10350 )
<!-- Reviewable:end -->
2016-04-02 20:53:26 +05:30
Matt Brubeck
deca979967
TextInput::max_length should be in code units, not bytes
2016-04-02 07:33:53 -07:00
Emilio Cobos Álvarez
a57aa561c1
servo: Clean up unused variables and imports
2016-04-02 16:30:18 +02:00
bors-servo
0489280ded
Auto merge of #10347 - mbrubeck:incremental-selection, r=pcwalton
...
Fix incremental reflow of text selection changes
r? @emilio or @pcwalton
CC @paulrouget: This fixes a bug in the browser.html URL bar auto-completion.
<!-- 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/10347 )
<!-- Reviewable:end -->
2016-04-02 19:54:50 +05:30
bors-servo
39d6b7988d
Auto merge of #10333 - frewsxcv:textarea-links, r=mbrubeck
...
Add a spec links for <textarea> magic number constants.
<!-- 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/10333 )
<!-- Reviewable:end -->
2016-04-02 16:34:39 +05:30
bors-servo
0760e56bb6
Auto merge of #10327 - frewsxcv:get-prefix, r=ms2ger
...
Remove `get_*` on getters as per RFC 0344.
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis
https://github.com/servo/servo/issues/6224
<!-- 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/10327 )
<!-- Reviewable:end -->
2016-04-02 14:19:39 +05:30
Matt Brubeck
776aae6399
Fix incremental reflow of text selection changes
...
Also replace force_relayout methods with direct Node::dirty calls, for
clarity.
2016-04-01 22:00:05 -07:00
Eitan Mosenkis
7d828a8193
Replace tab with spaces.
2016-04-01 16:15:55 -10:00
Eitan Mosenkis
50af352605
Fix compile errors.
2016-04-01 16:15:55 -10:00
Eitan Mosenkis
e546637d91
Restrict about to about:blank and data to GET
2016-04-01 16:15:55 -10:00
Eitan Mosenkis
9d6d1c66b8
Replace tabs with spaces.
2016-04-01 16:15:54 -10:00
Eitan Mosenkis
ae56187d48
Allow XHR to fetch about: and data: URLs.
...
This was intended to fix #8015 but the tests are all still failing as of
this commit.
2016-04-01 16:15:54 -10:00
Matt Brubeck
29fb3f1150
Find the correct column index in adjust_vertical
2016-04-01 14:00:50 -07:00
Matt Brubeck
e17ed2e6b0
Add/correct documentation comments in textinput
2016-04-01 14:00:49 -07:00
Matt Brubeck
d7e6f8b0f1
Use correct byte indices in replace_selection
2016-04-01 13:54:02 -07:00
bors-servo
6056b16a77
Auto merge of #10312 - servo:ScriptPort, r=Ms2ger
...
Report errors from ScriptPort trait methods.
<!-- 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/10312 )
<!-- Reviewable:end -->
2016-04-02 01:04:31 +05:30
bors-servo
7d79df4a05
Auto merge of #10304 - Ms2ger:cookie-averse, r=nox
...
Implement Document::cookie correctly for cookie-averse documents.
<!-- 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/10304 )
<!-- Reviewable:end -->
2016-04-01 22:51:51 +05:30
Corey Farwell
ef3c830e61
Add a spec links for <textarea> magic number constants.
2016-03-31 23:42:03 -04:00
Corey Farwell
bf4db405e4
Remove get_*
on getters as per RFC 0344.
...
https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#gettersetter-apis
https://github.com/servo/servo/issues/6224
2016-03-31 21:12:38 -04:00
bors-servo
f335586ff5
Auto merge of #10292 - jdm:cssom, r=jdm
...
Initial steps for CSSOM
Squashed and rebased #10133 .
<!-- 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/10292 )
<!-- Reviewable:end -->
2016-04-01 04:29:08 +05:30
Mohamed Albashir
b7a57ef487
Initial steps for CSSOM API
2016-03-31 18:17:30 -04:00
bors-servo
524a004e77
Auto merge of #10291 - jfhumann:10211, r=emilio
...
<!-- 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/10291 )
<!-- Reviewable:end -->
2016-04-01 01:57:20 +05:30
bors-servo
acaac52be7
Auto merge of #10288 - jdm:dictseq, r=nox
...
Enable dictionaries in WebIDL sequences. Fixes #10282 .
r? @nox
<!-- 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/10288 )
<!-- Reviewable:end -->
2016-04-01 00:28:13 +05:30
Josh Matthews
2cfedc7288
Report errors from ScriptPort trait methods.
2016-03-31 17:14:23 +02:00
Connor Brewster
f727444a14
Added a mapping between nodes and stylesheets
...
Changed stylesheets into_iter to iter
2016-03-31 08:22:00 -06:00
bors-servo
3c00aff546
Auto merge of #10285 - nox:devtools-serde, r=Ms2ger
...
Use serde in devtools
<!-- 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/10285 )
<!-- Reviewable:end -->
2016-03-31 18:36:13 +05:30