Ms2ger
a65a1088a4
Change the representation of EventPhase to u16.
...
This matches the IDL definitions.
2015-02-20 14:45:46 +01:00
Ms2ger
21a1143dd1
Use u32 for reserved slot indices.
...
This is what the JSAPI expects.
2015-02-20 14:45:46 +01:00
Ms2ger
03408d69fb
Remove the unused Worker::refcount field.
2015-02-20 14:45:46 +01:00
Ms2ger
f75f279804
Stop casting the right-hand side of shifts to uint.
...
This is no longer required.
2015-02-20 14:45:46 +01:00
bors-servo
45a0e0e65c
auto merge of #4978 : Ms2ger/servo/try-dicts, r=Manishearth
2015-02-20 05:54:53 -07:00
Ms2ger
81eab460b1
Use the try macro to initialize dictionaries.
2015-02-20 10:39:40 +01:00
bors-servo
0a4c8c0e4c
auto merge of #4975 : Ms2ger/servo/util-libc, r=jdm
2015-02-20 01:42:53 -07:00
Ms2ger
125df55222
Move util to libc from crates.io.
2015-02-20 08:58:23 +01:00
bors-servo
49ff6b2ccc
auto merge of #4969 : servo/servo/parallel-paint-demo, r=glennw
...
You can enable this with `-Z show-parallel-paint`. The output looks like this:

2015-02-19 16:21:57 -07:00
Jack Moffitt
7acc0619e6
Correct usage of number of painting threads.
...
Previously this used the number of layout threads to allocate the
threadpool. This also makes the member name consistent with the rest of
the structure.
2015-02-19 16:17:55 -07:00
Jack Moffitt
923676d443
Added overlay for demoing parallel painting.
2015-02-19 16:17:55 -07:00
bors-servo
f769626dd2
auto merge of #4970 : Ms2ger/servo/js-layout, r=Manishearth
2015-02-19 13:43:00 -07:00
Ms2ger
b6483c96be
Move layout to libc from crates.io.
2015-02-19 21:38:25 +01:00
bors-servo
d94bd278a4
auto merge of #4963 : Ms2ger/servo/js-libc, r=jdm
...
Requires https://github.com/servo/rust-mozjs/pull/136 .
2015-02-19 12:03:54 -07:00
Ms2ger
63f606306d
Move js to libc from crates.io.
2015-02-19 17:42:14 +01:00
bors-servo
e0af484269
auto merge of #4962 : Ms2ger/servo/cef-libc, r=jdm
...
As it depends on the crates.io libc crate, the feature gate doesn't apply.
2015-02-19 06:45:52 -07:00
Ms2ger
35a707e287
Remove the libc feature gate from cef.
...
As it depends on the crates.io libc crate, the feature gate doesn't apply.
2015-02-19 14:42:21 +01:00
bors-servo
1e2d6c5a2d
auto merge of #4961 : Ms2ger/servo/IDLInterface, r=Manishearth
2015-02-19 03:15:52 -07:00
Ms2ger
c58213b698
Remove the Option<Self> arguments from IDLInterface.
2015-02-19 09:52:48 +01:00
Glenn Watson
451512aa29
Fixes a number of issues with setting hover state, and simplifies the code.
...
Specifically:
- Use inclusive_ancestors instead of ancestors, to detect hover on elements like divs.
- Send the mousemove event after all the hover states have been set correctly.
- Correctly handle removing hover state from elements when mouse is not over any elements.
- Correctly detect when a reflow is required (previous code failed in several edge cases).
2015-02-19 09:39:11 +10:00
awlnx
d8f1c10179
fixes issue #4103
2015-02-18 18:11:22 -05:00
bors-servo
dc31d96f65
auto merge of #4951 : glennw/servo/set-title, r=jdm
2015-02-18 14:42:49 -07:00
Glenn Watson
b7894248cf
Update rust-cocoa to get fix for setting window title.
2015-02-19 07:14:54 +10:00
bors-servo
25678f9c2f
auto merge of #4943 : thiagopnts/servo/remove-warnings, r=gw
...
Remove warning from unused import
2015-02-18 14:00:58 -07:00
bors-servo
5622366bc5
auto merge of #4930 : psdh/servo/sync, r=Manishearth
...
Fixes #4916
2015-02-18 13:18:50 -07:00
Prabhjyot Singh Sodhi
7911c0c145
Mach bootstrapping will sync modules
...
Fixes #4916
2015-02-19 01:39:27 +05:30
thiagopnts
211a1340c4
Remove 'unused import' warning
...
Add import for linux only
2015-02-18 17:57:46 -02:00
bors-servo
2e4f343aea
auto merge of #4918 : psdh/servo/conversion, r=Ms2ger
...
Fixes #4800
2015-02-18 12:15:56 -07:00
bors-servo
b70e3cc5be
auto merge of #4877 : psdh/servo/imperror, r=jdm
...
#4874
2015-02-18 11:33:55 -07:00
Prabhjyot Singh Sodhi
ca146ccfa6
Porting Gecko's JSToNativeConversionInfo changes to Servo's codegen
...
Fixes #4800
2015-02-18 19:37:17 +05:30
Glenn Watson
56eedbaebe
Change window title to reflect document title
2015-02-18 10:51:37 +10:00
bors-servo
554e1ee939
auto merge of #4949 : saneyuki/servo/xhr, r=jdm
...
Fix #4941
2015-02-17 10:45:52 -07:00
Tetsuharu OHZEKI
abd591b96e
XMLHttpRequestEventTarget should not be [NoInterfaceObject].
2015-02-18 02:38:23 +09:00
bors-servo
afb152a856
auto merge of #4947 : Ms2ger/servo/serialize, r=jdm
2015-02-17 07:30:50 -07:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
bors-servo
4ab928728e
auto merge of #4946 : Manishearth/servo/glutin_up, r=gw
...
Also moves some of our deps away from rustc's libc and onto Crates libc.
Needs:
- https://github.com/servo/rust-azure/pull/144
- https://github.com/servo/rust-xlib/pull/35
- https://github.com/servo/gleam/pull/14
- https://github.com/servo/rust-layers/pull/151
2015-02-17 00:18:49 -07:00
Manish Goregaokar
b4ae5b7edb
Fix cef/gonk deps
2015-02-17 12:45:39 +05:30
Manish Goregaokar
d13328fa80
Fix cocoa dep on libc
2015-02-17 12:10:45 +05:30
Manish Goregaokar
d06f8fa4c8
Fix bug with conversion of glutin keycode to constellation keycode
2015-02-17 11:42:57 +05:30
Manish Goregaokar
70d1c6e012
Update to latest glutin
2015-02-17 11:25:57 +05:30
bors-servo
a452652317
auto merge of #4938 : nnethercote/servo/dont-clone-bloom-filter, r=Ms2ger
...
When a cached bloom filter is found during traversal, there are two
cases, both of which currently do unnecessary allocations. This patch
avoids these allocations. In the process, it renders correct two
previously-incorrect comments, and moves one of those comments into a
better spot.
While scrolling moderately fast all the way through the "Guardians of
the Galaxy" Wikipedia page, this patch (a) avoids 1.2 million calls to
`clone()` and (b) replaces 111,000 `BloomFilter::new()` calls with
`clear()` calls.
2015-02-16 15:54:48 -07:00
Nicholas Nethercote
65cc902564
Update a comment about STYLE_BLOOM.
2015-02-16 14:02:07 -08:00
bors-servo
a848a00a1d
auto merge of #4896 : bjwbell/servo/mouse-cursor, r=glennw
...
r? @glennw
2015-02-16 14:54:49 -07:00
bors-servo
6d2e840bf4
auto merge of #4934 : glennw/servo/fix-1248, r=pcwalton
2015-02-16 14:06:52 -07:00
bors-servo
c7d3ea1c65
auto merge of #4937 : glennw/servo/pc-height, r=pcwalton
...
This allows using standard CSS techniques to place a footer at the bottom of the page.
2015-02-16 13:19:02 -07:00
bors-servo
ed7f3c8987
auto merge of #4940 : Ms2ger/servo/wpt_20150216, r=Manishearth
2015-02-16 12:18:56 -07:00
Ms2ger
92a7fee296
Update web-platform-tests.
2015-02-16 19:57:47 +01:00
Nicholas Nethercote
edf00a50fc
Avoid bloom filter churn.
...
When a cached bloom filter is found during traversal, there are two
cases, both of which currently do unnecessary allocations. This patch
avoids these allocations. In the process, it renders correct two
previously-incorrect comments, and moves one of those comments into a
better spot.
While scrolling moderately fast all the way through the "Guardians of
the Galaxy" Wikipedia page, this patch (a) avoids 1.2 million calls to
`clone()` and (b) replaces 111,000 `BloomFilter::new()` calls with
`clear()` calls.
2015-02-15 21:23:35 -08:00
Glenn Watson
984012c9e3
Support root element having percentage heights in layout. This allows using standard CSS techniques to place a footer at the bottom of the page.
2015-02-16 14:46:19 +10:00
bors-servo
ec42c01fba
auto merge of #4936 : Ms2ger/servo/InheritTypes, r=Manishearth
2015-02-15 17:18:48 -07:00