Glenn Watson
79ef14e844
Remove *() hack now that rust upgrade is complete. Fixes memory corruption bug #2412 .
2014-05-24 05:54:46 +10:00
bors-servo
2736339d4a
auto merge of #2479 : metajack/servo/linux-library-path, r=metajack
2014-05-23 14:37:48 -04:00
Jack Moffitt
376d9578db
Add LIBRARY_PATH env var to help the linux build slave.
2014-05-23 12:34:53 -06:00
Simon Sapin
20c72c8ccb
Remove CowArc and use the new Arc::make_unique() method instead.
2014-05-23 17:59:47 +01:00
Simon Sapin
f01bfc7db9
Un-disable and fix some warnings in the style crate.
2014-05-23 17:38:08 +01:00
Simon Sapin
9dd16e41ab
Make ComputedStyle fields private and add getters.
...
This isolates layout code from upcoming refactoring in properties.rs.mako.
2014-05-23 17:06:41 +01:00
Tetsuharu OHZEKI
46d31632e0
Initial spec-incompliant implementation of default click action for anchor elements.
...
This is cherry-picked from https://github.com/mozilla/servo/pull/1688 :
* Initial spec-incompliant implementation of default click action for anchor elements.
* Add documentation; gut the new document URL loading method
and move it all into the new Window method.
* Add test for default event prevention.
Original developer: Josh Matthews <josh@joshmatthews.net>
2014-05-23 23:30:09 +09:00
Glenn Watson
39ce07dd15
Add some fmt::show implementations to make debugging layout easier.
2014-05-23 21:15:10 +10:00
Simon Sapin
4141b776c2
Optimize CSS error logging: check log level before task-local silencing.
2014-05-23 09:33:54 +01:00
Simon Sapin
6a2a080355
Remove a workaround for a Rust bug.
...
We’ve upgraded to a Rust version that fixed mozilla/rust#13322 .
2014-05-23 09:33:54 +01:00
Simon Sapin
aca8e1ea5f
Do not log CSS parse errors to stderr by default.
...
Fix #2083 . Change the log level of CSS errors from error to info.
2014-05-23 09:33:54 +01:00
Jack Moffitt
c753f3ee05
Merge pull request #2433 from mozilla/rustup_20140511
...
Rust upgrade
2014-05-22 18:14:24 -06:00
Ms2ger
eaedeb07cb
Update Rust.
2014-05-22 16:36:40 -06:00
bors-servo
3644d0272c
auto merge of #2469 : Manishearth/servo/xhrwarnings, r=pcwalton
2014-05-22 16:25:45 -04:00
bors-servo
4e1c025203
auto merge of #2465 : bjwbell/servo/groove-ridge-borders, r=pcwalton
...
Matches Chrome's rendering behavior for groove and ridge borders (I can attach comparison images, if wanted).
2014-05-22 14:11:05 -04:00
bors-servo
b14bb77238
auto merge of #2464 : glennw/servo/issue-2161, r=pcwalton
2014-05-22 10:47:11 -04:00
bors-servo
891ca73785
auto merge of #2411 : glennw/servo/issue-2335, r=pcwalton
2014-05-22 09:17:13 -04:00
Bryan Bell
172c3b8b1c
Replace tuple with Rect<f32>
...
Also includes other minor code cleanup.
2014-05-21 20:19:03 -07:00
Matt Brubeck
4df798f7b4
Pass external dependencies to submodule Makefiles
...
Part of the fix for #2137 .
2014-05-21 17:22:31 -07:00
Bryan Bell
13bfaeb97d
Double border support
2014-05-21 16:30:15 -07:00
Glenn Watson
0bb518561e
Potential fix for #2335 .
2014-05-22 09:15:35 +10:00
Brendan Zabarauskas
60f21b12b2
Add doc comments explaining some return types
2014-05-21 15:51:38 -07:00
Brendan Zabarauskas
9efaf831fc
Avoid splitting boxes if possible
2014-05-21 15:29:28 -07:00
Brendan Zabarauskas
d6d36997c6
Add ref test for nested inline elements
2014-05-21 15:29:27 -07:00
Brendan Zabarauskas
fe28e20bca
Flatten some pattern matching
2014-05-21 15:29:27 -07:00
Brendan Zabarauskas
3d757cd9ce
Replace usages of SplitBoxResult with option types
2014-05-21 15:29:27 -07:00
Bryan Bell
432b8cdb3b
Cleanup whitespace
...
Cleanup whitespace + move functions for easier reading.
2014-05-20 23:57:42 -07:00
Bryan Bell
2bb5c8bdf3
Refactor groove & ridge border support, add inset & outset border support
...
Significant cleanup of border support, adds inset & outset border code. Border rendering matches
Chrome's border rendering.
2014-05-20 23:22:28 -07:00
Manish Goregaokar
114d2e3565
Fix some XHR warnings
2014-05-21 10:27:55 +05:30
Bryan Bell
afe0c0bfa6
Add ref test for dashed, dotted, groove, and ridge borders.
...
Don't line up :'s in render_context.rs (style)
2014-05-20 19:36:11 -07:00
bors-servo
28e3c17340
auto merge of #2442 : Manishearth/servo/xhr-async, r=jdm
...
(Note that only `getAllResponseHeaders()` is supported at the moment, I'll be adding the other header methods later.)
2014-05-20 12:16:35 -04:00
bors-servo
ca9396ff9c
auto merge of #2434 : Ms2ger/servo/contentWindow, r=jdm
2014-05-20 11:43:46 -04:00
Manish Goregaokar
533fab46f9
Async XHR GET with basic response header support
2014-05-20 21:01:12 +05:30
Bryan Bell
792666ec87
Add groove and ridge border support.
2014-05-20 02:20:26 -07:00
Glenn Watson
4d3a0a9faa
Update compositor clip rect when page size changes. Fixes #2161 .
2014-05-20 15:59:29 +10:00
bors-servo
90a0bcfa78
auto merge of #2380 : Manishearth/servo/progressevent-type, r=Ms2ger
2014-05-18 05:19:32 -04:00
Manish Goregaokar
7bcfaa603b
Handle type parameter in ProgressEvent constructor ( #2379 )
2014-05-18 14:43:52 +05:30
bors-servo
0183483248
auto merge of #2459 : zwarich/servo/tree-map-rev-iter, r=jdm
2014-05-18 00:28:37 -04:00
bors-servo
7bfbb236ba
auto merge of #2461 : zwarich/servo/glyph-borrow-workaround, r=jdm
2014-05-17 23:55:42 -04:00
Cameron Zwarich
880842ac60
Remove a workaround for a missing inferred borrow.
2014-05-17 20:12:50 -07:00
Cameron Zwarich
34c90c36ce
Use the mut_iter method of TreeMap now that it exists.
2014-05-16 21:20:45 -07:00
bors-servo
f89bc6b958
auto merge of #2458 : bjz/servo/fix-regression, r=pcwalton
...
Fixes #2457
2014-05-16 20:16:49 -04:00
Brendan Zabarauskas
4a4eeb70ec
Fix linebreak regression
...
Fixes #2457
2014-05-16 17:12:16 -07:00
bors-servo
e6f2178c54
auto merge of #2456 : bjz/servo/metrics, r=pcwalton
...
cc. @pcwalton
2014-05-16 18:31:34 -04:00
bors-servo
060f17dc6f
auto merge of #2450 : zwarich/servo/image-cache-priv, r=pcwalton
2014-05-16 18:01:43 -04:00
bors-servo
47bdecf511
auto merge of #2447 : glennw/servo/issue-703, r=jdm
2014-05-16 17:35:37 -04:00
bors-servo
392cc68652
auto merge of #2416 : SimonSapin/servo/static-initial-values, r=larsberg
...
Thanks to @Kimundi for https://gist.github.com/Kimundi/8782487
r? @larsbergstrom
2014-05-16 17:07:53 -04:00
Brendan Zabarauskas
3cf82c7c92
Avoid unnecessary calculations of the entire run metrics
2014-05-16 13:59:33 -07:00
bors-servo
f11e860698
auto merge of #2448 : mbrubeck/servo/priv-compositor, r=pcwalton
2014-05-16 16:37:56 -04:00
Brendan Zabarauskas
1f7963e86b
Refactor font metric calculation
...
This splits out the advance calculation and makes it more declarative
2014-05-16 13:34:53 -07:00