bors-servo
e779e8905b
Auto merge of #5952 - Ms2ger:cleanup, r=saneyuki
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5952 )
<!-- Reviewable:end -->
2015-05-05 14:26:37 -05:00
bors-servo
6d2f70a4fd
Auto merge of #5939 - jdm:websocket, r=jdm
...
...ets using rust-websocket.
Authors:
Shivaji Vidhale <savidhal@ncsu.edu>
William Galliher <wpgallih@ncsu.edu>
Allen Chen <achen4@ncsu.edu>
Rucha Jogaikar <rsjogaik@ncsu.edu>
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5939 )
<!-- Reviewable:end -->
2015-05-05 12:57:48 -05:00
Ms2ger
d62e1c9afb
Remove unused feature gates and an unused import.
2015-05-05 19:05:23 +02:00
Ms2ger
475c27e966
Make DEBUG_ID_COUNTER a plain static.
...
Apparently it no longer needs to be static mut.
2015-05-05 19:04:53 +02:00
bors-servo
ab589da1f4
Auto merge of #5947 - jdm:devtools, r=jdm
...
Implement HTTP request/response notifications per https://github.com/servo/servo/wiki/More-developer-tools-student-project .
Rebased from #5920 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5947 )
<!-- Reviewable:end -->
2015-05-05 11:52:44 -05:00
Himaja
01eb31ae8a
1. Add an Option<Pipeline_id> field to the LoadData struct, and a corresponding parameter to LoadData::new()
...
2. Change addEvent in the NetworkEventActor to add_request and add_response
2015-05-05 12:31:40 -04:00
William Galliher
5afec62f07
Implement incomplete opening, sending, and closing behaviour for WebSockets using rust-websocket.
...
Authors:
Shivaji Vidhale <savidhal@ncsu.edu>
William Galliher <wpgallih@ncsu.edu>
Allen Chen <achen4@ncsu.edu>
Rucha Jogaikar <rsjogaik@ncsu.edu>
2015-05-05 12:17:35 -04:00
Himaja
6e91ebb1fe
1. Add an enum type NetworkEventMessage for handling both HttpRequest and HttpResponse messages
...
2. Change run_server to handle network events
3. Add a unique id to track request-actor associations
4. Update the network event actor
2015-05-05 11:50:00 -04:00
Himaja
9f4a88bc48
Initial changes for devtools support for logging HTTP requests.
...
Add a NetworkEventActor to devtools/actors/
Authors:
Ashritha Mohan Ram <amohanr@ncsu.edu>
Himaja Valavala <hsvalava@ncsu.edu>
Anand Chandrasekar <achandr9@ncsu.edu>
Yiyang Wang <ywang95@ncsu.edu>
2015-05-05 11:49:26 -04: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```

<!-- 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