Ms2ger
78f368d336
Support union variadic arguments and add tests.
2014-06-10 10:19:26 +02:00
Ms2ger
d89f867b14
Implement variadic arguments ( fixes #1985 ).
2014-06-10 10:19:26 +02:00
bors-servo
4b5fd956bd
auto merge of #2626 : pcwalton/servo/inline-get-element, r=jdm
...
8% improvement on style recalc on Wikipedia.
r? @Ms2ger
2014-06-09 23:13:34 -04:00
bors-servo
01a93d82bf
auto merge of #2618 : Ms2ger/servo/console-assert, r=jdm
2014-06-09 22:49:35 -04:00
bors-servo
0ff6a45709
auto merge of #2611 : Ms2ger/servo/webidl-parser-sync, r=jdm
2014-06-09 22:19:44 -04:00
Patrick Walton
7350cfb004
script: Inline is_element_for_layout
and friends.
...
8% improvement on style recalc on Wikipedia.
2014-06-09 19:15:56 -07:00
bors-servo
f359bc9337
auto merge of #2624 : mbrubeck/servo/units, r=pcwalton
...
This fixes an issue where the CSS viewport was too large on high-DPI displays
because it was set to the window size in device pixels, instead of px. This
patch ensures that the window size is converted from device pixels to px
before being passed to script/layout code.
The Window trait now exposes the window size in both device pixels and
density-independent screen coordinates, with clearer method names.
2014-06-09 18:52:41 -04:00
Matt Brubeck
89327aa5be
Outside of compositor, store window size in CSS px
...
This fixes an issue where the CSS viewport was too large on high-DPI displays
because it was set to the window size in device pixels, instead of px. This
patch ensures that the window size is converted from device pixels to px
before being passed to script/layout code.
The Window trait now exposes the window size in both device pixels and
density-independent screen coordinates, with clearer method names.
2014-06-09 15:46:51 -07:00
bors-servo
eee072f5d5
auto merge of #2612 : saneyuki/servo/rm_pad, r=jdm
...
Fix #2512
2014-06-09 15:22:48 -04:00
bors-servo
3571b3977d
auto merge of #2621 : pcwalton/servo/binary-search-fix, r=brson
...
in a text run.
This makes painting of text display items faster and matches what Gecko
does.
Incorrect automatic derivation of `TotalOrd` broke it last time.
r? @brson
2014-06-09 13:04:49 -04:00
Ms2ger
d23407d9bc
Implement HTMLIFrameElement.src.
2014-06-09 16:20:52 +02:00
Tetsuharu OHZEKI
6841cc6df8
Remove 'LayoutNode.pad' field.
2014-06-09 18:55:33 +09:00
Tetsuharu OHZEKI
183cdc95c6
Fix type the type name.
2014-06-09 18:55:33 +09:00
Tetsuharu OHZEKI
fa40352fb7
Remove PaddedUnsafeFlow.
2014-06-09 18:55:32 +09:00
Patrick Walton
a182384105
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-08 21:19:51 -07:00
bors-servo
e98b03f581
auto merge of #2619 : Ms2ger/servo/onclick, r=jdm
2014-06-08 20:46:39 -04:00
Ms2ger
6308ed914c
Support GlobalEventHandlers.onclick.
2014-06-08 18:50:27 +02:00
Ms2ger
69fb7b0c94
Implement Console.assert.
2014-06-08 18:49:10 +02:00
bors-servo
6e856f4d1c
auto merge of #2617 : Manishearth/servo/string-warn, r=Ms2ger
2014-06-08 12:46:31 -04:00
Manish Goregaokar
cf20d45ea8
Fix some deprecated warnings for to_owned()
2014-06-08 21:57:27 +05:30
bors-servo
1f41eda321
auto merge of #2613 : Manishearth/servo/xhr-wpt-methods, r=Ms2ger
...
For [XMLHttpRequest/open-method-case-sensitive.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-case-sensitive.htm ), [XMLHttpRequest/XMLHttpRequest/open-method-insecure.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-insecure.htm ), [XMLHttpRequest/XMLHttpRequest/open-method-responsetype-set-sync.htm ](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-responsetype-set-sync.htm ) in particular. `getResponseHeader()` is used by a lot of other tests (the harness echoes most of the metadata in the response headers, which is tested on this side)
The sync changes fixes half of the timeouts to give meaningful results.
Blocks #2525
2014-06-08 12:22:31 -04:00
Manish Goregaokar
86594a752c
Empty methods are not allowed
2014-06-08 21:18:44 +05:30
Manish Goregaokar
30827bab4d
Make sync requests not crash / remove associated leak
2014-06-08 21:18:44 +05:30
Manish Goregaokar
e8de5f2f55
Support for extension methods, getResponseHeader(), and an extra error
2014-06-08 21:18:44 +05:30
Ms2ger
37e9458514
Simplify Element::set_attribute for its remaining callers.
2014-06-08 17:09:22 +02:00
Ms2ger
efe69f3a82
Make Attr::value private.
2014-06-08 17:09:22 +02:00
bors-servo
743dcee0f5
auto merge of #2615 : saneyuki/servo/refcell, r=Ms2ger
...
related: #2513
2014-06-08 10:43:39 -04:00
Tetsuharu OHZEKI
a2a94d9421
Use RefCell for mutability of Element::style_attribute.
2014-06-08 23:36:38 +09:00
bors-servo
18a4d46070
auto merge of #2614 : saneyuki/servo/make, r=jdm
...
Fix #2583
2014-06-07 17:19:32 -04:00
Tetsuharu OHZEKI
01933996e3
Make the bindings make target work on all platforms.
2014-06-08 03:31:33 +09:00
bors-servo
c787fde1ec
auto merge of #2573 : Manishearth/servo/union-return, r=Ms2ger
...
Blocks #2559
2014-06-07 14:19:29 -04:00
Manish Goregaokar
7843b7b317
Allow union types to be used as return values
2014-06-07 23:44:21 +05:30
Ms2ger
d5dd0a07b8
Remove unsupported extended attributes from IDL.
...
These were silently ignored so far.
2014-06-07 17:39:23 +02:00
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