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
Jack Moffitt
98d50934a3
Merge pull request #3049 from glennw/fc-warnings
...
Get rid of fontconfig warnings for linux travis runs.
2014-08-06 22:01:56 -06:00
Glenn Watson
a79470134a
Get rid of fontconfig warnings for linux travis runs.
2014-08-07 13:32:18 +10:00
Matt Brubeck
d626ac3dc0
Fix rustdoc comment syntax
2014-08-06 16:34:46 -07:00
Simon Sapin
9dbd31940f
Merge pull request #3046 from servo/doc.servo.org
...
Move documentation to http://doc.servo.org
2014-08-07 00:12:30 +01:00
Simon Sapin
13fe0813fa
Move documentation to http://doc.servo.org
...
[skip ci]
2014-08-07 00:00:50 +01:00
Simon Sapin
d6ec79672e
Merge pull request #3045 from servo/rust-doc-the-vengance-of-the-return
...
Have http://servo.github.io/servo/ include docs for the Rust version we use.
2014-08-06 22:28:54 +01:00
Simon Sapin
7b5daaa580
Have http://servo.github.io/servo/ include docs for the Rust version we use.
...
Closes #3038 .
2014-08-06 21:55:21 +01:00
Simon Sapin
d83b1140cd
Merge pull request #3043 from servo/travis-all-the-branches!
...
Run Travis-CI build on pushes to all branches, not just master.
2014-08-06 21:53:25 +01:00
Simon Sapin
8ff624ac3e
Run Travis-CI build on pushes to all branches, not just master.
...
We can add a blacklist (rather than the previous whitelist) as needed
when we get newbors running.
2014-08-06 21:46:48 +01:00
Ms2ger
48dab6e5f6
Merge pull request #3035 from brunoabinader/fix-node-ctor
...
Using NodeFlags ctor to set InEnabledState when needed; r=Ms2ger
2014-08-06 19:04:48 +02:00