Commit graph

9212 commits

Author SHA1 Message Date
Adenilson Cavalcanti
1f6a93144f Squashing the remaining warnings in utils module. 2015-03-23 11:38:44 -07:00
bors-servo
b1a35f549b auto merge of #5324 : Ms2ger/servo/missing_copy_implementations, r=jdm
This is now the default.
2015-03-23 08:45:50 -06:00
bors-servo
ca79abe458 auto merge of #5321 : frewsxcv/servo/patch-1, r=Ms2ger 2015-03-23 07:57:50 -06:00
bors-servo
f9826c3ae8 auto merge of #5323 : Ms2ger/servo/script-warnings, r=Manishearth 2015-03-23 06:57:50 -06:00
bors-servo
ccac6a944e auto merge of #5319 : frewsxcv/servo/urlsearchparams, r=Ms2ger 2015-03-23 05:18:50 -06:00
bors-servo
092a6d6f10 auto merge of #5317 : Ms2ger/servo/cef, r=jdm 2015-03-23 04:15:50 -06:00
Ms2ger
2755ed6c58 Remove allow(missing_copy_implementations) attributes.
This is now the default.
2015-03-23 10:49:44 +01:00
Ms2ger
6b69fec7fe Fix warnings in script. 2015-03-23 10:37:49 +01:00
bors-servo
4c2ec083e8 auto merge of #5314 : Ms2ger/servo/warnings, r=jdm 2015-03-23 03:24:50 -06:00
bors-servo
1f682d878d auto merge of #5281 : glennw/servo/mozbrowser, r=jdm 2015-03-22 21:36:51 -06:00
Glenn Watson
bf9b8f7050 Experimental implementation of (a small subset of) mozbrowser APIs. 2015-03-23 13:26:55 +10:00
Corey Farwell
c0ea1e6330 Add TODO comments for a recently opened issue 2015-03-22 22:23:06 -04:00
bors-servo
dfb8929b00 auto merge of #5316 : frewsxcv/servo/no-format-abuse, r=jdm
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
2015-03-22 19:30:51 -06:00
Corey Farwell
5697095298 dom::urlsearchparams cleanup and documentation 2015-03-22 20:51:48 -04:00
Ms2ger
b45cf4ccf8 Fix some warnings in the CEF port. 2015-03-23 00:35:23 +01:00
Corey Farwell
5a780cb221 Stop abusing format! macro when construct a String
In these cases for `format!`, we're just constructing a String of the
single argument with no special format.
2015-03-22 18:54:56 -04:00
Ms2ger
f416a6a66e Update some feature gates. 2015-03-22 17:09:57 +01:00
bors-servo
445f1c891a auto merge of #5307 : frewsxcv/servo/document-set-body, r=jdm
There were a few things that were bothering me with `SetBody`:

* The 'Step 3' comment is in the wrong place
* The logic of 'Step 4' comes before 'Step 3'
* 'Step 5' was not documented
2015-03-22 10:09:46 -06:00
bors-servo
aeaf1ea583 auto merge of #5308 : Ms2ger/servo/main-spawn, r=jdm 2015-03-22 09:18:47 -06:00
bors-servo
72e2c79a08 auto merge of #5298 : Manishearth/servo/userscript, r=saneyuki
Gives us a place to store polyfills and other userscripts so that we can:

 - Quickly determine what DOM features are needed to make stuff like jQuery work by iteratively writing stub implementations
 - Write spec-incompatible but "good enough" polyfills for stuff like jQuery to make Servo more testable on live sites, for demos, and for browser.html


r? @jdm

cc @eddyb
2015-03-22 08:27:48 -06:00
Manish Goregaokar
596e03e546 Basic userscript support 2015-03-22 15:13:11 +05:30
Corey Farwell
5e4d80fa3a Tidy up script::dom::document.SetBody
There were a few things that were bothering me with `SetBody`:

* The 'Step 3' comment is in the wrong place
* The logic of 'Step 4' comes before 'Step 3'
* 'Step 5' was not documented
2015-03-21 20:21:36 -04:00
Ms2ger
833e0a399b Remove the unneccesary thread being spawned in Browser::new. 2015-03-21 23:28:33 +01:00
bors-servo
87af57cefc auto merge of #5301 : Ms2ger/servo/reftests, r=jdm 2015-03-21 13:42:45 -06:00
bors-servo
43f3f6c897 auto merge of #5303 : Ms2ger/servo/core, r=jdm 2015-03-21 12:57:46 -06:00
Ms2ger
ba87666cdb Update some code that's feature-gated under core. 2015-03-21 18:44:39 +01:00
Ms2ger
8dcded5f4d Remove the core feature from reftests. 2015-03-21 14:31:19 +01:00
Ms2ger
061d0c94ec Move to new path and io APIs in reftest.rs. 2015-03-21 14:31:19 +01:00
Ms2ger
2fde574b39 Pass path strings to {load,store}_png directly.
This has been made possible by using the AsPath trait upstream.
2015-03-21 14:31:19 +01:00
Ms2ger
561f7e594e Update rust-png. 2015-03-21 14:31:14 +01:00
bors-servo
29a36adbe7 auto merge of #5296 : servo/servo/unsafe_code, r=Ms2ger 2015-03-21 05:12:45 -06:00
Manish Goregaokar
3479d3fa7f Replace unsafe_blocks by unsafe_code. 2015-03-21 10:27:32 +01:00
bors-servo
ec60f29203 auto merge of #5297 : Ms2ger/servo/fs, r=SimonSapin 2015-03-20 17:00:44 -06:00
Ms2ger
32d1e31c90 Replace most usage of std::old_io::File. 2015-03-20 23:47:29 +01:00
bors-servo
075f667ce7 auto merge of #5259 : frewsxcv/servo/constellation-cleanup, r=glennw
I messed up #5255
2015-03-20 15:57:45 -06:00
bors-servo
4eb26065ac auto merge of #5293 : Ms2ger/servo/global_init, r=jdm 2015-03-20 15:00:49 -06:00
Corey Farwell
9101fa621a Minor cleanup in compositing/constellation
* No need to explicitly state .iter()
* Simplify NavigationDirection match branches
* Utilize Vec.map instead of match
* Clean up a couple imports
2015-03-20 16:15:24 -04:00
Ms2ger
2cde68f13f Cleanup resource_task's global_init(). 2015-03-20 21:07:16 +01:00
bors-servo
aa6ed369b8 auto merge of #5261 : pcwalton/servo/too-many-reflows, r=pcwalton,metajack
These help Facebook Timeline a lot.

r? @metajack
2015-03-20 11:51:47 -06:00
Patrick Walton
2c22467d53 script: Stop rebuilding every flow in the document when an image
finishes loading.
2015-03-20 10:09:52 -07:00
Patrick Walton
fda3791487 util: Turn on ndebug in release mode, and fix task-state to not crash
when `ndebug` is on.
2015-03-20 10:09:52 -07:00
bors-servo
0663cd6325 auto merge of #5288 : Ms2ger/servo/warnings, r=SimonSapin 2015-03-20 11:00:54 -06:00
Ms2ger
1604515fd9 Fix various build warnings. 2015-03-20 17:57:49 +01:00
bors-servo
717805a593 auto merge of #5289 : Ms2ger/servo/android-redirect, r=metajack
It will panic if there are any null bytes in read_buffer, but fgets
guarantees that there is a null-terminator.
2015-03-20 09:57:54 -06:00
bors-servo
6ffd459479 auto merge of #5287 : Ms2ger/servo/gates, r=jdm
CC #5286.
2015-03-20 09:12:51 -06:00
Ms2ger
acafcacfdc Stop using CString::from_slice in redirect_output.
It will panic if there are any null bytes in read_buffer, but fgets
guarantees that there is a null-terminator.
2015-03-20 15:49:57 +01:00
bors-servo
8998edb912 auto merge of #5282 : gfxmonk/servo/finalize_global, r=Ms2ger
Fixes #1871

I thought I'd take a look at this for a first contribution to servo. A couple of things I'm not 100% sure on are:

1) `get_proto_or_iface_array` returns a `*mut *mut JSObj`, which I'm assuming is really an array of pointers to `JSObj`s. So dropping its return value will drop the memory for the array of pointers. Do we also need to drop each element, or is that handled by GC?

2) Are there any tests I need to add for this? I don't know if there are existing leak tests, or if leaks are mostly discovered by profiling.
2015-03-20 07:54:48 -06:00
Ms2ger
dce11222ba Update some feature gates.
CC #5286.
2015-03-20 13:55:11 +01:00
Tim Cuthbertson
0052a27b1a Free the interface prototype array when Window is finalized
Fixes #1871
2015-03-20 22:14:14 +11:00
bors-servo
2c85c1d312 auto merge of #5251 : mmatyas/servo/canvas_quadratic, r=jdm
Yet another small canvas patch.
2015-03-20 04:27:47 -06:00