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
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