Commit graph

5232 commits

Author SHA1 Message Date
Brian Anderson
37d45c6872 Remove CSS lexer's dependency on resource_task 2012-10-30 14:54:34 -07:00
Brian Anderson
86ce867a1c Remove lexer_util's dependency on resource_task 2012-10-30 14:54:34 -07:00
Brian Anderson
2ea80e2407 Move lexer_util to css module 2012-10-30 14:54:34 -07:00
Brian J. Burg
b7d4ec1217 Create FontContext from matcher, remove platform-specific matchers. Move default font into FontCache. Fixes #166. 2012-10-30 12:07:16 -07:00
Brian J. Burg
b545e4821e Create font matchers and native equivalents. Add in a dummy font cache. Untangle some test font stuff. 2012-10-29 18:53:55 -07:00
Brian J. Burg
82434c749c Clean up NativeFont constructors. 2012-10-29 17:15:12 -07:00
Brian J. Burg
2365a903b3 Move the workaround for Issue #163 next to the typedef. 2012-10-29 17:15:12 -07:00
Brian Anderson
ada1da1073 Move css::color, and css::value to rust-css 2012-10-29 16:42:25 -07:00
Brian J. Burg
ef63245502 Reuse harfbuzz font, face objects on subsequent shaper calls. Move static functions into HarfbuzzShaper. 2012-10-29 16:28:21 -07:00
Brian J. Burg
82faedf9fc Shaper holds a reference to its font. 2012-10-29 15:01:55 -07:00
Brian J. Burg
97b7b21452 Add Font.shape_text(), and instantiate/reuse Shaper instance off of Font lazily. Shaper now takes a font, text, and glyph storage. 2012-10-29 14:54:59 -07:00
Brian J. Burg
09686c234f Shaper now uses actual font point size. Closes #162. 2012-10-29 14:54:59 -07:00
Brian J. Burg
365a99a276 Add note about Issue #163 to source. 2012-10-29 14:54:59 -07:00
Brian Anderson
81277cca75 Move util::color to css::color 2012-10-29 14:27:02 -07:00
Brian Anderson
21cd748269 Remove PngCompositor. Will need a different solution 2012-10-29 14:25:35 -07:00
Brian Anderson
ddd3065c0b Add casts to FreeType code to fix build 2012-10-29 13:59:06 -07:00
Brian J. Burg
960cde1fbe Move around native font implementations and shapers. 2012-10-29 12:05:58 -07:00
Brian Anderson
dbfe0869e2 Update rust-netsurfcss, rust-wapcaplet 2012-10-28 02:35:08 -07:00
Patrick Walton
ad540f870a gfx: Disable tiles for now due to bustage 2012-10-27 21:08:05 -07:00
Brian J. Burg
9f94b54c89 Create FontStyle, FontFaceProperties, and hook up (hardcoded) adjustable font sizes. Also ripped out some native font tests that won't make sense with font machinery refactor. 2012-10-26 19:53:26 -07:00
Brian Anderson
2e5afb7050 Add rust-css submodule 2012-10-26 18:51:03 -07:00
Brian Anderson
7db5ebee34 Update submodules with build fixes 2012-10-26 18:30:51 -07:00
Brian Anderson
b32da1f005 Update rust-netsurfcss 2012-10-26 16:25:52 -07:00
Patrick Walton
b101f8258e layout: Make the display list freezable/dual mode 2012-10-25 22:01:52 -07:00
Patrick Walton
7c029a322d gfx: Implement tiled rendering 2012-10-25 20:36:34 -07:00
Patrick Walton
01e9c30b80 Update rust-geom 2012-10-25 20:20:33 -07:00
Brian Anderson
a845e458f1 Update rust-wapcaplet, rust-netsurfcss 2012-10-25 19:24:42 -07:00
Patrick Walton
37da0262fe Update rust-azure 2012-10-25 18:51:48 -07:00
Patrick Walton
b0ad3089d1 platform: Render all layers 2012-10-25 17:46:28 -07:00
Patrick Walton
9135fbdd4a platform: Create an image layer for each buffer 2012-10-25 17:08:57 -07:00
Patrick Walton
38fb01b43f gfx: Place rects in the layer buffers, not just sizes 2012-10-25 16:33:28 -07:00
Patrick Walton
5c373c21d8 gfx: Use layer buffer sets instead of a single layer buffer 2012-10-25 16:20:39 -07:00
Patrick Walton
467c799532 Fix the origin when resizing 2012-10-25 15:17:25 -07:00
Brian J. Burg
12954d12c3 Fix linux build for recent submodule splits. 2012-10-25 15:16:43 -07:00
Brian J. Burg
5c68d158f0 Split out xlib to rust-xlib and cairo to rust-cairo. 2012-10-25 14:56:07 -07:00
Brian J. Burg
e01d97460b Split fontconfig bindings into rust-fontconfig. 2012-10-25 12:34:01 -07:00
Brian J. Burg
800bf0a8ed Put extern mod declaration for freetype inside an OS guarded section. 2012-10-25 11:45:53 -07:00
Brian J. Burg
9bde1e9f26 Split freetype bindings into rust-freetype submodule. 2012-10-25 11:32:10 -07:00
Brian Anderson
962e0c6c27 Update libwapcaplet, rust-wapcaplet 2012-10-25 00:28:18 -07:00
Patrick Walton
104020d242 build: Optimize C++ code in submodules. Closes #157. 2012-10-24 23:05:33 -07:00
Patrick Walton
0eea6621a8 Fix CFG_RUSTC variable in configure 2012-10-24 22:18:27 -07:00
Brian Anderson
9fdab777c6 Update rust-wapcaplet 2012-10-24 19:37:17 -07:00
Brian Anderson
93f921e511 Update rust-netsurfcss 2012-10-24 18:26:10 -07:00
Brian Anderson
09b8c6fae6 Update rust-glut, rust-http-client, rust-stb-image 2012-10-24 18:25:20 -07:00
Brian J. Burg
eb0942593e Cache AzScaledFontRef inside of Font instances. Fixes #83. 2012-10-24 18:17:10 -07:00
Brian J. Burg
a06b573e74 Move RenderContext::draw_text() to Font::draw_text_into_context(). Fixes #156. 2012-10-24 18:16:51 -07:00
Brian J. Burg
416ffeaca6 Fix incorrect origin for drawing glyphs. Fixes #153. 2012-10-24 16:24:04 -07:00
Brian J. Burg
91c7ca11b3 Snap borders with odd pixel width to pixel boundaries.
Add debug bounding boxes for text boxes (RUST_LOG=servo::layout::box)
and all boxes (RUST_LOG=servo::gfx::display_list).
2012-10-24 15:34:04 -07:00
Brian J. Burg
a7c796aaf1 Update servo to rust 3b6f5a1. Removes extraneous by-ref parameter to option::get(), and removes binary move operator. 2012-10-24 14:27:38 -07:00
Brian Anderson
c255509688 Update rust-netsurfcss 2012-10-23 18:38:38 -07:00