Ms2ger
1b543144f1
Pass an Atom to before_remove_attr and after_set_attr.
2014-08-16 12:32:19 +02:00
Ms2ger
9501d2e451
Make Attr::local_name an Atom.
2014-08-16 12:13:02 +02:00
Ms2ger
ba592364b7
Merge pull request #3094 from Ms2ger/importScripts
...
Implement WorkerGlobalScope.importScripts; r=Manishearth
2014-08-16 12:11:14 +02:00
Ms2ger
aed642babe
Implement WorkerGlobalScope.importScripts.
2014-08-16 12:09:09 +02:00
Simon Sapin
061e7e1620
Merge pull request #3096 from SimonSapin/make-snapshot
...
Download Rust snapshots in make rather than configure. r=@Manishearth
2014-08-15 21:57:55 +01:00
Simon Sapin
5f4e1d0f61
Download Rust snapshots in make rather than configure.
...
When parallel make (`-j`) is used, this enables building non-Rust dependencies
while the Rust compiler is being downloaded.
On my laptop, from an empty build directory,
`~/projects/servo/configure --disable-optimize && make -j6`
goes from ~7 minutes to ~6 minutes.
The difference matches the download time.
2014-08-15 19:54:42 +01:00
Ms2ger
5b2e08bb5c
Merge pull request #3093 from Ms2ger/worker-location
...
Implement WorkerGlobalScope.location; r=Manishearth
2014-08-15 11:30:55 +02:00
Ms2ger
e7dd281979
Implement WorkerGlobalScope.location.
2014-08-15 09:48:41 +02:00
Ms2ger
fe3b62e9b4
Merge pull request #3089 from Ms2ger/worker-navigator
...
Implement DedicatedWorkerGlobalScope.navigator; r=abinader
2014-08-15 09:45:35 +02:00
Ms2ger
eadb1c154a
Implement DedicatedWorkerGlobalScope.navigator.
2014-08-15 09:43:37 +02:00
Jack Moffitt
f300e146b0
Merge pull request #2274 from metajack/build-32bit
...
Enable 32bit builds.
2014-08-14 21:47:14 -06:00
Jack Moffitt
9a75a0fa12
Enable 32bit builds.
...
You specify a 32bit build by setting --target on configure.
2014-08-14 13:52:19 -06:00
Ms2ger
7cd57870b4
Merge pull request #3088 from brunoabinader/document-links-cache
...
Implement Document.links cache; r=Ms2ger
2014-08-14 20:56:32 +02:00
Ms2ger
d2ffbec5ed
Merge pull request #3080 from Ms2ger/clone
...
Structured clone the argument to postMessage; r=larsberg
2014-08-14 16:30:05 +02:00
Ms2ger
eaea735f72
Structured clone the argument to DedicatedWorkerGlobalScope.postMessage.
2014-08-14 16:28:57 +02:00
Ms2ger
1dca6146a8
Structured clone the argument to Worker.postMessage.
2014-08-14 16:28:57 +02:00
Bruno de Oliveira Abinader
3b916d4e30
Removed comment as issue #1847 is now fixed.
2014-08-14 10:27:04 -04:00
Bruno de Oliveira Abinader
66eb73ca44
Added tests for Document's Link cache
2014-08-14 10:10:01 -04:00
Bruno de Oliveira Abinader
330f72fba5
Implement cached Document.Links
2014-08-14 10:06:52 -04:00
Ms2ger
251d818de2
Merge pull request #3087 from Manishearth/node-textcontent-throws
...
node.textContent and node.nodeValue should not throw; r=Ms2ger
2014-08-14 15:37:42 +02:00
Manish Goregaokar
6b78b93be1
node.textContent and node.nodeValue should not throw
2014-08-14 18:33:31 +05:30
Ms2ger
984ec0e0c3
Merge pull request #3081 from Ms2ger/location-empty
...
Return the empty string as appropriate for location.{search,hash}; r=Manishearth
2014-08-14 10:50:12 +02:00
Jack Moffitt
16ef461af9
Merge pull request #3083 from glennw/font-cache-error
...
Improve error message for when web fonts fail to load.
2014-08-13 20:59:17 -06:00
Glenn Watson
93fc4e13f3
Improve error message for when web fonts fail to load.
2014-08-14 09:10:53 +10:00
Ms2ger
d853db2c69
Return the empty string as appropriate for location.{search,hash}.
2014-08-13 22:52:42 +02:00
Ms2ger
e8d89ca464
Merge pull request #3079 from Ms2ger/tests-workers-2
...
Enable some workers tests; r=jgraham
2014-08-13 21:25:47 +02:00
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