Commit graph

4945 commits

Author SHA1 Message Date
Tetsuharu OHZEKI
fa40352fb7 Remove PaddedUnsafeFlow. 2014-06-09 18:55:32 +09: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
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
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
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