Commit Graph

943 Commits

Author SHA1 Message Date
Patrick Walton
a88c97a13e servo: layout: Hook up CSS to font rendering
Source-Repo: https://github.com/servo/servo
Source-Revision: dba9905bbc971b5a0f5bf102481a14bcc92267b6
2012-11-16 16:13:22 -08:00
Brian J. Burg
83f2d3188d servo: Switch to use CGFont binding. Give out the same CGFont for each new ScaledFont. Closes #152. Closes #184.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7fbba0b4412305c41fc78d6c8cd06e3036c759b0
2012-11-16 15:20:54 -08:00
Patrick Walton
fd37692614 servo: gfx: Implement generic font names per CSS2 15.3.1
Source-Repo: https://github.com/servo/servo
Source-Revision: 786746d3c6031cf5d59f3f75eb53de47207c2058
2012-11-16 15:14:50 -08:00
Brian J. Burg
5e6d6c901b servo: Rewrite the Core Foundation wrapper system.
Source-Repo: https://github.com/servo/servo
Source-Revision: 51461cd1048b57ddde3cf3627d14a4cce8581ffd
2012-11-16 12:00:19 -08:00
Brian J. Burg
2262f34767 servo: add test case with a few ligatures and combining character sequences.
Source-Repo: https://github.com/servo/servo
Source-Revision: d3debc6bf89f15db0dd4a81388b9c18f15da01f2
2012-11-16 09:43:09 -08:00
Brian J. Burg
7ed8e14359 servo: Update rust version.
Source-Repo: https://github.com/servo/servo
Source-Revision: c29855f66abc027b909d67b8173bfdc6ff6c5c9b
2012-11-16 08:54:44 -08:00
Patrick Walton
c08ed03ee1 servo: gfx: Allow tile size to be set on the command line
Source-Repo: https://github.com/servo/servo
Source-Revision: 54a71a7d0c3f466034376ba63fca239a827822e0
2012-11-15 20:47:27 -08:00
Patrick Walton
2cc36bc57c servo: text: Don't crash on kerning/ligatures
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fd486970b57de23b5fc5767576f2d2db2e1bd6b
2012-11-15 20:47:13 -08:00
Patrick Walton
81acf17a77 servo: css, gfx, layout, submodules: Update for compiler bugfixes
Source-Repo: https://github.com/servo/servo
Source-Revision: ca217b4f756dfbd677e98318edb60f5f4f8606f0
2012-11-15 17:34:18 -08:00
Brian J. Burg
71d446c5b6 servo: Add some debugging for mulitple glyph cases in shaper and glyph storage.
Source-Repo: https://github.com/servo/servo
Source-Revision: 80aa0e904d52892c7d5e62e21c029ba2c1c0012b
2012-11-15 09:46:59 -08:00
Brian J. Burg
49762ae537 servo: Clean up some unused debug code in gfx/font.rs.
Source-Repo: https://github.com/servo/servo
Source-Revision: b4943a62986add2e7f05b3915662256261de0f0a
2012-11-15 09:45:39 -08:00
Brian J. Burg
85af94520b servo: Add some RAII and black magic to let harfbuzz determine font table blob lifetimes.
Source-Repo: https://github.com/servo/servo
Source-Revision: c74abcaa5c33ae68a5877ac27deff72fc056d5e4
2012-11-14 17:10:57 -08:00
Brian J. Burg
c307eb85b8 servo: Load font family face variations on-demand, rather than all at startup. This breaks the linux build temporarily. Provides the Mac implementation for Issue #187.
Source-Repo: https://github.com/servo/servo
Source-Revision: b14505e44d04e993e288a84c4fa95d07e0394315
2012-11-14 14:43:59 -08:00
Brian J. Burg
11245c89e4 servo: Fix crash in debug logging of FontList. Closes #204.
Source-Repo: https://github.com/servo/servo
Source-Revision: fe29edb5f677d8bca99e0e13b9deb019522f81da
2012-11-14 09:56:49 -08:00
Brian J. Burg
17c245c02c servo: Fix the linux build by stubbing out FreeType handles that haven't been implemented yet. Add some glue to create ScaledFonts for Cairo backend on linux. Closes #207.
Source-Repo: https://github.com/servo/servo
Source-Revision: 77a5d8b107d936075661e5a2d3a8cf393c1aab6b
2012-11-13 18:29:07 -08:00
Brian J. Burg
ac2a208cd5 servo: Finish implementing first cut at font matching. Closes #174.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0d135a4fa56e35673aaef9d903f683dd2f7837e7
2012-11-12 19:24:35 -08:00
Brian J. Burg
3323a8c75e servo: Bump rust version.
Source-Repo: https://github.com/servo/servo
Source-Revision: ebb93925879bfcfabb2dd91f6d1ae1f3251877f7
2012-11-12 19:23:46 -08:00
Brian J. Burg
9ffc40eb72 servo: Add clean target for servo gfx; Clean servo_gfx when running make clean-servo.
Source-Repo: https://github.com/servo/servo
Source-Revision: 042a33e2819749aeba6bf8d92c82371aba0b3afd
2012-11-12 19:21:15 -08:00
Brian J. Burg
36c889b877 servo: Don't pass around a managed font buffer since it's not shared, and not used by font table code at all. Fixes #176.
Source-Repo: https://github.com/servo/servo
Source-Revision: 23c35c4c889436060940844837ec7a20cf452841
2012-11-12 15:24:25 -08:00
Brian J. Burg
86f8168c1d servo: Update some TODO comments and other cleanup.
Source-Repo: https://github.com/servo/servo
Source-Revision: ad353c3161c05d0211212a0307d8bd9e11a5f0da
2012-11-12 14:57:39 -08:00
Brian J. Burg
f7c6a9ed6b servo: Comment out some spammy Font debug statements.
Source-Repo: https://github.com/servo/servo
Source-Revision: b62537883a5b2fbcf970385ec376a2403a84bede
2012-11-12 14:34:27 -08:00
Brian J. Burg
bfc7c852e4 servo: Clean up imports after rebasing across submodule mess.
Source-Repo: https://github.com/servo/servo
Source-Revision: 81f84bce17f9bb2af01f17b6e4684a97c4330d84
2012-11-12 14:29:46 -08:00
Brian J. Burg
a83662f93d servo: Implement lazy font table loading from FontHandles for CoreText. Tracked by #195.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a3a79dc369ca01f068f6f48d8c711fb6c9c75bd
2012-11-12 14:09:16 -08:00
Brian J. Burg
cb5ae46892 servo: Clean up font-related constructor paths to not require a byte buffer;
add FontGroup construction and interaction with TextRun.

Closes #178.

Source-Repo: https://github.com/servo/servo
Source-Revision: a34f67d64b0f1c02822eb44688bc7c2a36ce9753
2012-11-12 11:07:02 -08:00
Brian J. Burg
01fdcfe369 servo: Some hacks to make text line breaking a bit faster.
Source-Repo: https://github.com/servo/servo
Source-Revision: 84216f838f07107aaded3638ec982d87e55e1aa7
2012-11-12 08:12:13 -08:00
Patrick Walton
e3c0297166 servo: gfx: Rename servo-gfx-2 to servo-gfx
Source-Repo: https://github.com/servo/servo
Source-Revision: 7bbff6154ccab3b6d36cbc61b497e4e0f56341b8

--HG--
rename : servo/src/servo-gfx-2/JosefinSans-SemiBold.ttf => servo/src/servo-gfx/JosefinSans-SemiBold.ttf
rename : servo/src/servo-gfx-2/OFL.txt => servo/src/servo-gfx/OFL.txt
rename : servo/src/servo-gfx-2/color.rs => servo/src/servo-gfx/color.rs
rename : servo/src/servo-gfx-2/compositor.rs => servo/src/servo-gfx/compositor.rs
rename : servo/src/servo-gfx-2/display_list.rs => servo/src/servo-gfx/display_list.rs
rename : servo/src/servo-gfx-2/font.rs => servo/src/servo-gfx/font.rs
rename : servo/src/servo-gfx-2/font_context.rs => servo/src/servo-gfx/font_context.rs
rename : servo/src/servo-gfx-2/font_list.rs => servo/src/servo-gfx/font_list.rs
rename : servo/src/servo-gfx-2/fontconfig/font_list.rs => servo/src/servo-gfx/fontconfig/font_list.rs
rename : servo/src/servo-gfx-2/freetype/font.rs => servo/src/servo-gfx/freetype/font.rs
rename : servo/src/servo-gfx-2/freetype/font_context.rs => servo/src/servo-gfx/freetype/font_context.rs
rename : servo/src/servo-gfx-2/geometry.rs => servo/src/servo-gfx/geometry.rs
rename : servo/src/servo-gfx-2/image/base.rs => servo/src/servo-gfx/image/base.rs
rename : servo/src/servo-gfx-2/image/encode/tga.rs => servo/src/servo-gfx/image/encode/tga.rs
rename : servo/src/servo-gfx-2/image/holder.rs => servo/src/servo-gfx/image/holder.rs
rename : servo/src/servo-gfx-2/image/test.jpeg => servo/src/servo-gfx/image/test.jpeg
rename : servo/src/servo-gfx-2/native.rs => servo/src/servo-gfx/native.rs
rename : servo/src/servo-gfx-2/opts.rs => servo/src/servo-gfx/opts.rs
rename : servo/src/servo-gfx-2/quartz/font.rs => servo/src/servo-gfx/quartz/font.rs
rename : servo/src/servo-gfx-2/quartz/font_context.rs => servo/src/servo-gfx/quartz/font_context.rs
rename : servo/src/servo-gfx-2/quartz/font_list.rs => servo/src/servo-gfx/quartz/font_list.rs
rename : servo/src/servo-gfx-2/render_context.rs => servo/src/servo-gfx/render_context.rs
rename : servo/src/servo-gfx-2/render_layers.rs => servo/src/servo-gfx/render_layers.rs
rename : servo/src/servo-gfx-2/render_task.rs => servo/src/servo-gfx/render_task.rs
rename : servo/src/servo-gfx-2/resource/file_loader.rs => servo/src/servo-gfx/resource/file_loader.rs
rename : servo/src/servo-gfx-2/resource/http_loader.rs => servo/src/servo-gfx/resource/http_loader.rs
rename : servo/src/servo-gfx-2/resource/image_cache_task.rs => servo/src/servo-gfx/resource/image_cache_task.rs
rename : servo/src/servo-gfx-2/resource/local_image_cache.rs => servo/src/servo-gfx/resource/local_image_cache.rs
rename : servo/src/servo-gfx-2/resource/resource_task.rs => servo/src/servo-gfx/resource/resource_task.rs
rename : servo/src/servo-gfx-2/servo_gfx.rc => servo/src/servo-gfx/servo_gfx.rc
rename : servo/src/servo-gfx-2/servo_gfx.rs => servo/src/servo-gfx/servo_gfx.rs
rename : servo/src/servo-gfx-2/surface.rs => servo/src/servo-gfx/surface.rs
rename : servo/src/servo-gfx-2/text.rs => servo/src/servo-gfx/text.rs
rename : servo/src/servo-gfx-2/text/glyph.rs => servo/src/servo-gfx/text/glyph.rs
rename : servo/src/servo-gfx-2/text/harfbuzz/shaper.rs => servo/src/servo-gfx/text/harfbuzz/shaper.rs
rename : servo/src/servo-gfx-2/text/shaper.rs => servo/src/servo-gfx/text/shaper.rs
rename : servo/src/servo-gfx-2/text/text_run.rs => servo/src/servo-gfx/text/text_run.rs
rename : servo/src/servo-gfx-2/text/util.rs => servo/src/servo-gfx/text/util.rs
rename : servo/src/servo-gfx-2/util/cache.rs => servo/src/servo-gfx/util/cache.rs
rename : servo/src/servo-gfx-2/util/range.rs => servo/src/servo-gfx/util/range.rs
rename : servo/src/servo-gfx-2/util/time.rs => servo/src/servo-gfx/util/time.rs
rename : servo/src/servo-gfx-2/util/url.rs => servo/src/servo-gfx/util/url.rs
rename : servo/src/servo-gfx-2/util/vec.rs => servo/src/servo-gfx/util/vec.rs
2012-11-12 12:28:20 -08:00
Patrick Walton
80b9a5ea66 servo: Remove the servo-gfx submodule
Source-Repo: https://github.com/servo/servo
Source-Revision: 463b80090ce20a8c3cb79e43281c8925c2e05f39
2012-11-12 12:08:38 -08:00
Patrick Walton
eaeb21b643 servo: servo: Add missing util.rs
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e70e3b153cfa73ed986d5c403677b423440eb7f
2012-11-11 21:03:47 -08:00
Patrick Walton
66147e62db servo: submodules: Split out GFX and all its dependencies into a servo-gfx submodule
Source-Repo: https://github.com/servo/servo
Source-Revision: a38887194f68b3653bc423f9d5fc81a3ca2d7686
2012-11-11 19:42:44 -08:00
Patrick Walton
5b7d63ef10 servo: layout: Use the style of the nearest common ancestor node for background colors
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d4cb4319d5b56a5186c36a45264993c469aa732
2012-11-11 17:12:30 -08:00
Patrick Walton
fb4c9a8e6b servo: css, submodules: Implement named-ancestor-node
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c3b8fe3d48617bda8204c33149db0ae3e94014c
2012-11-11 14:31:49 -08:00
Patrick Walton
655a5d8d80 servo: layout, submodules, test: Stop crashing on Acid1
Source-Repo: https://github.com/servo/servo
Source-Revision: b0f185412d753a8734d5bf4126bf5147f4976a9e
2012-11-11 14:16:01 -08:00
Patrick Walton
ea7c7c0049 servo: dom, gfx, layout, submodules: Implement "color"
Source-Repo: https://github.com/servo/servo
Source-Revision: 64fb0fbe60b0ed20be67f2a2a1ec7a9f4a0285ed
2012-11-10 23:44:18 -08:00
Patrick Walton
ff737d8912 servo: html: Handle inline stylesheets. purple.com works now.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7917da2f8c05fc86c40ded84611d11cc5eea6244
2012-11-10 15:15:33 -08:00
Patrick Walton
8eae0ef27d servo: Set number of cores = 1 due to suspected Cairo thread unsafety
Source-Repo: https://github.com/servo/servo
Source-Revision: f249396712825007230152d3cb181b5286af655a
2012-11-09 19:22:23 -08:00
Brian J. Burg
02d5e01517 servo: Move FontFamily/FontEntry to font_list.rs; implement strawman family/face matching.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0034e2d6be11c30c37b0005b5a98ad1e6d025af6
2012-11-09 18:53:23 -08:00
Brian J. Burg
7bd95ccc60 servo: Finish collecting and storing FontList data.
Source-Repo: https://github.com/servo/servo
Source-Revision: c5161f182322915dc9884f96358718d842383dc7
2012-11-09 17:43:48 -08:00
Patrick Walton
cdbd0374fe servo: Add some timing info, update rust-azure to fix crash
Source-Repo: https://github.com/servo/servo
Source-Revision: b1c59aba61668b06b1717461bd4af7ed73abab71
2012-11-09 19:10:51 -08:00
Patrick Walton
03c0a11002 servo: Implement parallel rendering
Source-Repo: https://github.com/servo/servo
Source-Revision: 430341986564af1bd1d200f86fc819aeae5e58fc
2012-11-09 17:58:51 -08:00
Patrick Walton
75d28d6979 servo: gfx: Use pipes to transfer layer buffers between the render supervisor function and the render callback
Source-Repo: https://github.com/servo/servo
Source-Revision: a338c76bc6569ce4de39a36f576102b0aff3470a
2012-11-09 16:35:43 -08:00
Patrick Walton
fe6e784889 servo: gfx: Turn on 512x512 tiles once again, and work around the layer buffer badness
Source-Repo: https://github.com/servo/servo
Source-Revision: dbcb85b724baa6ba4994024ae82f7b9b4e52c54b
2012-11-09 16:18:17 -08:00
Patrick Walton
6e104d3711 servo: gfx: Supply our own buffers to accommodate the Mac DMA requirements
Source-Repo: https://github.com/servo/servo
Source-Revision: 76b13442743388323cba64111849c9867a44bd97
2012-11-09 15:57:41 -08:00
Brian J. Burg
60c8275111 servo: Add make clean-fast target, and clean up make check/check-all.
Source-Repo: https://github.com/servo/servo
Source-Revision: f9f62017f2fa49f3375ab3f09c385895b80d7e86
2012-11-09 11:45:14 -08:00
Brian J. Burg
8375b0d769 servo: Update submodules to fix duplicate CTFont binding; start debugging quartz font traits.
Source-Repo: https://github.com/servo/servo
Source-Revision: 95e022a094d097164cea1580a00e2690b82bf7f0
2012-11-09 11:08:03 -08:00
Brian J. Burg
140ce0af34 servo: Submodule 'done' dependencies were being incorrectly computed, because the wrong name was used.
Source-Repo: https://github.com/servo/servo
Source-Revision: e3e1cfb0dc6eb16c94ca1de43d7cbddd718f612f
2012-11-09 10:43:56 -08:00
Patrick Walton
f8bf6356db servo: Throw away the initial texture immediately
Source-Repo: https://github.com/servo/servo
Source-Revision: 6fdc293671133d7a4f1c7b8e784982d9ebb2e9f5
2012-11-09 14:10:00 -08:00
Patrick Walton
ad32322aad servo: gfx: Antialias fonts
Source-Repo: https://github.com/servo/servo
Source-Revision: be62d112833028142a8c1dd893d3acb25b660a1a
2012-11-09 11:31:14 -08:00
Patrick Walton
fe1801a960 servo: servo: Allow a render backend to be specified on the command line (-r)
Source-Repo: https://github.com/servo/servo
Source-Revision: 013f747fa87c4b2803a299338fa8775eb775447e
2012-11-09 10:51:02 -08:00
Patrick Walton
fb299b2258 servo: Make Opts no longer a record
Source-Repo: https://github.com/servo/servo
Source-Revision: b1456dac393a81229b3001c701c3bd1e4962c7dc
2012-11-09 10:00:46 -08:00
Patrick Walton
9428b88791 servo: De-Cairo font handling.
This breaks Linux/Freetype.

Source-Repo: https://github.com/servo/servo
Source-Revision: bc591ce94fda4d81c9fbaf8089a96a9fe5008575
2012-11-08 19:33:57 -08:00
Patrick Walton
78b4b2bbe1 servo: gfx: De-Cairo layers
Source-Repo: https://github.com/servo/servo
Source-Revision: aa8de5041b727ae63db3b50a905e12ed9911551b
2012-11-08 16:32:50 -08:00
Brian J. Burg
dc635105c2 servo: Add FontHandleMethods trait; add ctor and FontHandle member for FontEntry; add debug info for CTFont name key information.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2db432663f30b24e563abcc9e2c8b2094728bc88
2012-11-08 19:14:57 -08:00
Brian J. Burg
36c36ab7d6 servo: Use high-level CTFont bindings.
Source-Repo: https://github.com/servo/servo
Source-Revision: bf4fedc420605e5236bdca88b94f287eeb82e610
2012-11-08 18:30:22 -08:00
Brian J. Burg
9a79f7ab30 servo: Switch QuartzFontHandle to use RAII CGDataProvider bindings.
Source-Repo: https://github.com/servo/servo
Source-Revision: 46867310961b82de630c34d84ac1e8cb643c64ba
2012-11-08 17:57:56 -08:00
Brian J. Burg
50af6272cc servo: Add core-foundation as a dependency of core-graphics.
Source-Repo: https://github.com/servo/servo
Source-Revision: a76ae6b992dea6703863980065b15bf57cafeec8
2012-11-08 17:56:16 -08:00
Brian Anderson
b9a996bbdf servo: Update to Rust 166c10e666634cd2fa8615c65d839d63322a2d5b
Source-Repo: https://github.com/servo/servo
Source-Revision: 5d63fd35762044cba72dfcf3fac56a4ec5919ff6
2012-11-08 17:26:51 -08:00
Brian J. Burg
159f16ce36 servo: Update Rust to commit 1702024
Source-Repo: https://github.com/servo/servo
Source-Revision: 1339163907ebbf00ec4f73936118b961492425d7
2012-11-08 16:54:11 -08:00
Brian J. Burg
81b3d2af1e servo: Hook up optional FontList instance to FontContext.
Source-Repo: https://github.com/servo/servo
Source-Revision: 577303514d8a20845dccf560c2d19d56d5e44451
2012-11-08 15:23:28 -08:00
Brian J. Burg
1e7c54a00b servo: Fix test bustage in util::cache.
Source-Repo: https://github.com/servo/servo
Source-Revision: eacf27263e07707c6b699785dfee8a7b39631bb7
2012-11-08 11:26:23 -08:00
Brian J. Burg
05311f0756 servo: Add QuartzFontListHandle::get_available_families() stub, and update CF, CT, and IoSurface submodules.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f85164d138af6e9050ca91b144dc31d225a3af4
2012-11-08 09:44:05 -08:00
Brian J. Burg
bddb8fafd6 servo: Remove workaround for impl methods not being affected by cfg directives.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8329d282d484d4394dc1ffac2eda8cf5436eaef0
2012-11-07 14:41:19 -08:00
Brian J. Burg
23f70c60a8 servo: Remove unused font_cache.rs and font_list_handle.rs.
Source-Repo: https://github.com/servo/servo
Source-Revision: a2589dbfec134ee25e3ea59b5b2a539d4a24d7df
2012-11-07 14:40:19 -08:00
Brian J. Burg
34734ebf81 servo: Update to new rust commit. Fix uses of bare function types in DOM bindings code.
Source-Repo: https://github.com/servo/servo
Source-Revision: b3d502b29ab8c73914f2a39983cef20d24a5a973
2012-11-07 14:35:21 -08:00
Brian J. Burg
c9380a94bd servo: Final font rearrangement for a while. Remove _handle suffix, add dummy font_list, other cleanup.
Source-Repo: https://github.com/servo/servo
Source-Revision: 65781484d8f5bb1e717d04fcd38f778db7d46983

--HG--
rename : servo/src/servo/gfx/freetype/font_handle.rs => servo/src/servo/gfx/freetype/font.rs
rename : servo/src/servo/gfx/quartz/font_handle.rs => servo/src/servo/gfx/quartz/font.rs
2012-11-07 14:05:39 -08:00
Brian J. Burg
ed20bafa43 servo: Move shaper and textrun back to src/servo/text/. Add a text redirector.
Source-Repo: https://github.com/servo/servo
Source-Revision: 72c11b6fba879489d023959f2e9e7b910ebcd71d

--HG--
rename : servo/src/servo/gfx/glyph.rs => servo/src/servo/text/glyph.rs
rename : servo/src/servo/gfx/harfbuzz/shaper.rs => servo/src/servo/text/harfbuzz/shaper.rs
rename : servo/src/servo/gfx/shaper.rs => servo/src/servo/text/shaper.rs
rename : servo/src/servo/gfx/text_run.rs => servo/src/servo/text/text_run.rs
rename : servo/src/servo/util/text.rs => servo/src/servo/text/util.rs
2012-11-07 12:27:13 -08:00
Brian J. Burg
6fc9f51c1f servo: Extract mono-cache implementation; lay groundwork for private font matching.
Source-Repo: https://github.com/servo/servo
Source-Revision: b8d78240677519435304c2d1dcc8977ed65429ce
2012-11-07 12:04:17 -08:00
Brian J. Burg
62dc4caed6 servo: Rename NativeFont to FontHandle.
Source-Repo: https://github.com/servo/servo
Source-Revision: a3f4b52c90ab0accd4173050857f506a91e3f1df

--HG--
rename : servo/src/servo/gfx/freetype/native_font.rs => servo/src/servo/gfx/freetype/font_handle.rs
rename : servo/src/servo/gfx/quartz/native_font.rs => servo/src/servo/gfx/quartz/font_handle.rs
2012-11-06 12:22:29 -08:00
Brian Anderson
5345577a62 servo: Add default stylesheets
Source-Repo: https://github.com/servo/servo
Source-Revision: 75a88e4f0831d7d5a086dddf2ba2d24aa859dcf9
2012-11-06 19:00:48 -08:00
Brian Anderson
5ad2d4ff47 servo: Fix mysterious resolve errors on linux
Source-Repo: https://github.com/servo/servo
Source-Revision: 8a95120a8e873df7be1b1bd10bbc2f9d5bb1bdf7
2012-11-06 16:02:54 -08:00
Brian Anderson
fb92e3b2ee servo: Inherit CSS styles
Source-Repo: https://github.com/servo/servo
Source-Revision: 25ad3849743cb3c033379e384436afb259060aa2
2012-11-06 15:11:50 -08:00
Brian J. Burg
286ebd3cfb servo: Update rust-geom and shorten geom imports.
Source-Repo: https://github.com/servo/servo
Source-Revision: cd9e0c020be5c0255ed8396f7ff863204c48e8ef
2012-11-06 12:04:34 -08:00
Brian J. Burg
e2e04a8ab0 servo: Remove src/servo/text and move things to gfx/ and util/. Add a convenience gfx.rs redirector. Closes #171.
Source-Repo: https://github.com/servo/servo
Source-Revision: b01979e81650e57ba0686afaac67a6ab7367dd90

--HG--
rename : servo/src/servo/text/font.rs => servo/src/servo/gfx/font.rs
rename : servo/src/servo/text/font_cache.rs => servo/src/servo/gfx/font_cache.rs
rename : servo/src/servo/text/font_context.rs => servo/src/servo/gfx/font_context.rs
rename : servo/src/servo/text/font_matcher.rs => servo/src/servo/gfx/font_matcher.rs
rename : servo/src/servo/text/freetype/font_context.rs => servo/src/servo/gfx/freetype/font_context.rs
rename : servo/src/servo/text/freetype/native_font.rs => servo/src/servo/gfx/freetype/native_font.rs
rename : servo/src/servo/text/glyph.rs => servo/src/servo/gfx/glyph.rs
rename : servo/src/servo/text/harfbuzz/shaper.rs => servo/src/servo/gfx/harfbuzz/shaper.rs
rename : servo/src/servo/text/native_font.rs => servo/src/servo/gfx/native_font.rs
rename : servo/src/servo/text/quartz/font_context.rs => servo/src/servo/gfx/quartz/font_context.rs
rename : servo/src/servo/text/quartz/native_font.rs => servo/src/servo/gfx/quartz/native_font.rs
rename : servo/src/servo/text/shaper.rs => servo/src/servo/gfx/shaper.rs
rename : servo/src/servo/text/text_run.rs => servo/src/servo/gfx/text_run.rs
rename : servo/src/servo/text/util.rs => servo/src/servo/util/text.rs
2012-11-06 11:35:40 -08:00
Brian Anderson
1db5727dcb servo: Only element nodes have styles
Source-Repo: https://github.com/servo/servo
Source-Revision: 2daa422483eb8a3fd3cb03e9318990445f45a430
2012-11-05 16:32:40 -08:00
Brian Anderson
e3f4aaaab2 servo: rust-layers requires xlib on linux
Source-Repo: https://github.com/servo/servo
Source-Revision: dd13a1781269a85a67073d8b68ac3fba94af08c2
2012-11-05 13:46:59 -08:00
Brian J. Burg
cae42a47bc servo: Add SLOW_TESTS variable to sub.mk, which expresses the submodules to normally skip tests for. 'make check' will skip SLOW_TESTS submodules, and 'make check-all' will run everything. Fixes #169.
Source-Repo: https://github.com/servo/servo
Source-Revision: 36f1bb763fe67b095e7bbaf29c2ca6bd4d72c630
2012-11-05 13:32:24 -08:00
Brian J. Burg
0fe0556095 servo: Add rust-core-graphics as dependency of rust-layers on Mac. Add trailing NULLs to sub.mk.
Source-Repo: https://github.com/servo/servo
Source-Revision: ca1269bbadd405a31343b4901064dc3737b9c387
2012-11-05 12:35:14 -08:00
Brian Anderson
eb5aed9e40 servo: Expose display, position, float, width, height CSS properties
Source-Repo: https://github.com/servo/servo
Source-Revision: 853f0474eaf13890f76832640d19962a98dbcb2f
2012-11-04 17:13:32 -08:00
Brian Anderson
cf5e045cc7 servo: Make the interface to calculated styles a little nicer
Source-Repo: https://github.com/servo/servo
Source-Revision: 37be37cbb102184d3eb1c60d1f230cb09b610bae
2012-11-04 03:07:43 -08:00
Brian Anderson
d767e72d5b servo: Add margin style property
Source-Repo: https://github.com/servo/servo
Source-Revision: 735ce3ba5adfa0edb36a38706793a31b06c62d06
2012-11-04 02:41:57 -08:00
Brian Anderson
a4687d12d5 servo: Update rust-stb-image
Source-Repo: https://github.com/servo/servo
Source-Revision: 0866359a100c34861e8306c2a1903ce43f9d3e6d
2012-11-03 23:17:49 -07:00
Brian Anderson
6c6760cfa1 servo: Update rust-css, rust-netsurfcss
Source-Repo: https://github.com/servo/servo
Source-Revision: c3efff57bf13e8b8f14001899e0dc5c458e84282
2012-11-03 21:17:48 -07:00
Brian Anderson
260338d809 servo: Remove dead code
Source-Repo: https://github.com/servo/servo
Source-Revision: 908f52edacd3d2849bd1c3b748f5fd044b65747b
2012-11-03 01:34:59 -07:00
Brian Anderson
ec84b4baff servo: Render simple border colors again
Source-Repo: https://github.com/servo/servo
Source-Revision: 8646e341d597b2f15f88621325b116ccbb83a181
2012-11-03 00:30:04 -07:00
Brian Anderson
e45a7efdf6 servo: Clean up css::compute
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b2611ec903457a96d546547185df41e6bcb24d8
2012-11-03 00:19:50 -07:00
Brian Anderson
b6e647b72d servo: Remove dead display list builder code
Source-Repo: https://github.com/servo/servo
Source-Revision: daaaac77401cd7517295d3dbb6ad835c2b5c8a1d
2012-11-02 23:33:17 -07:00
Brian Anderson
61d9604cd1 servo: Draw simple borders again
Source-Repo: https://github.com/servo/servo
Source-Revision: f6da6bed80d2c35d574e136e4a4dc32ba509f8f5
2012-11-02 18:57:30 -07:00
Brian J. Burg
a906c3dc67 servo: Update for CF bindings changes.
Source-Repo: https://github.com/servo/servo
Source-Revision: 301070855e8ea20982b6af742f174d4e9f1298c2
2012-11-02 18:44:05 -07:00
Brian Anderson
679e82d4f6 servo: Update libcss, rust-netsurfcss, rust-css
Source-Repo: https://github.com/servo/servo
Source-Revision: 5dda40646ee47878b2f2264376ae717f9fa8b67d
2012-11-02 16:20:01 -07:00
Brian Anderson
2f045d1726 servo: Remove debug logging
Source-Repo: https://github.com/servo/servo
Source-Revision: 6563859e80964dc445ef3914f829d08c23ae163e
2012-11-01 20:21:04 -07:00
Brian J. Burg
c7a7e06ea5 servo: Update rustc version in README.
Source-Repo: https://github.com/servo/servo
Source-Revision: 1c8fd6e7abc41d389a8ae745ae0a22f2689857a9
2012-11-01 19:54:15 -07:00
Brian J. Burg
7eff298143 servo: Fix useless comparison in inline layout code revealed by new upstream rustc.
Source-Repo: https://github.com/servo/servo
Source-Revision: e06da115a87b1f8417909619f5f68fc24d009d41
2012-11-01 19:44:33 -07:00
Patrick Walton
902151c3cb servo: Build skia
Source-Repo: https://github.com/servo/servo
Source-Revision: 1c2c4021d72c03dc5086519de908cc523cb9a0f9
2012-11-01 14:00:58 -07:00
Brian Anderson
889874a82e servo: Turn off borders again temporarily
Source-Repo: https://github.com/servo/servo
Source-Revision: 9163dadcd02d9935432fd958da902c921ead6a66
2012-11-01 18:41:41 -07:00
Brian Anderson
2e2203f5f4 servo: Make borders sort of work again
Source-Repo: https://github.com/servo/servo
Source-Revision: f380b8d3b31e49f581fb0ccdbe7df03d800fa45f
2012-11-01 17:01:34 -07:00
Brian Anderson
8b6aecced7 servo: servo doesn't need to link to netsurfcss
Source-Repo: https://github.com/servo/servo
Source-Revision: 010f0df2b042d74dcf6b59fbd524184221dba784
2012-10-31 21:51:42 -07:00
Brian Anderson
2ecf51d06e servo: Silence warnings
Source-Repo: https://github.com/servo/servo
Source-Revision: e5a5cfaac75b96ec02fddce08620c413e2edcf96
2012-10-31 21:48:52 -07:00
Brian Anderson
79bbcbf9e0 servo: Fix conversion from CSS color to GFX color
Source-Repo: https://github.com/servo/servo
Source-Revision: e5a0470042700d011da178fbdbddb8fe2569de74
2012-10-31 21:45:19 -07:00
Brian Anderson
9f131f36ab servo: Use a color type in the display list
Source-Repo: https://github.com/servo/servo
Source-Revision: d12e4fe8edb71f23d4d466fb5b0133b001dbebff
2012-10-31 21:36:30 -07:00
Brian Anderson
396c397da9 servo: Time aux ptr initialization and selector matching separately
Source-Repo: https://github.com/servo/servo
Source-Revision: 0e9b611e4f114e62418721308be2106e49c81323
2012-10-31 19:37:47 -07:00
Brian Anderson
609f6c9dc9 servo: Selector matching doesn't need a LayoutContext just now
Source-Repo: https://github.com/servo/servo
Source-Revision: d95b96185cd6d6c9faa6aadb204deeb217059d32
2012-10-31 19:32:02 -07:00
Brian Anderson
e3b6b78774 servo: Rename css::styles to css::matching
Source-Repo: https://github.com/servo/servo
Source-Revision: 0e94860305b8e5dbc362dec8b7dd358e530203ef
2012-10-31 19:30:54 -07:00
Brian Anderson
0450f05eea servo: Move aux pointer initialization to layout::aux
Source-Repo: https://github.com/servo/servo
Source-Revision: bd9a9421d273a3ff945651d313a4ef09d972f2e3
2012-10-31 19:13:57 -07:00
Brian Anderson
bbf14a7e91 servo: Delete unused old CSS code
Source-Repo: https://github.com/servo/servo
Source-Revision: 85293b61ca3ec3f5e1c1f4f7eac2cf560e775e9a
2012-10-31 19:02:36 -07:00
Brian Anderson
957ac8f542 servo: Begin working on background color
Source-Repo: https://github.com/servo/servo
Source-Revision: 4ae8ca5d29d73bbce249e3ff0d263f2d31e90d6f
2012-10-31 17:39:27 -07:00
Brian Anderson
ee6e226354 servo: Move node style getter/setter to css::node_util
Source-Repo: https://github.com/servo/servo
Source-Revision: 5c606a8dbbaaeadf0bf837ee1682e23392a14562
2012-10-31 16:44:24 -07:00
Brian Anderson
1b94d11d26 servo: Correctly update node SelectResult
Source-Repo: https://github.com/servo/servo
Source-Revision: fafe3883eff6e871680160909dd0c82b42828e8b
2012-10-31 16:40:06 -07:00
Brian Anderson
6e42145a43 servo: Generate node names for CSS selection
Source-Repo: https://github.com/servo/servo
Source-Revision: d8a8a4bc3fbc709676e8cf630aa42c45e45a148a
2012-10-31 16:33:12 -07:00
Brian Anderson
7a618492f6 servo: Add css::compute, for computing styles from Node + SelectResult
Source-Repo: https://github.com/servo/servo
Source-Revision: 5fd318be80000510dcdc683b68ced5978fad8b32
2012-10-31 16:07:27 -07:00
Brian Anderson
00ec4f01e0 servo: Replace SpecifiedStyle with SelectResults in the aux pointer. Further disable old styling code
Source-Repo: https://github.com/servo/servo
Source-Revision: 2c2ad1018ae8af690377e264ab2a1a18e9a17ca2
2012-10-31 15:14:12 -07:00
Brian Anderson
fe38b6ed19 servo: Change StyleMethods::style to return a region pointer instead of copying the style object
Source-Repo: https://github.com/servo/servo
Source-Revision: c0350e77394be91456b475e7a72ab6b364544aa6
2012-10-31 14:27:40 -07:00
Brian Anderson
f33cd7cce8 servo: Begin integrating selector matching
Source-Repo: https://github.com/servo/servo
Source-Revision: b00885f77a127b2eb82c9f7fc0dff3e1c188640f
2012-10-31 01:18:48 -07:00
Brian Anderson
fde136f688 servo: Add the CSS SelectCtx to Layout
Source-Repo: https://github.com/servo/servo
Source-Revision: 806517b9bb6f38b1e3acd1468fe9cb30bfa5f56f
2012-10-31 00:19:39 -07:00
Brian Anderson
b27ed5ef9a servo: Use newcss::Stylesheet for the stylesheet type
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c98b0e49c1b9a4c7ffc3cd7a2f4a62a82cba4ec
2012-10-30 23:51:09 -07:00
Brian Anderson
3f531f0a63 servo: Convert to new Stylesheet definition. Break styling temporarily
Source-Repo: https://github.com/servo/servo
Source-Revision: cdd17b5fcedb5622c9118844a6359397a37e1beb
2012-10-30 21:32:48 -07:00
Brian Anderson
2df8c08c20 servo: Comment out failing font tests
Source-Repo: https://github.com/servo/servo
Source-Revision: 921dd909d75b1086af361498ec274b79762a64cb
2012-10-31 11:30:16 -07:00
Brian Anderson
f15f45fec1 servo: Let stylesheets live in layout instead of content
Source-Repo: https://github.com/servo/servo
Source-Revision: 813b1d2a847a394bc2b59d28c7113702a46be6a4
2012-10-30 19:01:55 -07:00
Brian Anderson
b8b2d3125f servo: Move CSS lexing into the parser to create a simpler interface
Source-Repo: https://github.com/servo/servo
Source-Revision: 23b6b386cbc1949f8d9e90d49f48174e36d2dd9a
2012-10-30 16:51:21 -07:00
Brian Anderson
276d1fb59a servo: Flatten the css module
Source-Repo: https://github.com/servo/servo
Source-Revision: 0b9dfde34972f0b3a4ec1bdcc1141a376bcbf250

--HG--
rename : servo/src/servo/css/resolve/apply.rs => servo/src/servo/css/apply.rs
rename : servo/src/servo/css/resolve/matching.rs => servo/src/servo/css/matching.rs
2012-10-30 15:58:26 -07:00
Brian Anderson
61735bf6d4 servo: Move the entire servo CSS selection interface to css::styles
Source-Repo: https://github.com/servo/servo
Source-Revision: fbe17a1e361f1cb752e249528107364b7896d825
2012-10-30 15:53:53 -07:00
Brian Anderson
78b5090620 servo: Remove dead CSS code
Source-Repo: https://github.com/servo/servo
Source-Revision: fc3ca6738a21c55b477ed27dbc07c42b6f217c51
2012-10-30 15:48:51 -07:00
Brian Anderson
88f2602195 servo: Move css parser and lexer to rust-css
Source-Repo: https://github.com/servo/servo
Source-Revision: bf197096459cee37cc1f160eb7fd3040f07b899c
2012-10-30 14:54:26 -07:00
Brian Anderson
e583e2dbb2 servo: Remove CSS lexer's dependency on resource_task
Source-Repo: https://github.com/servo/servo
Source-Revision: 37d45c6872b2a26fc7f396d0f04148b1325873fc
2012-10-30 14:39:56 -07:00
Brian Anderson
52834b0d0a servo: Remove lexer_util's dependency on resource_task
Source-Repo: https://github.com/servo/servo
Source-Revision: 86ce867a1cf880c7076af234685e2f5919b84385
2012-10-30 13:30:13 -07:00
Brian Anderson
ace4aeff2b servo: Move lexer_util to css module
Source-Repo: https://github.com/servo/servo
Source-Revision: 2ea80e240777521250062b19bbd4439be8b7aef9

--HG--
rename : servo/src/servo/html/lexer_util.rs => servo/src/servo/css/lexer_util.rs
2012-10-30 12:01:51 -07:00
Brian J. Burg
1751026a67 servo: Create FontContext from matcher, remove platform-specific matchers. Move default font into FontCache. Fixes #166.
Source-Repo: https://github.com/servo/servo
Source-Revision: b7d4ec12174384fe7d373c45c5f7e712ea16d45b
2012-10-30 12:01:18 -07:00
Brian J. Burg
a97fdf3c1e servo: Create font matchers and native equivalents. Add in a dummy font cache. Untangle some test font stuff.
Source-Repo: https://github.com/servo/servo
Source-Revision: b545e4821e23bdbbeca15e293787fe507b1cf2e7
2012-10-29 18:41:53 -07:00
Brian J. Burg
33b4026899 servo: Clean up NativeFont constructors.
Source-Repo: https://github.com/servo/servo
Source-Revision: 82434c749c4eacc144a473a6c7e4140a7daaf03e
2012-10-29 17:10:53 -07:00
Brian J. Burg
09b98ba68f servo: Move the workaround for Issue #163 next to the typedef.
Source-Repo: https://github.com/servo/servo
Source-Revision: 2365a903b3cad138e265ffd60e86d267bfac4a7e
2012-10-29 16:41:17 -07:00
Brian Anderson
617c194107 servo: Move css::color, and css::value to rust-css
Source-Repo: https://github.com/servo/servo
Source-Revision: ada1da1073889e8a0955221817645c28ff384f82
2012-10-29 16:31:24 -07:00
Brian J. Burg
286ddefcec servo: Reuse harfbuzz font, face objects on subsequent shaper calls. Move static functions into HarfbuzzShaper.
Source-Repo: https://github.com/servo/servo
Source-Revision: ef6324550294da2ae20a104ac17eb0cf0715b6c6
2012-10-29 16:28:21 -07:00
Brian J. Burg
d55c40d17c servo: Shaper holds a reference to its font.
Source-Repo: https://github.com/servo/servo
Source-Revision: 82faedf9fcef1c9f0b9ba001f430c88a16eb972d
2012-10-29 15:01:55 -07:00
Brian J. Burg
4aa91b39f5 servo: Add Font.shape_text(), and instantiate/reuse Shaper instance off of Font lazily. Shaper now takes a font, text, and glyph storage.
Source-Repo: https://github.com/servo/servo
Source-Revision: 97b7b21452198cec0d3e827ba5ba4888d8888acc
2012-10-29 14:54:47 -07:00
Brian J. Burg
09de764aeb servo: Shaper now uses actual font point size. Closes #162.
Source-Repo: https://github.com/servo/servo
Source-Revision: 09686c234fd3ca8d71bfafe8f6cdade1163e154e
2012-10-29 12:45:56 -07:00
Brian J. Burg
1a3635661d servo: Add note about Issue #163 to source.
Source-Repo: https://github.com/servo/servo
Source-Revision: 365a99a2763044e5091061c41bd14265e8474c43
2012-10-29 12:20:53 -07:00
Brian Anderson
1feb622201 servo: Move util::color to css::color
Source-Repo: https://github.com/servo/servo
Source-Revision: 81277cca75391602a95392e609043cdf222e0e3f

--HG--
rename : servo/src/servo/util/color.rs => servo/src/servo/css/color.rs
2012-10-29 14:27:02 -07:00
Brian Anderson
4d54be37b8 servo: Remove PngCompositor. Will need a different solution
Source-Repo: https://github.com/servo/servo
Source-Revision: 21cd74826979f6c60c2f6b0d14db2205db99fe6b
2012-10-29 14:25:35 -07:00
Brian Anderson
09b1cfe78f servo: Add casts to FreeType code to fix build
Source-Repo: https://github.com/servo/servo
Source-Revision: ddd3065c0b6953aaadb6785af605f34e4a21e3e2
2012-10-29 13:58:29 -07:00
Brian J. Burg
8ff0672729 servo: Move around native font implementations and shapers.
Source-Repo: https://github.com/servo/servo
Source-Revision: 960cde1fbe0e956020fccf09a8177b6628446ea4

--HG--
rename : servo/src/servo/text/native_font/ft_native_font.rs => servo/src/servo/text/freetype/native_font.rs
rename : servo/src/servo/text/native_font/quartz_native_font.rs => servo/src/servo/text/quartz/native_font.rs
2012-10-29 12:05:58 -07:00
Patrick Walton
bf706e5bb3 servo: gfx: Disable tiles for now due to bustage
Source-Repo: https://github.com/servo/servo
Source-Revision: ad540f870a8b991dbed6109b994ae46f8982a0af
2012-10-27 00:27:44 -07:00
Brian J. Burg
d60fd18945 servo: 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.
Source-Repo: https://github.com/servo/servo
Source-Revision: 9f94b54c89f65ef868e3de099f41059588af49d8
2012-10-26 19:53:13 -07:00
Brian Anderson
05bc8ed8c0 servo: Add rust-css submodule
Source-Repo: https://github.com/servo/servo
Source-Revision: 2e5afb7050217fd3cd236b88440aa85674542c00
2012-10-26 18:51:03 -07:00
Patrick Walton
81c212fee5 servo: layout: Make the display list freezable/dual mode
Source-Repo: https://github.com/servo/servo
Source-Revision: b101f8258e81735e572fcde469e49ab641b51cbd
2012-10-25 22:01:52 -07:00
Patrick Walton
23d6d20a0c servo: gfx: Implement tiled rendering
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c029a322def27469a490b01870d95e944296546
2012-10-25 20:36:34 -07:00
Patrick Walton
a94c17e86d servo: Update rust-azure
Source-Repo: https://github.com/servo/servo
Source-Revision: 37da0262fe652dc953cde3b8c9c62e144416681c
2012-10-25 18:51:48 -07:00
Patrick Walton
78f5011924 servo: platform: Render all layers
Source-Repo: https://github.com/servo/servo
Source-Revision: b0ad3089d17b97a3dfe858896e672797a6a5f5a2
2012-10-25 17:46:28 -07:00
Patrick Walton
c009024674 servo: platform: Create an image layer for each buffer
Source-Repo: https://github.com/servo/servo
Source-Revision: 9135fbdd4a1cb54fb991b52a7a36a3e490dd6609
2012-10-25 17:08:57 -07:00
Patrick Walton
2c3f482b67 servo: gfx: Place rects in the layer buffers, not just sizes
Source-Repo: https://github.com/servo/servo
Source-Revision: 38fb01b43f379f075d158eb00d4a7c75de60a9bb
2012-10-25 16:33:28 -07:00
Patrick Walton
35b5b7e287 servo: gfx: Use layer buffer sets instead of a single layer buffer
Source-Repo: https://github.com/servo/servo
Source-Revision: 5c373c21d83cfb537c79e854d72544c0835cec2e
2012-10-25 16:20:39 -07:00
Patrick Walton
3d1961829a servo: Fix the origin when resizing
Source-Repo: https://github.com/servo/servo
Source-Revision: 467c79953277971854604ea53f50b2b0766b50c5
2012-10-25 15:16:34 -07:00
Brian J. Burg
235fc827af servo: Fix linux build for recent submodule splits.
Source-Repo: https://github.com/servo/servo
Source-Revision: 12954d12c34ade1043658a487352349482be81f3
2012-10-25 15:16:43 -07:00