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
Patrick Walton
c31bd43570
css, gfx, sub: Eliminate many copies
2012-11-18 22:01:40 -08:00
Patrick Walton
0c72f6ded8
gfx, html, layout: Unbreak images by removing a bad copy
2012-11-18 21:14:54 -08:00
Patrick Walton
61f558dffc
css, dom, text: Stop copying so much. Also stop asserting.
2012-11-18 19:12:34 -08:00
Patrick Walton
230ac2dd17
css, sub: Don't copy so much
2012-11-18 18:59:34 -08:00
Brian J. Burg
2a1e97c80f
Delete old range, s/MutableRange/Range/g;
2012-11-18 18:57:46 -08:00
Brian J. Burg
da17edee92
Move away from using non-freezable Range.
2012-11-18 18:49:46 -08:00
Brian J. Burg
a706a57f32
Move Range::relation_to_range
2012-11-18 18:31:01 -08:00
Brian J. Burg
0562871cc7
Make MutableRange freezable.
2012-11-18 18:25:02 -08:00
Brian J. Burg
25f019b9df
Add a simple multi-byte character unicode test.
2012-11-18 17:00:18 -08:00
Brian J. Burg
451f99c5b1
Handle multi-byte characters in the hb output-interpretation code. (the multi-byte glyph storage code doesn't quite work yet, though.)
2012-11-18 16:59:46 -08:00
Brian J. Burg
fa8839250d
Make the ligatures test case easier to see.
2012-11-18 15:31:32 -08:00
Brian J. Burg
cc1a0e5d6a
Refactor the harfbuzz output interpretation function to be easier to follow. Remove old commented out version.
2012-11-18 15:29:17 -08:00
Brian J. Burg
f72548d8fa
Split apart tests for ligatures and combining character sequences.
2012-11-18 12:48:28 -08:00
Brian J. Burg
1c04624312
Properly handle harfbuzz output for some simple ligature cases.
2012-11-18 12:48:23 -08:00
Patrick Walton
b1ab49d842
submodules: Update rust-css and rust-netsurfcss
2012-11-18 11:57:16 -08:00