Commit graph

6066 commits

Author SHA1 Message Date
Ms2ger
58d4ad0e2c Update expected results in non-debug builds. 2014-08-13 21:19:25 +02:00
Ms2ger
e04209a628 Disable Worker_terminate_event_queue.htm for its thousands of lines of output. 2014-08-13 14:13:36 +02:00
Ms2ger
47cc25a47a Enable some workers tests. 2014-08-13 11:38:09 +02:00
Ms2ger
76ba6f669e Merge pull request #3077 from Ms2ger/onmessage
Implement {Worker,DedicatedWorkerGlobalScope}.onmessage; r=abinader+Manishearth
2014-08-13 11:36:21 +02:00
Ms2ger
b1d13dfe13 Implement {Worker,DedicatedWorkerGlobalScope}.onmessage. 2014-08-13 11:30:07 +02:00
Ms2ger
6d2dcc2852 Merge pull request #3076 from Ms2ger/DWGS-postMessage
Implement DedicatedWorkerGlobalScope.postMessage; r=Manishearth
2014-08-12 20:26:28 +02:00
Ms2ger
bac9a3cf6d Distinguish the sender to the own thread and to the parent thread in DedicatedWorkerGlobalScope.
The WorkerGlobalScope stores a reference to the sender for the own thread, to
allow passing clones to sub-workers. The DedicatedWorkerGlobalScope
additionally keeps a reference to the sender for the (unique) parent thread,
to implement postMessage and memory management of the Worker object.
2014-08-12 17:47:18 +02:00
Ms2ger
82514dad6e Implement DedicatedWorkerGlobalScope.postMessage. 2014-08-12 17:47:18 +02:00
Ms2ger
e8bd66cfa9 Store a pointer to the Worker in the DedicatedWorkerGlobalScope. 2014-08-12 17:47:18 +02:00
Ms2ger
4f7c7fc808 Pass the script channel to DedicatedWorkerGlobalScope::run_worker_scope rather than creating it there.
This allows us to create the Worker object before calling
DedicatedWorkerGlobalScope::run_worker_scope, which is necessary to pass a
pointer to the worker to it.
2014-08-12 17:47:17 +02:00
Simon Sapin
d9105ca9b4 Make pushing to GitHub Pages verbose. 2014-08-12 16:08:21 +01:00
Lars Bergstrom
78743cfbb2 Merge pull request #3075 from glennw/add-ahem-font
Add ahem test font for ref tests to use. Add ref test for line-height using ahem as web font.
2014-08-12 08:34:00 -05:00
Ms2ger
bc9127c499 Merge pull request #3072 from Ms2ger/libscript-log-travis
Make libscript compilation more verbose on Travis; r=Manishearth+SimonSapin
2014-08-12 08:54:17 +02:00
Ms2ger
ac62bdbf7b Make libscript compilation more verbose on Travis. 2014-08-12 08:51:15 +02:00
Glenn Watson
f287340af2 Add ahem test font for ref tests to use. Add ref test for line-height using ahem as web font. 2014-08-12 10:16:57 +10:00
glennw
87bfef832a Merge pull request #3074 from glennw/font-line-height
Change line-height to be read from the font itself, rather than a hard-coded estimate.
2014-08-12 10:13:04 +10:00
Glenn Watson
6fd396757a Change line-height to be read from the font itself, rather than
a hard-coded estimate.
2014-08-12 08:01:36 +10:00
Ms2ger
aaa8982b60 Merge pull request #3071 from Ms2ger/workers-threads
Give workers their own ScriptChan and use it for postMessage; r=Manishearth
2014-08-11 21:32:48 +02:00
Ms2ger
034e815657 Improve the documentation for ScriptMsg. 2014-08-11 21:27:30 +02:00
Simon Sapin
582119502e Merge commit 'refs/pull/3029/head' of https://github.com/servo/servo
Conflicts:
	src/components/style/selector_matching.rs
2014-08-11 16:48:40 +01:00
Ms2ger
96aad42a5d Give workers their own ScriptChan and use it for postMessage.
This ensures that XHR callbacks for XHR objects in workers are called on the
worker thread rather than the main thread.
2014-08-11 16:41:18 +02:00
Patrick Walton
8e59706933 Merge pull request #3069 from glennw/refactor_layout_context
Refactor how LayoutContext structure works (reduce TLS lookups + simplify fns used by seq/parallel code paths).
2014-08-11 05:20:07 -07:00
Jack Moffitt
a0292f0ebc Merge pull request #3070 from glennw/android-rust-layers
Update rust-layers with android glsl fix.
2014-08-10 22:08:20 -06:00
Glenn Watson
95f092b226 Update rust-layers with android glsl fix. 2014-08-11 13:09:54 +10:00
Glenn Watson
4a0e01b4f0 Refactor how LayoutContext structure works (reduce TLS lookups + simplify fns used by seq/parallel code paths).
- LayoutContext is renamed to SharedLayoutContext.
- SharedLayoutContext is immutable.
- LayoutContext is a wrapper around SharedLayoutContext + access to local caches (font, style etc).
- Creating a LayoutContext does a single local_data lookup to fetch the cache information.
- Android shares same implementation of context.rs as other platforms.
- LayoutContext can be used from both green thread (parallel layout) and native thread (sequential layout).
- Removes the need for other types (such as FontContext, StyleSharingCandidateCache etc) to be passed around.
2014-08-11 12:10:28 +10:00
Jack Moffitt
49bf3dd474 Merge pull request #3067 from Manishearth/fedora-devel
Update README.md
2014-08-10 17:28:50 -06:00
Ms2ger
4062af69ec Merge pull request #3068 from Ms2ger/throwing-ctor
Throw a catchable exception from ThrowingConstructor; r=Manishearth
2014-08-10 21:51:58 +02:00
Ms2ger
2a7b53aea7 Throw a catchable exception from ThrowingConstructor. 2014-08-10 20:23:49 +02:00
Ms2ger
08020603b1 Merge pull request #3064 from Ms2ger/fix-wpt
Update wpt expected results; r=jdm
2014-08-10 19:40:58 +02:00
zertyuiop
d207120c82 Update README.md 2014-08-10 22:32:18 +05:30
Ms2ger
007e320ec9 Merge pull request #3063 from Ms2ger/Range
Implement some missing Range pieces; r=Manishearth
2014-08-09 20:03:47 +02:00
Ms2ger
017e59b546 Implement Range.detach().
Incidentally, this allows dom/interfaces.html to actually run.
2014-08-09 20:03:11 +02:00
Ms2ger
5f16e1d34d Update wpt expected results.
Due to a mozlog bug, our automation didn't catch those changes.
2014-08-09 13:03:38 +02:00
Ms2ger
de36dd03a1 Implement Document.createRange(). 2014-08-09 11:50:56 +02:00
Ms2ger
6501dad9e9 Pass a Document to Range::new. 2014-08-09 11:41:58 +02:00
Ms2ger
22d85424e8 Make Range::reflector private. 2014-08-09 11:23:12 +02:00
Ms2ger
19efca3ab5 Merge pull request #3058 from Ms2ger/2814-DOMRect
Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes #2814, fixes #2840); r=abinader
2014-08-09 10:51:27 +02:00
hyunjunekim
f400cf49c3 Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes #2814, fixes #2840).
These interfaces were renamed in the specification, in order to use them in
other contexts than the getClientRects and getBoundingClientRect methods.
2014-08-09 10:32:18 +02:00
Manish Goregaokar
7d9908d23e Merge pull request #3060 from Manishearth/remove-window
Remove unused windows/globals; r=jdm
2014-08-09 11:27:38 +05:30
Jack Moffitt
9d3b139af5 Merge pull request #3040 from servo/rustup-20140804
Upgrade Rust.
2014-08-08 21:00:27 -06:00
Jack Moffitt
7a4321d649 Upgrade Rust. 2014-08-08 19:11:53 -06:00
Josh Matthews
62c9a779a9 Merge pull request #3054 from jdm/script_traits
Decouple compositing and script crates.
2014-08-08 16:17:40 -04:00
Josh Matthews
015b07f1e0 Decouple compositing and script crates. 2014-08-08 16:17:17 -04:00
Manish Goregaokar
deed48a759 Remove unused windows/globals 2014-08-09 01:04:12 +05:30
Ms2ger
f2b2f484b5 Merge pull request #2938 from jgraham/jgraham/getElementsByTagName
Fix getElementsByTagName[NS] support to match the spec; r=Ms2ger
2014-08-08 17:29:25 +02:00
James Graham
0b802ab018 Fix getElementsByTagName[NS] support to match the spec. 2014-08-08 14:30:34 +01:00
Simon Sapin
70e70fd1d9 Change documenation repository URL back to doc.servo.org
The earlier change got lost in the rebase for #3015
2014-08-08 13:27:15 +01:00
Ms2ger
bf3954c8d8 Merge pull request #3057 from Ms2ger/3041-method-trait
Correct the fallibility of proxy operations in the *Methods trait (fixes #3041); r=jdm
2014-08-08 14:16:04 +02:00
Ms2ger
560430e03a Merge pull request #3015 from Ms2ger/travis-matrix
Parallelize test runs (fixes #2980); r=Manishearth+SimonSapin+metajack
2014-08-08 13:34:36 +02:00
Patrick Walton
cc0b419c20 Merge pull request #3051 from metajack/fix-nodeflags-for-layout
Fix the NodeFlags methods that are called by layout.
2014-08-08 01:51:22 -07:00