Ms2ger
17d4b1ac01
Replace bare constructor functions with 'new' static member functions in rust-azure.
2014-07-04 22:22:15 +02:00
Cameron Zwarich
38cfea1246
Fix 100-column violations in compositor.rs
2014-07-04 09:22:57 -07:00
Cameron Zwarich
8d3442d5ba
Merge pull request #2755 from mrobinson/remove-common
...
Update to latest rust-layers
2014-07-04 09:00:28 -07:00
Martin Robinson
07db2d3273
Update to latest rust-layers
2014-07-04 07:42:38 -07:00
Simon Sapin
52e55a2770
Merge pull request #2762 from Ms2ger/warnings
...
Fix some build warnings. r=me
2014-07-04 14:15:38 +01:00
Ms2ger
2aad6539e4
Remove some deprecated into_owned calls.
2014-07-04 11:57:36 +02:00
Ms2ger
11aa36619d
Mark some unused fields.
2014-07-04 11:57:35 +02:00
Ms2ger
cfa9aaac08
Remove some unused fields.
2014-07-04 11:57:29 +02:00
Ms2ger
1fe1d03b02
Fix a deprecated phase warning.
2014-07-04 11:54:46 +02:00
Ms2ger
e1098232eb
Fix some exported private type warnings.
2014-07-04 11:54:19 +02:00
Cameron Zwarich
4777a39479
Stop calling Scene::set_transform
...
The Scene::set_transform method was only introduced because of an old
rustc bug around mutating properties across crates. Now that the rustc
bug is fixed, we can stop calling this method.
2014-07-04 00:42:40 -07:00
Patrick Walton
19560c0390
Merge pull request #2759 from zwarich/cleanup-get-buffer-request
...
Cleanup `get_buffer_request`
2014-07-03 23:24:28 -07:00
Cameron Zwarich
567ee422b1
Rename a local closure in get_buffer_request
2014-07-03 21:46:52 -07:00
Cameron Zwarich
952bb4e238
Change a fold
to an any
2014-07-03 21:46:52 -07:00
Lars Bergstrom
6ce4e62e11
Merge pull request #2756 from zwarich/compositor-100-lines
...
Make compositor_data.rs conform to 100 column line lengths
2014-07-03 19:50:09 -05:00
Lars Bergstrom
3bde03c9a7
Merge pull request #2757 from glennw/disable-phf
...
Disable rust-phf until cross compile / make check issue is sorted.
2014-07-03 18:47:45 -05:00
Glenn Watson
3f18a89084
Disable rust-phf until cross compile / make check issue is sorted.
2014-07-04 07:33:00 +10:00
Cameron Zwarich
e1a97ea14b
Make compositor_data.rs conform to 100 column line lengths
2014-07-03 13:48:17 -07:00
Lars Bergstrom
b0ffeaf53c
Merge pull request #2751 from glennw/font-refactor-1
...
First part of font refactoring. These changes simplify a few things
2014-07-03 11:53:00 -05:00
Simon Sapin
66f31d3343
Fetch Rust snapshots over HTTPS. Fix #2752
2014-07-03 10:25:23 +01:00
Lars Bergstrom
0a910ce6cf
Merge pull request #2748 from mrobinson/layer-reorg
...
Refactor compositor layer tree design
2014-07-02 17:59:15 -05:00
Glenn Watson
51bd334f3f
First part of font refactoring. These changes simplify a few things
...
but don't do much on their own, they just make it easier to
implement the work to come (web fonts, performance improvments
in terms of font loading and memory usage).
- Font identifier on Linux/Android is now the font file path.
This is a temporary measure, but simplifies things a lot for now.
- Remove FontListHandleMethods trait in favour of free functions.
- FontList::refresh() has no knowledge of FontFamily etc. Instead it takes
a closure that the caller provides.
- FontList::load_variations_for_family no longer creates the font
handle. Instead it takes a closure and provides the name of the font
identifier for the variations it finds.
- Remove path_from_identifier() - it's no longer required.
- create_font_from_identifier() takes an Option<Style>, allowing it to be
used to create fonts for family matching purposes where the font size is
not important.
Tested on Linux + Mac. Builds on Android but not able to confirm it's working correctly.
2014-07-03 07:47:52 +10:00
Josh Matthews
568e7ed0c6
Merge pull request #2731 from Manishearth/xhr-wpt-header-filter
...
Filter response headers, fix responseType's error in XHR
2014-07-02 16:51:55 -04:00
Josh Matthews
d09815a10a
Merge pull request #2735 from Manishearth/urlsearchparams
...
Add URLSearchParams interface with serialization support
2014-07-02 16:51:38 -04:00
Josh Matthews
a313bdb346
Merge pull request #2737 from Manishearth/derefmut-2736
...
Remove deref_mut from Untraceable/Traceable (fixes #2736 )
2014-07-02 16:51:17 -04:00
Lars Bergstrom
d637bc71c2
Merge pull request #2745 from glennw/remove-unstyled-method
...
Font refactoring - remove unstyled method, update android freetype
2014-07-02 15:23:01 -05:00
Lars Bergstrom
c18b5c74f2
Merge pull request #2749 from mbrubeck/glue-submodule
...
Update to latest servo-android-glue
2014-07-02 15:20:35 -05:00
Matt Brubeck
0330404d2f
Update to latest servo-android-glue
2014-07-02 12:41:22 -07:00
Josh Matthews
27ed2ea8cf
Merge pull request #2727 from Ms2ger/dom-pub
...
Make some DOM members private.
2014-07-02 14:42:47 -04:00
Martin Robinson
0c2538d06d
Refactor compositor layer tree design
...
Instead of having two parallel trees of CompositorLayers and
ContainerLayers, transform CompositorLayer to CompositorData and move
tiling logic to rust-layers.
2014-07-02 11:38:28 -07:00
Josh Matthews
0e394a65d3
Merge pull request #2728 from Ms2ger/location-search
...
Implement Location.search.
2014-07-02 14:36:24 -04:00
Manish Goregaokar
47d8021231
Update test expectations for #2731
2014-07-02 23:45:49 +05:30
Manish Goregaokar
51f2dbd64d
Fix wpt failure on responseType setter
2014-07-02 23:45:49 +05:30
Manish Goregaokar
17631ffcb8
Filter response headers
2014-07-02 23:45:48 +05:30
Manish Goregaokar
8790a0f6f6
Add URLSearchParams interface with serialization support
2014-07-02 23:45:12 +05:30
Matt Brubeck
3c1a477e10
Merge pull request #2747 from glennw/android-phf
...
Remove phf from android build for now, as it's not supported with current build process. r=mbrubeck
2014-07-02 11:10:56 -07:00
Matt Brubeck
eda7d2e9c4
Merge pull request #2746 from glennw/update-glut
...
Update submodule ref for glut. r=mbrubeck
2014-07-02 11:01:44 -07:00
Glenn Watson
9ab71c20ac
Remove phf from android build for now, until cross compiler build is worked out.
2014-07-02 13:44:10 +10:00
Glenn Watson
0d4bfb03d0
Update submodule ref for glut.
2014-07-02 11:58:13 +10:00
Glenn Watson
77d56034c9
Font refactoring - remove unstyled method, update android freetype
...
init to use allocator hooks.
2014-07-02 10:29:30 +10:00
glennw
ebd7fb060d
Merge pull request #2743 from glennw/skia-threading
...
Run render task on OS thread to avoid Skia memory corruption.
2014-07-02 10:06:14 +10:00
Glenn Watson
4eb78753a6
Run render task on OS thread to avoid Skia memory corruption.
...
When Skia is running on a green task, it can sometimes be
rescheduled onto a different OS thread. This creates problems with
the memory pool implementation in Skia, which uses TLS for
storing the per thread memory pool information. Free'ing a
pool allocation from a different OS thread than it was
allocated on can cause heap corruption.
FIXME: When we update rustc, switch the task failure
message to using the new NativeTaskBuilder interface so that
it can use the same send_on_failure function as green tasks.
2014-07-02 09:15:16 +10:00
Simon Sapin
966b5c2112
Merge pull request #2740 from mbrubeck/scroll-auto
...
Basic parsing of `overflow: scroll` and `auto`.
2014-07-01 23:47:10 +01:00
Matt Brubeck
1feaa987fd
Add a FIXME comment for #2742
2014-07-01 14:29:56 -07:00
Matt Brubeck
946d135a1d
Remove unused Fragment::needs_clip method
2014-07-01 14:26:40 -07:00
Matt Brubeck
f7e371fdfd
Add parsing of overflow: scroll
and auto
.
...
Elements with overflow scroll/auto are not yet scrollable, but they will be
clipped correctly (like `overflow: hidden`).
2014-07-01 11:08:37 -07:00
Patrick Walton
21e4d85511
Merge pull request #2726 from jdm/layoutsplit
...
Split layout code into a separate crate.
2014-07-01 05:02:50 -07:00
Jack Moffitt
657b291919
Merge pull request #2738 from glennw/azure-update
...
Update submodule pointer and code to match interface change.
2014-06-30 21:20:44 -06:00
Glenn Watson
f666ce5a86
Update submodule pointer and code to match interface change.
2014-07-01 12:37:21 +10:00
Manish Goregaokar
7cc8e2eb57
Remove deref_mut from Untraceable/Traceable ( fixes #2736 )
2014-07-01 00:59:52 +05:30