Commit graph

4860 commits

Author SHA1 Message Date
Brian J. Burg
be53bb14f7 Clarify the invariants for InlineFlow's elems mapping. Only create NodeRanges for non-leaf elements in the inline flow. Fix the range length recorded in the NodeRanges. 2012-10-12 14:59:50 -07:00
Brian J. Burg
17e1780f86 Clarify the purpose of dvec params to TextRunScanner::flush_clump_to_list(). 2012-10-12 14:59:50 -07:00
Brian J. Burg
f1ee7095d6 Clarify debugging output and var names in TextRunScanner; get ready for node range management code. 2012-10-12 14:59:50 -07:00
Brian J. Burg
f35778546e Add first-cut implementation of transform_text 2012-10-12 14:59:50 -07:00
Brian J. Burg
bd716214e7 Fix some debug message formatting, and add some more cases to the UA style simulator. 2012-10-12 14:59:50 -07:00
Patrick Walton
356e4dee21 layout: Only serialize boxes in debug mode 2012-10-12 14:58:01 -07:00
Brian Anderson
88645b67a1 Cache the one Font we support 2012-10-12 14:22:30 -07:00
Brian Anderson
03732b0cce Remove @self hack from FontCache 2012-10-12 12:43:08 -07:00
Brian Anderson
c3170ac865 Correct fixed point conversion in ft_native_font 2012-10-12 00:30:10 -07:00
Brian Anderson
7c53467246 Fix the indexes used in get_detailed_glyphs_for_entry
I haven't looked at exactly what is going on here, but these indexes work better
for me on linux
2012-10-12 00:30:10 -07:00
Boris Zbarsky
8391e3b167 Switch DOM bindings to using inlined GetObjectSlot 2012-10-12 01:54:06 -04:00
Brian Anderson
bdf480c185 Fix broken PngCompositor test 2012-10-11 19:18:56 -07:00
Brian Anderson
0d5898ec8f Remove debug logging 2012-10-11 19:00:15 -07:00
Brian Anderson
5a18e79008 Update libhubbub 2012-10-11 18:58:21 -07:00
Patrick Walton
411ccaf220 gfx: Implement window resizing 2012-10-11 18:56:57 -07:00
Patrick Walton
e270a48694 gfx: Move Cairo surfaces into the layer buffers 2012-10-11 18:30:33 -07:00
Patrick Walton
7f53e96b4f Update rust-azure 2012-10-11 18:30:26 -07:00
Patrick Walton
0e9c278196 gfx: Send a RenderLayer instead of a display list from layout to GFX.
This is a step on the way to window resizing.
2012-10-11 18:03:52 -07:00
Patrick Walton
5752ae6783 Stub RenderLayers.
This is a step on the way toward window resizing.
2012-10-11 17:46:08 -07:00
Brian Anderson
db13e052cd Fix build error 2012-10-11 17:35:18 -07:00
Josh Matthews
283f5415df Speed up JS bindings by using Rust jsval manipulation inlining. 2012-10-11 19:00:42 -04:00
Patrick Walton
ea432a28c6 Add a LayerBuffer abstraction instead of sending around DrawTargets directly.
A step on the way toward window resizing.
2012-10-11 14:59:04 -07:00
Josh Matthews
d21d27e086 Fix parser crash. Fix competing uses of JSContext's private slot. 2012-10-11 17:14:21 -04:00
Patrick Walton
e09f05d411 Remove exports in osmain 2012-10-11 14:10:29 -07:00
Patrick Walton
fa91fbdb76 Update for Rust library changes 2012-10-11 12:56:51 -07:00
Brian Anderson
a0c2db053d Remove legacy_modes harder 2012-10-10 18:50:01 -07:00
Brian Anderson
f2022f86b7 Remove #[legacy_modes] 2012-10-10 18:19:23 -07:00
Brian Anderson
47d05c9908 Replace remaning doc attrs with comments 2012-10-10 18:08:48 -07:00
Brian J. Burg
e7dd2610c9 Build inline flow box list using BoxConsumer. Fix failure cases in
FlowContext variant helper methods to only print flow/box id, so they
don't run out of stack when reflectively printing cycles.
2012-10-10 17:27:40 -07:00
Brian J. Burg
c8a69b9d76 Revert the addition of accept_new_box() implementations for each flow type. 2012-10-10 15:53:59 -07:00
Brian Anderson
34672e5b17 Move an allow(non_implicitly_copyable_typarams) attribute to a smaller scope 2012-10-10 14:37:54 -07:00
Brian Anderson
c019af9934 Convert doc attributes to comments 2012-10-10 14:33:11 -07:00
Brian Anderson
e523a6375a RCU -> COW 2012-10-10 14:30:12 -07:00
Brian Anderson
fca9e9fa00 Silence noncopyable typaram warnings 2012-10-10 14:13:52 -07:00
Brian J. Burg
f7396fabb2 Remove RenderBox tree and traversals; refactor box builder to pass BuilderContext around; add and thread through a stub BoxConsumer implementation. 2012-10-10 12:20:16 -07:00
Brian J. Burg
a86e22ccfb Abstract the process of attaching boxes to flows. Remove parent-child box pointer setup. 2012-10-10 10:56:28 -07:00
Brian J. Burg
59c4da3130 Add a trait for FlowContext. 2012-10-10 09:39:40 -07:00
Brian Anderson
85301fb98e Eliminate copy warnings 2012-10-09 18:51:40 -07:00
Brian J. Burg
d979b9fbc6 Remove some insidious implicit copying in the TextRunScanner. 2012-10-09 18:17:33 -07:00
Brian J. Burg
26d5cfb509 Implement TextRunScanner; add explicit @self to all flow-related functions. 2012-10-09 17:39:38 -07:00
Brian J. Burg
2bc9e66257 Create a trait for RenderBox. 2012-10-09 17:39:38 -07:00
Brian Anderson
94b0ecd850 Make contenttest build 2012-10-09 16:23:22 -07:00
Brian Anderson
72353c3779 Eliminate some copy warnings 2012-10-09 16:19:23 -07:00
Brian Anderson
e836269b8d Eliminate more warnings 2012-10-09 15:56:46 -07:00
Brian Anderson
495946b92b Eliminate more warnings 2012-10-09 14:34:35 -07:00
Brian Anderson
7e8dd984e4 Remove traverse_parallel. Unused 2012-10-09 11:38:14 -07:00
Brian Anderson
6c3bab5ba1 Eliminate more warnings 2012-10-09 11:36:33 -07:00
Brian Anderson
ed4db46505 Eliminate more warnings 2012-10-08 19:06:42 -07:00
Brian Anderson
d2bc5aaf8f Ignore failing tests 2012-10-08 18:51:57 -07:00
Brian Anderson
a83e1659e4 Fix more warnings in util::tree 2012-10-08 18:44:12 -07:00