Avi Weinstock
b742eeca05
Made the clipboard-related functionality in TextInput more testable. Added test_clipboard_paste to the "test-unit" suite.
2015-05-06 11:46:18 -04:00
bors-servo
72c20d8491
Auto merge of #5962 - jgraham:webdriver_navigation, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5962 )
<!-- Reviewable:end -->
2015-05-06 10:34:44 -05:00
James Gilbertson
455ac536af
Add a basic ref test for @viewport
2015-05-06 09:19:16 -06:00
James Gilbertson
3f006f96b2
Move parsing of @viewport rules in a stylesheet behind --experimental.
...
This is for parsing of the rule within a stylesheet only. <meta name=viewport> could create a viewport rule and add it to the list of stylesheets for the page (like quirks mode).
2015-05-06 09:18:57 -06:00
bors-servo
9aa801f140
Auto merge of #5961 - Ms2ger:closeevent, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5961 )
<!-- Reviewable:end -->
2015-05-06 09:51:31 -05:00
bors-servo
3327fe3013
Auto merge of #5945 - mmatyas:canvas_mxrotate, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5945 )
<!-- Reviewable:end -->
2015-05-06 08:53:56 -05:00
James Graham
1576107c45
Implement webdriver commands for back/forward/title/handles.
2015-05-06 12:22:10 +01:00
Mátyás Mustoha
e3e2119c4c
Canvas: implement transformation matrix rotation.
2015-05-06 12:38:48 +02:00
Ms2ger
6498240340
Correct the initial value of wasClean in CloseEvent.
2015-05-06 12:36:06 +02:00
bors-servo
387836c42e
Auto merge of #5942 - duncankl:whatwg-link-suggest, r=jdm
...
Simplified the checking logic a bit too; only a single match per line and a stricter regex that matches everything in one go.
I tested this against commit 8b08c6f4
and made sure it caught the same problems. Note that tidy doesn't currently check the webidls, so those would have still made it through.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5942 )
<!-- Reviewable:end -->
2015-05-06 05:25:28 -05:00
Ms2ger
94b3617629
Move the CloseEventInit defaults into IDL.
2015-05-06 12:19:53 +02:00
Ms2ger
692fc09041
Make the CloseEvent members immutable.
2015-05-06 12:05:26 +02:00
Ms2ger
31ebfff9bc
Improve formatting in closeevent.rs.
2015-05-06 11:27:37 +02:00
bors-servo
b762758366
Auto merge of #5953 - mbrubeck:libc, r=jdm
...
r? @Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5953 )
<!-- Reviewable:end -->
2015-05-06 03:43:02 -05:00
James Gilbertson
226b757789
Convert remaining CSS values types to use AllowedNumericType when parsing numbers
2015-05-06 00:34:34 -06:00
James Gilbertson
138596e861
Constrain the viewport & zoom when reflowing
2015-05-06 00:34:33 -06:00
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