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
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
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
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
Simon Sapin
ff554ee845
Add a fast path in the cascade for anonymous boxes.
2014-05-16 22:33:25 +02:00
Simon Sapin
4310f29431
Keep initial values in a lazy static instead of passing a parameter around.
...
Thanks to @Kimundi for https://gist.github.com/Kimundi/8782487
2014-05-16 22:33:24 +02:00
Glenn Watson
f5c2f7e835
Add various base html elements to parser and test. Fixes #703 .
2014-05-17 05:59:25 +10:00
bors-servo
3ea507f3ea
auto merge of #2454 : Ms2ger/servo/codegen-tests-retvals, r=jdm
2014-05-16 11:55:48 -04:00
bors-servo
d2aa6d8133
auto merge of #2449 : glennw/servo/gdb-helpers, r=jdm
...
I'm not sure if these are useful to anyone else or if we even want them in servo or shall I maintain them elsewhere?
2014-05-16 10:58:53 -04:00
Ms2ger
ab8b62e28d
Add tests for return values of interface methods.
2014-05-16 16:53:54 +02:00
bors-servo
58283527bf
auto merge of #2452 : Ms2ger/servo/getDefaultRetval, r=jdm
2014-05-16 10:25:51 -04:00
Ms2ger
fcd98e1c0d
Stop returning a default return value from getRetvalInfo.
...
This is now unused.
2014-05-16 12:10:57 +02:00
Ms2ger
7abbef8919
Remove getDefaultRetval.
...
getDefaultRetval was supposed to be used after throwing an exception on the
ErrorResult outparam in C++. However, as we throw exceptions through the
return value in Servo, we don't need it at all.
2014-05-16 12:00:59 +02:00
bors-servo
07faf6efa1
auto merge of #2446 : glennw/servo/issue-2440, r=Ms2ger
2014-05-16 05:28:49 -04:00
Cameron Zwarich
dbf260ac1f
Reorder the cases of image_cache_task::Msg so that the priv ones are adjacent.
2014-05-15 19:31:01 -07:00
Cameron Zwarich
2ec4486379
Make some cases of image_cache_task::Msg priv.
2014-05-15 19:30:08 -07:00
Glenn Watson
cc5a04d140
Add gdb pretty printer helpers for TrustedNodeAddress etc. Just a starting point.
2014-05-16 10:50:39 +10:00
Brendan Zabarauskas
868f7501c9
Remove extra split_to_width call
...
This does not seem to do anything, and according to @pcwalton it might be unnecessary. Float layout is rather broken anyway, and needs to be reworked.
2014-05-15 17:47:28 -07:00
Brendan Zabarauskas
d3dfb78683
Reorganise comments
2014-05-15 17:45:57 -07:00