Commit graph

10313 commits

Author SHA1 Message Date
bors-servo
16a7c792b5 Auto merge of #5931 - nox:rm-helpers, r=jdm
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5931)
<!-- Reviewable:end -->
2015-05-06 01:31:26 -05:00
bors-servo
5e59e77c41 Auto merge of #5753 - JIoJIaJIu:timeline, r=jdm
RequestAnimationFrame
[Task](https://github.com/servo/servo/issues/5681)

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5753)
<!-- Reviewable:end -->
2015-05-06 00:50:13 -05:00
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
bors-servo
c303e9dcd5 Auto merge of #5956 - glennw:up-glutin, r=mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5956)
<!-- Reviewable:end -->
2015-05-05 18:11:32 -05:00
Glenn Watson
6ec4f3e02e Update glutin to get fix for x crash on exit. 2015-05-06 09:04:50 +10:00
Mike Blumenkrantz
ad91db7224 add shell script to automate generation of ports/cef/interfaces/mod.rs 2015-05-05 17:22:52 -04:00
Mike Blumenkrantz
c2ed3b258f implement pointer type matching for cef window cursor setting
I think this is right?
2015-05-05 17:06:31 -04:00
Mike Blumenkrantz
c62b7236a9 update various cef functions to use correct number of params
cef broke abi/api recently
2015-05-05 17:05:52 -04:00
Mike Blumenkrantz
ba8c585372 add remaining/missing cef types to types.rs
the main cef_types.h header is not part of the generation process,
so these types still need to remain manually generated for now
2015-05-05 17:04:30 -04:00
Mike Blumenkrantz
ae025b23d1 remove duplicated cef types from cef/types.rs
these are all generated now
2015-05-05 17:02:40 -04:00
Mike Blumenkrantz
4679fc77b0 update cef embedding interfaces to latest cef 2015-05-05 17:01:53 -04: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
Guro Bokum
be2cb665de Start using on_refresh_driver_tick #5681
Final
2015-05-06 02:08:39 +07: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
Matt Brubeck
a0e45beae8 Get rid of old libc feature 2015-05-05 10:04:42 -07: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
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
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
Duncan
007295de4a Suggest how to fix unstable WHATWG links in tidy.py
Fixes #5929
2015-05-05 19:37:27 +12: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
Anthony Ramine
06436e9c79 Remove helpers that correspond to DOM methods 2015-05-04 15:18:27 +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