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
Manish Goregaokar
c791ec24a8
Parallelize test runs on Travis ( fixes #2980 ).
2014-08-08 10:46:20 +02:00
Ms2ger
98d25e3de9
Correct the fallibility of proxy operations in the *Methods trait ( fixes #3041 ).
...
A typo caused us to use the fallibility of the last normal method in the
interface.
2014-08-08 10:28:44 +02:00
glennw
9d1a495a4e
Merge pull request #3055 from glennw/unify-freetype
...
Unify the android + linux font code folders. Fixes #3028 .
2014-08-08 14:36:06 +10:00
Glenn Watson
0442d8afca
Unify the android + linux font code folders. Fixes #3028 .
2014-08-08 13:33:08 +10:00
Simon Sapin
2a1ec61ccd
Fix doc.servo.org repository URL.
2014-08-07 22:31:37 +01:00
Josh Matthews
1c0e51015f
Merge pull request #3053 from brunoabinader/use-is-element-helpers
...
Prefer *Derived helper functions (is_*element) than string comparison
2014-08-07 15:29:55 -04:00
Bruno de Oliveira Abinader
000380b812
Prefer *Derived helper functions (is_*element) than string comparison
2014-08-07 14:51:43 -04:00
Simon Sapin
8b3c9f6401
Merge pull request #2987 from saneyuki/idl
...
Add some blobs for DOM Bindings
2014-08-07 19:12:04 +01:00
Tetsuharu OHZEKI
bf85cdf0eb
Add DOM NodeIterator blob (include DOM NodeFilter interface).
2014-08-08 02:12:04 +09:00
Tetsuharu OHZEKI
880ae2bdb9
Add DOM Range blob.
2014-08-08 02:12:04 +09:00
Tetsuharu OHZEKI
94cd981086
Add TreeWalker blob.
2014-08-08 02:12:03 +09:00
Jack Moffitt
fedccdb473
Fix the NodeFlags methods that are called by layout.
...
They should never borrow.
2014-08-07 10:30:17 -06:00
Ms2ger
1e3dc0341b
Merge pull request #3031 from Ms2ger/attr-cell
...
Make Attr::owner immutable; r=jdm
2014-08-07 11:41:57 +02:00
Josh Matthews
69fc99e868
Merge pull request #3047 from mbrubeck/doc-comment
...
Fix rustdoc comment syntax
2014-08-07 00:31:11 -04:00