Tetsuharu OHZEKI
92da2f16fc
Implement OptionalSettable for 'Cell<Option<JS<U>>>'.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
b0239b5a5a
Use Cell/RefCell for interior mutability of Element.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
6d9dcd087a
Make 'Cell<Option<JS<T>>>' traceable.
2014-05-30 03:41:06 +09:00
Tetsuharu OHZEKI
46ead90515
Use Cell/RefCell for interior mutability of Attr, AttrList, Blob,
...
BrowserContext, ClientRect, and ClientRectList.
2014-05-30 03:41:06 +09:00
Tetsuharu OHZEKI
5ae7c4cbb1
Make 'RefCell<Vec<JS<T>>>' traceable.
2014-05-30 03:38:41 +09:00
Tetsuharu OHZEKI
bf05e6a9e2
Make 'Cell<JS<T>>' traceable.
2014-05-30 03:38:41 +09:00
Tetsuharu OHZEKI
da703d6a80
JS<T> contains '*T' instead of RefCell.
2014-05-30 03:38:40 +09:00
bors-servo
9690fa8234
auto merge of #2509 : zwarich/servo/remove-concurrent-map, r=pcwalton
...
ConcurrentHashMap is unused and has a lot of uses of transmute_mut, so
it's best to remove it.
2014-05-29 14:19:02 -04:00
Tetsuharu OHZEKI
3e558fdcb1
JSRef<T> & Root<T> contains '*T' instead of RefCell.
2014-05-30 03:18:40 +09:00
bors-servo
43b647feff
auto merge of #2508 : SimonSapin/servo/direction, r=pcwalton
2014-05-29 13:46:05 -04:00
Cameron Zwarich
afeaa4bb8e
Remove ConcurrentHashMap.
...
ConcurrentHashMap is unused and has a lot of uses of transmute_mut, so
it's best to remove it.
2014-05-29 10:38:32 -07:00
Simon Sapin
f4ed464149
Add the 'direction' property and fix one RTL layout corner case.
2014-05-29 18:01:46 +01:00
bors-servo
02e92d0457
auto merge of #2506 : Manishearth/servo/clickevent-warning, r=jdm
2014-05-29 12:52:01 -04:00
bors-servo
468752fd4d
auto merge of #2505 : Manishearth/servo/events-events-events, r=jdm
...
events events events!
Blocks #2282
2014-05-29 12:19:28 -04:00
Manish Goregaokar
6f728cb2ca
Enable inline event handlers for XHR, and add most progressevent calls
2014-05-29 21:39:15 +05:30
bors-servo
25920d8a50
auto merge of #2503 : metajack/servo/ext-deps-redux, r=mbrubeck
...
@mbrubeck r?
2014-05-29 10:40:10 -04:00
Manish Goregaokar
01ade04e01
Fix unused_result warning in script_task
2014-05-29 19:31:42 +05:30
bors-servo
43beda87b2
auto merge of #2504 : zwarich/servo/dont-implement-ne, r=jdm
2014-05-29 01:22:05 -04:00
Cameron Zwarich
abaf05a96a
Don't implement ne
for ImageResponseMsg, since it matches the default.
2014-05-28 21:21:10 -07:00
bors-servo
547ad2dc48
auto merge of #2497 : bjz/servo/rename-box-type, r=pcwalton
...
I tried to make sure to keep 'box' where it made sense, and alter comments so they still make sense.
r? @pcwalton
2014-05-28 20:34:06 -04:00
bors-servo
3a9552b5de
auto merge of #2501 : mbrubeck/servo/host, r=pcwalton
...
Fixes broken requests caused by #2493 .
2014-05-28 19:52:08 -04:00
Jack Moffitt
98b35721de
Update submodules for EXT_DEPS dependency tracking.
2014-05-28 17:44:11 -06:00
Brendan Zabarauskas
4e27045687
Improve line index documentation
2014-05-28 16:35:15 -07:00
Brendan Zabarauskas
c6a60276d1
Improve naming of structs in inline.rs
2014-05-28 16:35:15 -07:00
Brendan Zabarauskas
bf9935abbe
Rename box_.rs
to fragment.rs
2014-05-28 16:35:15 -07:00
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
14ae870d75
auto merge of #2500 : bjz/servo/workqueue, r=pcwalton
...
cc. @pcwalton
2014-05-28 19:16:05 -04:00
Matt Brubeck
dda0a0afb3
Don't overwrite the "Host" request header
...
Fixes broken requests caused by #2493 .
2014-05-28 16:15:06 -07:00
Brendan Zabarauskas
0761107daa
Make the workqueue's type parameter names less terrible
2014-05-28 16:13:43 -07:00
bors-servo
23a63ef4ae
auto merge of #2499 : mbrubeck/servo/unpub, r=metajack
2014-05-28 18:31:07 -04:00
Brendan Zabarauskas
69a3d100ad
Make some scary things in the workqueue module private
2014-05-28 15:27:53 -07: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