Commit graph

4860 commits

Author SHA1 Message Date
Brian Anderson
7d56150947 Introduce GlyphIndex type to distinguish glyph codepoints vs unicode codepoints 2012-06-21 14:14:03 -07:00
Brian Anderson
5f8493e3a9 Camel-case text types 2012-06-21 13:49:25 -07:00
Margaret Meyerhofer
ce615bf12a Changed parallel css matching to use shared state instead of copying 2012-06-20 15:32:21 -07:00
Margaret Meyerhofer
4ee7e57eea Remove remaining implicit copy warnings 2012-06-20 10:32:59 -07:00
Margaret Meyerhofer
a322542825 Changed css matching to match nodes in parallel. 2012-06-19 12:36:50 -07:00
Margaret Meyerhofer
d7db7a56c3 Ignore more inconsistently failing tests 2012-06-19 10:34:50 -07:00
Brian Anderson
8694baaca0 Ignore some font tests that are failing inconsistently 2012-06-17 21:15:42 -07:00
Brian Anderson
632c781206 Use the actual horizontal advance 2012-06-16 23:19:27 -07:00
Brian Anderson
d9c59e3adf Remove old font test code 2012-06-16 21:09:55 -07:00
Brian Anderson
cbb26e64fb Print text on mac 2012-06-16 18:18:15 -07:00
Brian Anderson
8d2eb11582 Print text to screen. Aw, yeah. 2012-06-16 17:53:11 -07:00
Brian Anderson
f37897924b Text boxes yield two display items, a bg color and a text item 2012-06-16 16:02:40 -07:00
Brian Anderson
2c0dcbc722 Boxes may convert to multiple display list items 2012-06-16 15:57:08 -07:00
Brian Anderson
96c44f9726 Add display_item_text 2012-06-16 15:40:43 -07:00
Brian Anderson
756cc775b5 Extract display_list_builder from layout_task 2012-06-16 15:12:30 -07:00
Brian Anderson
052fcadc2b Calculate the size of the text_box from the text_run 2012-06-16 15:03:28 -07:00
Brian Anderson
86f59bd5ef Calculate the size of a text run 2012-06-16 14:46:55 -07:00
Brian Anderson
5af6c891ed Make text_run immutable 2012-06-16 14:46:10 -07:00
Brian Anderson
50a0956f1b Only include the test font once 2012-06-15 23:37:33 -07:00
Brian Anderson
25e6db150e Use font class to get the glyph advance for harfbuzz 2012-06-15 23:33:12 -07:00
Brian Anderson
e1d09aae96 Misc work on fonts 2012-06-15 22:07:56 -07:00
Brian Anderson
902605c690 Teach text::shaper how to find a glyph index from the font 2012-06-15 17:52:22 -07:00
Brian Anderson
c1af1b833c Teach text::font how to find a glyph index on linux 2012-06-15 17:12:04 -07:00
Brian Anderson
3d4d7eabfe Update rust-harfbuzz 2012-06-15 17:12:04 -07:00
Patrick Walton
1ec640b047 Fix naming in tree 2012-06-14 20:19:25 -07:00
Patrick Walton
0347e4408c Refactor RCU to use the CamelCase naming convention 2012-06-14 19:20:08 -07:00
Patrick Walton
6c6f7f99e4 Make Box into a class 2012-06-14 18:55:04 -07:00
Patrick Walton
9ed8b20778 CamelCase box kinds 2012-06-14 17:31:02 -07:00
Patrick Walton
09ee4b18ef CamelCase everything in dom/base 2012-06-14 17:23:11 -07:00
Patrick Walton
876e1307e3 node -> Node 2012-06-14 17:11:06 -07:00
Patrick Walton
3f1b23b524 Use spec names for ElementKinds 2012-06-14 17:04:21 -07:00
Patrick Walton
f480c54e69 Correct spelling of "fuchsia" 2012-06-14 16:40:26 -07:00
Patrick Walton
c348486140 CamelCase node kinds. Also fix shape glue problem in CSS color comparison. 2012-06-14 16:38:05 -07:00
Patrick Walton
d2455c7bb6 "ch" -> "self_channel" 2012-06-14 15:25:24 -07:00
Patrick Walton
3aa7f249e8 Tabs -> spaces in servo.rc 2012-06-14 15:23:33 -07:00
Patrick Walton
717ef95016 "resp" -> "from_renderer" 2012-06-14 15:22:57 -07:00
Patrick Walton
fb4fab8a07 CamelCase messages 2012-06-14 15:20:59 -07:00
Brian Anderson
c5e2f391b0 Merge pull request #19 from mmeyerho/color
Refactored color into a separate module and added support for input types.
2012-06-14 15:20:50 -07:00
Margaret Meyerhofer
4cff78af36 Refactored color functions into a separate module and added support for more types of input. 2012-06-14 15:13:50 -07:00
Brian Anderson
62496f9166 Update rust-geom 2012-06-14 15:10:54 -07:00
Brian Anderson
7eb949eac4 Fix build 2012-06-14 15:09:51 -07:00
Patrick Walton
9026bd1f00 engine::msg -> Msg 2012-06-14 15:06:42 -07:00
Patrick Walton
b5b50e5d20 layout -> layout_task. Fixes a bunch of ugly imports. 2012-06-14 14:59:05 -07:00
Patrick Walton
3084d15a36 Move to rust-geom 2012-06-14 14:51:51 -07:00
Brian Anderson
56ec9a9a02 Fix make check for rust-geom 2012-06-14 14:09:35 -07:00
Brian Anderson
854b6d900b Add rust-geom to .gitmodules 2012-06-14 12:31:06 -07:00
Patrick Walton
c170892d54 Add rust-geom and a bunch of compile fixes 2012-06-14 12:18:45 -07:00
Brian Anderson
13f82a23bf Merge pull request #18 from mmeyerho/copies
Fixed warnings about implicitly copying values, but not warnings of type mismatches.
2012-06-13 15:31:49 -07:00
Margaret Meyerhofer
3b1df3668c Removed impilicitly copying value warnings. 2012-06-13 13:57:19 -07:00
Brian Anderson
9597caf42b Merge pull request #17 from mmeyerho/fix_layout
Fix borrowck errors and erros in layout positioning
2012-06-11 16:19:27 -07:00