Commit graph

78 commits

Author SHA1 Message Date
Mike Blumenkrantz
42179cf6e7 create x11 Display connection on cef_initialize() as expected
this is how cef does it, we must obey our chromium overlords
2015-05-21 21:15:12 -04:00
Patrick Walton
0098d9e9e8 compositing: Support multiple events per frame.
Improves scrolling performance on Mac.
2015-05-20 10:53:48 -07:00
Glenn Watson
676c59cc18 Fix a few warnings in cef build 2015-05-15 13:48:03 +10:00
Glenn Watson
eec3fad93d Fixes a number of race conditions and reliability issues with reftests and compositor.
The basic idea is it's safe to output an image for reftest by testing:
 - That the compositor doesn't have any animations active.
 - That the compositor is not waiting on any outstanding paint messages to arrive.
 - That the script tasks are "idle" and therefore won't cause reflow.
    - This currently means page loaded, onload fired, reftest-wait not active, first reflow triggered.
    - It could easily be expanded to handle pending timers etc.
 - That the "epoch" that the layout tasks have last laid out after script went idle, is reflected by the compositor in all visible layers for that pipeline.
2015-05-14 09:35:53 +10:00
Mike Blumenkrantz
6e74e510c6 fix undefined symbols in embedding lib
cef_get_xdisplay() was an internal function that should not have been used here
2015-05-08 12:04:37 -04:00
Mike Blumenkrantz
c2ed3b258f implement pointer type matching for cef window cursor setting
I think this is right?
2015-05-05 17:06:31 -04:00
Mike Blumenkrantz
c62b7236a9 update various cef functions to use correct number of params
cef broke abi/api recently
2015-05-05 17:05:52 -04:00
Simon Sapin
ef8edd4e87 Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
Ms2ger
066cf8e706 Remove some as_slice calls in cef. 2015-04-13 14:58:49 +02:00
Ms2ger
1604515fd9 Fix various build warnings. 2015-03-20 17:57:49 +01:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Josh Matthews
6351fc75fd Only store the url inside a pipeline instead of the rest of the LoadData. 2015-03-03 16:25:40 -05:00
Ms2ger
99e4561f06 Fix a build warning with CEF on Mac. 2015-02-15 19:40:43 +01:00
Ms2ger
7f47b8b8e2 Fix warnings in cef. 2015-02-13 14:57:52 +01:00
bors-servo
395323cd70 auto merge of #4890 : servo/servo/Utf16Encoder, r=Ms2ger 2015-02-12 09:18:46 -07:00
Simon Sapin
d5dd1d658e Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
hgentry
9ee3278c28 Remove our copy of Utf16Encoder in favor of the built-in equivalent (fixes #4725). 2015-02-10 15:31:31 +01:00
Ms2ger
b2fcc2397e Import msg as msg rather than servo_msg. 2015-02-10 11:40:36 +01:00
Glenn Watson
f495884dcb Remove the glfw port (it doesn't compile since last rustup anyway). 2015-02-02 10:38:12 +10:00
Ms2ger
505159a464 Import the util crate as util rather than servo_util.
This used to conflict with the util crate from the standard library, which
has long since been removed.

The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Ms2ger
2026cbada2 Fix various build warnings. 2015-01-28 20:42:39 +01:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Ms2ger
16c7060bc8 Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. 2015-01-08 09:58:46 -05: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
Ms2ger
466faac2a5 Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. 2014-12-17 15:19:45 -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
Glenn Watson
2bd6e48035 CEF updates for Linux / MiniServo-GTK. 2014-12-11 05:46:26 +10:00
Patrick Walton
8b2aadc30b ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00