Commit graph

3647 commits

Author SHA1 Message Date
Brian Anderson
c0350e7739 Change StyleMethods::style to return a region pointer instead of copying the style object 2012-10-31 21:49:15 -07:00
Brian Anderson
b00885f77a Begin integrating selector matching 2012-10-31 21:49:15 -07:00
Brian Anderson
806517b9bb Add the CSS SelectCtx to Layout 2012-10-31 21:49:14 -07:00
Brian Anderson
8c98b0e49c Use newcss::Stylesheet for the stylesheet type 2012-10-31 21:49:14 -07:00
Brian Anderson
cdd17b5fce Convert to new Stylesheet definition. Break styling temporarily 2012-10-31 21:49:14 -07:00
Brian Anderson
921dd909d7 Comment out failing font tests 2012-10-31 21:49:14 -07:00
Patrick Walton
8c94a80ee2 Add a Skia submodule 2012-10-31 19:49:17 -07:00
Brian Anderson
685ecb9ac8 Update rust-netsurfcss 2012-10-30 19:03:05 -07:00
Brian Anderson
813b1d2a84 Let stylesheets live in layout instead of content 2012-10-30 19:01:55 -07:00
Brian Anderson
23b6b386cb Move CSS lexing into the parser to create a simpler interface 2012-10-30 16:51:21 -07:00
Brian Anderson
66f4fdc017 Update rust-css 2012-10-30 16:01:06 -07:00
Brian Anderson
0b9dfde349 Flatten the css module 2012-10-30 15:58:26 -07:00
Brian Anderson
fbe17a1e36 Move the entire servo CSS selection interface to css::styles 2012-10-30 15:54:05 -07:00
Brian Anderson
fc3ca6738a Remove dead CSS code 2012-10-30 15:48:51 -07:00
Brian Anderson
bf19709645 Move css parser and lexer to rust-css 2012-10-30 14:54:34 -07:00
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