bors-servo
83d9ab3ba5
Auto merge of #5571 - jdm:gfx_uint, r=Ms2ger
...
r? @Ms2ger
2015-04-08 03:06:09 -05:00
bors-servo
cad27a9d25
Auto merge of #5568 - jdm:net_uint, r=jdm
2015-04-08 01:47:56 -05:00
bors-servo
f57b487e4d
Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdm
...
Rebase of #5488
2015-04-08 00:56:37 -05:00
bors-servo
f3df8859a8
Auto merge of #5557 - xfq:patch-1, r=metajack
...
Update the URI of Rust Code of Conduct.
2015-04-07 23:55:31 -05:00
bors-servo
2089c1f285
Auto merge of #5550 - aneeshusa:fix-issue-5540, r=jdm
...
Fixes issue #5540 .
As far as I can tell this is all that's necessary, but I'm new to Rust, so let me know if I missed something!
2015-04-07 23:04:12 -05:00
bors-servo
df57af1fc4
Auto merge of #5527 - jagtalon:jag/multiple-urls, r=mbrubeck
...
Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly.
2015-04-07 22:08:33 -05:00
bors-servo
017d105361
Auto merge of #5574 - servo:unit-tests, r=jack
...
On my laptop, running `./mach test-unit` goes from about 11 minutes to 22 seconds, when run after `./mach build`.
Fix #5291 .
2015-04-07 21:16:49 -05:00
bors-servo
58637a1174
Auto merge of #5433 - dmarcos:issue5290, r=jdm
2015-04-07 18:38:34 -05:00
Simon Sapin
84e5f1e85b
Use the correct license header.
2015-04-08 01:07:58 +02:00
Simon Sapin
9199c4f478
Remove now-empty module.
2015-04-08 01:07:57 +02:00
Simon Sapin
2a6f2cde50
Check license headers in ./tests
2015-04-08 01:07:56 +02:00
Simon Sapin
3b1cfe8458
Add license headers in tests/unit
2015-04-08 01:07:55 +02:00
Simon Sapin
ec28d98080
Have ./mach test-unit
run nothing but cargo test -p unit_tests
...
All unit tests will move there, and it should be much faster to build
than every other crate together.
Fix #5291 .
2015-04-08 01:07:54 +02:00
Simon Sapin
dc431c9bdb
Move script crate unit tests into the unit_tests crate.
2015-04-08 01:07:53 +02:00
Simon Sapin
e5466a34c5
Move style crate unit tests into the unit_tests crate.
2015-04-08 01:07:52 +02:00
Simon Sapin
e27c967f81
Move net::resource_task unit tests into the unit_tests crate.
2015-04-08 01:07:51 +02:00
Simon Sapin
d88770e09f
Move net::{data_loader,image_cache_task} unit tests into the unit_tests crate.
2015-04-08 01:07:50 +02:00
Matt Brubeck
3d7dad2894
Set dirty flag on hover or focus change
2015-04-07 15:54:35 -07:00
Patrick Walton
7a08a6c1ab
layout: Position and size list images properly in the block direction.
...
Improves Wikipedia.
2015-04-07 15:42:52 -07:00
Patrick Walton
df9c0c7a26
layout: Remove the bogus
...
`assign_block_size_for_inorder_child_if_necessary` logic from table
wrapper flows.
As far as I can tell, this is a cut-and-paste of old buggy code from
block flows. Delegating to the correct block flow code fixes the sidebar
float placement on Guardians of the Galaxy.
2015-04-07 15:13:17 -07:00
Patrick Walton
c86bc2eb8b
layout: Don't take collapsible top margin into account when determining
...
the float ceiling.
As the float ceiling is relative to the border box, not the margin box,
of the parent flow, top margin must not be included.
This exposed a pre-existing bug whereby margins are discarded if a block
contains only floats and no content, affecting the tests
`float_intrinsic_height.html` and `margins_inside_floats_a.html`. As a
workaround, some invisible content has been added to the bodies of both
tests.
2015-04-07 15:10:15 -07:00
Simon Sapin
691222696e
Move net::cookie unit tests into the unit_tests crate.
2015-04-07 16:37:12 -04:00
Simon Sapin
e0b98a35c4
Move gfx unit tests to the unit_tests crate.
2015-04-07 16:37:12 -04:00
Simon Sapin
6d5406efc1
Move util crate unit tests into a new unit_tests crate
2015-04-07 16:37:11 -04:00
Anthony Ramine
eea80034e6
Implement NamedNodeMap::removeNamedItem*()
2015-04-07 22:34:56 +02:00
Anthony Ramine
33f2cd29fd
Implement ParentNode attributes
2015-04-07 22:27:52 +02:00
Josh Matthews
1757afef27
Remove int_uint from net.
2015-04-07 16:13:37 -04:00
Dave Hodder
9f5f7f4b8e
Use canonical GitHub URL for Rust
2015-04-07 21:05:01 +01:00
Jag Talon
74cd4cd56a
opts.rs: don't accept multiple URLs. Fixes #5520 .
...
Switched from opts.urls from being of type Vec to type String and changing the name to `url` as well. Changed the other files that are using opts.urls accordingly.
servo/lib.rs + gonk/src/lib.rs: no need for a block scope.
cef: fix compiler errors.
- remove the use of `mut` since it's not needed.
- use `to_owned` instead of `to_string` because it's more efficient.
2015-04-07 15:46:51 -04:00
Anthony Ramine
7e07dcc7ee
Add missing NewObject annotation in Document
2015-04-07 21:20:57 +02:00
bors-servo
3fb666cf60
Auto merge of #5569 - Ms2ger:object, r=jdm
2015-04-07 13:32:02 -05:00
Anthony Ramine
cdb3efec87
Use a Temporary iterator in Node::collect_text_contents()
2015-04-07 20:27:30 +02:00
Diego Marcos
88954e3e18
Implements drawImage for html image as ImageSource
2015-04-07 11:02:50 -07:00
bors-servo
c7e210f24c
Auto merge of #5005 - jdm:mime-sniffing, r=jdm
...
This rebases and integrates #4209 , removing the sniffer task (turns out it wasn't a great idea), and adds a `--sniff-mime-types` command line flag to enable sniffing for file:// and http:// resources. Tested against a random picture file on my harddrive. The actual MIME sniffing implementation can be extracted into a separate library separately.
2015-04-07 12:48:06 -05:00
Josh Matthews
9674feebba
Cleanup tabs.
2015-04-07 13:25:17 -04:00
Josh Matthews
4a78da1158
Fix unit tests.
2015-04-07 13:25:16 -04:00
Josh Matthews
23ae940abf
Enable MIME sniffing for HTTP loads.
2015-04-07 13:25:15 -04:00
Anthony Ramine
70ccd8a02a
Rename name in NamedNodeMap::GetNamedItemNS()
2015-04-07 19:02:50 +02:00
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
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