Glenn Watson
366162e633
Change image library use of ~[T] -> Vec[T]. Update rust-stb and rust-png submodule pointers.
2014-05-09 13:29:48 +10:00
bors-servo
4fb36cd0be
auto merge of #2376 : aydinkim/servo/readme, r=larsbergstrom
...
Android build guide in README.md is out-dated.
2014-05-08 22:55:10 -04:00
aydin.kim
cfc42bfee3
update android guide in README.md
2014-05-09 11:43:30 +09:00
aydin.kim
6d18ca45b1
fix hidpi parameter of android
2014-05-09 11:13:44 +09:00
bors-servo
78a768ae5c
auto merge of #2372 : mrobinson/servo/issue-1596, r=metajack
...
The performance of using == should now equal that of match, so many
identity methods can be simplified to a single line.
Fixes #1596 .
2014-05-08 20:16:21 -04:00
Martin Robinson
300004f3e9
Use == instead of match for tests against a single enum value
...
The performance of using == should now equal that of match, so many
identity methods can be simplified to a single line.
Fixes #1596 .
2014-05-08 17:11:00 -07:00
bors-servo
a28665d3fd
auto merge of #2375 : zwarich/servo/progressevent-rename, r=metajack
2014-05-08 19:40:16 -04:00
Cameron Zwarich
d56a308524
Rename an unused parameter to silence a warning.
2014-05-08 16:31:14 -07:00
bors-servo
6d381959db
auto merge of #2373 : zwarich/servo/remove-default-visibility, r=Ms2ger
...
The defaultVisibility field was cloned from the C++ implementation,
where it tracks the difference between struct and class visibility.
Since no similar concept exists in Rust, it should be removed.
2014-05-08 17:46:15 -04:00
Cameron Zwarich
20fa4d7e11
Remove an unused field from CodegenRust.py.
...
The defaultVisibility field was cloned from the C++ implementation,
where it tracks the difference between struct and class visibility.
Since no similar concept exists in Rust, it should be removed.
2014-05-08 13:59:53 -07:00
bors-servo
f94ad73396
auto merge of #2371 : zwarich/servo/start-dead-code, r=metajack
2014-05-08 15:01:30 -04:00
Cameron Zwarich
c828a5d2ac
Suppress dead code warnings for start when building servo.rs as a dylib.
2014-05-08 11:33:24 -07:00
Simon Sapin
4a5802bff8
This should not make any difference AFAICT, but seems to fix some layout bugs.
2014-05-08 18:21:52 +01:00
Simon Sapin
2afe048863
Fix iteration order for building computed values’ "context"
2014-05-08 17:19:15 +01:00
bors-servo
bfffbe94ea
auto merge of #2369 : glennw/servo/issue-2308, r=metajack
...
There might be a "cleaner" rust way to separate the scope and invoke the drop() call?
2014-05-08 12:16:12 -04:00
bors-servo
a0922f9d72
auto merge of #2361 : Manishearth/servo/progressevent, r=jdm
...
Adds the ProgressEvent webidl and implementation according to the XHR spec.
Blocks #2282
2014-05-08 11:46:16 -04:00
bors-servo
0a647baacb
auto merge of #2355 : glennw/servo/http-fail-errors, r=jdm
...
...during task failure.
2014-05-08 11:16:41 -04:00
Manish Goregaokar
2f376a1104
Add ProgressEvent interface
2014-05-08 20:41:51 +05:30
Simon Sapin
8186d4d429
Try random whitespace changes to maybe fix an issue that I can not reproduce.
2014-05-08 15:14:55 +01:00
Glenn Watson
d11716e27b
Fix for parallel data race in layout code. Fixes #2308 .
2014-05-08 15:45:20 +10:00
bors-servo
6cbcd98132
auto merge of #2368 : zwarich/servo/net-unused-param, r=metajack
2014-05-08 00:46:22 -04:00
Cameron Zwarich
4bc3239c36
Rename an unused parameter that triggers a warning.
2014-05-07 21:35:54 -07:00
bors-servo
d2d1095784
auto merge of #2367 : aydinkim/servo/PR, r=larsbergstrom
...
With Rust syntax changing..
2014-05-07 22:07:17 -04:00
aydin.kim
60ce517e4a
fix android build
2014-05-08 10:55:39 +09:00
bors-servo
360894dbcf
auto merge of #2366 : zwarich/servo/incorrect-rust-png-profiles, r=metajack
...
This will remove the
```
libpng warning: iCCP: known incorrect sRGB profile
```
spam from `make check`.
2014-05-07 20:10:18 -04:00
Cameron Zwarich
3fd8a52aa3
Update rust-png for fixed color profiles in test images.
2014-05-07 16:00:38 -07:00
bors-servo
86a6de209e
auto merge of #2346 : gsingh93/servo/master, r=jdm
2014-05-07 18:58:18 -04:00
bors-servo
8e0febb109
auto merge of #2365 : bjz/servo/generic-range, r=pcwalton
...
Signed integers allow for generic +ve/-ve offsets.
r? @pcwalton
2014-05-07 18:10:22 -04:00
Brendan Zabarauskas
97bbaa6ef9
Require Range<T> to have a signed integer T
...
This allows for generic +ve/-ve offsets
2014-05-07 15:06:41 -07:00
Brendan Zabarauskas
ea68051937
Use {} instead of {:?} for debug!ing in util::range
2014-05-07 15:06:41 -07:00
Brendan Zabarauskas
8c6eb08dcb
Make range generic
2014-05-07 15:05:59 -07:00
Glenn Watson
376d5f4a08
Allow resource load failures to send an error string which is reporting during task failure.
2014-05-08 07:43:45 +10:00
bors-servo
2a7889c061
auto merge of #2364 : zwarich/servo/issue-2363, r=larsbergstrom
...
Use false for the glfw::Visible window hint to open a background window
on OS X. This requires an upgrade to glfw 3.0.4 in order for this to
also not steal focus.
This requires adding a new parameter to WindowMethods<A>::new.
Fixes https://github.com/mozilla/servo/issues/2363 . r? @larsbergstrom
2014-05-07 17:34:33 -04:00
Gulshan Singh
fb0c433b70
Add Performance object to Window and implement Performance::Now()
2014-05-07 17:30:33 -04:00
Ms2ger
0ab3444af9
Add support for DOMString in unions ( fixes #2324 ).
2014-05-07 17:30:32 -04:00
Cameron Zwarich
d766cbab6e
Open a background non-focus-stealing window for tests on OS X.
...
Use false for the glfw::Visible window hint to open a background window
on OS X. This requires an upgrade to glfw 3.0.4 in order for this to
also not steal focus.
2014-05-07 14:24:14 -07:00
Simon Sapin
4d80cfb404
Fix computed value of 'display' when no declaration applies.
2014-05-07 20:53:03 +01:00
Simon Sapin
e405f81065
Set the border-*-width computed values to 0 as appropriate. Fix #2288
2014-05-07 20:53:03 +01:00
Simon Sapin
416cbf472a
Parse declarations in reverse order, skip those that would be overridden.
2014-05-07 20:53:03 +01:00
Simon Sapin
8b53ea8a2c
Cascade declarations in reverse order, skipping those already seen
...
Previously we processed them in forward order, latter dcelarations for
the same property overriding any earlier one, making the work of
converting the earlier ones to a computed value redundant.
Maintaining a bit field of "seen" properties will also help fixing
#2288 .
2014-05-07 20:51:02 +01:00
bors-servo
15d3257a29
auto merge of #2360 : Ms2ger/servo/vec, r=jdm
2014-05-07 09:28:27 -04:00
Ms2ger
5d3f750d37
Use Vec in contenttest.rs.
2014-05-07 12:41:33 +02:00
Ms2ger
0cfd070680
Use Vec in reftest.rs.
2014-05-07 12:39:44 +02:00
Ms2ger
87008a5ae1
Remove unused zip_copies.
2014-05-07 12:29:26 +02:00
Ms2ger
479c927a39
Use Vec in GetClientRects.
2014-05-07 12:27:14 +02:00
Ms2ger
c4faad7116
Use Vec in the quicksort test.
2014-05-07 12:26:20 +02:00
Ms2ger
aa2866a22c
Use Vec for SimpleHashCache::entries.
2014-05-07 12:23:53 +02:00
bors-servo
5300846f33
auto merge of #2358 : zwarich/servo/configure-dash-h, r=Ms2ger
2014-05-07 05:29:11 -04:00
Cameron Zwarich
a2afa4b935
Make configure recognize the '-h' option in addition to '--help'.
2014-05-07 00:37:27 -07:00
bors-servo
e9ac0d1e2c
auto merge of #2339 : glennw/servo/js-event-assert, r=jdm
2014-05-07 03:04:21 -04:00