bors-servo
ac566e90a2
Auto merge of #6485 - Ms2ger:thread_local, r=metajack
...
Remove the unused thread_local feature gate.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6485 )
<!-- Reviewable:end -->
2015-06-26 18:26:51 -06:00
bors-servo
ff97944121
Auto merge of #6484 - Ms2ger:raw-cef, r=metajack
...
Stop using deprecated boxed::into_raw in cef.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6484 )
<!-- Reviewable:end -->
2015-06-26 17:50:42 -06:00
Ms2ger
f8ae884ab5
Stop using deprecated boxed::into_raw in cef.
2015-06-26 23:00:07 +02:00
Ms2ger
9330c7420f
Remove the unused thread_local feature gate.
2015-06-26 22:57:37 +02:00
bors-servo
c331db1623
Auto merge of #6468 - servo:update-selectors, r=Ms2ger
...
Update rust-selectors
r? @Ms2ger
https://github.com/servo/rust-selectors/pull/33
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6468 )
<!-- Reviewable:end -->
2015-06-26 14:50:01 -06:00
Simon Sapin
9e1a674b16
Update rust-selectors
2015-06-26 12:35:08 -07:00
Ms2ger
d7c0d65cc4
Stop using env::set_exit_code.
2015-06-26 19:46:16 +02:00
Simon Sapin
34bfa16517
Update to zero-copy* HTML parsing
...
html5ever now uses the Tendril string type to minimize copying internally,
but Servo still converts from/to `String` at the boundary
(which involves copying).
2015-06-25 20:40:38 -07:00
Ms2ger
73a7e92bfd
Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0.
2015-06-25 20:02:36 +02:00
Glenn Watson
39ddbbb0e1
Implement enough of 3d transforms spec to run the CSS FPS demo.
2015-06-23 14:10:44 +10:00
bors-servo
7e0f186998
Auto merge of #6373 - robertknight:gh5660-rob-x11_scroll_speed, r=pcwalton
...
Use a faster scroll speed under X11
Platforms may report scroll deltas either in
chunks/lines/rows or pixels, depending on the
platform API and device capabilities.
If the platform reports a line/chunk-based delta
then the application needs to convert the delta
into a suitable number of pixels. Apple's documentation for example states
that the app should interpret the delta as a number of lines or rows to scroll,
depending on the type of view.
This commit just hardcodes it to 57 as
a starting point which matches the value that
Firefox calculates as the max char height
for the root frame on my system.
This depends on this Glutin PR: https://github.com/tomaka/glutin/pull/483
Fixes #5660
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6373 )
<!-- Reviewable:end -->
2015-06-22 13:46:56 -06:00
Robert Knight
658df60477
Use a faster scroll speed under X11
...
Platforms may report scroll deltas either in
chunks/lines/rows or pixels, depending on the
platform API and device capabilities.
If the platform reports a line/chunk-based delta
then the application needs to convert the delta
into a suitable number of pixels.
This commit just hardcodes it to 57 as
a starting point which matches the value that
Firefox calculates as the max char height
for the root frame on my system.
Fixes #5660
2015-06-22 20:09:52 +01:00
bors-servo
d85afb744a
Auto merge of #6440 - Ms2ger:finalizeInBackground, r=metajack
...
Update rust-mozjs.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6440 )
<!-- Reviewable:end -->
2015-06-21 23:40:46 -06:00
bors-servo
c119b59e82
Auto merge of #6427 - servo:selector-traits-refactor, r=Ms2ger
...
Update rust-selectors
https://github.com/servo/rust-selectors/pull/30
r? @Ms2ger
This conflicts with the SpiderMonkey upgrade #6150 . I’m happy to wait until that lands and rebase.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6427 )
<!-- Reviewable:end -->
2015-06-21 11:12:07 -06:00
Ms2ger
2afbf7f5ed
Update rust-mozjs.
2015-06-21 11:46:34 +02:00
Ms2ger
da53a9c301
Return the result of cef_string_utf16_set in string_map.
2015-06-20 19:13:42 +02:00
Ms2ger
49e0442459
Use slice::from_raw_parts to convert cef_string_t to &[u16].
2015-06-20 14:04:32 +02:00
Ms2ger
26964ff087
Use nth rather than enumerating in cef_string_map_{key,value}.
2015-06-20 14:04:29 +02:00
Ms2ger
01df802fb2
Remove the no-op string_map_to_treemap function.
2015-06-20 14:04:27 +02:00
Ms2ger
0f65c04fe9
Use Box and boxed functions to manage cef_string_map_t memory.
2015-06-20 14:04:25 +02:00
Ms2ger
577407fe68
Improve indentation in CEF strings.
2015-06-20 14:04:24 +02:00
Ms2ger
893fc18c71
Remove unnecessary transmutes from CEF strings.
2015-06-20 14:04:22 +02:00
Ms2ger
2c032edc16
Remove unnecessary transmute in cef_string_list_value.
2015-06-20 14:04:20 +02:00
Ms2ger
4a7c5c8042
Remove no-op string_list_to_vec function.
2015-06-20 14:04:18 +02:00
Ms2ger
2248e1710a
Use Box and boxed functions to manage cef_string_list_t memory.
2015-06-20 14:04:16 +02:00
Ms2ger
611a0cd117
Assign None into CEF string drop fields rather than transmuting a null pointer.
2015-06-20 14:04:14 +02:00
Ms2ger
d7dc85d80e
Use slice::from_raw_parts to simplify command_line_init.
2015-06-20 13:33:25 +02:00
Simon Sapin
fc25397c91
Update rust-selectors
...
https://github.com/servo/rust-selectors/pull/30
2015-06-20 07:05:43 +02:00
Michael Wu
675267b782
Upgrade to SM 39
2015-06-19 18:42:48 -04:00
Glenn Watson
edbe89a079
Update gleam to 0.1.1
2015-06-19 13:53:13 +10:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
bors-servo
7355bf1061
Auto merge of #6412 - metajack:cleanup-dupe-gleam, r=glennw
...
Remove duplicate package
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6412 )
<!-- Reviewable:end -->
2015-06-17 21:56:38 -06:00
Jack Moffitt
c33fd78207
Remove duplicate package
2015-06-17 16:17:52 -06:00
Hyowon Kim
2e230bdb93
Implement fill and stroke functions for all pattern types and check the zero size gradient.
2015-06-17 09:46:38 +09:00
Simon Sapin
0229de822b
Use string-cache from crates.io
2015-06-16 00:27:50 +02:00
Simon Sapin
dc1db5187e
Use html5ever from crates.io
2015-06-16 00:18:20 +02:00
bors-servo
5d89235c56
Auto merge of #6395 - SimonSapin:crates.io-cgl-gleam, r=metajack
...
r? @metajack
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6395 )
<!-- Reviewable:end -->
2015-06-15 15:08:43 -06:00
Simon Sapin
a80a12e41e
Use cgl and gleam from crates.io
2015-06-15 23:00:33 +02:00
bors-servo
d6263c9b6e
Auto merge of #6306 - metajack:shared-target-dir, r=mbrubeck
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by
25%. When rust-lang/cargo#497 is fixed, this speedup will increase
dramatically.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6306 )
<!-- Reviewable:end -->
2015-06-15 13:08:14 -06:00
bors-servo
bb39e835f1
Auto merge of #6393 - Ms2ger:cef-string-multimap, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6393 )
<!-- Reviewable:end -->
2015-06-15 12:25:11 -06:00
Jack Moffitt
a0237085c6
Use Cargo's target directory sharing.
...
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
bors-servo
67b121c0b8
Auto merge of #6377 - servo:rustup_20140614, r=SimonSapin
...
See #6376
r? @Ms2ger
Snaps don't exist yet, putting up the @larsbergstrom signal. The snap need not exactly match this commit, anything in the vicinity, or just master, should work really. (yay stability)
There's no particular reason behind this rustup except that I want to keep Servo running on almost-master as much as possible.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6377 )
<!-- Reviewable:end -->
2015-06-15 10:33:14 -06:00
Ms2ger
6ee8a1e476
Use pop() better in cef_string_multimap_clear.
2015-06-15 18:09:40 +02:00
Ms2ger
ccc38ef5a1
Use the Box/boxed APIs to handle cef_string_multimap_t memory management.
2015-06-15 18:09:38 +02:00
Ms2ger
cb2f7c7496
Make cef_string_multimap_t an alias for its real type.
2015-06-15 18:09:36 +02:00
Simon Sapin
5428226e04
Remove usage of String::from_str, deprecated in #6377
2015-06-15 15:37:14 +02:00
Manish Goregaokar
9fbffff604
Upgrade to rustc 1.2.0-nightly (6e7fcc44a 2015-06-13)
2015-06-14 20:13:47 +05:30
bors-servo
ceaca2e288
Auto merge of #6357 - ecoal95:more-webgl, r=pcwalton
...
See the commit descriptions for more details.
Blocked on https://github.com/servo/gleam/pull/24
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6357 )
<!-- Reviewable:end -->
2015-06-13 15:05:08 -06:00
ecoal95
ee192793d5
Update gleam to 0108e2a6c7ca4dc471bfb94ba1ed368335e4da28
2015-06-13 23:03:36 +02:00
Corey Farwell
5c408d2be9
rust-geom API changes
...
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00