Commit graph

4934 commits

Author SHA1 Message Date
Ms2ger
ef0ccd3e15 Add support for undefined default values for 'any'.
This also updates TestBinding to take into account the automatic default
for optional 'any' arguments and dictionary members.
2014-06-07 17:38:35 +02:00
Ms2ger
4786c30bce Reinstate IDLCallbackType.module. 2014-06-07 17:27:02 +02:00
Ms2ger
4b65f47315 Remove support for external interfaces. 2014-06-07 17:22:54 +02:00
Ms2ger
278f47ad46 Import the WebIDL parser from Gecko. 2014-06-07 17:21:52 +02:00
bors-servo
1184b500e5 auto merge of #2602 : mbrubeck/servo/revert-root-pipeline-check, r=pcwalton
This reverts 2b0134be7b because it was not correct for iframes.  Oops.  (Wasn't caught by tests because we still have other crashes preventing iframe testing.)  r? @pcwalton.
2014-06-07 02:46:21 -04:00
bors-servo
f1194fc85b auto merge of #2607 : bjz/servo/leeeeeak, r=jdm
Introduced by yours-truly in 7212c3573e

Oopsie.
2014-06-06 17:49:21 -04:00
bors-servo
b52fbe0a5f auto merge of #2591 : brunoabinader/servo/document-queryselector-v3, r=jdm
This is a subtask for #2254 & #2576.

Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselector
2014-06-06 17:22:25 -04:00
Bruno de Oliveira Abinader
c89112dabf Fixed traversal issues 2014-06-06 13:40:08 -07:00
bors-servo
6c382243c4 auto merge of #2603 : mbrubeck/servo/units, r=pcwalton
This is a rebased, squashed, and updated version of #2444.
2014-06-06 16:04:34 -04:00
Matt Brubeck
28b1b1958d Use some typed units in compositor and windowing. 2014-06-06 12:46:33 -07:00
bors-servo
a49fa8d23d auto merge of #2606 : Ms2ger/servo/warnings, r=jdm 2014-06-06 15:32:11 -04:00
Patrick Walton
b929a2f53c Merge pull request #2608 from brson/revbinsearch
Revert "auto merge of #2584 : pcwalton/servo/binary-search, r=SimonSapin...
2014-06-06 12:30:03 -07:00
Brian Anderson
679baab734 Revert "auto merge of #2584 : pcwalton/servo/binary-search, r=SimonSapin"
This reverts commit d8483d2365, reversing
changes made to 3dedbd2719.

Wikipedia crashes on linux after this change by attempting to index bogus glyphs.
2014-06-06 12:28:35 -07:00
Brendan Zabarauskas
bf21217504 Fix leak
Introduced by yours-truly in 7212c3573e

Oopsie.
2014-06-06 12:26:30 -07:00
Ms2ger
1a2896a3f3 Bonus: Make Reflector::object private. 2014-06-06 20:57:56 +02:00
Ms2ger
1c7d191e49 Add an issue number to a FIXME comment. 2014-06-06 20:57:07 +02:00
Ms2ger
3e3536cf39 Fix and disable some compile warnings. 2014-06-06 20:56:44 +02:00
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