Commit graph

4498 commits

Author SHA1 Message Date
Mike Blumenkrantz
031963c91e embedding: cef_string_wide_cmp() 2014-11-20 11:53:44 -05:00
Mike Blumenkrantz
b0a65f4918 embedding: implement cef_execute_process() stub
this is missing signal handler functionality in rust and we currently have no use case for actual execution of secondary processes
2014-11-20 11:53:41 -05:00
Mike Blumenkrantz
37583ea8f5 embedding: add some commonly used string constants from chromium 2014-11-20 11:53:37 -05:00
Patrick Walton
10cc07e137 cef: Don't link against librustc in the final build artifact 2014-11-19 12:12:04 -08:00
Glenn Watson
c39852a3f4 Remove rust-alert as it's broken on mac, and unimplemented on other platforms. 2014-11-19 14:19:40 +10:00
bors-servo
f5c6146de0 auto merge of #4028 : glennw/servo/glutin, r=larsbergstrom
Default build uses glfw, but glutin can be enabled via:

./mach cargo build --no-default-features --features=glutin

Remaining work:
 * Mac
 * Android
 * hi-dpi
 * nested event loop

This PR also enables true headless (without X) rendering on Linux by specifying the rendering API as Mesa.
2014-11-18 15:48:29 -07:00
Glenn Watson
0278920343 Add glutin port (supported on Linux only currently).
Default build uses glfw, but glutin can be enabled via:

./mach cargo build --no-default-features --features=glutin
2014-11-19 08:31:34 +10:00
Mike Blumenkrantz
4ae5c88acc address review comments 2014-11-18 14:43:59 -05:00
Mike Blumenkrantz
8a4d2949e8 embedding: replace usage of deprecated find*() with get*() 2014-11-17 14:41:23 -05:00
Mike Blumenkrantz
8b231a26e4 embedding: cef_string_multimap_free() 2014-11-17 14:41:23 -05:00
Mike Blumenkrantz
32d6cff440 embedding: cef_string_multimap_clear() 2014-11-17 14:41:23 -05:00
Mike Blumenkrantz
ef288f1195 embedding: cef_string_multimap_value() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
ce3e9fb511 embedding: cef_string_multimap_key() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
85a099719e embedding: cef_string_multimap_enumerate() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
7758a4427d embedding: cef_string_multimap_append() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
f1f8c65de7 embedding: cef_string_multimap_find_count() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
cc55f88496 embedding: cef_string_multimap_size() 2014-11-17 14:41:22 -05:00
Mike Blumenkrantz
89fa3bb99a embedding: begin cef string_multimap api
cef_string_multimap_alloc()
2014-11-17 14:41:22 -05:00
bors-servo
2bda68f038 auto merge of #3987 : mbrubeck/servo/rust-root, r=larsbergstrom
r? @larsbergstrom
2014-11-17 09:21:28 -07:00
Glenn Watson
e9ff6d9ce7 Update green-rs submodule to get android tls fix. 2014-11-17 09:45:56 +10:00
Glenn Watson
8addf6f633 Update gleam submodule, and use glfw to load OpenGL function pointers. 2014-11-17 07:41:54 +10:00
bors-servo
443b1b98e1 auto merge of #3984 : zmike/servo/embedding-option_callbacks, r=jdm
@jdm,  @larsbergstrom

#legday
2014-11-14 18:45:35 -07:00
bors-servo
0ab70dd539 auto merge of #3977 : wenderen/servo/cef-empty-enums, r=jdm
fix for #3968
2014-11-14 17:15:33 -07:00
Mike Blumenkrantz
5f10092995 embedding: convert callback Option<> matching to map() 2014-11-14 17:18:50 -05:00
Mike Blumenkrantz
11e30731ef embedding: change Option<> unwrapping for fptrs to use match 2014-11-14 17:08:36 -05:00
Matt Brubeck
3cacb029cc Use the correct Rust path in Android packaging 2014-11-14 13:01:46 -08:00
Matt Brubeck
18dad40dfb Update GLUT for rustup fixes
Pulls in servo/rust-glut#49
2014-11-14 12:14:03 -08:00
Matt Brubeck
6323c230a2 Update Cargo.lock files for Android rustup fixes
r? @glennw
2014-11-14 11:56:29 -08:00
Mike Blumenkrantz
d33f74f499 embedding: remove eutil::fptr_is_null, fix #3967, add Option<> to fptrs 2014-11-14 14:30:59 -05:00
Rohan Prinja
ab6a230839 empty enum replaces c_void
fix incorrect type aliasing logic

remove trailing semicolons

remove trailing semicolons

embedding: empty enum replaces c_void
2014-11-14 20:27:54 +05:30
bors-servo
99fc4ab634 auto merge of #3947 : zmike/servo/embedding-string_map, r=jdm
implements a string map which is 100% identical to CEF

r+ @larsbergstrom  @jdm
2014-11-13 17:06:30 -07:00
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