Commit graph

4498 commits

Author SHA1 Message Date
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
bors-servo
1fd7650de5 auto merge of #3752 : pcwalton/servo/default-cpu, r=larsbergstrom
We've discussed this some and I think there's consensus to do it as a
pragmatic decision for now. CPU painting is more stable, especially with
buggy drivers, and faster (because we aren't caching the necessary
OpenGL objects yet and possibly for other reasons), so it provides a
better "out of the box" experience for newcomers to Servo who don't know
to pass the `-c` option. This patch continues to reftest both Skia and
Skia-GL out of a desire to keep options open. Skia-GL remains a
first-class citizen.

r? @metajack
2014-10-21 21:18:33 -06:00
bors-servo
691e42f7ef auto merge of #3749 : pcwalton/servo/update-rust-azure, r=metajack
r? @metajack
2014-10-21 19:54:37 -06:00
bors-servo
f5ad89f927 auto merge of #3747 : mrobinson/servo/validate-display-list, r=pcwalton
When this option is enabled, the layout task will print an error when
display list items draw outside their owning Flow's position rect. This
will make it easier to detect layout errors before they break rendering.

This is a command-line option for the moment, because we violate this
rule quite a bit still. Once all bugs causing this are fixed, we can be
more aggressive about enabling the option.
2014-10-21 17:51:43 -06:00
bors-servo
3936d14260 auto merge of #3746 : mrobinson/servo/debug-fragment-borders, r=pcwalton
This is quite a bit cleaner than abusing the rust debug functionality.
If we start collecting too many debugging options in the servo
executable we could opt to organize them into a single option.

Fixes #2263.
2014-10-21 17:06:40 -06:00
Patrick Walton
32e34663cd gfx: Switch the default to CPU painting.
We've discussed this some and I think there's consensus to do it as a
pragmatic decision for now. CPU painting is more stable, especially with
buggy drivers, and faster (because we aren't caching the necessary
OpenGL objects yet and possibly for other reasons), so it provides a
better "out of the box" experience for newcomers to Servo who don't know
to pass the `-c` option. This patch continues to reftest both Skia and
Skia-GL out of a desire to keep options open. Skia-GL remains a
first-class citizen.
2014-10-21 11:13:21 -07:00
Martin Robinson
2d5168a1e5 Add an option to show debug fragment borders
This is quite a bit cleaner than abusing the rust debug functionality.
If we start collecting too many debugging options in the servo
executable we could opt to organize them into a single option.

Fixes #2263.
2014-10-21 08:49:25 -07:00
Martin Robinson
adecdbd4cf Add an option to validate display list items
When this option is enabled, the layout task will print an error when
display list items draw outside their owning Flow's position rect. This
will make it easier to detect layout errors before they break rendering.

This is a command-line option for the moment, because we violate this
rule quite a bit still. Once all bugs causing this are fixed, we can be
more aggressive about enabling the option.
2014-10-21 08:47:40 -07:00
Glenn Watson
cf3d9dffd1 Update rust-core-text, handle empty font collections. Fixes #3703. 2014-10-21 14:54:37 +10:00
Patrick Walton
d08dfc0bcf gfx: Update rust-azure to pick up arcs, gradients, and subpixel text 2014-10-20 21:36:28 -07:00
Glenn Watson
298fc08e6f Update rust-cssparser to revision required by cssom branch. 2014-10-21 08:53:32 +10:00
Clark Gaebel
81bd3cbd9d Fixes the table_percentage_width_a.html reftest with incremental reflow turned on. 2014-10-20 11:13:31 -07:00
Glenn Watson
076495db94 Use opts as a global, to avoid cloning and passing the struct all over the code. 2014-10-20 10:48:47 +10:00
Glenn Watson
b816550a17 Remove render backend option as it doesn't work and confuses people. 2014-10-20 07:39:36 +10:00
Glenn Watson
a63ed9d2a2 Update SHA1 for rust-mozjs. Also update the android Cargo.lock file for recent changes. 2014-10-17 10:30:23 +10:00
Keegan McAllister
9da7679367 Use html5ever for HTML parsing 2014-10-16 13:06:34 -07:00
bors-servo
afc144aa39 auto merge of #3679 : zmike/servo/embedding-string_list, r=larsbergstrom
Implements the full cef_string_list API

r+ @larsbergstrom ?
2014-10-15 09:48:24 -06:00
Mike Blumenkrantz
31db638961 embedding: cef_string_list_copy() 2014-10-15 11:08:20 -04:00
Mike Blumenkrantz
04020d2a19 embedding: cef_string_list_free() 2014-10-15 11:08:20 -04:00
Mike Blumenkrantz
866483f05e embedding: cef_string_list_clear() 2014-10-15 11:08:17 -04:00