Brian Anderson
a0d14ac71a
Remove lib.rs from gonk port. Unused
2015-05-11 12:37:16 -07:00
James Graham
6e639de664
Add support for getActiveElement webdriver command
2015-05-11 17:31:23 +01:00
Ms2ger
fa31d7d909
Replace TElement::get_link() by specific methods.
2015-05-11 10:52:58 +02:00
bors-servo
d1a0aacc60
Auto merge of #6001 - Ms2ger:runtime, r=jdm
...
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6001 )
<!-- Reviewable:end -->
2015-05-10 15:14:37 -05:00
Ms2ger
34e35df986
Move get_attr and get_attrs into TElementAttributes.
...
These methods are only called on LayoutElement.
2015-05-10 18:26:06 +02:00
Ms2ger
cfe240d117
Remove reference counting from the Runtime implementation.
2015-05-10 18:09:09 +02:00
Ms2ger
9abe47b76f
Move evaluate_script to Runtime.
2015-05-10 18:01:09 +02:00
Ms2ger
ddf6cf6a16
Update js.
2015-05-10 17:16:14 +02:00
Ms2ger
076d15992a
Update js.
2015-05-10 15:58:07 +02:00
Brian Anderson
bc284691d2
Fix gonk port
2015-05-09 22:04:12 -07:00
Brian Anderson
d1b0a4bd55
Check in new Cargo.lock for cef
2015-05-09 22:04:06 -07:00
Brian Anderson
df9c132551
util: Set the experimental_enabled flag when options are set
2015-05-09 02:22:59 -07:00
Brian Anderson
f8bbc0a974
util: Rename ops::set_opts
to ops::set
, to match get
2015-05-09 02:12:23 -07:00
Brian Anderson
aa906a54d3
Remove call to env::current_dir from Browser
...
Put it in util::opts instead.
2015-05-09 00:48:25 -07:00
bors-servo
892a740426
Auto merge of #5985 - zmike:embedding-woodenbikeshed, r=larsbergstrom
...
Some small changes.
@larsbergstrom or whoever cares the most at this exact moment.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5985 )
<!-- Reviewable:end -->
2015-05-08 15:03:52 -05:00
Mike Blumenkrantz
6e74e510c6
fix undefined symbols in embedding lib
...
cef_get_xdisplay() was an internal function that should not have been used here
2015-05-08 12:04:37 -04:00
bors-servo
02cf89f4d3
Auto merge of #5976 - larsbergstrom:osx-android-fixes, r=glennw
...
r? @metajack
Thanks to @alexcrichton for all the work to figure out our problems here!
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5976 )
<!-- Reviewable:end -->
2015-05-07 19:51:25 -05:00
Mike Blumenkrantz
7e7ee225c7
add embedding function for checking whether the loaded cef lib is servo
2015-05-07 16:58:08 -04:00
Lars Bergstrom
dedf67ab97
Pick up acrichto's fixes to OSX cross build in submodules
2015-05-07 14:27:39 -05:00
bors-servo
92f46e3149
Auto merge of #5955 - zmike:embedding-REBASE_RAGE, r=larsbergstrom
...
This updates all the CEF interface stuff to the current CEF codebase.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5955 )
<!-- Reviewable:end -->
2015-05-07 14:10:29 -05:00
ecoal95
a3b0c10381
Remove Glutin dependency for WebGL
...
Now we have mac support, and since android build is broken, we can
drop glutin from WebGL code.
Went back to upstream
(see: https://github.com/servo/rust-offscreen-rendering-context/pull/1#issuecomment-99234534 )
Rebased
2015-05-07 13:31:08 +02:00
James Graham
5311d9ab59
Support WebDriver takeScreenshot command.
...
This adds support for compositing to a PNG without actually quiting
the browser.
2015-05-07 09:56:15 +01:00
Simon Sapin
0d226722b7
Deduplicate some dependencies.
...
This uses some dependencies from crates.io instead of git
where the crates.io copy was already used in some other part
of the dependency tree, so we had two copies of the same library.
The `android_glue` crate is the only one left where we have two copies,
but solving that is more tricky since we hard-code a path in
`components/servo/.cargo/config`.
2015-05-07 01:56:49 +02:00
bors-servo
ccf1e6b9a7
Auto merge of #5361 - luniv:css-device-adapt, r=mbrubeck
...
Spec: http://dev.w3.org/csswg/css-device-adapt/
Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).
I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom').
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5361 )
<!-- Reviewable:end -->
2015-05-06 12:41:09 -05:00
Mike Blumenkrantz
7fc50db898
update cef embedding readme
2015-05-06 13:04:28 -04:00
Mike Blumenkrantz
6011d39ca1
one more embedding interfaces update because they removed cef_url & time_t
2015-05-06 12:49:32 -04:00
Mike Blumenkrantz
745e3bd49f
update embedding interfaces again to use filling_drop feature
...
...and remove trailing whitespaces
2015-05-06 12:33:15 -04:00
Mike Blumenkrantz
efb2b37185
update embedding interfaces/mod.rs to add MPL
2015-05-06 12:33:14 -04:00
Mike Blumenkrantz
ff6667f564
update embedding interfaces mod.rs generator script to add MPL
...
also use better zsh syntax
2015-05-06 12:33:09 -04: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
138596e861
Constrain the viewport & zoom when reflowing
2015-05-06 00:34:33 -06: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
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
Matt Brubeck
a0e45beae8
Get rid of old libc
feature
2015-05-05 10:04:42 -07: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
Simon Sapin
ef8edd4e87
Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.
2015-05-05 10:07:34 -04: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
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
Peter
c069d1753e
added dispatching for mousedown and mouseup events, fixes #5705
2015-04-29 21:32:18 -04:00
Ms2ger
903305416a
Implement Clone for Copy types.
2015-04-28 23:31:10 +02:00
Manish Goregaokar
dcb0a0eab6
Fix some no_move errors
2015-04-28 04:20:45 +05:30
Manish Goregaokar
63714ebc5f
Add the rust-tenacious move-protection lint, use it for Root<T>
( fixes #5724 )
2015-04-28 04:20:40 +05:30
Tim Cuthbertson
69110297c9
Implement implicit form submission from input elements
2015-04-27 19:46:41 +10:00