Commit graph

416 commits

Author SHA1 Message Date
Ms2ger
42d7e26aed Update xlib. 2015-01-28 17:42:02 +01:00
bors-servo
d597432167 auto merge of #4740 : akiss77/servo/pr-deps, r=metajack
* openssl
* glfw
* gleam
* skia
* mozjs
2015-01-28 09:36:53 -07:00
Ms2ger
f9304a2af5 Update azure to master. 2015-01-28 11:23:32 +01:00
Ms2ger
9ab1ba7a5f Update layers to master. 2015-01-28 11:03:37 +01:00
Akos Kiss
7ca3145b0d Update dependencies in lock files
* openssl
* glfw
* gleam
* skia
* mozjs
2015-01-28 08:28:33 +00: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
ee4c56bd8b Remove rtinstrument (fixes #4600).
The code has been disabled during the last rust upgrade, and has not found an
owner. Since the next rust upgrade will bitrot it even more, it is better to
remove it for now. If anyone wishes to restore it, the code remains in version
history.
2015-01-22 14:49:26 +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
Glenn Watson
a7d18f9c03 Switch the default windowing system to glutin. See below for details.
This change makes glutin the default windowing system on mac/linux.

If you run into any issues with the glutin system, you can temporarily
build the GLFW system with the following command:

cd components/servo
../../mach cargo build --no-default-features --features=glfw

Once any glutin related issues have been sorted out, the GLFW
port will be removed.
2015-01-20 07:07:16 +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
Glenn Watson
c8e3d13821 Update png/harfbuzz, use prefixed symbol names. 2015-01-13 14:34:11 +10: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
94a4a55332 auto merge of #4580 : glennw/servo/glutin-hidpi, r=larsbergstrom 2015-01-08 16:39:51 -07:00
Glenn Watson
3e3e3be702 Update glutin for hidpi tests on mac. 2015-01-09 07:13:08 +10:00
Matthew Rasmus
a3fc3a1581 Allow missing_copy_implementations 2015-01-08 08:51:11 -08:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05:00
Glenn Watson
1b6aade491 Update cocoa/glutin for mac mouse events fix. 2015-01-06 07:14:08 +10: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
de0caf8761 Rename constellation_msg::Msg variants. 2015-01-04 11:59:21 +01:00
Ms2ger
fbf257f878 Remove obsolete attributes. 2015-01-03 10:06:17 +01:00
Simon Sapin
2e35d4e987 Add a match_ignore_ascii_case! macro that does not allocate.
It should replace `match foo.to_ascii_lower().as_slice() { ...}`

@Manishearth I changed map.get to map.find in the lint to work around an ICE:

    task 'rustc' panicked at 'couldn't find node id 0 in the AST map'

Does this look OK?
2014-12-29 16:19:10 +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
Manish Goregaokar
e0b88a9ca2 servo: to_string() -> into_string() 2014-12-27 14:48:36 +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
8e32ba9de9 Update glutin to get mac visibility fix. 2014-12-23 10:13:36 +10:00
Glenn Watson
4a70752a87 glutin - Add support for waking up blocked event loop, and smooth resize on mac. 2014-12-19 11:54:08 +10:00
Glenn Watson
7aa3b235e2 Add time as submodule - workaround for android cross compiling until next rustup. 2014-12-19 10:50:30 +10:00
Patrick Walton
6b28965b94 layout: Implement clip per CSS 2.1 § 11.1.2.
Only the recommended, comma-separated syntax is supported.
2014-12-18 13:07:13 -08:00
Simon Sapin
084a63df45 Remove usage of the deprecated std::num::Zero trait. 2014-12-18 11:16:47 +00:00
Patrick Walton
7371e0b8e3 compositing: Implement cursor per CSS3-UI § 8.1.1 in the CEF/Mac port.
I'm not sure how we want to handle Linux cursors, and GLFW has no
ability to set cursors (short of disabling it and managing it yourself).
2014-12-17 22:58:52 -08:00
Glenn Watson
1a9be88a1d Various compile fixes for android rustup (link still fails). 2014-12-18 08:08:38 +10:00
Ms2ger
466faac2a5 Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -05:00
Glenn Watson
9a52ce6464 Update gleam, clear initial framebuffer under glutin. 2014-12-17 10:03:14 +10:00
Glenn Watson
748de2f7ac Update cocoa (needed for newer glutin) 2014-12-16 14:48:41 +10:00
Patrick Walton
a1ea44b294 style: Address review comments relating to bgcolor and column spans 2014-12-15 18:09:44 -08:00
Patrick Walton
14bafb11be style: Parse the legacy bgcolor attribute per the HTML5 specification.
Additionally, this patch cleans up some miscellaneous formatting issues.
2014-12-15 17:41:44 -08:00