Commit graph

649 commits

Author SHA1 Message Date
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
Glenn Watson
76c18473b1 Remove glut port now that android glutin has landed. 2014-12-12 11:04:44 +10:00
Glenn Watson
9d192de63d Switch android to glutin. 2014-12-12 08:13:04 +10:00
Glenn Watson
eb19d663f0 Update skia + azure to get android compile and text rendering fixes. Sync CEF as well. 2014-12-11 10:53:32 +10:00
Patrick Walton
8b2aadc30b ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00
Glenn Watson
4d7e134cfa Update rust-openssl to add static linking for android. 2014-12-10 07:06:40 +10:00
Ms2ger
5d71609ccd Update typeable to pick up a warning fix. 2014-12-09 13:09:36 +01:00
Patrick Walton
1d845ee4f2 gfx: Update Azure and Skia, and rewrite broken clipping logic.
This exposed some problems in our clipping logic, which was never
properly rewritten for the stacking context reform. The clipping code
worked in terms of a stack of clips, but the new stacking context code
has no concept of a stack of clip regions. Fixing that in turn exposed
some flaky/incorrect tests:

* `borders` had an incorrect reference image, as far as I can tell.

* `negative_margins` had some stray pixels, fixed by changing the text.
2014-12-08 13:45:51 -08:00
Manish Goregaokar
00a0f1527c Set up openssl on Android 2014-12-05 01:03:43 -08:00
Sean McArthur
b7de46970f adjust WPT since hyper fixed some 2014-12-04 10:12:04 -08:00
Sean McArthur
12727d4dd0 convert net crate to use hyper 2014-12-04 10:06:39 -08:00
Glenn Watson
f2100ec676 Update skia submodule to get android build fix. 2014-12-03 17:59:23 -08:00
bors-servo
92cc423709 auto merge of #4202 : zwarich/servo/remove-libgreen, r=larsbergstrom 2014-12-03 18:27:57 -07:00
Cameron Zwarich
e3b7aeb531 Remove libgreen support. 2014-12-03 15:32:15 -08:00
nkdalmia
f6fb9f862d Implement Window.sessionStorage: Storage Task, Storage Methods (excluding Storage event, QuotaExceededError) 2014-12-03 18:31:50 -05:00
Patrick Walton
1c1c507c03 layout: Implement opacity per CSS-COLOR § 3.2.
This adds the infrastructure necessary to support stacking contexts that
are not containing blocks for absolutely-positioned elements. Our
infrastructure did not support that before. This minor revamp actually
ended up simplifying the logic around display list building and
stacking-relative position computation for absolutely-positioned flows,
which was nice.
2014-12-03 14:17:16 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00