Martin Robinson
6259df5e2d
Update to euclid 0.8
2016-08-12 03:12:06 +02:00
Josh Matthews
6496d73210
Make textinput handle actual key values. Don't restrict character values to a single byte.
2016-07-06 00:10:24 -04:00
Patrick Walton
8eb2cda438
Implement support for overscrolling on the Mac.
...
Requires tomaka/glutin#734 , servo/webrender_traits#14 , and
servo/webrender#217 .
2016-03-14 11:38:10 -07:00
Darin Minamoto
374bd5be27
Moving MouseButton from msg to script_traits
2016-01-13 19:23:45 -08:00
Matt Brubeck
8c4fed42b0
Minor refactoring of mouse event types
...
* Move some types into the `msg` crate so they can be shared more.
* Use MouseEventType instead of duplicating it in other enums.
2015-12-03 08:19:40 -08:00
Eli Friedman
94dec69247
Fix up some unnecessary uses of unsafe
.
2015-09-02 15:50:17 -07:00
Johann Tuffe
ec07178b6f
sort all uses
2015-08-20 20:47:12 +08:00
ecoal95
8cbfb3482c
Use euclid from crates.io
2015-06-19 00:04:24 +02:00
Corey Farwell
5c408d2be9
rust-geom API changes
...
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00
Mike Blumenkrantz
1e4ceb0a1f
more accurately handle key modifiers in cef
2015-05-27 14:45:46 -04:00
Mike Blumenkrantz
28aed52a4b
improve cef keyboard handling
...
this is a rough approximation of the handling of various keycodes/syms
within chromium. it needs work, but for my system it works okay
2015-05-27 14:45:45 -04:00
Mike Blumenkrantz
efc75ef40e
ignore KEYEVENT_RAWKEYDOWN in cef browser events
...
I'm not sure exactly what this is supposed to do and there are no docs.
from what I've observed, nothing happens on this event
2015-05-27 14:45:44 -04:00
Mike Blumenkrantz
5697d9ff2c
add back browser_host::composite() method for embedding
...
this changes the way that applications will use servo. whereas previously
it was only necessary to call initialize() -> makecurrent, it's now necessary
to explicitly call the composite() method in order to trigger the gl rendering.
any other composite attempts (by servo) will trigger the on_paint() method,
informing the app that a frame is ready. it's then up to the app to schedule
the composite() such that the frame is rendered in a timely manner
2015-05-21 21:15:21 -04:00
Mike Blumenkrantz
1aed319684
add pointer checks for cef method calls to avoid crashing on nonexistent methods
2015-05-21 21:15:18 -04:00
Mike Blumenkrantz
4513d45c04
implement cef_browser_host_t::get_window_handle()
2015-05-12 13:43:43 -04:00
Mike Blumenkrantz
c1d6d6fe1c
implement cef_browser_host_t::get_browser() method
2015-05-12 13:43:41 -04:00
Ms2ger
6b127a8df8
Introduce a MouseButton enum.
2015-04-03 01:24:33 +02:00
Ms2ger
b2fcc2397e
Import msg as msg rather than servo_msg.
2015-02-10 11:40:36 +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
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
f7b83d9a76
Add support for multiple cef browsers (multiple tabs).
2015-01-09 10:21:49 +10:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Ms2ger
be683a0888
Rename MouseWindowEvent variants.
2015-01-05 12:08:16 +01: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
Patrick Walton
8b2aadc30b
ports/cef: Implement accelerated compositing for the CEF port.
2014-12-10 08:35:47 -08:00