Commit graph

3667 commits

Author SHA1 Message Date
Glenn Watson
e936349cdf Temporary workaround for change in wait_events behaviour in glutin 2015-01-28 15:40:34 +10:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
bors-servo
1b496d80de auto merge of #4707 : glennw/servo/split-headless, r=larsbergstrom
The majority of this change is simply re-arranging the code in the glutin port so that the windowed/headless code is configured at build time rather than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-22 14:48:48 -07:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
Ms2ger
faefb27f3e Use std::sync::atomic::Ordering explicitly. 2015-01-22 14:49:25 +01:00
Ms2ger
524966e3af Use std::cmp::Ordering explicitly. 2015-01-22 14:49:25 +01:00
Simon Sapin
d034a6c6bc Port to the new cssparser.
https://github.com/servo/rust-cssparser/pull/68
2015-01-21 22:23:46 +01:00
Ms2ger
01ed338746 Move to to_owned rather than into_string.
into_string has been removed from Rust.
2015-01-20 14:49:07 +01:00
Ms2ger
7eb659371d Stop calling is_not_null.
It has been removed from Rust.
2015-01-20 13:08:49 +01:00
bors-servo
e4f0b816d5 auto merge of #4655 : glennw/servo/cef-glutin, r=larsbergstrom 2015-01-19 12:57:46 -07:00
Glenn Watson
8c3e3b66b3 Add basic support for closing cef tabs. Prevents crashes, but leaks memory for now. 2015-01-19 10:43:57 +10:00
Glenn Watson
36e151dc95 Add more key mappings. 2015-01-19 08:57:05 +10:00
Glenn Watson
db31b818bc Switch CEF on screen build from glfw -> glutin. 2015-01-19 08:56:43 +10:00
bors-servo
efae66bccb auto merge of #4625 : mrobinson/servo/surface-refactor, r=jdm
We no longer need to implement from_azure_surface in Servo, now that
rust-layers is handling more of the glue between rust-layers and Azure.
2015-01-16 12:57:44 -07:00
Glenn Watson
02b91994b3 Update harfbuzz module. 2015-01-16 11:03:46 +13:00
Martin Robinson
c3d23a0630 Update to latest rust-azure and rust-layers
We no longer need to implement from_azure_surface in Servo, now that
rust-layers is handling more of the glue between rust-layers and Azure.
2015-01-15 12:59:11 -08:00
Akos Kiss
7773ecf2ba Update to use latest mozjs-sys 2015-01-15 16:07:22 +00:00
Josh Matthews
67423fbac4 Use latest mozjs. 2015-01-14 18:21:53 -05:00
Josh Matthews
159235b3d0 Add handling for unreported exceptions when invoking callback objects. 2015-01-14 12:54:46 -05:00
Glenn Watson
f74db53329 Update glutin and add hidpi methods. 2015-01-14 10:39:28 +10:00
bors-servo
432b89f60f auto merge of #4616 : glennw/servo/update-png-hb, r=metajack 2015-01-13 14:06:48 -07:00
bors-servo
9b6d979f19 auto merge of #4583 : glennw/servo/cef-tabs, r=pcwalton 2015-01-13 12:27:48 -07:00
Glenn Watson
c8e3d13821 Update png/harfbuzz, use prefixed symbol names. 2015-01-13 14:34:11 +10:00
Michael Wu
8510200755 Make the gonk input code use standard file APIs 2015-01-09 20:15:21 -05:00
bors-servo
5e758b680b auto merge of #4597 : michaelwu/servo/fix-gonk-20150109, r=larsbergstrom 2015-01-09 17:18:45 -07:00
Michael Wu
f4013d7210 Fix gonk build after the last rustup 2015-01-09 15:41:06 -05:00
Edit Balint
81f47344d6 CanvasRenderTask connected to Layout
Update rust-azure to f4a02f3f621b0a994a20d42e438371a87c62f898.
2015-01-09 18:53:10 +01:00
Patrick Walton
15d60d7ea4 layout: Implement filter per CSS-FILTERS § 5.
`blur` and `drop-shadow` are not yet supported, because the
`text-shadow` PR makes some fundamental changes to blur rendering that
are needed first.
2015-01-09 07:26:13 -08:00
bors-servo
d9751c0fbb auto merge of #4570 : Manishearth/servo/android-warn, r=jdm
My local android build is a bit wonky so I'm not sure if all warnings have been fixed, though. I'll try to poke around and fix it.
2015-01-08 21:54:48 -07:00
Manish Goregaokar
a8326a9138 Fix dead code warning for Android 2015-01-09 10:23:26 +05:30
Glenn Watson
f7b83d9a76 Add support for multiple cef browsers (multiple tabs). 2015-01-09 10:21:49 +10:00
Glenn Watson
cf047d6cef Add ability to explicitly set static resources path, used by cef-linux. 2015-01-09 07:04:44 +10:00
bors-servo
1d7148c79f auto merge of #4554 : servo/servo/rustup_20141221, r=jdm 2015-01-08 08:00:57 -07:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Michael Wu
9be9fc7768 Fix gonk port bustage due to constellation_msg renaming 2015-01-07 15:23:16 -05:00
bors-servo
cf616b90a2 auto merge of #4428 : mbrubeck/servo/scroll-cleanup, r=glennw
More code re-use, fewer unchecked units. r? @glennw
2015-01-05 17:21:54 -07:00
Glenn Watson
1b6aade491 Update cocoa/glutin for mac mouse events fix. 2015-01-06 07:14:08 +10:00
Ms2ger
be683a0888 Rename MouseWindowEvent variants. 2015-01-05 12:08:16 +01:00
Patrick Walton
5ea2c6dcfd layout: Paint stacking contexts' overflow areas properly.
This was making `box-shadow` not show up in many cases, in particular,
but the effects were not limited to that.
2015-01-04 17:41:59 -08:00
Ms2ger
04eb923da9 Remove dependencies on the native crate. 2015-01-04 16:28:02 +01:00
Ms2ger
138081ba25 Rename the PaintState variants. 2015-01-04 11:59:49 +01:00
Ms2ger
fbf257f878 Remove obsolete attributes. 2015-01-03 10:06:17 +01:00
Ms2ger
b6117a57aa Replace the remaining to_string calls by into_string calls. 2014-12-31 10:34:44 +01:00
Simon Sapin
540d218885 Declare dependencies on text_writer.
Transitive dependencies being available is considered a bug:
https://github.com/rust-lang/cargo/issues/1037
2014-12-29 16:19:10 +01:00
Simon Sapin
4a9d5b1130 Upgrade cssparser to a version with the new ToCss trait. 2014-12-29 16:19:09 +01:00
bors-servo
0e6304dcf7 auto merge of #4467 : servo/servo/dataset, r=Ms2ger 2014-12-25 02:27:43 -07:00
Josh Matthews
22c8d3df8d Fix HTTPS fetches. 2014-12-24 12:41:38 -05:00
Ms2ger
919f2217f0 Implement dummy getOwnPropertyNames and enumerate traps. 2014-12-24 17:17:40 +01:00
Glenn Watson
2accabd554 Use event polling instead of blocking when outputting to a file.
This stops some ref tests on linux blocking while waiting for
user input events and never outputting the file.

Also mark vertical writing test as flaky on all platforms. Due
to unrelated timing reasons, this fails reliably on mac when glutin
is enabled. The related bug with details on the root cause is #3926.
2014-12-23 08:32:53 +10:00
bors-servo
20b961493a auto merge of #4442 : glennw/servo/glutin-events-resize, r=larsbergstrom,larsbergstrom 2014-12-22 14:33:45 -07:00