Commit graph

4860 commits

Author SHA1 Message Date
bors-servo
f057719bf8 auto merge of #2487 : Ms2ger/servo/sm-mut, r=jdm 2014-05-26 14:25:35 -04:00
Ms2ger
51d2891c9b Make GetProtoOrIfaceArray return the actual type. 2014-05-26 20:19:38 +02:00
Ms2ger
1834855ff5 Pass an immutable pointer to the private in NewProxyObject. 2014-05-26 20:18:00 +02:00
Ms2ger
d5cb4377ef Use *mut T for the T* pointers in SpiderMonkey. 2014-05-26 18:19:44 +02:00
bors-servo
ea00ee8e50 auto merge of #2476 : glennw/servo/issue-2412, r=huonw
...on bug #2412.
2014-05-26 03:07:23 -04:00
bors-servo
3e4b2c1c7b auto merge of #2485 : zwarich/servo/eliminate-copy, r=jdm 2014-05-25 02:07:24 -04:00
Cameron Zwarich
853d7c4819 Eliminate pointless copies of ImageResponseMsg in the image task. 2014-05-24 21:17:05 -07:00
bors-servo
10d9bad973 auto merge of #2483 : zwarich/servo/remove-10683-workaround, r=jdm 2014-05-24 06:28:24 -04:00
bors-servo
2545647ceb auto merge of #2482 : Ms2ger/servo/rev_iter, r=jdm 2014-05-23 19:22:31 -04:00
bors-servo
de4e36570a auto merge of #2472 : mbrubeck/servo/2137-done-deps, r=metajack
Part of the fix for #2137.  This allows submodules to correctly recompile (or not) based on all of the dependency information from `mk/sub.mk`.  Along with this change, we will also need to make changes to each of the affected submodules' make files, for example in `rust-azure/Makefile.in`:

```diff
-libazure.dummy: azure.rc $(RUST_SRC) libazure.a ../../skia/skia/libskia.a
+libazure.dummy: azure.rc $(RUST_SRC) libazure.a $(EXT_DEPS)
```

r? @metajack
2014-05-23 18:49:51 -04:00
Cameron Zwarich
0a01ad7275 Remove the workaround for Rust issue 10683. 2014-05-23 15:40:36 -07:00
bors-servo
614b1f2fe6 auto merge of #2471 : bjz/servo/split-to-width, r=pcwalton
@pcwalton r?
2014-05-23 18:22:36 -04:00
bors-servo
cad6dff95f auto merge of #2468 : glennw/servo/show-traits, r=jdm 2014-05-23 17:55:40 -04:00
bors-servo
c7e8e5a927 auto merge of #2374 : Manishearth/servo/customevent, r=jdm
This was previously PR'd on #2218
2014-05-23 17:28:55 -04:00
Manish Goregaokar
4c997e8934 Implement CustomEvent (#2173) 2014-05-24 02:51:22 +05:30
bors-servo
e59557e3bb auto merge of #2441 : saneyuki/servo/event, r=jdm
- Fix #2118
- Take over from #2293
2014-05-23 17:01:50 -04:00
Ms2ger
81e652ae3d Replace deprecated rev_iter() by iter().rev(). 2014-05-23 22:30:31 +02:00
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