Commit graph

5393 commits

Author SHA1 Message Date
bors-servo
096eea8369 auto merge of #2495 : mbrubeck/servo/2137-submodule-updates, r=larsbergstrom 2014-05-27 20:10:09 -04:00
Matt Brubeck
31c5bd1d14 Update submodules for #2492 2014-05-27 16:45:59 -07:00
Matt Brubeck
7f313379e3 Submodule updates for #2137 2014-05-27 16:01:46 -07:00
bors-servo
65d91e3950 auto merge of #2494 : bjz/servo/split-to-width, r=pcwalton
This will make removing the box splitting logic easier to implement. I am also using a `SplitInfo` struct for returning the split results, which should make the code more self-documenting. In the future the `TextRun` should not be returned, and `SplitInfo` should only require a single `CharIndex`, but one thing at a time...

@pcwalton r?
2014-05-27 18:16:09 -04:00
Brendan Zabarauskas
a944e378eb Formatting fixes 2014-05-27 12:01:09 -07:00
Brendan Zabarauskas
28aed0d511 Update TODOs 2014-05-27 12:01:08 -07:00
Brendan Zabarauskas
a94805d64a Use constructor for SplitInfo to reduce code repetition 2014-05-27 12:01:08 -07:00
bors-servo
0886a36b5d auto merge of #2204 : jdm/servo/inlineev, r=Ms2ger
Fixes #1238.
2014-05-27 14:49:21 -04:00
Josh Matthews
003e5bcd46 Port modern callback handling code from Gecko, and copy related WebIDL parser bits too. 2014-05-27 20:43:52 +02:00
Josh Matthews
04931adf70 Compile JS strings when setting inline event handlers via element attributes. 2014-05-27 20:43:48 +02:00
Josh Matthews
33955f0ab2 Implement window forwarding for body event handlers. 2014-05-27 20:43:48 +02:00
Josh Matthews
2d6153772c Add stubs for inline event handler manipulation. 2014-05-27 20:43:48 +02:00
bors-servo
576404e4e5 auto merge of #2484 : Ms2ger/servo/htmlserializer-strbuf, r=jdm 2014-05-27 12:49:15 -04:00
Ms2ger
ce45afac0c Rewrite escape() in htmlserializer to push onto a StrBuf. 2014-05-27 18:44:21 +02:00
Ms2ger
d1ca380482 Use StrBuf more efficiently in htmlserializer. 2014-05-27 18:44:21 +02:00
Brendan Zabarauskas
de3b193e92 Update to owned::Box 2014-05-27 09:15:14 -07:00
Brendan Zabarauskas
32862b4aa9 Improve function naming 2014-05-27 09:15:14 -07:00
Brendan Zabarauskas
d6dba5158a Move box splitting by new-line to inline.rs 2014-05-27 09:15:14 -07:00
Brendan Zabarauskas
7c14d9f210 Use a SplitInfo struct instead of a tuple to make the code more self-documenting 2014-05-27 09:15:14 -07:00
Brendan Zabarauskas
6b8d46dc85 Move some of the box splitting logic into inline.rs 2014-05-27 09:15:14 -07:00
bors-servo
2717ab65ec auto merge of #2491 : saneyuki/servo/attr, r=jdm 2014-05-27 09:43:21 -04:00
bors-servo
606cadbe4c auto merge of #2489 : zwarich/servo/render-chan-newtype, r=jdm
Also, derive Clone rather than implementing it manually.
2014-05-27 08:55:25 -04:00
Tetsuharu OHZEKI
b22f6e1f81 Clean up AttributeHandlers::get_attribute() for JSRef. 2014-05-27 18:39:32 +09:00
Cameron Zwarich
350c2b92d2 Make RenderChan a newtype struct.
Also, derive Clone rather than implementing it manually.
2014-05-26 22:21:32 -07:00
bors-servo
7f2d551e47 auto merge of #2488 : mrobinson/servo/update-rust-layers-nvidia, r=larsbergstrom
This should fix rendering issues on NVidia and perhaps Catalyst drivers.
2014-05-26 19:28:15 -04:00
Martin Robinson
9f6581d587 Update rust-layers submodule
This should fix rendering issues on NVidia and perhaps Catalyst drivers.

Fixes #2315.
2014-05-26 15:10:58 -07:00
bors-servo
112ce25a6d auto merge of #2408 : zmike/servo/embedding-invasion, r=jdm
This adds further support for crashing CEF and world domination.

@larsbergstrom
2014-05-26 17:07:15 -04:00
Mike Blumenkrantz
9f455a29aa add readme for using embedding crate 2014-05-26 16:43:16 -04:00
Mike Blumenkrantz
faa7f1885c serious mode engaged: start of embedding crate using FFI
current status

=============

[ ] Successfully crashing CEF

[X] Successfully not crashing CEF
2014-05-26 16:43:10 -04:00
bors-servo
58d57c9191 auto merge of #2445 : SimonSapin/servo/css-warnings, r=jdm
This is on top of the #2433 Rust upgrade.
2014-05-26 16:31:20 -04:00
Mike Blumenkrantz
4d188e2ccd fix build of embedding crate
I blame @larsbergstrom for this failure.
2014-05-26 15:27:36 -04:00
Mike Blumenkrantz
6b026e73b2 make servo::run() and opts::Opts.n_render_threads public for use in embedding crate 2014-05-26 15:27:36 -04:00
Glenn Watson
c39db15834 Remove *() hack now that rust upgrade is complete. Fixes memory corruption bug #2412. 2014-05-26 15:27:36 -04:00
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