Ms2ger
a0ad6ba2d4
Use usize for indices into InlineFragments.
2015-04-02 14:53:30 +02:00
Ms2ger
232dadc81d
Use isize for FragmentIndex.
2015-04-02 14:53:10 +02:00
Ms2ger
2cc3c1d9c2
Use isize with children_count members.
...
I'm not size why these are signed.
2015-04-02 14:50:15 +02:00
Ms2ger
67b3a3d3d6
Use usize for propagate_to_child.
2015-04-02 14:47:48 +02:00
Ms2ger
3dd3ad728e
Use u32 for TableColumnFragmentInfo::span.
2015-04-02 14:46:19 +02:00
Ms2ger
6d7dead4ef
Use isize for CharIndex.
2015-04-02 14:45:49 +02:00
Ms2ger
cd8c03bb49
Use usize for layout node debug ids.
2015-04-02 14:21:33 +02:00
bors-servo
88bc64444c
auto merge of #5456 : Ms2ger/servo/children, r=jdm
2015-04-02 05:15:38 -06:00
Ms2ger
c8106da277
Rewrite NodeChildrenIterator to return Temporary.
2015-04-02 13:07:51 +02:00
Ms2ger
bc8ed81dc1
Use a larger small vector.
2015-04-02 09:47:30 +02:00
Ms2ger
879c3710f4
Cleanup Document::Title.
2015-04-02 09:47:29 +02:00
bors-servo
dbd16932e6
auto merge of #5299 : mattnenterprise/servo/http_compression, r=jdm
2015-04-01 22:15:37 -06:00
bors-servo
54a6e08146
auto merge of #5483 : zerokarmaleft/servo/wpt_iframe_tests, r=jdm
...
Checking to see if I'm doing this as expected, so I have not yet removed a couple of files that now have passing tests.
2015-04-01 21:31:04 -06:00
Matt McCoy
818f1c5748
Closes #2587 Adding HTTP compression capability
2015-04-01 21:18:47 -04:00
bors-servo
3294778b37
auto merge of #5477 : jdm/servo/warnfix, r=kmcallister
2015-04-01 17:30:41 -06:00
bors-servo
e65e881e1b
auto merge of #5472 : jdm/servo/advance, r=jdm
...
Rebased from #5035 .
2015-04-01 16:45:40 -06:00
Edward Cho
d00bb057ba
remove passing contentType wpt tests
2015-04-01 17:35:50 -05:00
bors-servo
dfa16e049f
auto merge of #5337 : ChrisParis/servo/replacenode-fragment, r=metajack
...
Fixes #5336
2015-04-01 15:48:42 -06:00
Edward Cho
5f02b63f59
fixes #5468
2015-04-01 16:18:01 -05:00
bors-servo
ae31d9d9e8
auto merge of #5414 : mmatyas/servo/canvas_arcto, r=jdm
...
Based on the implementation in Firefox.
After comparing how `arcTo` works in different browsers, I've found the code in Firefox the cleanest implentation. It also performed better on some test, for example the one on [this site](http://flashcanvas.net/examples/dl.dropbox.com/u/1865210/mindcat/arcto.html ). In (Linux) Firefox 36, it looks like [this](http://i59.tinypic.com/2ch5b2d.png ), while in Chromium 41, [some features are missing](http://i58.tinypic.com/30u5w8z.png ).
2015-04-01 15:00:43 -06:00
Chris Paris
8b9162c49d
Fix mutation record when ReplaceChild handles DocumentFragment
2015-04-01 10:40:12 -10:00
Patrick Walton
1fe55a27b1
script: Stop destroying all flows on every mouse-over event.
2015-04-01 13:18:04 -07:00
bors-servo
6bedf4a229
auto merge of #5459 : jdm/servo/reflowquery, r=saneyuki
2015-04-01 14:03:43 -06:00
Mátyás Mustoha
56303e21cc
Canvas: added arcTo() support.
2015-04-01 21:20:05 +02:00
bors-servo
afbc51a746
auto merge of #5430 : Manishearth/servo/userscript_path, r=kmcallister
...
r? @kmcallister
2015-04-01 13:15:46 -06:00
bors-servo
dd3a58b924
auto merge of #5429 : pcwalton/servo/inline-block-incremental-reflow, r=mbrubeck
...
r? @mbrubeck
2015-04-01 12:03:45 -06:00
Patrick Walton
4011291bf2
layout: Stop rebuilding all inline-block flows unconditionally, and
...
bubble intrinsic inline sizes as necessary when doing incremental
reflow.
2015-04-01 10:52:15 -07:00
Manish Goregaokar
f41acb589a
Give userscripts its own module; panic on broken paths
2015-04-01 23:20:38 +05:30
Josh Matthews
57c5b3228a
Warning patrol.
2015-04-01 12:59:51 -04:00
dhneio
069f53a25e
Fix is_simple_advance check. Fixes #4614 .
2015-04-01 12:11:56 -04:00
bors-servo
ba0d28e002
auto merge of #5278 : pcwalton/servo/font-group-caching, r=glennw
...
There are several optimizations here:
* We make font families atoms, to allow for quicker comparisons.
* We precalculate an FNV hash of the relevant fields of the font style
structure.
* When obtaining a platform font group, we first check pointer equality
for the font style. If there's no match, we go to the FNV hash. Only
if both caches miss do we construct and cache a font group. Note that
individual fonts are *also* cached; thus there are two layers of
caching here.
15% improvement in total layout thread time for Facebook Timeline.
r? @glennw (since you last worked on `get_layout_font_group_for_style()` IIRC)
2015-04-01 10:00:52 -06:00
Patrick Walton
750bbed2cb
gfx: Perform more aggressive caching in
...
`FontContext::get_layout_font_group_for_style()`.
There are several optimizations here:
* We make font families atoms, to allow for quicker comparisons.
* We precalculate an FNV hash of the relevant fields of the font style
structure.
* When obtaining a platform font group, we first check pointer equality
for the font style. If there's no match, we go to the FNV hash. Only
if both caches miss do we construct and cache a font group. Note that
individual fonts are *also* cached; thus there are two layers of
caching here.
15% improvement in total layout thread time for Facebook Timeline.
2015-04-01 08:58:16 -07:00
Josh Matthews
a3c13d8a40
Make reflow queries always perform reflow. Fixes #5458 .
2015-04-01 11:56:47 -04:00
bors-servo
6824bc9324
auto merge of #5476 : servo/servo/load-failure-panic, r=jdm
...
Fixes #5365 .
2015-04-01 07:51:46 -06:00
Adenilson Cavalcanti
4e9bb15ba7
Instead of panicking on broken url, break from the loop and return.
2015-04-01 15:30:33 +02:00
bors-servo
f25604c7f1
auto merge of #5474 : servo/servo/script-for-event, r=Ms2ger
...
...ne of them is present (fixes #5258 ).
2015-04-01 07:06:46 -06:00
bors-servo
d74e6330a4
auto merge of #5475 : servo/servo/add-event-handlers, r=Ms2ger
2015-04-01 05:18:47 -06:00
Florian Eula
6288a468b9
Implement the onsubmit event handler ( fixes #5396 ).
2015-04-01 13:15:06 +02:00
Keith Yeung
fdcf9618cb
Handle the for and event attributes on a script element correctly when one of them is present ( fixes #5258 ).
2015-04-01 12:43:17 +02:00
bors-servo
4846607e18
auto merge of #5469 : mbrubeck/servo/yodalee-issue4768-textencoder, r=jdm
...
This is a series of already-reviewed changes by @yodalee from #5025 , rebased onto current servo master, with some fixups applied:
* Fixed build errors/warnings from the latest rust upgrade.
* Marked `tests/wpt/web-platform-tests/encoding/single-byte-decoder.html` as expecting CRASH.
I could not verify locally that the new test annotation is correct, since the test appears to hang rather than crash on my Linux box. (Or maybe I just didn't wait long enough.) If this crash isn't consistent, or if it takes a long time, maybe we should skip this test instead?
r? @jdm
2015-03-31 20:06:49 -06:00
bors-servo
15edd07ebd
auto merge of #5471 : jdm/servo/avoidoom2, r=Ms2ger
...
...unner when RUST_BACKTRACE is enabled.
r? @Ms2ger
2015-03-31 19:00:52 -06:00
yodalee
9cd976a4e7
Implement TextEncoder
...
Fixes #4768 .
2015-03-31 17:21:27 -07:00
bors-servo
b20cc69a7a
auto merge of #5405 : kylc/servo/fix_mach_help_msg, r=Ms2ger
...
Running `./mach run --release` without a release profile built suggests running `./mach build--release`. This PR adds a space before `--release`.
2015-03-31 17:15:52 -06:00
Kyle Cesare
f55c85f42f
Add space in mach command suggestion.
2015-03-31 15:37:42 -07:00
bors-servo
c0c54875a2
auto merge of #5419 : snf/servo/send_storage_event, r=jdm
...
Addresses #5196
2015-03-31 15:51:52 -06:00
bors-servo
8976bbfe7d
auto merge of #5441 : servo/servo/heap-unclassified, r=jdm
2015-03-31 15:03:56 -06:00
snf
1cc5bd4287
broadcasting storage changes events
2015-03-31 21:51:41 +01:00
Josh Matthews
883ba03bb9
Skip the tests that are triggering some kind of OOM in the python test runner when RUST_BACKTRACE is enabled.
2015-03-31 16:26:07 -04:00
bors-servo
b79d06c8d2
auto merge of #5349 : mbrubeck/servo/placement-size, r=pcwalton
...
I think this should have been changed in #3618 but was missed. r? @pcwalton
I wasn't able to come up with a good test case for this, partly because of other bugs related to floats and formatting contexts.
2015-03-31 14:15:59 -06:00
bors-servo
9f3493b5bb
auto merge of #5039 : psdh/servo/tidy, r=jdm
...
Fixes #5034
2015-03-31 12:42:56 -06:00