Commit graph

909 commits

Author SHA1 Message Date
Brian Anderson
a2152edf90 Fix name of 'Au' in FreeType module 2012-10-20 20:58:03 -07:00
Brian J. Burg
93c3242823 Attempt to repair node mapping after linebox scanning. Don't actually
enable the cleanup call yet, since it causes memory corruption.
2012-10-20 15:38:42 -07:00
Brian J. Burg
229e745a80 Update more submodules to mozilla-servo. 2012-10-20 15:38:32 -07:00
Brian J. Burg
658edb6ec8 Move CoreText bindings into a submodule. 2012-10-20 15:33:55 -07:00
Brian J. Burg
f586b0f947 Cause configure script failure if no rustc found. Closes #127. 2012-10-19 17:41:10 -07:00
Brian J. Burg
9971c4d6e0 Add rust-core-graphics submodule; Import CoreGraphics bindings from
that module, not rust-cocoa.
2012-10-19 13:32:13 -07:00
Brian J. Burg
9e521bc122 Update rust commit hash 2012-10-19 11:29:20 -07:00
Brian J. Burg
dedd2898da Finish converting TextRunScanner to use util::range. Closes #129. 2012-10-19 11:29:20 -07:00
Patrick Walton
4f79822628 gfx: Take advantage of Apple extensions to DMA layers on the Mac.
We have 60 FPS window resizing now.
2012-10-18 21:09:30 -07:00
Patrick Walton
ac9764d3ef Remove a couple more copies from the compositor 2012-10-18 19:23:57 -07:00
Patrick Walton
d0f7c8f930 Update rust-layers and rust-mozjs 2012-10-18 17:59:29 -07:00
Patrick Walton
9054aa3b03 Update rust-geom for botched merge 2012-10-18 17:58:11 -07:00
Patrick Walton
162f1546b0 servo: Update to Rust 754704ea9442ce92602f8022f6c979824b016842 2012-10-18 17:41:59 -07:00
Brian J. Burg
adeae3c46c Move InlineFlow's lines and elems mappings to use Range 2012-10-18 15:13:17 -07:00
Brian J. Burg
fcca6d6ada Extract Range into its own file. 2012-10-18 14:19:46 -07:00
Brian J. Burg
c9ec35fa2d Refactor RenderBox::split_to_width to use TextRanges. 2012-10-18 13:36:44 -07:00
Brian J. Burg
7bfafa5bb8 Refactor uses of text ranges in glyph storage iteration and display list. 2012-10-18 12:02:49 -07:00
Brian J. Burg
0f050e7835 More TextRange refactoring. 2012-10-18 11:53:25 -07:00
Brian J. Burg
efca6fedfc More TextRange refactoring. 2012-10-18 11:31:58 -07:00
Brian J. Burg
f9040afada More TextRange conversions. 2012-10-18 11:17:47 -07:00
Brian J. Burg
2cbfde7683 Convert offset+length to TextRange in parts of TextRun API. 2012-10-18 10:35:52 -07:00
Brian J. Burg
e2c5bcaf37 Convert TextRun::iter_natural_lines_for_range to use spans. Fixes #123. 2012-10-18 09:56:01 -07:00
Brian Anderson
905bff4228 Refactor RenderTask into a struct 2012-10-18 01:22:16 -07:00
Brian Anderson
0c8886f6f6 Extract RenderContext from render_task 2012-10-18 00:29:56 -07:00
Brian Anderson
6bfa2254a0 Improve README 2012-10-17 23:24:12 -07:00
Brian Anderson
c408fe16e0 Update rust-netsurfcss 2012-10-17 17:36:15 -07:00
Brian Anderson
8ddaaca362 Begin work on libcss bindings 2012-10-17 16:02:11 -07:00
Brian Anderson
02d82a5739 Move brson's submodule remotes to mozilla-servo 2012-10-17 16:02:11 -07:00
Brian J. Burg
3c58145f1a Fix some bugs in display list construction/dirty rect intersection. Rename some variables to emphasize that dirty rect is w.r.t. global coords. 2012-10-17 15:35:36 -07:00
Brian J. Burg
5fd7e72d06 Compute actual linebox bounding boxes, and set heights of RenderBoxes in an InlineFlow.. 2012-10-17 15:35:35 -07:00
Brian J. Burg
7c26c56f49 Update rust-geom with correct union impl. 2012-10-17 15:35:35 -07:00
Brian Anderson
82c829c0e7 More lipsum 2012-10-17 07:49:58 -07:00
Patrick Walton
0a7f127a76 layout: Emergency fix to get burritocats displaying again.
This simply makes some asserts nonfatal.
2012-10-17 00:05:31 -07:00
Brian Anderson
dafa055e05 Add some tests 2012-10-16 22:39:22 -07:00
Brian J. Burg
5c5a7a1866 Hook up linebox scanner, and fix many glitches in the scanning algorithm. 2012-10-16 21:09:05 -07:00
Brian J. Burg
5e7f9fc585 Rewrite iter_indivisible_pieces_for_range in idiomatic offset+length parlance. 2012-10-16 21:09:05 -07:00
Brian J. Burg
c32b74eb63 Fix off-by-one errors in whitespace-word clumping. 2012-10-16 21:09:05 -07:00
Brian J. Burg
5e5844a33d Don't measure advance zero-length text. 2012-10-16 21:09:05 -07:00
Brian J. Burg
6b7a0a00f8 Don't try to measure pref-width of a single newline. 2012-10-16 21:09:05 -07:00
Brian J. Burg
c545dd901b Fix Font::measure_text() to actually compute a bounding box width. 2012-10-16 21:09:05 -07:00
Brian J. Burg
22af9770b8 Clean up when exactly an inline flow's RenderBoxes are assigned their widths and heights. 2012-10-16 21:09:05 -07:00
Brian J. Burg
e3873620b3 Update rust-geom hash. 2012-10-16 21:09:05 -07:00
Brian J. Burg
3e0495f97c Add indirection and logging to display list construction; temporarily disable dirty region intersection in Renderbox display item generation. 2012-10-16 21:09:05 -07:00
Brian J. Burg
3f9db09163 Add RenderBox::margin_box() 2012-10-16 21:05:35 -07:00
Brian J. Burg
1704daccb7 Work around a bug in rustc. 2012-10-16 21:05:35 -07:00
Brian J. Burg
061e58797b Implement LineboxScanner 2012-10-16 21:05:35 -07:00
Brian Anderson
ceb496230a Add something like absolute positioning 2012-10-16 19:21:49 -07:00
Brian Anderson
7aa07816d4 Add basic borders 2012-10-16 17:11:31 -07:00
Brian J. Burg
928eec48b4 Finish RenderBox::split_to_width() 2012-10-15 18:48:41 -07:00
Brian Anderson
83bb1bda0e Move the contents of BuildMsg to a struct 2012-10-15 18:39:23 -07:00