bors-servo
184d214e26
Auto merge of #5543 - jagtalon:jag/slashdot, r=jdm
...
Partially fixes #5504 .
Props to @ehegnes and @jdm for the help!
2015-04-07 11:56:50 -05:00
bors-servo
bd7e4d661a
Auto merge of #5542 - mbrubeck:test-unit, r=metajack
...
Moved from #5512 . r? @larsbergstrom or @metajack or @Manishearth
2015-04-07 11:13:37 -05:00
Josh Matthews
a68fa74f4b
Remove int_uint feature from gfx.
2015-04-07 11:58:28 -04:00
Ms2ger
9ddaf82d47
Use size_t for the arguments to malloc.
2015-04-07 17:56:46 +02:00
Ms2ger
6d1cde2283
Stop leaking the Vec.
2015-04-07 17:56:01 +02:00
Ms2ger
1fa1950ab1
Allocate only as much as necessary.
2015-04-07 17:55:49 +02:00
Ms2ger
cba3b6806e
Use raw::Slice where it makes sense.
2015-04-07 17:54:36 +02:00
Ms2ger
b5d41aa8a5
Use boxed::into_raw where it makes sense.
2015-04-07 17:54:16 +02:00
Ms2ger
dd7ec693a5
Remove some unnecessary transmute calls.
2015-04-07 17:53:12 +02:00
Thomas Jespersen
0c1eeb2fc7
Only send unused buffers messages if there are actually any buffers
...
Some debugging reveals that the send_back_unused_buffers() quite often
sends empty vectors back to the paint task. This still incurs an
communication overhead though. Instead check that the there actually are
buffers to send back.
2015-04-07 17:52:42 +02:00
bors-servo
e57630711f
Auto merge of #5541 - nox:node-iterators-temporary, r=jdm
2015-04-07 10:22:10 -05:00
Ms2ger
5570bc3798
Implement support for object in IDL.
2015-04-07 17:05:27 +02:00
bors-servo
e521860a0e
Auto merge of #5490 - nox:namednodemap, r=jdm
2015-04-07 09:31:20 -05:00
Mátyás Mustoha
6da2ce9b1b
Canvas: added lineWidth support.
2015-04-07 16:10:29 +02:00
Anthony Ramine
11b4ff9e94
Use Temporary in ChildElementIterator
2015-04-07 15:46:32 +02:00
Anthony Ramine
bf7c791e3a
Hold a Temporary in AncestorIterator
2015-04-07 15:46:31 +02:00
bors-servo
48ee05620d
Auto merge of #5536 - jdm:devtools_uint, r=Ms2ger
2015-04-07 08:20:36 -05:00
Anthony Ramine
6a6ecb9afa
Hold a Temporary in ReverseChildrenIterator
2015-04-07 14:47:31 +02:00
Anthony Ramine
fc31aef8b4
Add casts to Temporary types
2015-04-07 14:47:31 +02:00
Ms2ger
6b79d57920
When converting a non-finite float, throw the TypeError from the FromJSValConvertible implementation.
...
This removes some unnecessary custom code in the codegen and makes this
implementation follow the convention of having thrown an exception when
returning Err() from FromJSValConvertible.
2015-04-07 14:16:34 +02:00
Anthony Ramine
5d58dc8f54
Implement NamedNodeMap::getNamedItem*() ( fixes #5454 )
2015-04-07 13:42:56 +02:00
Ms2ger
e3683c8598
Merge the To/FromJSValConvertible implementations for Finite<T>.
2015-04-07 13:34:06 +02:00
Ms2ger
58a8cfda52
Drop the FromJSValConvertible implementation for interfaces.
...
It doesn't really fit in the design, and native_from_reflector_jsmanaged has
gained the usability improvements that it used to lack.
2015-04-07 13:11:45 +02:00
bors-servo
07520de970
Auto merge of #5552 - pcwalton:block-formatting-context-cleared-floats, r=glennw
...
The speculated inline-size of the preceding floats was forced to zero at
the wrong time if the float was itself cleared, causing it to overwrite
the speculated value. Shuffling the code around a bit fixes the problem.
r? @glennw
2015-04-07 04:51:13 -05:00
bors-servo
7f773d73c4
Auto merge of #5526 - frewsxcv:expect, r=jdm
...
None
2015-04-07 03:33:11 -05:00
bors-servo
1fd609d198
Auto merge of #5525 - dhodder:master, r=jdm
...
An empty DOM interface for HTMLDialogElement
r?
2015-04-07 02:50:04 -05:00
bors-servo
d38fca6ed6
Auto merge of #5523 - servo:use-quasiquote-for-attributes, r=jdm
...
Fixes #5157 .
2015-04-07 01:57:08 -05:00
Tim Cuthbertson
2de05450df
wpt: Update "running the tests manually" instructions
2015-04-07 16:51:11 +10:00
bors-servo
45b40d49a5
Auto merge of #5338 - ChrisParis:outerhtml, r=jdm
...
The first commit refactors the fragment parsing and innerHTML setter. This makes the code mirror the structure of the spec more closely, and also prepares for reusing code with the outerHTML setter.
2015-04-07 01:15:45 -05:00
bors-servo
d0acc33bf2
Auto merge of #5423 - yodalee:issue5397-location-pathname, r=jdm
...
issue #5397
2015-04-06 23:59:18 -05:00
Xue Fuqiao
2b95c4d33c
Update CONTRIBUTING.md
...
Update the URI of Rust Code of Conduct.
2015-04-07 12:54:53 +08:00
bors-servo
1f57c6d74a
Auto merge of #5415 - jdm:webdriver, r=jdm
...
Requires https://github.com/jgraham/webdriver-rust/pull/6 .
2015-04-06 22:09:44 -05:00
Patrick Walton
e10af4fc98
layout: Correctly take the inline size of cleared floats into account
...
when estimating the inline size of block formatting contexts.
The speculated inline-size of the preceding floats was forced to zero at
the wrong time if the float was itself cleared, causing it to overwrite
the speculated value. Shuffling the code around a bit fixes the problem.
2015-04-06 17:59:14 -07:00
Josh Matthews
a3201bc1ac
Enable optional mime sniffing, and integrate it with the file loader.
2015-04-06 20:19:30 -04:00
Josh Matthews
2d730f2ae9
Remove the sniffer task.
2015-04-06 19:31:53 -04:00
Nathan Climer
44930b0fb0
Implement MIME sniffing.
2015-04-06 19:01:59 -04:00
Chris Paris
f76a137344
Produce output of fragment parsing in &mut RootedVec<JS<Node>> argument
2015-04-06 12:59:54 -10:00
Chris Paris
6422f38574
Remove Root<Node> type annotation in SetOuterHTML
...
The 'use ... Root' was removed from the file by
another commit, and this annotation wasn't necessary anyway.
2015-04-06 12:59:54 -10:00
Chris Paris
ce16075588
Replace spec quotes with spec step numbers
2015-04-06 12:59:53 -10:00
Aneesh Agrawal
04468a53df
Don't consume self when calling root on a Temporary<T>.
...
Fixes issue #5540 .
2015-04-06 18:57:06 -04:00
Chris Paris
d1c5ac31ab
unwrap AppendChild result in parse_fragment
2015-04-06 12:56:57 -10:00
Chris Paris
b0ba4d17ee
drop try! from parse_fragment
2015-04-06 12:56:56 -10:00
Chris Paris
d83f4d8a6e
get rid of and_then in outerHTML setter
2015-04-06 12:56:56 -10:00
Chris Paris
3542360d00
get rid of and_then in innerHTML setter
2015-04-06 12:56:55 -10:00
Chris Paris
cc771fdd68
fragment parsing functions take DOMString instead of HTMLInput
2015-04-06 12:56:55 -10:00
Chris Paris
2cc5bad21e
Implement Element.outerHTML setter
2015-04-06 12:56:55 -10:00
Chris Paris
63ced23fca
Refactor fragment parsing
2015-04-06 12:54:58 -10:00
Josh Matthews
5728799479
Get the barest bones of webdriver integration ready for keeners.
2015-04-06 18:22:32 -04:00
Corey Farwell
2a01cec521
Utilize Option::expect
2015-04-06 14:06:05 -07:00
Jag Talon
6e013d3c9c
RootCollection: Start using RootedVec instead of SmallVec32.
...
dom/bindings/js.rs: Alphabetize `use`.
dom/bindings/js.rs: moved `unsafe` block to a let binding.
dom/bindings/trace.rs: rename alternate constructor of RootedVec.
dom/bindings/trace.rs: `new()` is now using `new_with_destination_address()` internally.
dom/bindings/js.rs: alphabetize imports.
2015-04-06 16:36:10 -04:00