Commit graph

10131 commits

Author SHA1 Message Date
Matt Brubeck
2dc048116e Add a no-op --dev option to the mach build command.
This is part of #5965.  It needs to land before the rest of that PR, so we can
land servo/saltfs#28 without breaking automated builds for other PRs.
2015-05-12 11:32:08 -07:00
bors-servo
49aed6555d Auto merge of #5935 - servo:rustup_2015-04-25, r=Ms2ger
r? everybody

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5935)
<!-- Reviewable:end -->
2015-05-05 09:11:30 -05:00
Simon Sapin
ef8edd4e87 Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8. 2015-05-05 10:07:34 -04:00
bors-servo
7b87085c18 Auto merge of #5919 - pcwalton:inline-block-intrinsic-widths, r=mbrubeck
* Stop double-counting border and padding for inline-block fragments.
  (Test case: `inline_block_border_intrinsic_size_a.html`.)

* Take clearance into account when determining intrinsic widths of
  blocks containing floats.

Improves the Amazon headers.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5919)
<!-- Reviewable:end -->
2015-05-04 13:37:24 -05:00
bors-servo
89f90d930d Auto merge of #5934 - mbrubeck:readme, r=pcwalton
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5934)
<!-- Reviewable:end -->
2015-05-04 12:57:06 -05:00
Matt Brubeck
a4ccf609b0 Add instructions for building with --release 2015-05-04 10:57:22 -07:00
bors-servo
2e4d2eb6a9 Auto merge of #5932 - Munksgaard:fix-5930, r=Ms2ger
Following the (short) in #5930 it was decided that we should remove this
FIXME.

Fixes #5930

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5932)
<!-- Reviewable:end -->
2015-05-04 08:42:43 -05:00
Philip Munksgaard
fe1a334b11 Remove FIXME
Following the (short) in #5930 it was decided that we should remove this
FIXME.

Fixes #5930
2015-05-04 15:38:38 +02:00
bors-servo
72ca16ed55 Auto merge of #5926 - ecoal95:webgl-object-inheritance, r=jdm
Uses WebGLObject inheritance as specified by the WebGL 1.0 spec.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5926)
<!-- Reviewable:end -->
2015-05-03 19:59:08 -05:00
bors-servo
f9a5ad058f Auto merge of #5925 - Ms2ger:drawImage, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5925)
<!-- Reviewable:end -->
2015-05-03 19:20:31 -05:00
ecoal95
ad414824b2 Fix WebGL objects inheritance 2015-05-04 02:06:20 +02:00
Ms2ger
b845ab4725 Submit the drawImage reftests to wpt. 2015-05-04 00:30:02 +02:00
Simon Sapin
6f343f17df Merge pull request #5924 from cyplo/patch-1
Added mesa-libOSMesa-devel as a dependency for Fedora compilation
2015-05-04 00:29:05 +02:00
Cyryl Płotnicki-Chudyk
35492a8dad Added mesa-libOSMesa-devel as a dependency for Fedora compilation 2015-05-03 19:28:10 +02:00
bors-servo
b43a2ed807 Auto merge of #5820 - dmarcos:firstTriangle, r=jdm
This is WIP. still have to clean up the code a little bit but I wanted to show the progress. I got really excited when I saw my first triangle on screen ```./mach run tests/ref/webgl-context/triangle.html```

![firsttriangle](https://cloud.githubusercontent.com/assets/39342/7313736/e3fdb41e-ea11-11e4-8c63-78523cd9dcc7.png)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5820)
<!-- Reviewable:end -->
2015-05-02 21:22:28 -05:00
Diego Marcos
79b8e7aa34 It implements enough WebGL spec to draw a triangle 2015-05-02 19:21:05 -07:00
Patrick Walton
33087497ac layout: Fix a couple of issues relating to intrinsic widths of inline
blocks.

* Stop double-counting border and padding for inline-block fragments.
  (Test case: `inline_block_border_intrinsic_size_a.html`.)

* Take clearance into account when determining intrinsic widths of
  blocks containing floats.

Improves the Amazon headers.
2015-05-01 18:07:07 -07:00
bors-servo
a346f95e68 Auto merge of #5918 - pcwalton:block-formatting-context-float-placement, r=mbrubeck
Improves Amazon.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5918)
<!-- Reviewable:end -->
2015-05-01 18:01:03 -05:00
Patrick Walton
986f81afa7 layout: Use the border box, not the margin box, for placement of block
formatting contexts.

Improves Amazon.
2015-05-01 15:11:46 -07:00
bors-servo
ba8eaac3e4 Auto merge of #5903 - psdh:textencoder5900, r=Ms2ger
... #5900

Fixes #5900

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5903)
<!-- Reviewable:end -->
2015-05-01 16:33:58 -05:00
bors-servo
2f0b805fad Auto merge of #5916 - servo:prepare-rustup, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5916)
<!-- Reviewable:end -->
2015-05-01 14:44:19 -05:00
Ms2ger
99d6f83b66 Use a better name in TextEncoder::Encode. 2015-05-01 21:22:35 +02:00
Ms2ger
e282b71596 Simplify the implementation of make_url_or_base_getter. 2015-05-01 21:22:16 +02:00
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
5f6a740190 Auto merge of #5913 - glennw:bounding-rect, r=pcwalton
* Fix queries involving stacking contexts
 * The code was double accumulating stacking context origins.
* Handle queries of inline elements.
 * The node addresses being compared were incorrect (CharacterData vs. Span)
* Handle ScriptQuery reflows correctly.
 * The layout task was skipping the compute absolute positions traversal, so failed before window.onload.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5913)
<!-- Reviewable:end -->
2015-05-01 13:15:23 -05:00
bors-servo
03d0303e67 Auto merge of #5906 - Ms2ger:s-t-docs, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5906)
<!-- Reviewable:end -->
2015-05-01 12:20:02 -05:00
Glenn Watson
a5a5214783 Various fixes to getClientBoundingRect()
* Fix queries involving stacking contexts
 * The code was double accumulating stacking context origins.
* Handle queries of inline elements.
 * The node addresses being compared were incorrect (CharacterData vs. Span)
* Handle ScriptQuery reflows correctly.
 * The layout task was skipping the compute absolute positions traversal, so failed before window.onload.
2015-05-01 12:40:37 +10: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
Ms2ger
1303dd6e2e Require documentation in script_traits. 2015-04-30 20:48:21 +02: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