Commit graph

2007 commits

Author SHA1 Message Date
Jack Moffitt
11af5ffda6 Rename variables for clarity. 2013-07-18 20:11:35 -06:00
Jack Moffitt
e10b36210c Rename cb_width to containing_width. 2013-07-18 20:11:10 -06:00
Jack Moffitt
b2c042df94 Brace multi-line match patterns per coding style. 2013-07-18 20:05:32 -06:00
Jack Moffitt
4d1e21bd8e Renaming and refactoring spec_or_default.
`spec_or_default` is now `specified_or_default` and `specified_or_zero` was
added to handle the most common case.
2013-07-18 20:02:22 -06:00
Jack Moffitt
9a1d4d593b Properly account for relative CSS units in borders, margins, padding, and widths. 2013-07-18 19:31:52 -06:00
bors-servo
41f7109c63 auto merge of #600 : metajack/servo/new-reftest, r=pcwalton
This does not port the existing src/test/html/ref tests to the new framework, as it appears to me that they aren't really reftests in the sense of Gecko's reftest. This new driver uses the Gecko methodology.

Currently this will pop a window for each test due to not having a headless driver yet, and #570 means that servo segfaults when it shuts down so we can't check the exit status.

There's plenty to improve in the future, but this should get us started.
2013-07-18 15:25:10 -07:00
bors-servo
09acdcc4ec auto merge of #593 : eschweic/servo/windowing-messages, r=metajack
Replaces https://github.com/mozilla/servo/pull/520 so we don't have to go through the pain of rebasing it.
r? @pcwalton
2013-07-18 07:50:17 -07:00
bors-servo
49524a6c61 auto merge of #594 : jsyeo/servo/add-MH-configs, r=metajack
For https://bugzilla.mozilla.org/show_bug.cgi?id=891870.
2013-07-18 07:22:20 -07:00
Jack Moffitt
728330fb88 Rewrite reftest harness and add basic example reftest. 2013-07-17 20:31:12 -06:00
bors-servo
073f4240aa auto merge of #599 : kmcallister/servo/proto-array, r=jdm
Fixes #596

@jdm r?
2013-07-17 17:42:47 -07:00
Keegan McAllister
da6460ed0a Bump protoArray size for WindowProxy
Fixes #596
2013-07-17 17:25:28 -07:00
bors-servo
e5fc6484ce auto merge of #597 : eric93/servo/diplaylist-refactor, r=jdm 2013-07-17 17:00:42 -07:00
Eric Atkinson
9c5ab1545c Fix regression on clicking links 2013-07-17 16:32:02 -07:00
Jason Yeo
514d9ee04f Added mozharness config files 2013-07-17 17:36:34 -04:00
eschweic
d695b2d2bc Refactor compositor to use messages rather than callbacks. 2013-07-17 12:46:24 -07:00
bors-servo
c17ede3716 auto merge of #591 : eschweic/servo/del-tiles, r=pcwalton
The quadtree is now initialized with a memory limit, and tiles are deleted automatically if that limit is exceeded. The memory limit can also be set to None to prevent this behavior.
2013-07-17 11:46:24 -07:00
eschweic
5468885545 Update remove_tile, add automatic tile removal, fix tests for quadtree 2013-07-17 00:20:26 -07:00
bors-servo
21fa57c93e auto merge of #590 : metajack/servo/png-output, r=metajack,me
This enables the `-o FILE` command line option to render the window contents to a PNG after rendering and exit Servo.
2013-07-16 15:01:15 -07:00
Jack Moffitt
97173107e2 Update rust-png to support libpng 1.2. 2013-07-16 15:58:44 -06:00
Jack Moffitt
a4578726c9 Update README with new deps. 2013-07-16 11:14:40 -06:00
Jack Moffitt
31f7c4ba14 Write out PNG file after compositing based on -o option. 2013-07-16 09:55:19 -06:00
Jack Moffitt
12eb1e55a6 Clean up check targets in Makefiles. 2013-07-16 09:55:19 -06:00
Jack Moffitt
1e28a5c20e Bump rust-azure pointer. 2013-07-16 09:55:19 -06:00
Jack Moffitt
092e887bda Enable -o option for output_file. 2013-07-16 09:55:19 -06:00
Jack Moffitt
e9b1657df6 Add rust-png submodule. 2013-07-16 09:55:19 -06:00
bors-servo
45e6873f80 auto merge of #589 : eric93/servo/diplaylist-refactor, r=pcwalton 2013-07-15 18:03:27 -07:00
Eric Atkinson
5fc794fbc4 Refactor display lists to use an explicit traversal 2013-07-15 17:46:14 -07:00
bors-servo
3bb47133d9 auto merge of #587 : eschweic/servo/master, r=metajack
This fixes a bug that would sometimes trigger a fail! when the window was resized.
2013-07-12 12:27:25 -07:00
bors-servo
821192d5a8 auto merge of #577 : jdm/servo/autogen, r=jdm,metajack 2013-07-12 11:27:29 -07:00
Josh Matthews
4f24ef1619 DOM bindings: Autogenerate list of prototypes and binding registration goop. 2013-07-12 14:06:23 -04:00
bors-servo
e966920a22 auto merge of #586 : metajack/servo/auto-clean, r=jdm 2013-07-12 10:42:32 -07:00
eschweic
df08795325 Fix crash on window resize 2013-07-12 10:33:52 -07:00
Jack Moffitt
7fe380d821 Move rust-auto-clean-stamp into the rust build dir.
This is needed so that it's backed up and restored along with the rust build products.
2013-07-12 11:10:05 -06:00
Jack Moffitt
72875ce995 Bump rust-mozjs pointer to the merge commit. 2013-07-12 11:06:27 -06:00
bors-servo
9099892d76 auto merge of #585 : eric93/servo/floats-2, r=metajack
Everything except for floats in an inline formatting context and clear.
2013-07-12 10:03:29 -07:00
bors-servo
0c4119b496 auto merge of #573 : jdm/servo/domevent, r=metajack 2013-07-12 08:45:33 -07:00
Eric Atkinson
f68a548916 Line breaking around floats 2013-07-11 20:19:49 -07:00
Eric Atkinson
7b933ac952 Fix rebase fallout 2013-07-11 20:19:49 -07:00
Eric Atkinson
a6f6ce926c Semi-correct text wrapping 2013-07-11 20:19:48 -07:00
Eric Atkinson
e09cd30dc8 Stop crashing 2013-07-11 20:19:48 -07:00
Eric Atkinson
3cbe9156d7 Add test and address comments 2013-07-11 20:19:48 -07:00
Eric Atkinson
602334a316 Fix float placement bugs & add hacky non-percen heights to blocks. 2013-07-11 20:19:48 -07:00
Eric Atkinson
650bd65460 Add right floats and fix bug where max_y was not being set 2013-07-11 20:19:48 -07:00
bors-servo
035d51cfde auto merge of #584 : ILyoan/servo/patch, r=metajack
This pull request has two different commits.
1. Update rust-netsurfcss.
2. Remove unncessary script tag from a html test which was added by mistake.
2013-07-11 20:15:31 -07:00
Ilyong Cho
38eb7cbfb1 Remove unnecessary script tag from a html test 2013-07-12 11:02:50 +09:00
Ilyong Cho
44f166d9a0 Update rust-netsurfcss 2013-07-12 10:53:09 +09:00
bors-servo
11873117a1 auto merge of #580 : tkuehn/servo/master, r=metajack
Fixes #579.
2013-07-11 17:51:34 -07:00
bors-servo
17fcf806ce auto merge of #552 : metajack/servo/detect-page-loaded, r=pcwalton
This doesn't do anything, but adds the stuff to detect the page load. This will be needed to write out the composited texture to PNGs for reftests.

r? @sfowler
2013-07-11 16:36:36 -07:00
Jack Moffitt
6ab28c8e34 Add finished callback to windowing, and implement exit after load. 2013-07-11 16:50:22 -06:00
Jack Moffitt
eda7645258 Update rust-azure pointer to get cloneable BackendType. 2013-07-11 16:50:10 -06:00