servo/ports/cef
bors-servo 7840aae1b9 Auto merge of #9660 - servo:websocketup, r=jdm
Update websocket

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9660)
<!-- Reviewable:end -->
2016-02-23 23:51:54 +05:30
..
.cargo Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
interfaces task -> thread 2016-01-10 17:58:13 +09:00
browser.rs task -> thread 2016-01-10 17:58:13 +09:00
browser_host.rs Moving MouseButton from msg to script_traits 2016-01-13 19:23:45 -08:00
Cargo.lock Auto merge of #9660 - servo:websocketup, r=jdm 2016-02-23 23:51:54 +05:30
Cargo.toml Move util::cursor to style_traits 2016-02-16 00:50:01 +01:00
command_line.rs Replace uses of for foo in bar.iter(), 2015-08-18 01:46:11 +01:00
cookie.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
core.rs Add a pref for a default homepage. 2015-09-25 00:58:51 +01:00
drag_data.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
eutil.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
frame.rs Cleanup some unneeded let bindings 2015-11-06 00:22:31 -08:00
lib.rs Move util::cursor to style_traits 2016-02-16 00:50:01 +01:00
macros.rs add embedding macro for checking pointer existence 2015-05-21 21:15:11 -04:00
print_settings.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
process_message.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
README.md update cef embedding readme 2015-05-06 13:04:28 -04:00
regen_interface_mod_rs.sh update cef interfaces script to use better syntax 2015-09-14 14:02:06 -04:00
render_handler.rs pass width and height information through to cef paint callback 2015-05-21 21:15:15 -04:00
request.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
request_context.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
response.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
stream.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
string.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
string_list.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
string_map.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
string_multimap.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
stubs.rs stub out gluCheckExtension in embedding 2015-12-08 11:02:48 -05:00
switches.rs embedding: add some commonly used string constants from chromium 2014-11-20 11:53:37 -05:00
task.rs task -> thread 2016-01-10 17:58:13 +09:00
types.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
urlrequest.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
v8.rs Fix various build warnings. 2015-01-28 20:42:39 +01:00
values.rs update various cef functions to use correct number of params 2015-05-05 17:05:52 -04:00
window.rs Move util::cursor to style_traits 2016-02-16 00:50:01 +01:00
wrappers.rs Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
xml_reader.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
zip_reader.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00

How to test:

  1. Go to http://cefbuilds.com/ and download a binary for your OS/arch
  2. Unpack the (huge) archive
  3. Create both Debug and Release build types for CEF (./build.sh [Debug|Release])
  4. Build servo
  5. Run a CEF-based executable with the embedding crate preloaded:
    • Linux: LD_LIBRARY_PATH=/path/to/cef-bin-unpack-dir/out/$build_type LD_PRELOAD=/path/to/servo/build/libembedding-*.so [CEF EXE]
  6. Enjoy CEF-powered crashes

Notes:

  • Running with the Debug build in GDB is EXTREMELY slow on startup. Only use this if you are actively debugging an unimplemented CEF interaction.
  • The contents of interfaces/ are entirely autogenerated. To regenerate, see https://github.com/zmike/cef-rebase/blob/master/README.md for full instructions