Commit graph

3667 commits

Author SHA1 Message Date
Michael Wu
16e23d8228 Make gonk port build again after the last rustup 2014-12-20 01:04:50 -05:00
Ms2ger
79266e725c Remove unused libgreen import. 2014-12-19 21:59:32 +01: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
f579be2307 Update cargo nightly to get android cross compile fix. Also add stub trait method to glutin port. 2014-12-19 09:43:08 +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
Matt Brubeck
f534ce2ab0 Code cleanup in glfw_app::Window::scroll_window
More code re-use, fewer unchecked units.
2014-12-18 10:55:14 -08:00
Simon Sapin
084a63df45 Remove usage of the deprecated std::num::Zero trait. 2014-12-18 11:16:47 +00:00
bors-servo
d7b3900431 auto merge of #4419 : glennw/servo/fix-glutin-esc, r=metajack 2014-12-18 01:00:57 -07: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
bfa2f1f3e1 Restore glutin close on escape functionality. Also fix linux compile error. 2014-12-18 15:27:42 +10:00
Glenn Watson
81aeab244c Compile fix for glutin feature after rust upgrade. 2014-12-18 12:58:19 +10: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
063426fc55 Include gleam for android 2014-12-17 13:14:36 +10:00
Glenn Watson
9a52ce6464 Update gleam, clear initial framebuffer under glutin. 2014-12-17 10:03:14 +10:00
Michael Wu
f6cc413a48 Update Cargo.lock to fix gonk build 2014-12-16 13:30:32 -05: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
Michael Wu
d3c669db45 Update azure to fix gonk build 2014-12-15 09:21:47 -05:00
Michael Wu
814ca68c72 Add handle_key stub to gonk port 2014-12-15 09:21:32 -05:00
Nathan E. Egge
b0552cb98e Sending key events through script task before processing them in the compositor.
Fixes #4163
2014-12-12 12:31:44 -05:00
Joseph Crail
c254d195ad Fix spelling mistakes in comments. 2014-12-11 23:56:29 -05: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
bors-servo
5b53d5a163 auto merge of #4316 : michaelwu/servo/fix-gonk, r=glennw
This makes the gonk port build/work again after the recent CEF port update.
2014-12-10 13:15:59 -07:00
Glenn Watson
2bd6e48035 CEF updates for Linux / MiniServo-GTK. 2014-12-11 05:46:26 +10:00
Michael Wu
fe42749487 Make the gonk port work again 2014-12-10 11:43:30 -05:00
Patrick Walton
8b2aadc30b ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00
Michael Wu
4d71be1fc9 Remove use of rustuv/green in the gonk port. 2014-12-09 16:27:24 -05:00
bors-servo
cbbbf4fbb5 auto merge of #4306 : michaelwu/servo/gonk-port-three, r=glennw
Trying again since critic didn't notice https://github.com/servo/servo/pull/4294 .
2014-12-09 14:42:57 -07:00
Glenn Watson
4d7e134cfa Update rust-openssl to add static linking for android. 2014-12-10 07:06:40 +10:00
Michael Wu
3b42eb31fb Eliminate use of allow(dead_code) in window.rs 2014-12-09 13:29:50 -05:00
Michael Wu
0d792ce455 Convert C code to Rust 2014-12-09 13:27:01 -05:00
Ms2ger
5d71609ccd Update typeable to pick up a warning fix. 2014-12-09 13:09:36 +01:00
Michael Wu
05cd389729 Add a gonk port. 2014-12-08 18:34:02 -05:00
Glenn Watson
030dab553e Use mach to build openssl on android instead of glut makefile.
The glut makefile will be removed shortly after glutin lands
for android, so we need to build openssl for android elsewhere
in the build process.
2014-12-09 08:20:36 +10:00
Tetsuharu OHZEKI
15a32247a6 Rename WindowMethods::set_paint_state() 2014-12-08 14:05:50 +09:00
Tetsuharu OHZEKI
806b6f09c9 Rename RenderState -> PaintState 2014-12-08 14:05:50 +09:00
Glenn Watson
ad9e76b04c Update cargo.lock for CEF and fix left over line from libgreen removal. 2014-12-08 08:03:06 +10: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
Glenn Watson
6f6400ee3a Disable debugging, set wikipedia page for demo. 2014-12-03 20:55:06 -08:00
Glenn Watson
f2100ec676 Update skia submodule to get android build fix. 2014-12-03 17:59:23 -08:00
Cameron Zwarich
e3b7aeb531 Remove libgreen support. 2014-12-03 15:32:15 -08: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
26cd2b46df Fix up android/glut port to find its servo dependency. 2014-12-02 18:04:06 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00
Patrick Walton
f97e9dfa8a ports/cef: Replace calls to malloc with calloc. 2014-11-28 09:27:08 -06:00