James Gilbertson
8977316d3e
Implement constraining as per DEVICE-ADAPT § 6
...
Spec: http://dev.w3.org/csswg/css-device-adapt/#constraining
2015-05-05 21:04:27 -06:00
James Gilbertson
3b14c07051
Implement parsing of an @viewport rule
2015-05-05 21:01:31 -06:00
Glenn Watson
6ec4f3e02e
Update glutin to get fix for x crash on exit.
2015-05-06 09:04:50 +10:00
bors-servo
1721cf45ed
Auto merge of #5951 - SimonSapin:au-cleanup, r=mbrubeck
...
Fix #5943 .
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5951 )
<!-- Reviewable:end -->
2015-05-05 15:08:12 -05:00
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
Simon Sapin
908be6abc2
Rename some to_azure* methods according to what they do.
2015-05-05 20:13:30 +02:00
Simon Sapin
6bf830f663
Remove some unnecessary casts.
2015-05-05 20:11:26 +02: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
Simon Sapin
5f0c55cefb
Make most Au methods take self by value. (It’s a i32 wrapper.)
2015-05-05 18:43:12 +02:00
Simon Sapin
4f618c45a5
Used foo.0
tuple access notation instead of let Au(a) = a;
2015-05-05 18:42:31 +02:00
Simon Sapin
b1ecba9f3d
Use i32 instead of isize in Au methods.
2015-05-05 18:40:00 +02: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
Simon Sapin
8b522f2e7d
Rename Au methods with f32/f64 instead of frac32/frac/subpx
2015-05-05 18:23:29 +02: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
Simon Sapin
32d5e24922
Replace Au-related free functions in util::geometry with Au methods.
2015-05-05 17:36:03 +02: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
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
ecoal95
ad414824b2
Fix WebGL objects inheritance
2015-05-04 02:06:20 +02: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
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
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
Prabhjyot Singh Sodhi
1d0976c192
TextEncoder::Constructor should not trim whitespaces or lowercase labels #5900
...
Fixes #5900
2015-04-30 16:51:02 +05:30
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