Commit graph

5067 commits

Author SHA1 Message Date
bors-servo
eae9b94399 auto merge of #2599 : Ms2ger/servo/constantspec, r=jdm 2014-06-06 14:04:29 -04:00
bors-servo
c54baa663e auto merge of #2598 : Ms2ger/servo/unsafe-deriving, r=jdm 2014-06-06 13:31:31 -04:00
bors-servo
60fba1055c auto merge of #2597 : Ms2ger/servo/main, r=jdm 2014-06-06 13:04:35 -04:00
bors-servo
af9da5cc24 auto merge of #2596 : Ms2ger/servo/CreateProxyHandler-transmute, r=jdm 2014-06-06 12:34:58 -04:00
bors-servo
a575cb7d9e auto merge of #2600 : saneyuki/servo/mut, r=Ms2ger
Related #2514
2014-06-06 12:01:45 -04:00
Tetsuharu OHZEKI
1f9f0a28ed Use Cell for mutability of HTMLIFrameElement.sandbox. 2014-06-07 00:58:43 +09:00
Tetsuharu OHZEKI
2aa1554b0c Remove needless '&self mut' from VirtualMethods trait. 2014-06-07 00:58:43 +09:00
bors-servo
e997090d8e auto merge of #2590 : Manishearth/servo/xhr-json, r=jdm 2014-06-06 10:46:40 -04:00
Ms2ger
d882bb7cc0 Store a slice in ConstantSpec, rather than a raw pointer. 2014-06-06 14:23:09 +02:00
Ms2ger
ba68203ebf Remove the pointless terminator from ConstantSpec slices. 2014-06-06 14:10:41 +02:00
Ms2ger
0c54cd1634 Pass slices to CreateInterfaceObjects2 rather than raw pointers. 2014-06-06 14:01:09 +02:00
Ms2ger
3dece6b7ab Remove some code to support preffing off APIs.
We won't be using this feature in the near future, and the implementation is
not really Rustic.
2014-06-06 13:22:47 +02:00
Ms2ger
999fc973c0 Squash a warning about deriving traits on a struct that contains a raw pointer. 2014-06-06 13:10:28 +02:00
Manish Goregaokar
cfa20e9fba JSON response support and some default headers 2014-06-06 16:10:54 +05:30
Ms2ger
e997d0bfbd Remove htmlmainelement.rs again (re-fixes #2541). 2014-06-06 12:33:28 +02:00
Ms2ger
f0a87bcf64 Don't use mem::transmute for the argument to CreateProxyHandler. 2014-06-06 12:29:43 +02:00
bors-servo
d8483d2365 auto merge of #2584 : pcwalton/servo/binary-search, r=SimonSapin
in a text run.

This makes painting of text display items faster and matches what Gecko
does.

r? @SimonSapin
2014-06-06 00:58:25 -04:00
Patrick Walton
c897f5dde8 gfx: Binary search for the start position when iterating over the slices
in a text run.

This makes painting of text display items faster and matches what Gecko
does.
2014-06-05 21:52:47 -07:00
Bruno de Oliveira Abinader
75ddd2887b Added content tests for querySelector 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
3601aebaa2 Implement querySelector for Element 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
c874c6470c Implement querySelector for DocumentFragment 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
249c484c24 Implement querySelector for Document 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
f0aadb790d Added ParentNode.querySelector skeleton 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
f78d04b620 Implement TNode for JS<Node> 2014-06-05 16:54:26 -07:00
Bruno de Oliveira Abinader
8187916ee4 Implement TElement for JSRef<Element> 2014-06-05 16:54:26 -07:00
Matt Brubeck
a226086a32 Don't require root pipeline to match new pipeline
This reverts 2b0134be7b because it was
not correct for iframes.
2014-06-05 16:42:21 -07:00
bors-servo
3dedbd2719 auto merge of #2589 : bjz/servo/cleanups, r=pcwalton
@pcwalton r?

Might conflict with the rust upgrade - I can rebase later.
2014-06-05 19:37:36 -04:00
bors-servo
d293b46944 auto merge of #2592 : june0cho/servo/fix_vertical_align, r=SimonSapin
It fixes the wrong vertical alignment for img element. (related to #2422, #2554)
Worked with @ryanc
2014-06-05 18:58:30 -04:00
Brendan Zabarauskas
7212c3573e Use bitflags! for NodeFlags 2014-06-05 15:43:57 -07:00
Junyoung Cho
e96f02718a Fix the vertical alignment error for img tag. 2014-06-05 16:36:42 -06:00
Brendan Zabarauskas
7675b0ced0 Use bitflags! for RestyleDamage 2014-06-05 15:33:46 -07:00
Brendan Zabarauskas
e0fe3e1ac0 Use GlyphStore::char_len rather than constantly re-casting GlyphStore::entry_buffer.len() 2014-06-05 15:28:23 -07:00
bors-servo
10b1e655b0 auto merge of #2588 : pcwalton/servo/display-list-optimization, r=glennw
submitting them to Skia.

40x improvement in painting time on Wikipedia.

r? @glennw
2014-06-05 16:46:28 -04:00
Patrick Walton
081e054b4a gfx: Add display list optimization to eliminate clipped items before
submitting them to Skia.

40x improvement in painting time on Wikipedia.
2014-06-05 13:31:12 -07:00
bors-servo
188b2c725d auto merge of #2586 : ebalint/servo/2327, r=jdm 2014-06-05 16:16:32 -04:00
bors-servo
b2e7e67087 auto merge of #2538 : mozilla/servo/rustup-20140528, r=SimonSapin
Not yet ready for merge, but you can start reviewing.

Still need to fix linux and some make check code.
2014-06-05 13:58:44 -04:00
Jack Moffitt
629c4c6afe Upgrade Rust. 2014-06-05 09:58:59 -06:00
Edit Balint
521a45bd12 Reduce the number of times we call rustc in our Makefile #2327 2014-06-05 15:37:21 +02:00
bors-servo
2ae671b5aa auto merge of #2582 : zwarich/servo/drop-exceptions, r=jdm
We get a lot of failures from assertions that event listeners haven't
thrown exceptions. As the FIXME above these assertions suggests, we
should just drop them on the floor.
2014-06-05 02:58:27 -04:00
bors-servo
41a6234b39 auto merge of #2581 : mbrubeck/servo/declarations-cache, r=pcwalton
Fixes #2498.  Also includes a reftest, and some related code cleanup (in separate commits).

Note: The fix in `properties.rs.mako` is much more readable with `git diff -w`.
2014-06-05 01:37:30 -04:00
Cameron Zwarich
7a18ab59c8 Drop event listener exceptions on the floor.
We get a lot of failures from assertions that event listeners haven't
thrown exceptions. As the FIXME above these assertions suggests, we
should just drop them on the floor.
2014-06-04 17:05:50 -07:00
Matt Brubeck
3e53dbd2e5 Fix deriving in cascade_with_cached_declarations
Even though we don't recompute non-inherited properties here, we still need
to compute properties that are derived from them.  Fixes #2498: because
text-decoration is not inherited, -servo-text-decorations-in-effect was not
derived correctly for cached declarations.
2014-06-04 15:32:42 -07:00
Matt Brubeck
48922fc261 Minor code cleanup in css::matching 2014-06-04 13:48:35 -07:00
Matt Brubeck
b7ba2157a1 Minor style cleanups in Cache code
- Make ApplicableDeclarationsCache::cache priv
- Add a missing semicolon for clarity
- Remove a useless `drop` call.
2014-06-04 13:18:44 -07:00
bors-servo
473b9e488b auto merge of #2575 : mbrubeck/servo/2259-remove-old-layers, r=pcwalton
This fixes #2259 which was caused by some of the previous layers sticking around incorrectly.  Depends on mozilla-servo/rust-layers#69.

Also includes some related cleanup as separate commits.

No reftest because our test harness doesn't yet support navigating to a new page (#2574).
2014-06-04 14:28:22 -04:00
Matt Brubeck
81601c21aa Remove unused delete_layer code. 2014-06-04 10:03:48 -07:00
Matt Brubeck
2b0134be7b Check the pipeline ID of the new root layer.
This isn't related to any known issue, but is just to ensure that the IDs are
set correctly within this function.
2014-06-04 10:03:48 -07:00
Matt Brubeck
e9efa60647 Remove all old layers when creating a new root.
Fixes #2259.
2014-06-04 10:03:36 -07:00
bors-servo
33c4a7a5dc auto merge of #2521 : Manishearth/servo/xhr-responsetext, r=Ms2ger
Blocks #2282
2014-06-04 07:52:12 -04:00
Manish Goregaokar
ef126be28f Add responseText and status code support to XHR 2014-06-04 17:13:02 +05:30