Commit graph

732 commits

Author SHA1 Message Date
Josh Matthews
b4934473a0 Fix image width setter to use actual argument. Fix hasInstance checks to reflect the Handle changes in the JSAPI. 2012-09-15 17:11:19 -04:00
Patrick Walton
632bffd8f4 Add some primitive text line breaking 2012-09-14 19:57:10 -07:00
Brian Anderson
b7c241a091 Fix reftest 2012-09-14 18:37:30 -07:00
Brian Anderson
daf61fd483 Cleanup 2012-09-14 17:58:54 -07:00
Brian Anderson
b085bddd37 Change TextRun.break_text to TextRun.split 2012-09-14 17:51:55 -07:00
Brian Anderson
8cab503b02 Add TextRun.break_text 2012-09-14 17:18:12 -07:00
Brian Anderson
879f23d2c3 Remove doc attrs from text_run 2012-09-14 16:30:34 -07:00
Brian Anderson
6a5a579b98 Remove mode from TextRun ctor 2012-09-14 16:30:04 -07:00
Brian Anderson
6859730f7a Another attempt at computing the minimum breaking width for TextRuns 2012-09-14 16:26:47 -07:00
Brian Anderson
ddcc11069e That min_width calculation was totally wrong 2012-09-13 20:14:49 -07:00
Brian Anderson
397c049c71 Add TextRun.min_width 2012-09-13 20:10:01 -07:00
Brian Anderson
728c1ae601 Make shape_text take &str instead of ~str 2012-09-13 19:46:18 -07:00
Brian Anderson
ae27032299 Add TextRun.preferred_width 2012-09-13 19:39:02 -07:00
Brian Anderson
8bce1b60ed Precalculate the size of TextRuns 2012-09-13 19:37:57 -07:00
Brian Anderson
a475304754 Fonts should keep their libraries alive 2012-09-13 19:13:01 -07:00
Patrick Walton
d937e3c2fe Fix a build system typo and update submodules to correct linkage directives 2012-09-13 18:53:07 -07:00
Brian Anderson
c079d337f3 Give DisplayList its own GlyphRun type 2012-09-13 18:33:01 -07:00
Brian Anderson
4bb240ac79 Move display_list from layout to gfx 2012-09-13 18:17:30 -07:00
Brian Anderson
000b37cab6 as_buf -> as_imm_buf 2012-09-13 17:17:02 -07:00
Brian Anderson
365ef92f07 Fix accidental bogus copying of the font binary 2012-09-13 17:03:45 -07:00
Brian Anderson
413d458857 Ignore some busted tests 2012-09-13 17:03:17 -07:00
Patrick Walton
55b3aa2673 Fixes for language changes 2012-09-13 16:25:21 -07:00
Brian Anderson
f76755a671 Fix linux build 2012-09-13 14:30:23 -07:00
Brian Anderson
8785a07022 Fix name of stb_image::image mod 2012-09-13 14:27:47 -07:00
Brian Anderson
90565bec53 Update rust-stb-image 2012-09-13 14:24:36 -07:00
Brian Anderson
645009d181 Remove some debug logging 2012-09-12 17:58:03 -07:00
Brian Anderson
25e1529594 Use the correct syntax to ignore tests on mac 2012-09-12 17:56:55 -07:00
Brian Anderson
275d456118 Fix font segfaults 2012-09-12 17:54:12 -07:00
Brian Anderson
0bae84c985 Fix some mac font bustage 2012-09-12 17:09:34 -07:00
Brian Anderson
9e17f1334c Fix infinite recursion in Image ctor 2012-09-12 16:50:17 -07:00
Brian Anderson
23505d31b1 Update rust-core-foundation 2012-09-12 16:24:53 -07:00
Brian Anderson
ce07edcb56 Fix breakage in display_list_builder tests 2012-09-12 16:23:03 -07:00
Brian Anderson
732f8ce194 Update rust-glut and rust-layers 2012-09-12 16:22:46 -07:00
Brian Anderson
1d7aabd41e Update rust-layers 2012-09-12 15:05:33 -07:00
Brian J. Burg
0691c5d47b Move traverse to traverse_parallel 2012-09-12 09:54:52 -07:00
Brian J. Burg
458eae9236 Refactor DisplayList/DisplayItem to be a struct with a closure, and
add draw methods to DisplayList/DisplayItem
2012-09-11 16:46:08 -07:00
Brian J. Burg
6436862007 Update modules with syntax fixes 2012-09-11 15:45:52 -07:00
Brian J. Burg
cc0f4b139a Fix build break from hashmap->HashMap 2012-09-11 15:45:31 -07:00
Brian J. Burg
0fa87ebfbf s/import/use/g; fix class method syntax 2012-09-11 14:52:22 -07:00
Brian J. Burg
1292fa2965 Fix segfault in QuartzNativeFont.create; improve error handling slightly 2012-09-10 22:35:17 -07:00
Brian J. Burg
2d8e764c9d Finish fixing build 2012-09-10 16:36:55 -07:00
Brian J. Burg
0300776298 Mostly fix build breaks 2012-09-10 15:18:30 -07:00
Brian J. Burg
3437a3ea53 Update (fixed) submodules 2012-09-10 13:21:19 -07:00
Brian J. Burg
fd3ade2a3c Redo representation of CSS values, and many other related things. 2012-09-07 17:08:35 -07:00
Brian Anderson
cdd85d8d65 Update rust-mozjs 2012-09-07 15:37:28 -07:00
Brian Anderson
19e1e39acc Handle when glyphs don't exist on mac 2012-09-06 19:38:06 -07:00
Brian Anderson
2f6868bbbe Get the correct glyph index/advance on mac 2012-09-06 19:17:13 -07:00
Brian Anderson
fb36c05c35 Fix the naming of reference images in reftest 2012-09-06 17:52:20 -07:00
Brian Anderson
e32da820e7 Add Comment and Doctype nodes to box_builder 2012-09-06 17:21:09 -07:00
Brian Anderson
aa9fc2483f Fix path calculations in reftest 2012-09-06 17:05:29 -07:00