Commit graph

5201 commits

Author SHA1 Message Date
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
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
Josh Matthews
f3b9c11f7a Merge pull request #2730 from Manishearth/expectations_up
Update wpt expectations, include XHR in the WPT run
2014-06-30 11:45:08 -04:00
Manish Goregaokar
4c0b368c67 Update wpt expectations, include XHR in the WPT run 2014-06-30 19:55:44 +05:30
Josh Matthews
9bdfdd3ada Merge pull request #2733 from tavva/fix-typo
Fix typo
2014-06-30 10:11:01 -04:00
Ben Phillips
b7cfb9e511 Fix typo 2014-06-30 13:33:18 +01:00
Ms2ger
19522e3366 Merge pull request #2729 from Ms2ger/warnings
Fix some build warnings in the script crate; r=jack
2014-06-29 19:05:16 +02:00
Ms2ger
2b06bbdb2f Remove the pointer to the Rust object in Root.
It is already stored inside the jsref field.
2014-06-28 17:09:33 +02:00
Ms2ger
362feaa4a9 Mark some unused fields. 2014-06-28 17:08:57 +02:00
Ms2ger
924031135e Remove some into_owned calls. 2014-06-28 17:07:47 +02:00
Josh Matthews
dab73057f1 Fix incorrect libcompositing dep. 2014-06-28 09:16:51 -04:00
Josh Matthews
cc7493ea2f Split compositing/pipeline/constellation code into separate crate. 2014-06-28 09:00:43 -04:00
Josh Matthews
23968efbd1 Split layout code into a separate crate. 2014-06-28 08:12:34 -04:00
Josh Matthews
9f915e9e42 Merge pull request #2724 from saneyuki/rm_macro
Removes 'dom/binding/element.rs'
2014-06-28 06:46:54 -04:00
Tetsuharu OHZEKI
3a293b3f1c Remove generate_cacheable_wrapper_htmlelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
a9eaaa833f Remove generate_cacheable_wrapper_htmltablecellelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
717706ce5d Remove generate_cacheable_wrapper_htmlmediaelement! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
6b153834c9 Remove generate_cacheable_wrapper_node! 2014-06-28 10:43:34 +09:00
Tetsuharu OHZEKI
777e6a0756 Remove generate_cacheable_wrapper! 2014-06-28 10:43:33 +09:00
Tetsuharu OHZEKI
fe1644f316 Remove generate_cacheable_wrapper_characterdata! 2014-06-28 10:43:33 +09:00
Jack Moffitt
52b5d2575c Merge pull request #2725 from metajack/rustup-20140624
Upgrade to latest Rust.
2014-06-27 19:25:07 -06:00
Manish Goregaokar
f5b5b337d3 Upgrade to latest Rust. 2014-06-27 18:50:32 -06:00
nnethercote
491cc03c3a Merge pull request #2720 from nnethercote/memprof
Add a basic memory profiler, invoked with -m. r=pcwalton.
2014-06-27 10:17:59 +10:00
Nicholas Nethercote
56dd5b943e Rename |Profiler| as |TimeProfiler|.
And likewise for |ProfilerChan|, |profiler_chan|, and so on.  This
contrasts nicely with the newly added |MemoryProfiler|.
2014-06-26 16:41:40 -07:00
Nicholas Nethercote
fad919ccf7 Add a basic memory profiler, invoked with -m. 2014-06-26 16:40:38 -07:00
Lars Bergstrom
be2e27db54 Merge pull request #2719 from glennw/revert-parallel
Revert parallel render patch due to issue #2718.
2014-06-26 17:23:56 -05:00
Josh Matthews
8eb1a262e3 Merge pull request #2721 from Manishearth/wpt_up
Update web platform tests
2014-06-26 16:25:10 -04:00
Manish Goregaokar
00f076d6ac Update wpt 2014-06-27 00:00:48 +05:30
Glenn Watson
14653adda2 Revert parallel render patch due to issue #2718. 2014-06-26 14:25:28 +10:00
Lars Bergstrom
358708723d Merge pull request #2714 from saneyuki/fix_warn
Suppress the compiler warning about raw_pointer_deriving in layout/context.rs
2014-06-25 14:28:24 -05:00
Lars Bergstrom
e78603f64c Merge pull request #2715 from saneyuki/fix_opt
Treat 'native-threading' option correctly.
2014-06-25 14:28:18 -05:00
Lars Bergstrom
dd1c833700 Merge pull request #2713 from glennw/font-cleanup-2
Remove unused code path - simplifies other refactoring.
2014-06-25 11:54:09 -05:00
Josh Matthews
579267a797 Merge pull request #2717 from Ms2ger/wpt-exp
Update web-platform-tests expectations.
2014-06-25 10:07:03 -04:00
Ms2ger
82e84f8e8d Update remaining web-platform-tests results. 2014-06-25 15:54:14 +02:00
Ms2ger
f356ed918e Disable SVG tests. 2014-06-25 15:53:01 +02:00
Ms2ger
1d90569441 Disable tests that require the iframe load event. 2014-06-25 15:52:35 +02:00
Ms2ger
a81999b2dd Update the test results for DOMTokenList / Element.classList. 2014-06-25 15:51:49 +02:00
Josh Matthews
b5d94ad3ed Merge pull request #2559 from Manishearth/formdata
Partial implementation of FormData and File
2014-06-25 07:58:02 -04:00
Manish Goregaokar
06eb08ab70 Partial implementation of FormData and File 2014-06-25 16:28:33 +05:30
Simon Sapin
0547609589 Merge pull request #2716 from Manishearth/die-fontconfig-die
Ignore dirty submodules for fontconfig and libexpat
2014-06-25 11:00:18 +01:00
Manish Goregaokar
ac0c415a7d Ignore dirty submodules for fontconfig and libexpat 2014-06-25 14:48:49 +05:30
Tetsuharu OHZEKI
ad5457ba4b Remove the long-hand handling about 'native-threading' option. 2014-06-25 17:09:36 +09:00