Brendan Zabarauskas
3ffce02b88
Rename functions, fields and adjust comments to use fragment
instead of box
...
I tried to make sure to keep 'box' where it made sense, and alter comments so they still make sense.
2014-05-28 16:35:15 -07:00
Brendan Zabarauskas
c5fced4390
Convert usages of Box
in type identifiers to Fragment
2014-05-28 16:35:15 -07:00
Brendan Zabarauskas
a578943b3c
Prefix fragment types in inline.rs with Inline
...
This is to reduce confusion once we rename `servo::box_::Box` to `servo::fragment::Fragment`.
2014-05-28 16:16:30 -07:00
bors-servo
23a63ef4ae
auto merge of #2499 : mbrubeck/servo/unpub, r=metajack
2014-05-28 18:31:07 -04:00
bors-servo
50c2af8ef1
auto merge of #2478 : SimonSapin/servo/style-getters, r=metajack
...
This isolates layout code from upcoming refactoring in properties.rs.mako.
2014-05-28 17:49:05 -04:00
Matt Brubeck
418d9d2e44
Remove unnecessary pubs from script_task
2014-05-28 10:21:01 -07:00
bors-servo
d2263559ed
auto merge of #2493 : Manishearth/servo/xhr-post, r=jdm
...
Blocks #2282
2014-05-28 11:22:05 -04:00
Manish Goregaokar
5f860bb612
Request header and postdata support for XHR
2014-05-28 20:49:13 +05:30
bors-servo
be938c4bb6
auto merge of #2496 : zwarich/servo/deriving-clone, r=jdm
2014-05-28 10:13:24 -04:00
Cameron Zwarich
c29d1b5ccc
Derive Clone for ChildFrameTree instead of implementing it manually.
2014-05-27 18:05:00 -07:00
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