bors-servo
00145d8c4e
auto merge of #5514 : mbrubeck/servo/warnings, r=larsbergstrom
2015-04-03 14:48:47 -06:00
Matt Brubeck
61ea02d0bf
Fix warnings when building tests
2015-04-03 13:33:57 -07:00
bors-servo
036b3eaa04
auto merge of #5511 : Ms2ger/servo/int, r=jdm
2015-04-03 13:54:46 -06:00
Ms2ger
c2e81be8a5
Stop using int/uint in script.
2015-04-03 20:47:53 +02:00
Gilles Leblanc
ba36a108c1
Split out shared networking code into net_traits crate
...
Fixes #4476
2015-04-03 13:38:10 -04:00
bors-servo
74f8c0eeb7
auto merge of #5502 : Ms2ger/servo/impl-send, r=jdm
...
This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.
This required making SmallVec1<T> Send if T is Send.
2015-04-03 09:48:42 -06:00
bors-servo
539c85f5ec
auto merge of #5501 : Ms2ger/servo/docs, r=jdm
...
Most of this documentation is based on
<https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings >.
2015-04-03 08:24:41 -06:00
Ms2ger
eefb0773a0
Remove the unsafe impl Send for ConstellationControlMsg.
...
This impl made it possible to put raw pointers in ConstellationControlMsg and
send them across threads without considering the consequences.
This required making SmallVec1<T> Send if T is Send.
2015-04-03 13:32:51 +02:00
Ms2ger
02be76bd48
Merge pull request #5492 from Ms2ger/MouseButton
...
Introduce a MouseButton enum.
2015-04-03 13:29:12 +02:00
bors-servo
40fab8e362
auto merge of #5470 : bjwbell/servo/tab-in-pre, r=mbrubeck
...
Display tab characters as 4 spaces for pre and other elements that don't
compress whitespace.
Fixes https://github.com/servo/servo/issues/4651
@pcwalton r?
2015-04-03 04:18:42 -06:00
Ms2ger
03c526dd20
Add more documentation about the DOM bindings.
...
Most of this documentation is based on
<https://developer.mozilla.org/en-US/docs/Mozilla/WebIDL_bindings >.
2015-04-03 11:33:53 +02:00
Bryan Bell
29852bb111
Show tabs in pre elements
...
Display tab characters as 8 spaces for pre and other elements that don't
compress whitespace.
2015-04-02 22:15:39 -07:00
bors-servo
c38d9ba6b9
auto merge of #5484 : frewsxcv/servo/document-cleanup, r=Ms2ger
...
* Add whatwg spec links for some Document methods
* Wrap some lines that exceed 100 characters
* Other misc cleanup/refactoring
2015-04-02 22:45:41 -06:00
Ms2ger
8e0ce3d14f
Stop using int/uint in compositing.
2015-04-03 01:24:48 +02:00
Ms2ger
6b127a8df8
Introduce a MouseButton enum.
2015-04-03 01:24:33 +02:00
aditya
a3eaacccf6
Move iframe and url fields from Reflow to LayoutTask and LayoutTaskFactory
...
* Fix #5466
2015-04-02 16:09:48 -04:00
Corey Farwell
c90e8c19cd
Improvements, cleanup for script::dom::document
...
* Add whatwg spec links for some Document methods
* Wrap some lines that exceed 100 characters
* Other misc cleanup/refactoring
2015-04-02 11:52:34 -07:00
bors-servo
85808c1cdd
auto merge of #5425 : pcwalton/servo/optimize-rooting, r=Ms2ger
...
This was showing up very high in instruction-level profiling.
r? @jdm
2015-04-02 10:51:40 -06:00
Patrick Walton
d1c13faf4b
script: Optimize JS rooting to not move the entire Root
struct from
...
the stack to the return out-pointer.
This was showing up very high in instruction-level profiling.
2015-04-02 09:03:45 -07:00
bors-servo
5457ec6098
auto merge of #5426 : pcwalton/servo/mouse-over-incremental-reflow, r=jdm
...
r? @jdm
2015-04-02 09:57:40 -06:00
Ms2ger
a65c80231a
Stop using u/i suffixes in layout.
2015-04-02 15:14:09 +02:00
Ms2ger
7fabf6071e
Use usize in generated_content.
2015-04-02 15:06:27 +02:00
Ms2ger
8a8aee8576
Use usize in StopRun.
2015-04-02 15:05:27 +02:00
Ms2ger
2951455d18
Use usize for canvas sizes.
2015-04-02 15:04:29 +02:00
Ms2ger
683749c999
Use isize for Au::from_px.
2015-04-02 15:02:37 +02:00
Ms2ger
7b45a4384d
Use a u32 in calculate_split_position_using_breaking_strategy.
2015-04-02 14:59:26 +02:00
Ms2ger
d418c0da3a
Cleanup convert_length in ImageFragmentInfo.
2015-04-02 14:57:44 +02:00
Ms2ger
37b5e78a2c
Avoid a cast in LayoutImageResponder.
2015-04-02 14:56:05 +02:00
Ms2ger
31c6a3977f
Use usize in flow.rs.
2015-04-02 14:55:43 +02:00
Ms2ger
588143149c
Use u32 for ImmutableFlowUtils::dump_with_level.
2015-04-02 14:55:25 +02:00
Ms2ger
a0ad6ba2d4
Use usize for indices into InlineFragments.
2015-04-02 14:53:30 +02:00
Ms2ger
232dadc81d
Use isize for FragmentIndex.
2015-04-02 14:53:10 +02:00
Ms2ger
2cc3c1d9c2
Use isize with children_count members.
...
I'm not size why these are signed.
2015-04-02 14:50:15 +02:00
Ms2ger
67b3a3d3d6
Use usize for propagate_to_child.
2015-04-02 14:47:48 +02:00
Ms2ger
3dd3ad728e
Use u32 for TableColumnFragmentInfo::span.
2015-04-02 14:46:19 +02:00
Ms2ger
6d7dead4ef
Use isize for CharIndex.
2015-04-02 14:45:49 +02:00
Ms2ger
cd8c03bb49
Use usize for layout node debug ids.
2015-04-02 14:21:33 +02:00
Ms2ger
c8106da277
Rewrite NodeChildrenIterator to return Temporary.
2015-04-02 13:07:51 +02:00
Ms2ger
bc8ed81dc1
Use a larger small vector.
2015-04-02 09:47:30 +02:00
Ms2ger
879c3710f4
Cleanup Document::Title.
2015-04-02 09:47:29 +02:00
Matt McCoy
818f1c5748
Closes #2587 Adding HTTP compression capability
2015-04-01 21:18:47 -04:00
bors-servo
3294778b37
auto merge of #5477 : jdm/servo/warnfix, r=kmcallister
2015-04-01 17:30:41 -06:00
bors-servo
e65e881e1b
auto merge of #5472 : jdm/servo/advance, r=jdm
...
Rebased from #5035 .
2015-04-01 16:45:40 -06:00
bors-servo
dfa16e049f
auto merge of #5337 : ChrisParis/servo/replacenode-fragment, r=metajack
...
Fixes #5336
2015-04-01 15:48:42 -06:00
bors-servo
ae31d9d9e8
auto merge of #5414 : mmatyas/servo/canvas_arcto, r=jdm
...
Based on the implementation in Firefox.
After comparing how `arcTo` works in different browsers, I've found the code in Firefox the cleanest implentation. It also performed better on some test, for example the one on [this site](http://flashcanvas.net/examples/dl.dropbox.com/u/1865210/mindcat/arcto.html ). In (Linux) Firefox 36, it looks like [this](http://i59.tinypic.com/2ch5b2d.png ), while in Chromium 41, [some features are missing](http://i58.tinypic.com/30u5w8z.png ).
2015-04-01 15:00:43 -06:00
Chris Paris
8b9162c49d
Fix mutation record when ReplaceChild handles DocumentFragment
2015-04-01 10:40:12 -10:00
Patrick Walton
1fe55a27b1
script: Stop destroying all flows on every mouse-over event.
2015-04-01 13:18:04 -07:00
bors-servo
6bedf4a229
auto merge of #5459 : jdm/servo/reflowquery, r=saneyuki
2015-04-01 14:03:43 -06:00
Mátyás Mustoha
56303e21cc
Canvas: added arcTo() support.
2015-04-01 21:20:05 +02:00
bors-servo
afbc51a746
auto merge of #5430 : Manishearth/servo/userscript_path, r=kmcallister
...
r? @kmcallister
2015-04-01 13:15:46 -06:00