Commit graph

7645 commits

Author SHA1 Message Date
bors-servo
5b53d5a163 auto merge of #4316 : michaelwu/servo/fix-gonk, r=glennw
This makes the gonk port build/work again after the recent CEF port update.
2014-12-10 13:15:59 -07:00
bors-servo
13a24fe6c0 auto merge of #4317 : glennw/servo/linux-cef-fixes, r=pcwalton 2014-12-10 12:51:58 -07:00
Glenn Watson
2bd6e48035 CEF updates for Linux / MiniServo-GTK. 2014-12-11 05:46:26 +10:00
bors-servo
d988d01dd0 auto merge of #4073 : mrobinson/servo/pseudo-rm-rf, r=pcwalton
Now that content box queries are made against the flow tree, we can
remove PseudoDisplayItems from the display list.
2014-12-10 10:57:58 -07:00
Michael Wu
fe42749487 Make the gonk port work again 2014-12-10 11:43:30 -05:00
bors-servo
ba06d50e3a auto merge of #4193 : pcwalton/servo/cef-redux, r=pcwalton,metajack
@glennw, is it possible to rebase your stuff on top of this? Sorry for the mess.

r? @metajack
2014-12-10 09:40:03 -07:00
Patrick Walton
8b2aadc30b ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00
bors-servo
315e166cf7 auto merge of #4315 : Ms2ger/servo/page, r=jdm 2014-12-10 08:46:03 -07:00
Ms2ger
8fe798d439 Cleanup PageIterator::next. 2014-12-10 16:24:13 +01:00
Ms2ger
adc493ccce Remove comment that hasn't been true since Document became a Node.
The panic was removed in 99a36cbeb6.
2014-12-10 16:24:13 +01:00
Ms2ger
6fa39497b8 Cleanup Page::remove. 2014-12-10 16:24:12 +01:00
Martin Robinson
2e8f1c08fa Remove PseudoDisplayItemClass
Now that content box queries are made against the flow tree, we can
remove PseudoDisplayItems from the display list.
2014-12-10 11:39:17 +01:00
bors-servo
d8a5199ba8 auto merge of #4309 : mbrubeck/servo/float-cleanup, r=pcwalton
r? @SimonSapin or @pcwalton
2014-12-09 17:01:12 -07:00
Matt Brubeck
5d0d11c380 Make all of LineBreaker private 2014-12-09 15:57:05 -08:00
Matt Brubeck
51850c7ab6 Remove unused code in assign_block_size_block_base
This code is unreachable because an earlier `if base(kid).flags.is_float()`
check bails out of the loop before it can reach this block.
2014-12-09 15:50:18 -08:00
bors-servo
39271aa42d auto merge of #4308 : michaelwu/servo/remove-libgreen, r=glennw
As requested during the review of the gonk port.
2014-12-09 15:31:12 -07:00
bors-servo
cbbbf4fbb5 auto merge of #4306 : michaelwu/servo/gonk-port-three, r=glennw
Trying again since critic didn't notice https://github.com/servo/servo/pull/4294 .
2014-12-09 14:42:57 -07:00
Michael Wu
4d71be1fc9 Remove use of rustuv/green in the gonk port. 2014-12-09 16:27:24 -05:00
bors-servo
2dfc8fed87 auto merge of #4296 : glennw/servo/update-openssl, r=mbrubeck 2014-12-09 14:09:59 -07:00
Glenn Watson
4d7e134cfa Update rust-openssl to add static linking for android. 2014-12-10 07:06:40 +10:00
bors-servo
3a70a9fa6b auto merge of #4305 : Ms2ger/servo/script_task, r=jdm 2014-12-09 12:16:07 -07:00
Michael Wu
3b42eb31fb Eliminate use of allow(dead_code) in window.rs 2014-12-09 13:29:50 -05:00
Michael Wu
0d792ce455 Convert C code to Rust 2014-12-09 13:27:01 -05:00
bors-servo
d2a67abea9 auto merge of #4108 : shinglyu/servo/blob, r=jdm
Let's build this incrementally. I implemented a `Blob` that can hold a `DOMString`, and has `size` attribute and `slice(...)` method. I'll finish the rest in later PRs.
2014-12-09 08:43:08 -07:00
Shing Lyu
f2885b8fc7 Issue #1820 - Improve the Blob implementation 2014-12-09 22:52:19 +08:00
Ms2ger
64b0a6b0b4 Reuse the final_url in ScriptTask::load.
In both the javascript and non-javascript url cases, final_url is set to the
same url as is stored by the Page.
2014-12-09 15:14:59 +01:00
Ms2ger
795327d5c4 Pass a borrowed Url to parse_html.
It does not need to take ownership, and I want to reuse final_url in the
caller.
2014-12-09 15:12:01 +01:00
Ms2ger
8838f2460e Rename base_url to final_url in ScriptTask::load.
This seems like a clearer name, as it's used for more than just as a base url.
2014-12-09 15:05:50 +01:00
bors-servo
ef81fb13e7 auto merge of #4304 : ema-fox/servo/bytag, r=Ms2ger
Fixes #4249
2014-12-09 06:33:59 -07:00
Emanuel Rylke
8ed6ace682 Don't include the root element when calling Element#getElementsByTagName
Fixes #4249
2014-12-09 13:41:14 +01:00
bors-servo
25e5d31289 auto merge of #4303 : Ms2ger/servo/docs-warning, r=Manishearth 2014-12-09 05:33:57 -07:00
Ms2ger
5d71609ccd Update typeable to pick up a warning fix. 2014-12-09 13:09:36 +01:00
bors-servo
02955d39cc auto merge of #4293 : Ms2ger/servo/script_task, r=Manishearth 2014-12-09 04:57:56 -07:00
bors-servo
00298221a6 auto merge of #4302 : SimonSapin/servo/clean-snapshots, r=Manishearth
Bootstrapping automatically downloads new Rust and Cargo snapshots as needed into versioned directories, but do not remove now-unused versions. This is the desired behavior for `git bisect` to be usable.

However, this means that old version keep accumulating, taking up disk space. This adds a mach command to remove snapshots other than the ones currently being used. It is never run automatically.

To be safe, the command defaults to only printing what would be removed, and only removes stuff when run with a `-f` argument.

r? @mbrubeck
2014-12-09 04:01:19 -07:00
Simon Sapin
3fdbb4bfbb mach clean-snapshots: better no-op output 2014-12-09 09:44:24 +00:00
Simon Sapin
b337b0e5e0 Add a ./mach clean-snapshots command to remove old Cargo and Rust.
Bootstrapping automatically downloads new Rust and Cargo snapshots
as needed into versioned directories,
but do not remove now-unused versions.
This is the desired behavior for `git bisect` to be usable.

However, this means that old version keep accumulating, taking up disk space.
This adds a mach command to remove snapshots other than the ones
currently being used.
It is never run automatically.

To be safe, the command defaults to only printing what would be removed,
and only removes stuff when run with a `-f` argument.
2014-12-09 09:31:23 +00:00
bors-servo
7d4ec33375 auto merge of #4298 : Manishearth/servo/zirak-link-attrs, r=Manishearth
Carried over from #4248

Critic review: https://critic.hoppipolla.co.uk/r/3392
2014-12-08 23:30:59 -07:00
Zirak
a586e05e83 Bound several link properties.
Specifically: href, rel, media, hreflang and type.
2014-12-09 11:38:51 +05:30
bors-servo
2f80a3bac6 auto merge of #4160 : Manishearth/servo/a-test-size-dom, r=cgaebel 2014-12-08 23:01:05 -07:00
Manish Goregaokar
f221cb5178 Restrict size tests to 64 bit 2014-12-09 11:27:02 +05:30
Manish Goregaokar
16ffd543dd Add unit test to freeze sizes of DOM structs 2014-12-09 11:26:58 +05:30
bors-servo
2741fd2e13 auto merge of #4292 : glennw/servo/android-ssl, r=mbrubeck
The glut makefile will be removed shortly after glutin lands
for android, so we need to build openssl for android elsewhere
in the build process.
2014-12-08 17:54:57 -07:00
Ms2ger
0fc65d4088 Remove the url from the InputUrl variant.
This url is the pre-redirect url, which is not particularly meaningful, and it
is used only in a panic message.
2014-12-09 01:07:16 +01:00
bors-servo
1458bb4397 auto merge of #4288 : mttr/servo/mach_update_cargo_fix, r=jdm
Also fixed a bug if run with no arguments.
2014-12-08 17:03:59 -07:00
Ms2ger
e76c3386ce Move the load response into the HTMLInput enum.
It is None iff the parser input is an InputString variant, so it makes more
sense to pass it in the same enum.
2014-12-09 00:53:33 +01:00
Ms2ger
fbedf030d4 Combine two conditionals in ScriptTask::load.
Now that the code lives in the same function, I see no reason for them to
remain separate.
2014-12-09 00:53:33 +01:00
Michael Wu
05cd389729 Add a gonk port. 2014-12-08 18:34:02 -05:00
bors-servo
9f08d563ae auto merge of #4287 : Manishearth/servo/wpt-readme-fix, r=jdm 2014-12-08 15:55:01 -07:00
bors-servo
35c13f07bf auto merge of #4286 : andreastt/servo/ato/concat_error_on_system_rust, r=metajack
Since default argument to params is None, concatenating it with a
list will raise an error.  This behaviour prevents `./mach rustc`
to be called when system-rust is defined in .servobuild.

Currently it will only work when followed by an argument, i.e.
`./mach rustc -arg`.

Testing this patch: `./mach rustc` should not raise an error.
2014-12-08 15:28:03 -07:00
Glenn Watson
030dab553e Use mach to build openssl on android instead of glut makefile.
The glut makefile will be removed shortly after glutin lands
for android, so we need to build openssl for android elsewhere
in the build process.
2014-12-09 08:20:36 +10:00