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
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
13e87b4479
geckolib: Correctly generate bitfields
2016-04-03 01:08:42 +02:00
Emilio Cobos Álvarez
fd79e7a20f
geckolib: Add correct repr() for enum declarations
...
This fixes the layout of `StyleAnimation`, though we probably want to
include AnimationEffectReadOnlyBinding.h.
The problem with that is that namespacing should be polished, or a lot
of types should be blacklisted, since the bindings define a few
repetitive names.
2016-04-03 01:08:41 +02:00
Emilio Cobos Álvarez
fcbfb4fbd2
geckolib: Define JS_DEBUG to fix generation, and fix escape
2016-04-03 01:08:32 +02:00
Adrian Utrilla
bd1448ab56
Added Uniform4iv and Uniform4i
2016-04-02 20:48:29 +02:00
Connor Brewster
3fd7634f54
webgl: finish, flush, detachShader, generateMipmap, Uniform1i
2016-04-02 12:31:47 -06:00
bors-servo
71428b5dda
Auto merge of #10358 - emilio:stylo-again, r=bholley
...
Stylo again
This fixes some bugs in our bindings, the most important one being that we didn't repr(C) opaque types.
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/10358 )
<!-- Reviewable:end -->
2016-04-02 10:30:35 +05:30
Emilio Cobos Álvarez
51ebdbd559
geckolib: Add dummy fields in the vtables to supress rustc warnings about zero-sized ctypes
...
This includes 6de91cbb8d
2016-04-02 05:02:00 +02:00
Bobby Holley
43e49705be
Implement GeckoComputedValues::do_cascade.
...
With this patch, we finally panic on an actual style struct
setter (set_text_rendering). Exciting!
2016-04-01 19:26:17 -07:00
Bobby Holley
899d6a9f64
Invoke the ctor/copy/dtor when managing gecko style structs from servo, and implement GeckoComputedValues::initial_values().
2016-04-01 19:26:16 -07:00
Bobby Holley
6db8dc218c
Regenerate bindings to include ctor/copy/dtor hooks.
2016-04-01 19:05:41 -07:00
Emilio Cobos Álvarez
e81b57c8da
geckolib: Update bindings to repr(C) opaques
2016-04-02 03:53:33 +02:00
Emilio Cobos Álvarez
02a045ac45
geckolib: Check bindgen status and run tests automatically
2016-04-02 03:43:53 +02:00
Emilio Cobos Álvarez
b50f760d86
geckolib: regenerate style structs with the latest gecko and bindgen
...
This solves the clone-large-arrays problem.
2016-04-02 03:43:31 +02:00
Patrick Walton
1b09168251
servo: Update WebRender.
...
Closes #10307 .
2016-04-01 12:10:35 -07:00
Bobby Holley
5a56591fc6
Tweak regen_style_structs.sh to make it work on mac, and regenerate the style struct bindings.
2016-03-31 23:26:53 -07:00
Bobby Holley
ce206dd4d6
Regenerate bindings.rs with new bindgen.
2016-03-31 23:07:02 -07: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
84a3dee67e
Auto merge of #10302 - emilio:webrender-up, r=nox
...
Update webrender to master
I'll rebase #10224 against it.
Sorry for the blocking of #10224 , I expected it to be reviewed way sooner, my fault for landing breaking changes.
r? @nox or @pcwalton
<!-- 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/10302 )
<!-- Reviewable:end -->
2016-03-31 21:51:06 +05:30
Emilio Cobos Álvarez
97f4ef28d4
Update webrender to master
...
I'll rebase #10224 against it.
2016-03-31 15:49:22 +02: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
Anthony Ramine
406273c641
Use serde in devtools
2016-03-31 11:07:18 +02:00
bors-servo
436f7316d9
Auto merge of #10297 - servo:the-offscreens, r=pcwalton
...
Update webrender with crates.io's offscreen_gl_context (fixes #10296 )
Crate webrender is bumped to the first commit in https://github.com/servo/webrender/pull/248 .
Crate webrender_traits is bumped to the merge of https://github.com/servo/webrender_traits/pull/21 .
<!-- 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/10297 )
<!-- Reviewable:end -->
2016-03-31 06:42:31 +05:30
Anthony Ramine
48b5d1d6be
Update webrender with crates.io's offscreen_gl_context ( fixes #10296 )
...
Crate webrender is bumped to the first commit in https://github.com/servo/webrender/pull/248 .
Crate webrender_traits is bumped to the merge of https://github.com/servo/webrender_traits/pull/21 .
2016-03-31 02:02:02 +02:00
Jan-Fabian Humann
d778562844
#10211 : Stop re-exporting webrender_traits WebGL types from canvas_traits
2016-03-30 20:05:16 +02:00
Bobby Holley
4959b69ba7
Use templates to implement the traits in geckolib.
2016-03-30 10:52:09 -07:00
Bobby Holley
d52299b17c
Move handling of additional-methods into the data structures.
2016-03-30 10:42:26 -07:00
Bobby Holley
0bdbf815f9
Take an initial pass of putting binding-generated gecko style structs inside GeckoComputedValues.
2016-03-30 10:33:57 -07:00
Ms2ger
8d202fd963
Update js ( fixes #10229 ).
2016-03-30 12:38:18 +02:00
bors-servo
21e4936f6a
Auto merge of #10276 - emilio:stylo-fixes-and-doc, r=bholley
...
Update struct bindings to take alignment into account
This takes alignment into account on non-translatable types, so the only
failing tests now are:
```
bindgen_test_layout_StyleAnimation
bindgen_test_layout_nsStyleSVG
```
This includes:
36f18c9603
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/10276 )
<!-- Reviewable:end -->
2016-03-30 11:55:55 +05:30
bors-servo
0ec96ac02a
Auto merge of #10277 - perlun:rename-tcomputedvalues-to-computedvalues, r=SimonSapin
...
Renamed TComputedValues to ComputedValues
This is a followup to #10210 , and a continuation of #10185 .
<!-- 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/10277 )
<!-- Reviewable:end -->
2016-03-30 11:04:57 +05:30
bors-servo
f6d60a716c
Auto merge of #10269 - jdm:cefwarn, r=Ms2ger
...
Fix some 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/10269 )
<!-- Reviewable:end -->
2016-03-30 08:44:37 +05:30
Per Lundberg
4cb4cc93e4
Renamed TComputedValues to ComputedValues
...
This is a followup to #10210 , and a continuation of #10185 .
2016-03-29 23:30:13 +03:00
Emilio Cobos Álvarez
5756463fa1
Update struct bindings to take layout into account
...
This takes alignment into account on non-translatable types, so the only
failing tests now are:
```
bindgen_test_layout_StyleAnimation
bindgen_test_layout_nsStyleSVG
```
This includes:
36f18c9603
2016-03-29 21:27:39 +02:00
Josh Matthews
aa8373b113
Update rust-mozjs to silence warnings.
2016-03-29 10:04:30 -04:00
Josh Matthews
03e3cb24b9
Remove CEF warnings about unused features and snake case names.
2016-03-29 10:03:10 -04:00
bors-servo
639fdd6b12
Auto merge of #10210 - perlun:rename-computedvalues-to-servocomputedvalues, r=SimonSapin
...
ComputedValues is now ServoComputedValues
This is the first part of #10185 . More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
<!-- 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/10210 )
<!-- Reviewable:end -->
2016-03-29 18:25:40 +05:30
bors-servo
aac2da75f4
Auto merge of #8641 - notriddle:no_headless, r=glennw
...
No more headless compositor. Just the normal one.
Fixes #8573
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8641 )
<!-- Reviewable:end -->
2016-03-29 12:42:01 +05:30
bors-servo
ddc57fe641
Auto merge of #10253 - eddyb:ipc-update, r=pcwalton
...
Update ipc-channel to fix leaks and spurious ENOBUFS.
Supersedes #10241 (fixes #10029 ).
Also fixes #9555 (hopefully for good).
<!-- 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/10253 )
<!-- Reviewable:end -->
2016-03-29 11:38:13 +05:30
Eduard Burtescu
a2eecaae82
Update ipc-channel to fix leaks and spurious ENOBUFS.
2016-03-29 03:59:05 +03:00
Anthony Ramine
e29beb10a8
Bump websocket to 0.16.1
2016-03-28 19:45:20 +02:00
Jussi Räsänen
0055d34067
Added current url to window if no <title> specified.
...
Fixes issue #9960 , adds current url to window title if title is not
specified.
2016-03-28 12:16:05 +03:00
Per Lundberg
c2ad084713
ComputedValues is now ServoComputedValues
...
This is the first part of #10185 . More to follow. I have built this locally with both servo and geckolib without errors; let's see if it succeeds on all platforms as well.
2016-03-27 10:55:43 +03:00
Emilio Cobos Álvarez
015c69db56
Update angle to trunk
...
Related angle PR: https://github.com/emilio/angle/pull/7
2016-03-26 23:38:07 +01:00
bors-servo
68a8085a2f
Auto merge of #10186 - matthiaskrgr:fix_10183, r=Manishearth
...
fix #10183 , forward navigation key should not require shift to work.
<!-- 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/10186 )
<!-- Reviewable:end -->
2016-03-27 01:44:54 +05:30
bors-servo
db13ec48b1
Auto merge of #10191 - servo:xml, r=KiChjang
...
Update xml5ever.
<!-- 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/10191 )
<!-- Reviewable:end -->
2016-03-26 23:22:24 +05:30
Alan Jeffrey
32c72f0925
Added ability to randomly kill pipelines to the constellation.
2016-03-26 09:11:28 -05:00
bors-servo
bed91b3334
Auto merge of #10176 - mbrubeck:selection-range, r=pcwalton
...
Highlight selected text in input fields
Fixes #9993 . This does not yet allow stylesheets to set the selection colors; instead it uses a hard-coded orange background and white foreground.
r? @pcwalton
<!-- 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/10176 )
<!-- Reviewable:end -->
2016-03-26 08:16:20 +05:30
Emilio Cobos Álvarez
0a609e81c7
geckolib: Update docs to point to the bindings file.
2016-03-25 18:55:58 +01:00