Commit graph

773 commits

Author SHA1 Message Date
Patrick Walton
cb1a25d69f Update submodules 2012-10-13 00:47:01 -07:00
Brian Anderson
04d8c708a0 Actually do caching in LocalImageCache 2012-10-12 20:24:42 -07:00
Brian Anderson
630fca3007 Use LocalImageCache in LayoutTask instead of ImageCacheTask 2012-10-12 20:24:42 -07:00
Brian Anderson
6571c6c990 Add LocalImageCache 2012-10-12 20:24:41 -07:00
Brian J. Burg
77c1b060fd Add util::tree::remove_child, and some tests. Add eq requirement for util::tree::WriteMethods 2012-10-12 18:09:39 -07:00
Brian J. Burg
9c982693e1 Replace Node's broken impl of cmp:Eq with a generic implementation for cow::Handle. 2012-10-12 18:09:38 -07:00
Brian Anderson
af5985b6e2 Convert image_cache_task to pipes 2012-10-12 16:55:55 -07:00
Patrick Walton
b9e2571a35 layout: Make some slow debug code only execute when RUST_LOG is set appropriately 2012-10-12 15:27:41 -07:00
Brian Anderson
561879848c Do less copying in image_cache_task 2012-10-12 15:20:17 -07:00
Patrick Walton
127a6ba191 layout: Remove some more debug stuff 2012-10-12 15:03:19 -07:00
Brian J. Burg
afb8f9493b Fix logic bug in transform_text; convert do to for; add some simple tests for each compression mode. 2012-10-12 15:00:49 -07:00
Brian J. Burg
f5a5f35314 Compress the text of text nodes before combining into a single text run. Also, repair the inline flow's element map after merging text nodes. 2012-10-12 15:00:49 -07:00
Brian J. Burg
e01ffd9477 Cleanup various debug output. 2012-10-12 15:00:49 -07:00
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