Ms2ger
a3adf6ab75
Stop using MemWriter in Element::serialize.
2015-05-01 21:21:50 +02:00
Ms2ger
9a97a7e30c
Add a VecRootableType bound to RootedVec's type parameter.
2015-05-01 21:21:26 +02:00
Ms2ger
568b7f3a53
Replace -1 by !0 for unsigned integers.
2015-05-01 21:20:34 +02:00
Ms2ger
bd77acfbb8
Use AsciiExt in ByteString implementations.
2015-05-01 21:20:16 +02:00
Ms2ger
5f6b791e62
Add a Reflectable bound to Trusted's type parameter.
2015-05-01 21:19:46 +02:00
Ms2ger
b59f54ce81
Add a Reflectable bound to Root's type parameter.
2015-05-01 21:19:37 +02:00
Ms2ger
84b1b52682
Replace ByteString::as_slice() by a Deref implementation.
2015-05-01 21:19:11 +02:00
Ms2ger
0a5ffc4bb0
Remove an as_slice() call.
2015-05-01 21:17:14 +02:00
Ms2ger
ad4996b545
Remove a range() call.
2015-05-01 21:16:43 +02:00
Ms2ger
c95fc0c923
Stop using IndexMut on HashMap.
...
This feature was removed in https://github.com/rust-lang/rust/pull/23559 .
2015-05-01 21:16:22 +02:00
bors-servo
77f653da2c
Auto merge of #5912 - nnethercote:profile_traits, r=Manishearth
...
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.
This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5912 )
<!-- Reviewable:end -->
2015-04-30 20:02:33 -05:00
Nicholas Nethercote
092507d23c
Add a profile_traits
crate to reduce compile times.
...
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.
This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.
2015-04-30 17:58:47 -07:00
bors-servo
826b722202
Auto merge of #5908 - dhodder:master, r=jdm
...
Three URLs have changed from `github.com/mozilla/servo` to `github.com/servo/servo`.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5908 )
<!-- Reviewable:end -->
2015-04-30 13:00:42 -05:00
Dave Hodder
c8cb4f3419
Use canonical Servo GitHub URLs
2015-04-30 18:26:33 +01:00
bors-servo
88ed4e58e1
Auto merge of #5725 - pgonda:dispatch-mousedown-mouseup, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5725 )
<!-- Reviewable:end -->
2015-04-30 12:22:03 -05:00
bors-servo
3c159373fd
Auto merge of #5905 - Ms2ger:css, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5905 )
<!-- Reviewable:end -->
2015-04-30 11:29:24 -05:00
Ms2ger
bbd7cac371
Run absolute position reftests as part of test-wpt.
2015-04-30 17:44:59 +02:00
Ms2ger
c55b52b69d
Sort the css tests in our wptrunner manifest.
2015-04-30 17:44:30 +02:00
bors-servo
0cb2644210
Auto merge of #5904 - Manishearth:spelling, r=Ms2ger
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5904 )
<!-- Reviewable:end -->
2015-04-30 09:56:50 -05:00
Manish Goregaokar
88d180cc8a
fix typo
2015-04-30 19:35:21 +05:30
bors-servo
b5b0ef5d5a
Auto merge of #5687 - Ms2ger:css, r=jdm
...
CC #5618 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5687 )
<!-- Reviewable:end -->
2015-04-30 08:40:44 -05:00
Ms2ger
031d4f0c2c
Start running reftests with wptrunner.
...
CC #5618 .
2015-04-30 14:49:06 +02:00
bors-servo
9ff2587685
Auto merge of #5901 - Ms2ger:update-wptrunner, r=jgraham
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5901 )
<!-- Reviewable:end -->
2015-04-30 06:37:30 -05:00
bors-servo
15c4372a8b
Auto merge of #5839 - nox:range, r=Manishearth
...
The actual boundary points are behind a Rc<_> value to let nodes be able to store weak references to them in the future.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5839 )
<!-- Reviewable:end -->
2015-04-30 05:59:55 -05:00
Anthony Ramine
184fb7bd86
Implement base machinery of Range
...
The actual boundary points are behind a Rc<_> value to let nodes be able to store
weak references to them in the future.
2015-04-30 12:53:40 +02:00
Anthony Ramine
5386cb31d0
Enable range tests
2015-04-30 12:53:38 +02:00
Anthony Ramine
304b444ec7
Add missing range-related error types
2015-04-30 12:53:37 +02:00
Anthony Ramine
bc8b7952b8
Implement NodeHelpers::index()
2015-04-30 12:53:36 +02:00
Anthony Ramine
d8c5092a6e
Implement NodeHelpers::len()
2015-04-30 12:53:35 +02:00
bors-servo
2c17779440
Auto merge of #5896 - nox:stringifier-proxy, r=jdm
...
The proxy stringifiers called through {}.toString.call() (obj_toString) shouldn't use the stringifier.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5896 )
<!-- Reviewable:end -->
2015-04-30 04:33:32 -05:00
Ms2ger
0c85a84059
Update wptrunner.
2015-04-30 10:44:47 +02:00
Peter
c069d1753e
added dispatching for mousedown and mouseup events, fixes #5705
2015-04-29 21:32:18 -04:00
bors-servo
738f006afe
Auto merge of #5898 - glennw:corrupt-gz, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5898 )
<!-- Reviewable:end -->
2015-04-29 20:03:38 -05:00
Glenn Watson
786e24bde0
Handle gzip decompression failure (encountered during jquery test suite work) without panic.
2015-04-30 10:10:21 +10:00
bors-servo
037729fc4d
Auto merge of #5897 - Ms2ger:wpt_20150429, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5897 )
<!-- Reviewable:end -->
2015-04-29 17:18:36 -05:00
bors-servo
19a4a26364
Auto merge of #5895 - psdh:uniformiseMsgTypes, r=jdm
...
Fixes #5882
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5895 )
<!-- Reviewable:end -->
2015-04-29 15:51:39 -05:00
Ms2ger
14e48d959c
Update web-platform-tests to revision fef3eb9bbb033d1d7150f4c70ecc1a5f59bcf115
2015-04-29 22:07:51 +02:00
Prabhjyot Singh Sodhi
b980278d90
Uniformise the various Msg types [ #5882 ]
2015-04-30 01:22:16 +05:30
Anthony Ramine
3b82cba011
Implement trivial stringifiers
2015-04-29 19:07:09 +02:00
Anthony Ramine
2a2e8b176d
Properly generate proxy stringifiers
2015-04-29 18:52:38 +02:00
bors-servo
7ee605db11
Auto merge of #5891 - mbrubeck:text-align-rtl, r=SimonSapin
...
r? @SimonSapin
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5891 )
<!-- Reviewable:end -->
2015-04-29 09:07:17 -05:00
Matt Brubeck
50f982bb0c
Fix text-align left/right in RTL layout
2015-04-29 07:07:58 -07:00
Matt Brubeck
81e8f18662
Support text-align: start
and end
2015-04-29 07:07:58 -07:00
bors-servo
5b0c6c9d31
Auto merge of #5879 - Jinwoo-Song:character_data, r=jdm
...
NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy.
All of Text/ProcessingInstruction/Comment inherit from CharacterData,
which inherits from Node. There should be a CharacterDataTypeId value
that differentiates between those, instead.
r? @jdm
cc @yichoi
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5879 )
<!-- Reviewable:end -->
2015-04-29 02:35:26 -05:00
Jinwoo Song
f404853c99
Make NodeTypeId include CharacterData variant
...
NodeTypeId is supposed to reflect the WebIDL inheritance hierarchy.
All of Text/ProcessingInstruction/Comment inherit from CharacterData,
which inherits from Node. There should be a CharacterDataTypeId value
that differentiates between those, instead.
2015-04-29 13:30:21 +09:00
bors-servo
1e150140bd
Auto merge of #5480 - SimonSapin:multicol, r=pcwalton
...
This add some properties to the style system and a new flow type, but the larger issues of dealing with fragmentation in the flow tree is still an open question.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5480 )
<!-- Reviewable:end -->
2015-04-28 19:48:45 -05:00
Simon Sapin
544a02a250
Refactor flow construction to make float
less of a special case.
2015-04-29 02:47:46 +02:00
Simon Sapin
cc4749373a
Add MulticolFlow and use it for multicol elements.
...
It currently "inherits" from BlockFlow and does not override anything.
2015-04-29 02:29:33 +02:00
Simon Sapin
f30cd4f377
Add column-width, column-count, columns and column-gap properties in the style system.
2015-04-29 02:29:32 +02:00
bors-servo
0a4db7ae0f
Auto merge of #5889 - pcwalton:remove-absolute-static-i-offset, r=glennw
...
They haven't been used for hypothetical box calculation in quite some
time.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5889 )
<!-- Reviewable:end -->
2015-04-28 18:30:38 -05:00