mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
§ 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. |
||
---|---|---|
.. | ||
.cargo | ||
interfaces | ||
browser.rs | ||
browser_host.rs | ||
Cargo.lock | ||
Cargo.toml | ||
command_line.rs | ||
cookie.rs | ||
core.rs | ||
drag_data.rs | ||
eutil.rs | ||
frame.rs | ||
lib.rs | ||
macros.rs | ||
print_settings.rs | ||
process_message.rs | ||
README.md | ||
render_handler.rs | ||
request.rs | ||
request_context.rs | ||
response.rs | ||
stream.rs | ||
string.rs | ||
string_list.rs | ||
string_map.rs | ||
string_multimap.rs | ||
stubs.rs | ||
switches.rs | ||
task.rs | ||
types.rs | ||
urlrequest.rs | ||
v8.rs | ||
values.rs | ||
window.rs | ||
wrappers.rs | ||
xml_reader.rs | ||
zip_reader.rs |
How to test:
- Go to http://cefbuilds.com/ and download a binary for your OS/arch
- Unpack the (huge) archive
- Create both Debug and Release build types for CEF (
./build.sh [Debug|Release]
) - Build servo
- 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]
- Linux:
- 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/
, with the exception ofinterfaces/mod.rs
is autogenerated. To regenerate:- Check out the
servo
branch of the following repository: https://github.com/pcwalton/chromium-embedded-framework - Change to the
tools
directory and run./translator.sh
- Run the following command to copy in the Rust header files, replacing
${SERVO_SRC}
with the path to your Servo checkout: $ cp ../libcef_dll/rust/*.rs ${SERVO_SRC}/ports/cef/interfaces/
- Check out the