Commit graph

3647 commits

Author SHA1 Message Date
Brian Anderson
f13e6ac388 Build cairo in-tree 2013-01-15 11:28:08 -08:00
Brian Anderson
9256b5bd47 Add cairo and pixman submodules 2013-01-10 12:44:59 -08:00
Brian Anderson
5e40aa6aa3 Use the in-tree Rust compiler 2013-01-10 11:56:48 -08:00
Brian Anderson
8db859b7d2 Add Rust submodule 2013-01-09 16:33:19 -08:00
Brian Anderson
41db235129 Add Rust as a submodule 2013-01-09 15:06:26 -08:00
Brian Anderson
f8fac8d12c Update rust-azure 2013-01-07 18:28:59 -08:00
Brian Anderson
28a72cbb0e Make the default serif 'Times New Roman', not 'Times' 2013-01-07 16:46:25 -08:00
Brian Anderson
ae6939bc1a Implement clone_with_style for FreeType 2013-01-07 14:40:27 -08:00
Brian Anderson
905ad4a88e Implement load_variations_for_family for FontConfig 2013-01-07 14:01:31 -08:00
Brian Anderson
14ff5da898 Fix warnings 2013-01-04 18:16:27 -08:00
Brian Anderson
55a37e0f67 Update rust-mozjs 2013-01-04 18:15:35 -08:00
Josh Matthews
d15dd2f199 Add basic fontconfig support - doesn't crash, and renders text in Josefin if the font is present in the fontconfig cache. 2012-12-26 00:13:38 -05:00
Josh Matthews
be1935e9ad Update for language changes. 2012-12-23 13:43:33 -05:00
Patrick Walton
157227e8c2 Update for language changes; stop crashing 2012-12-14 18:26:28 -08:00
Patrick Walton
b6ae82d05d Update for language changes 2012-12-13 22:34:55 -08:00
Patrick Walton
8fd5bd516f Update for language changes 2012-12-13 18:43:59 -08:00
Patrick Walton
136c3a6b9f Update src/README.md 2012-12-06 22:19:52 -08:00
Patrick Walton
c5f72ce859 rust-azure, rust-cairo: Update Cairo version 2012-12-06 12:30:36 -08:00
Patrick Walton
f46f5384f3 servo: Update for language changes 2012-12-06 12:03:34 -08:00
Patrick Walton
160e7552fa Typo in src/README.md 2012-12-05 17:45:26 -08:00
Brian Anderson
ecf2489083 Add a README file to src explaining the directories there 2012-12-05 17:33:27 -08:00
Brian Anderson
f4f0612dbf Fix mac build 2012-12-04 17:03:20 -08:00
Brian Anderson
f3e315aa4f Update README 2012-12-04 13:54:04 -08:00
Brian Anderson
a48026a838 Eliminate some copies 2012-12-04 12:27:03 -08:00
Brian Anderson
3cf9b0f2b0 Make servo build again 2012-12-04 12:23:32 -08:00
Brian Anderson
557de81c87 Update more submodules 2012-12-04 11:18:05 -08:00
Brian Anderson
d9e817f895 Update rust-http-client 2012-12-03 19:59:06 -08:00
Brian Anderson
2f6d1272dc Update rust-azure, rust-cairo, rust-geom, rust-layers 2012-12-03 19:38:29 -08:00
Patrick Walton
4fb082db4a Update rust-azure 2012-11-27 16:19:32 -08:00
Patrick Walton
b04c68091d servo: Update for Eq trait with explicit self 2012-11-27 15:32:39 -08:00
Brian J. Burg
29e46273f9 Finish conversion to using only character ranges. We don't crash on multi-byte characters any more. 2012-11-21 17:46:33 -08:00
Brian J. Burg
ddb4e5e17d Change mojira.html to use MS Mincho. 2012-11-21 17:43:28 -08:00
Brian J. Burg
b2f8228b10 Convert linebox scanner and other bits to use character indices instead of string byte offsets. Fix some bugs in set_char_break_before, and remove dead inline tests. 2012-11-21 15:51:01 -08:00
Brian J. Burg
751901d39e Compute and store line break information in the glyph storage when creating text runs. 2012-11-21 12:20:09 -08:00
Brian J. Burg
2ad1c1564c Fix the disturbing state of unpurity in the glyph storage and
iteration code. Move from DVec to ~[] inside GlyphStore.

Add public API trait for the shaper, clean up other shaping API stuff.

Remove legacy exports from servo_util::vec.
2012-11-21 10:59:30 -08:00
Brian J. Burg
42c6e45d08 Persist original character flag data (is space, is cluster, is breakable, etc) in the glyph store when setting glyph-related data. 2012-11-20 18:17:34 -08:00
Brian J. Burg
d460162306 Add hack to reduce baseline wrongness. Also issue-ify all TODOs in inline layout. 2012-11-20 17:08:41 -08:00
Brian J. Burg
a9fdbf0c66 Add pixel-snapping method to Au. 2012-11-20 17:08:17 -08:00
Brian Anderson
e1d4045399 Update rust-css, rust-netsurfcss for line-height 2012-11-19 16:02:46 -08:00
Brian J. Burg
6d5bb1e5c6 Draw baselines when debug logging servo/layout/box.rs. Closes #154. 2012-11-19 16:00:07 -08:00
Brian J. Burg
0b37bdb332 Don't coalesce UnscannedTextBoxes if their font styles differ. 2012-11-19 15:17:51 -08:00
Brian J. Burg
d76195757a Force root flow's box size to coincide with the viewport if child
flows have less combined height than the viewport height.

This makes Issue #218 go away in the case when the HTML element's
style specifies a background color.
2012-11-19 14:43:10 -08:00
Brian J. Burg
02e0734613 Correctly attach a box (corresponding to the root node) to the root flow. 2012-11-19 13:50:58 -08:00
Brian J. Burg
d65140f2d2 Make DebugMethods pure; fix uses in flow and box (somewhat barbarically). 2012-11-19 13:05:22 -08:00
Brian J. Burg
ec60c5827b box_builder: Add logging for cases when BoxGenerator attaches a singleton box to root or block flow. 2012-11-19 13:03:23 -08:00
Brian J. Burg
e838b171b9 In GlyphStore API, clarify function names to indicate whether byte or character indices are being iterated over. 2012-11-19 11:22:42 -08:00
Patrick Walton
0537e3723f html: Implement shallow node cloning. http://yellow5.com/pokey/ doesn't crash now. 2012-11-18 22:54:28 -08:00
Patrick Walton
2120a651c5 sub: Update rust-netsurfcss 2012-11-18 22:33:06 -08:00
Patrick Walton
1e389ebf17 Fix assert in Quartz backend 2012-11-18 22:32:02 -08:00
Patrick Walton
1ddfc14881 content, layout: Very, very early beginnings of support for incremental reflow.
Don't perform CSS selector matching when the window is resized.
2012-11-18 22:19:01 -08:00