Commit graph

9349 commits

Author SHA1 Message Date
Corey Farwell
d838fcce30 Remove some unnecessary uses of as_slice
For the majority of these cases, `as_slice` can be removed due to
`Deref`. In particular, `Deref` for:

* `String` -> `str`
* `Atom` -> `str`

The latter of those two requires, a bump of the locked `string-cache`
library
2015-03-29 14:42:19 -04:00
bors-servo
b8ea10bfe3 auto merge of #5341 : Ms2ger/servo/wpt_20150317, r=jdm 2015-03-29 06:37:00 -06:00
Ms2ger
1ecfc9f582 Update web-platform-tests. 2015-03-29 14:19:05 +02:00
bors-servo
0d3574b583 auto merge of #5442 : servo/servo/fix-more-gonk-warnings, r=Ms2ger 2015-03-29 05:49:01 -06:00
bors-servo
1282850b99 auto merge of #5436 : servo/servo/rooted-vec, r=Ms2ger,jdm 2015-03-29 05:07:01 -06:00
Michael Wu
88b31933c4 Sync gonk lib.rs & main.rs with components/servo 2015-03-29 12:38:05 +02:00
Michael Wu
1ffa40ab55 Fix warning in gonk input code 2015-03-29 12:36:05 +02:00
Mukilan Thiyagarajan
e8a1e9eabb Implement RootedVec<T> 2015-03-29 11:58:25 +02:00
bors-servo
7d0d851456 auto merge of #5437 : Ms2ger/servo/int, r=jdm 2015-03-29 03:49:01 -06:00
bors-servo
4cf76d65ba auto merge of #5440 : frewsxcv/servo/spec-links, r=jdm 2015-03-28 19:01:03 -06:00
Corey Farwell
46f14449d0 Add links to spec for script::dom structs/methods 2015-03-28 20:04:30 -04:00
Ms2ger
9904216d76 Use u32 for generation numbers. 2015-03-28 22:46:16 +01:00
Ms2ger
d521cd006e Remove the unused FloatedBlockInfo::index field. 2015-03-28 22:42:14 +01:00
Ms2ger
da1e3a3f11 Use usize for debug ids. 2015-03-28 22:37:41 +01:00
Ms2ger
40c710ab19 Pass u32 to LayoutNode::dump_indent. 2015-03-28 22:32:43 +01:00
Ms2ger
7a2ab2784d Use usize for UnsafeLayoutNode. 2015-03-28 22:30:55 +01:00
bors-servo
e70beca74b auto merge of #5435 : frewsxcv/servo/dom-attr-cleanup, r=jdm
* Wrap lines longer than 100 characters
* Add whatwg specification links for official methods
* Other misc cleanup/modernization
2015-03-28 14:40:02 -06:00
bors-servo
674e52afa1 auto merge of #5416 : Ms2ger/servo/int, r=jdm 2015-03-28 13:58:02 -06:00
Corey Farwell
3a5c94cf70 Cleanup and modernize script::dom::attr
* Wrap lines longer than 100 characters
* Add whatwg specification links for official methods
* Other misc cleanup/modernization
2015-03-28 15:11:54 -04:00
bors-servo
be255304af auto merge of #5434 : Ms2ger/servo/util-old-io, r=jdm 2015-03-28 13:07:06 -06:00
Ms2ger
573f721714 Move to new io in util. 2015-03-28 20:02:23 +01:00
bors-servo
ce3f777a12 auto merge of #5432 : Ms2ger/servo/stderr-comp, r=jdm 2015-03-28 12:10:06 -06:00
Ms2ger
89ce2216fd Use the new io's stderr handle to write out the hard-fail warning. 2015-03-28 18:10:38 +01:00
bors-servo
2b9bfb9af3 auto merge of #5431 : Ms2ger/servo/unused-imports, r=jdm
These became unused in f45db7714c; I don't know
why I didn't notice that.
2015-03-28 11:07:03 -06:00
Ms2ger
e106ad84bf Remove some unused imports.
These became unused in f45db7714c; I don't know
why I didn't notice that.
2015-03-28 17:23:48 +01:00
bors-servo
65a0ebc567 auto merge of #5418 : Ms2ger/servo/contenttest, r=jdm 2015-03-28 09:37:06 -06:00
Ms2ger
864679db24 Use u32 for SubpageId. 2015-03-28 15:55:03 +01:00
Ms2ger
131270c1d3 Use u32 for PipelineId. 2015-03-28 15:55:03 +01:00
Ms2ger
c98d92df00 Use u32 for WorkerId. 2015-03-28 15:55:01 +01:00
bors-servo
5833dea733 auto merge of #5427 : pcwalton/servo/accidentally-quadratic, r=Ms2ger
r? @jdm
2015-03-28 08:52:06 -06:00
Ms2ger
2f3060c8a7 Use u32 for FrameId. 2015-03-28 15:36:36 +01:00
Ms2ger
37c271a260 Use usize and u32 for LayerId. 2015-03-28 15:36:36 +01:00
Ms2ger
ac3c076892 Use u32 for Epoch. 2015-03-28 15:36:36 +01:00
Ms2ger
43ed033eff Use isize/usize in range. 2015-03-28 15:36:36 +01:00
Ms2ger
f50530577c Use usize in test_lru_cache. 2015-03-28 15:36:36 +01:00
Ms2ger
54c006d159 Use u32 for reflow ids. 2015-03-28 15:36:36 +01:00
Ms2ger
6f05750956 Use u32 for outstanding_paint_msgs. 2015-03-28 15:36:35 +01:00
Patrick Walton
0fcaa3ce03 script: Fix O(n^2) dirty bit marking when setting style on all immediate
children of a node.
2015-03-27 19:06:57 -07:00
bors-servo
55f9bd5d6f auto merge of #5413 : Ms2ger/servo/percent-encoding, r=jdm 2015-03-27 18:09:59 -06:00
bors-servo
e916ee081a auto merge of #5401 : frewsxcv/servo/cleanup-element, r=Ms2ger 2015-03-27 16:25:00 -06:00
Ms2ger
0ffa02eec8 Fix indentation in contenttest. 2015-03-27 21:22:28 +01:00
Ms2ger
3cd9f4e428 Move away from as_slice() in contenttest. 2015-03-27 21:21:37 +01:00
Ms2ger
6b0bf4cf0a Move contenttest to the new process APIs. 2015-03-27 21:16:28 +01:00
bors-servo
439e3150d7 auto merge of #5181 : thiagopnts/servo/master, r=jdm
This is for #4704. I'm not sure if this is the best approach, so I'm open to suggestions.
2015-03-27 13:33:56 -06:00
Thiago Pontes
1244f9e016 Notify devtools about new worker globals 2015-03-27 16:04:53 -03:00
Ms2ger
f45db7714c Simplify URLSearchParams::serialize's percent-encoding. 2015-03-27 15:35:13 +01:00
bors-servo
5dd43bf84c auto merge of #5389 : Manishearth/servo/trace_raw, r=jdm 2015-03-26 20:51:51 -06:00
Corey Farwell
b5d3e77716 Cleanup and modernize script::dom::element 2015-03-26 17:58:38 -04:00
bors-servo
07e271b4e5 auto merge of #5392 : leavengood/servo/fix-alphabetic-key-codes, r=jdm 2015-03-26 14:30:56 -06:00
bors-servo
8127e1e1e9 auto merge of #5390 : leavengood/servo/backquote-handling, r=jdm 2015-03-26 13:12:53 -06:00