Commit graph

5530 commits

Author SHA1 Message Date
Glenn Watson
c76cd128a7 Don't rely on font hint for format detection. Handle parsing comma
separated format hints. Fix oversight in mac code dealing with
creating web fonts from memory.
2014-07-24 13:24:22 +10:00
Glenn Watson
40559d148a Address review comments. 2014-07-24 13:24:22 +10:00
Glenn Watson
6465bf6a85 Fix missing license header in new file. 2014-07-24 13:24:22 +10:00
Glenn Watson
4e949cb58c Add basic support for web fonts. Synchronous loading only
for now, and only deals with TTF format fonts.

For an example, try loading http://icons.marekventur.de
2014-07-24 13:24:22 +10:00
Manish Goregaokar
4b689caa5d Merge pull request #2903 from ChrisParis/cfg_tree_rust
Add --enable-tree-rust to configure to build in-tree rust compiler
2014-07-24 07:58:22 +05:30
glennw
5808cb302d Merge pull request #2884 from glennw/linux-kerning
Implement kerning support for linux/android.
2014-07-24 08:28:17 +10:00
Chris Paris
f713315ac0 Add --enable-tree-rust to configure to build in-tree rust compiler 2014-07-23 12:16:42 -10:00
Glenn Watson
3a55c376f3 Implement kerning support for linux/android. Improves some wikipedia issues (#2554). 2014-07-24 07:51:39 +10:00
Josh Matthews
360c7f8bf1 Merge pull request #2906 from brunoabinader/node-typeid-fix
Prefer direct member access than type_id() in Node self.type_id calls
2014-07-23 17:23:51 -04:00
Simon Sapin
8521f7c752 Merge pull request #2908 from SimonSapin/base64-space
Ignore spaces in base64 data URLs. Fix #1268.
2014-07-23 20:10:29 +01:00
Simon Sapin
ee771e96b3 fixup! Ignore spaces in base64 data URLs. Fix #1268. 2014-07-23 19:27:08 +01:00
Simon Sapin
82a34164a8 Ignore spaces in base64 data URLs. Fix #1268. 2014-07-23 17:05:03 +01:00
Manish Goregaokar
f44f974f91 Merge pull request #2905 from brunoabinader/element-removeattr-no-throw
Element::removeAttribute* does not need to throw
2014-07-23 19:58:24 +05:30
Bruno de Oliveira Abinader
ee46ff9ee9 Element::removeAttribute* does not need to throw 2014-07-23 09:36:10 -04:00
Bruno de Oliveira Abinader
7457750901 Prefer direct member access than type_id() 2014-07-23 09:12:55 -04:00
Patrick Walton
6bdafc8a59 Merge pull request #2902 from glennw/xvfb-fixes
Bump submodules for azure/skia with fixes for xvfb.
2014-07-22 19:17:13 -07:00
Josh Matthews
3c35a83939 Merge pull request #2899 from glennw/fix-deps
Fix submodule dependencies for string cache.
2014-07-22 21:37:02 -04:00
Glenn Watson
2bcb272675 Bump submodules for azure/skia with fixes for xvfb. 2014-07-23 10:45:33 +10:00
Manish Goregaokar
ae5093ed4f Merge pull request #2901 from Adenilson/innerHTML-step01b
Move Parser creation to its own function (issue #849).
2014-07-23 04:53:10 +05:30
Adenilson Cavalcanti
67f43e2b67 Move Parser creation to its own function (issue #849).
This is the first step to implement innerHTML, as we need a way
create and initialize a parser object while setting the received
DOMString (which may be either text/html/whatever).
2014-07-22 15:36:45 -07:00
Glenn Watson
0659fe7e66 Fix submodule dependencies for string cache. 2014-07-23 07:41:52 +10:00
Josh Matthews
9f06b3ce17 Merge pull request #2887 from arielb1/remove-compositing-layout
Clean up duplication in Pipeline
2014-07-22 13:43:54 -04:00
Ariel Ben-Yehuda
78366c643b Remove some duplication in compositing 2014-07-22 20:41:17 +03:00
Simon Sapin
88da562a46 Merge pull request #2886 from SimonSapin/org-rename
Use new submodule URLs after GitHub orginazation rename.
2014-07-22 11:19:15 +01:00
Simon Sapin
de3be05f22 Use new submodule URLs after GitHub orginazation rename. 2014-07-22 10:48:33 +01:00
Simon Sapin
4ccf489d79 Merge pull request #2892 from glennw/element-atom
Port element traits to use atoms instead of strings.
2014-07-22 09:33:08 +01:00
Manish Goregaokar
708a3443db Merge pull request #2889 from Adenilson/cleanupURL01
Recycle use of URL local variable
2014-07-22 13:47:41 +05:30
Simon Sapin
2221600301 Merge pull request #2891 from glennw/rust-url-check
Bump submodule ptr for rust-url to fix make-check error.
2014-07-22 08:18:13 +01:00
Patrick Walton
3d796b1ccf Merge pull request #2890 from glennw/font-size
Change calculate_line_height to use font-size from style.
2014-07-21 19:11:28 -07:00
Glenn Watson
33dcb08f02 Port element traits to use atoms instead of strings. 2014-07-22 11:36:35 +10:00
Glenn Watson
dc6d540913 Bump submodule ptr for rust-url to fix make-check error. 2014-07-22 10:48:48 +10:00
Adenilson Cavalcanti
ffbb87b8a1 Recycle use of a local variable and remove what seems to be 2 extraneous URL objects. 2014-07-21 15:40:55 -07:00
Glenn Watson
383ce249dc Change calculate_line_height to use font-size from style. 2014-07-22 08:33:05 +10:00
Simon Sapin
3670ee6f1f Merge pull request #2875 from SimonSapin/rust-url
Start dogfooding rust-url
2014-07-21 20:23:02 +01:00
Simon Sapin
b84065f574 Remove the now unused servo_util::url module. 2014-07-21 20:22:31 +01:00
Simon Sapin
6917fbf28e Used rust-url directly instead of servo_util::url
The latter now only calls the former.
2014-07-21 20:22:29 +01:00
Simon Sapin
779cb44a44 Move is_image_data() where it’s used. 2014-07-21 20:21:36 +01:00
Simon Sapin
b902e0f8f5 Remove UrlMap<T>, just use HashMap<rust_url::Url, T> 2014-07-21 20:21:35 +01:00
Simon Sapin
447655144d Only interpret URL as filenames in command-line arguments. 2014-07-21 20:21:35 +01:00
Simon Sapin
2fea2cd911 Don’t drop whitespace in data: URLs. FromBase64 already skips newlines. 2014-07-21 20:21:35 +01:00
Simon Sapin
6848e78bb3 Percent-decoding also applies to base64 data: URLs. 2014-07-21 20:21:35 +01:00
Simon Sapin
609762ac63 Move about: URL handling from parsing to loading. Fix #1094 2014-07-21 20:21:35 +01:00
Simon Sapin
709504e1f9 Hard-code resource task loaders. They never change. 2014-07-21 20:21:35 +01:00
Simon Sapin
dc49f4fda6 Start dogfooding rust-url. Fix #1673. 2014-07-21 20:21:35 +01:00
Simon Sapin
71a869284e Add rust-url as a submodule and a Makefile for it. 2014-07-21 20:21:35 +01:00
Josh Matthews
f07d999463 Merge pull request #2885 from arielb1/remove-compositing-layout
Break the compositing -> layout dependency
2014-07-21 15:15:10 -04:00
Cameron Zwarich
d31fde9de8 Merge pull request #2881 from zwarich/compositor-data-cleanup
CompositorData cleanup
2014-07-21 10:03:17 -07:00
Ariel Ben-Yehuda
1d5b51450b Break the layout -> compositing dependency
This adds a new layout_traits component for the shared trait.
This should allow for faster builds.
2014-07-21 18:35:35 +03:00
Ariel Ben-Yehuda
7ac6924319 Make compositing generic over layout_task
This will allow breaking the layout -> compositing dependency
2014-07-21 18:34:52 +03:00
Josh Matthews
1578189d03 Merge pull request #2850 from ebalint/1992_move_timer_firing_impl
Move timer firing implemention into Window #1992
2014-07-21 11:14:50 -04:00