servo/ports/cef
bors-servo 7c4fd5e770 Auto merge of #8387 - larsbergstrom:update_mozjs, r=Manishearth
Update mozjs

r? @Manishearth

This mainly just picks up the support for ccache. I'd like to get one module using it to land to see how it works on Travis & the builders (probably should have done this along with #8366).

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8387)
<!-- Reviewable:end -->
2015-11-07 20:29:58 +05:30
..
.cargo Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
interfaces add missing cef types from last sync 2015-09-14 16:01:16 -04:00
browser.rs Upgrade to latest glutin 2015-11-05 09:05:17 -08:00
browser_host.rs Fix up some unnecessary uses of unsafe. 2015-09-02 15:50:17 -07:00
Cargo.lock Auto merge of #8387 - larsbergstrom:update_mozjs, r=Manishearth 2015-11-07 20:29:58 +05:30
Cargo.toml Update euclid to 0.3 2015-10-28 21:34:23 +05:30
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 add no_mangle to servo_test() embedding function 2015-05-27 14:45:38 -04:00
frame.rs Cleanup some unneeded let bindings 2015-11-06 00:22:31 -08:00
lib.rs Replace stb_image with PistonDevelopers/image 2015-10-09 12:23:33 -07: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 sort all uses 2015-08-20 20:47:12 +08:00
string_list.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
string_map.rs Stop using deprecated boxed::into_raw in cef. 2015-06-26 23:00:07 +02:00
string_multimap.rs Replace uses of for foo in bar.iter(), 2015-08-18 01:46:11 +01:00
stubs.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
switches.rs embedding: add some commonly used string constants from chromium 2014-11-20 11:53:37 -05:00
task.rs Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
types.rs add missing cef types from last sync 2015-09-14 16:01:16 -04: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 Fix compiler warnings 2015-09-10 09:40:06 -06:00
wrappers.rs add missing cef types from last sync 2015-09-14 16:01:16 -04: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