bors-servo
1773198e8d
auto merge of #3946 : zmike/servo/embedding-fixups, r=jdm
...
adds a missing string api function and renames an existing string_list function
r+ @larsbergstrom @jdm ?
2014-11-13 16:00:40 -07:00
Mike Blumenkrantz
2df8125985
embedding: fix conflicts from rustup
2014-11-13 16:35:38 -05:00
Mike Blumenkrantz
2d4c6a1d1c
embedding: address most recent critic review
2014-11-13 15:07:41 -05:00
Mike Blumenkrantz
19c80b1741
embedding: replace all occurrences of slicing to &str with slice_to_str()
2014-11-13 14:41:13 -05:00
Mike Blumenkrantz
7ba1150943
embedding: add eutil::slice_to_str() convenience function
...
converts a *u8+length to &str and returns c_int
2014-11-13 14:38:54 -05:00
Mike Blumenkrantz
c813df777e
embedding: address various review nitpicks for string_map
2014-11-13 14:37:56 -05:00
Mike Blumenkrantz
3d0d004887
embedding: replace transmutes with manual casts in cef_string_utf8_cmp()
2014-11-13 13:49:12 -05:00
bors-servo
c713bf4724
auto merge of #3969 : mbrubeck/servo/android-html5-cargo, r=larsbergstrom
...
Fixes a build error.
2014-11-13 11:30:35 -07:00
Matt Brubeck
b879fb30b8
Update html5ever ref in Android Cargo.lock
2014-11-13 10:17:56 -08:00
Keegan McAllister
642a3592c7
Fix interfaces test
2014-11-13 12:53:54 -05:00
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
329ba56fca
Dispatch keydown, keyup, and keypress events at appropriate times.
2014-11-13 11:27:15 -05:00
Josh Matthews
1c64dabb15
Pass all key events to the current constellation frame.
2014-11-13 11:24:14 -05:00
Glenn Watson
532be69cef
Fix CEF build cargo.lock file
2014-11-13 11:17:43 +10:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
Martin Robinson
c7327450ef
Clip display list based on frame viewport
...
Instead of creating a display list for the entire page, only create one
for an area that expands around the viewport. On my machine this makes
incremental layout of http://timecube.com 50% faster.
2014-11-11 08:46:16 -08:00
Mike Blumenkrantz
852bfdd859
embedding: cef_string_utf8_cmp()
2014-11-09 21:21:41 -05:00
Mike Blumenkrantz
caea3a87b3
embedding: rename string_list internal function to string_list instead of string_map
2014-11-09 21:21:41 -05:00
Mike Blumenkrantz
0a82eebaa2
embedding: cef_string_map_free()
2014-11-09 21:21:30 -05:00
Mike Blumenkrantz
37edcdcdde
embedding: cef_string_map_clear()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
903c6f40f6
embedding: cef_string_map_value()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
8fdb2286ae
embedding: cef_string_map_key()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
1a007e19e7
embedding: cef_string_map_find()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
7199c6ea58
embedding: cef_string_map_append()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
e486fa52d5
embedding: cef_string_map_size()
2014-11-09 21:21:29 -05:00
Mike Blumenkrantz
6dd1eca677
embedding: begin cef string_map api
...
cef_string_map_alloc()
2014-11-09 21:21:29 -05:00
Matt Brubeck
b85adf8b35
Build fixes for Android windowing code
...
This begins porting the Android event loop to work with the inverted flow
control from #3761 . Unfortunately, GLUT does not give us enough control over
the event loop to really make this work, so this will build but it may not run
properly. Our current plan is to get rid of GLUT and switch to Glutin in the
near future.
r? @pcwalton
2014-11-06 17:11:40 -08:00
Glenn Watson
475709d1a4
Update cargo to get fix for pinned dependencies of features.
2014-11-06 14:16:34 -08:00
Tom Schuster
b0329ac241
Support Back and forward button on mouses
2014-11-05 11:18:15 +01:00
Patrick Walton
10f7b49cf7
Invert control flow, fix resizing, and improve checkerboarding
...
significantly by giving tiles some time to paint before we render
unrendered content.
2014-11-04 13:51:56 -08:00
Glenn Watson
56a68f49b0
Update azure. This removes the final rust-opengles dependency.
2014-10-31 07:34:18 +10:00
Glenn Watson
69c5bc8fca
Update to use new GL bindings.
2014-10-30 15:31:10 +10:00
Glenn Watson
5e5f761c9a
Update to use CGL crate for mac.
2014-10-29 15:56:51 +10:00
Glenn Watson
450b3a9771
Update layers, opengles to use the new glx bindings.
2014-10-29 14:57:08 +10:00
Glenn Watson
960d315f5e
Update azure to remove glfw dependency.
2014-10-29 10:20:01 +10:00
Glenn Watson
90d793cdc8
Add task profiler, which works by instrumenting each task runtime when enabled.
2014-10-29 07:34:47 +10:00
Glenn Watson
2f5dfe1b39
Fix cargo.lock that got out of sync when two successive commits (1) updated the SHA (2) added the dependency to util with the old SHA.
2014-10-27 07:37:53 +10:00
Josh Matthews
a1b2f4b590
Add an optional --debug-mozjs argument to mach build
that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support.
2014-10-24 16:18:25 -04:00
Glenn Watson
2d6626e7ef
Use WindowMethods to get native graphics metadata instead of
...
relying on azure. This is a prerequisite for the switch to glutin.
Tested on Linux, mac. Tested that android + cef build.
2014-10-24 13:45:42 +10:00
Jack Moffitt
44eec48c57
Merge pull request #3799 from glennw/update-layers
...
Update rust-layers and friends for android build fix.
2014-10-23 21:07:21 -06:00
Glenn Watson
0ba7d9859c
Update rust-layers for android build fix.
2014-10-24 13:01:39 +10:00
Ms2ger
a8dc87aa2c
Make some warnings errors in the cef port.
2014-10-24 00:37:47 +02:00
Ms2ger
95befc2ab2
Fix build warnings in the cef port.
2014-10-24 00:37:44 +02:00
Mike Blumenkrantz
69e8de33e8
embedding: add string_map_to_vec() to reduce transmute calls
2014-10-23 14:07:24 -04:00
Mike Blumenkrantz
43cc865629
embedding: fix string_list compile errors?
2014-10-23 14:07:20 -04:00
Mike Blumenkrantz
021937bca0
embedding: fix string_list deallocation where I accidentally the whole string_list
2014-10-23 12:25:53 -04:00
bors-servo
a6f0159cb8
auto merge of #3765 : pcwalton/servo/profiler-cleanups, r=cgaebel
...
The only real user-visible change this effects is to trim URLs to 30 characters so they don't make huge lines on the terminal.
r? @cgaebel
2014-10-22 14:45:35 -06:00
bors-servo
bc1f610d97
auto merge of #3775 : zmike/servo/embedding-dead_code, r=jdm
...
fixes #3687
r+ @jdm @larsbergstrom ?
2014-10-22 12:54:40 -06:00
Mike Blumenkrantz
d7cb8f8307
embedding: set string_list api functions to pub
...
fixes #3687
2014-10-22 11:56:00 -04:00
Patrick Walton
d2d012165f
util: Make some minor formatting cleanups to profiling and gfx
2014-10-22 07:49:56 -07:00