Commit graph

5232 commits

Author SHA1 Message Date
Brian J. Burg
5594e12236 Fix test bustage. 2012-10-23 17:28:53 -07:00
Brian J. Burg
496964123f Remove uses of str::raw::buf_as_slice, and eliminate some valgrind warnings. 2012-10-23 17:28:14 -07:00
Brian J. Burg
96d0d25824 Clean up the code that interacts with hubbub parser, and stop stashing pointers to pointers on the stack. 2012-10-23 14:37:34 -07:00
Brian J. Burg
bf9e02ab4f Update sharegl hash to proper commit. 2012-10-23 11:04:49 -07:00
Brian J. Burg
14388d6b47 Invert DisplayItem enum variant data nesting, and add some TextRun static new's. Fixes #96. 2012-10-23 10:05:33 -07:00
Brian Anderson
a3c653f046 Update mozjs 2012-10-22 19:00:12 -07:00
Brian Anderson
cb5b10c6da Merge pull request #144 from g2p/master
Fix the mozjs special case so that build products are where rust-mozjs expects them.
2012-10-22 18:59:22 -07:00
Brian J. Burg
7a27c01691 Refactor box building so that we push and pop nodes instead of boxes to BoxGenerator. LayoutTreeBuilder is only concerned with Flow tree creation, while BoxGenerator deals with boxes. 2012-10-22 18:35:57 -07:00
Brian J. Burg
c0452d5a0f Move BoxConsumer to box_builder.rs, and other minor refactoring. 2012-10-22 18:35:39 -07:00
Brian J. Burg
c11480db62 Convert to static new() in the box builder, and correct context/BoxConsumer reuse for implicit inline flowed boxes. 2012-10-22 18:35:39 -07:00
Brian J. Burg
9debb1ee9d Convert InlineFlowData.elems into ElementMapping struct. Add some debug logging for fixing range repair bugs. 2012-10-22 18:35:39 -07:00
Gabriel
ee09ea78ed Fix the mozjs special case in ./configure
Fix the mozjs special case so that build products are where rust-mozjs
expects them.
2012-10-23 02:58:21 +02:00
Brian Anderson
e5da995280 Remove servo-sandbox build code 2012-10-22 16:29:18 -07:00
Brian J. Burg
b0536d7898 Work around a miscompilation bug in LineboxScanner::repair_elem_ranges 2012-10-22 12:28:23 -07:00
Brian J. Burg
ee47778bd5 Convert NodeRange to a struct with a static new() function. 2012-10-22 12:28:23 -07:00
Brian J. Burg
8ea5c64bd0 Stop combining several UnscannedTextboxes into a single TextBox, since it loses node mapping information. 2012-10-22 12:28:23 -07:00
Brian J. Burg
538fc9e73f Fix a range-respecting bug in iter_indivisible_pieces_for_range. 2012-10-22 12:28:23 -07:00
Patrick Walton
1e7c49a9c6 Move over to mozilla-servo 2012-10-22 11:13:08 -07:00
Patrick Walton
0597ea4a00 Remove unused servo-sandbox submodule 2012-10-22 11:13:08 -07:00
Brian Anderson
24d9c0847c Update rust-netsurfcss 2012-10-21 21:02:17 -07:00
Brian Anderson
53546cf5c2 Add a SharedActor test 2012-10-20 22:25:44 -07:00
Brian Anderson
5b0925033e Sketch out a very simple actor API 2012-10-20 21:48:05 -07:00
Brian Anderson
73ea922d6b Fix tests for new last-use behavior 2012-10-20 20:58:15 -07:00
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