Commit graph

9737 commits

Author SHA1 Message Date
bors-servo
1f9c2f9b34 Auto merge of #3726 - ChrisParis:callback-constants, r=jdm
This addresses https://github.com/servo/servo/issues/3149. The immediate purpose is to support the constants in NodeFilter. The changes mostly follow the current Gecko Codegen.py. The main gist is that the generation of certain code artifacts is now gated by hasInterfaceObject() or hasInterfacePrototypeObject(), rather than by isCallback().
2015-04-13 14:34:39 -05:00
bors-servo
74c847a17f Auto merge of #5636 - JIoJIaJIu:timeline, r=jdm
Available markers only:

Reflow
DOMEvent
Also need to implement:

Style marker
Paint marker
Javascript marker
frames reply, depends on getting javascript stack
I decided to make pull request before implemented another markers for getting feedback.
mb it would be better to create separated tasks.

Notices:
Marker doesn't fill stack and stackEnd
MemoryActor sends fake data because there is no memory profiler per tab
FramerateActor sends empty Vec, need implement http://mxr.mozilla.org/mozilla-central/source/dom/base/nsGlobalWindow.cpp#5240
2015-04-13 12:44:49 -05:00
bors-servo
c42c2ae9b5 Auto merge of #5661 - Ms2ger:cef, r=jdm 2015-04-13 09:17:44 -05:00
Guro Bokum
97714ec5ed Firefox timeline integration #4957 2015-04-13 21:08:07 +07:00
bors-servo
d16b102416 Auto merge of #5662 - Ms2ger:cef-core, r=larsbergstrom
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5662)
<!-- Reviewable:end -->
2015-04-13 08:45:22 -05:00
Ms2ger
066cf8e706 Remove some as_slice calls in cef. 2015-04-13 14:58:49 +02:00
Ms2ger
de94e39ff7 Stop using int/uint in CEF. 2015-04-13 14:11:17 +02:00
bors-servo
1e45d025b3 Auto merge of #5645 - nox:treeiterator-temporary, r=Ms2ger 2015-04-13 04:52:32 -05:00
Anthony Ramine
e20d997b37 Use a simple Temporary value in TreeIterator 2015-04-13 11:01:02 +02:00
Anthony Ramine
c026825e69 Pass a RootedVec to NodeList::new_simple_list() 2015-04-13 11:00:04 +02:00
bors-servo
9d027bab0a Auto merge of #5657 - josiahdaniels:issue5654, r=jdm
Also: Rename window_for_script_dealloation to window_for_script_deallocation

#5654
2015-04-13 00:03:00 -05:00
josiahdaniels
5e90299450 Use Page::window_for_script_deallocation in ScriptMemoryFailsafe
Also: Rename window_for_script_dealloation to window_for_script_deallocation
2015-04-12 17:38:38 -04:00
Simon Sapin
8ff83e2e59 Merge pull request #5656 from Jayflux/master
Updating documentation for virtualbox users
2015-04-12 21:31:02 +02:00
Jason Williams
7f2fd26f5a Update README.md
adding link for issue ticket
2015-04-12 20:29:25 +01:00
Jason Williams
d117d07f6c Update README.md
Adding virtualbox note to switch off 3D acceleration
2015-04-12 20:26:44 +01:00
bors-servo
d2522ea8bf Auto merge of #5647 - Ms2ger:remove_inline_style_property, r=Manishearth
It makes little sense to use map() in a case where we don't care about the
return value.
2015-04-12 13:45:28 -05:00
bors-servo
b019df8927 Auto merge of #5633 - jdm:codegencleanup, r=Ms2ger
r? @Ms2ger
2015-04-12 03:37:05 -05:00
bors-servo
21e68a3b78 Auto merge of #5651 - josiahdaniels:issue5580, r=Ms2ger
Reenable this test now that we support iframe load events.

#5580
2015-04-12 03:05:24 -05:00
josiahdaniels
c54c7ccd7f Enable getElementsByClassName-31.htm test 2015-04-12 00:47:09 -04:00
bors-servo
9754c4c255 Auto merge of #5576 - jagtalon:jag/slashdot-storage, r=jdm
Use `and_then` and remove `unwrap` instead of using a `map` as described in https://github.com/servo/servo/issues/5548#issuecomment-90254644.

Fixes #5548
2015-04-11 18:13:16 -05:00
Jag Talon
6d4afaa5cc tests/content/test_storage.html: Add harness.js 2015-04-11 17:16:16 -04:00
Jag Talon
33d28aa969 Add tests/content/test_storage.html 2015-04-11 17:12:38 -04:00
Chris Paris
d2b0d5e040 Support callback interfaces with constants. 2015-04-11 09:34:44 -10:00
Ms2ger
bbe494acde Use if let remove_inline_style_property.
It makes little sense to use map() in a case where we don't care about the
return value.
2015-04-11 21:30:56 +02:00
bors-servo
f017a4459c Auto merge of #5634 - pcwalton:fix-scrolling-perf, r=metajack
This goes hand in hand with servo/glutin#18 to get our scrolling performance back on Mac.

r? @glennw
2015-04-11 11:02:32 -05:00
bors-servo
f90959d828 Auto merge of #5644 - ChrisParis:nodefilter-typo, r=saneyuki 2015-04-11 06:22:25 -05:00
Chris Paris
f51218eb20 Fix typo in NodeFilter.webidl 2015-04-10 18:38:09 -10:00
bors-servo
22e570a06e Auto merge of #5553 - luniv:css-rule-iterators, r=SimonSapin 2015-04-10 19:17:49 -05:00
bors-servo
10c68e7519 Auto merge of #5641 - pcwalton:absolute-auto-height, r=mbrubeck
Improves "Edit links" on the Wikipedia sidebar.

r? @mbrubeck
2015-04-10 17:44:01 -05:00
James Gilbertson
f9b5de75f2 fixup! Use iterators for iterating through CSS rules
Update the media queries unit tests to use iterators
2015-04-10 16:36:44 -06:00
Patrick Walton
002d0672ba layout: Fix some whitespace. 2015-04-10 15:33:40 -07:00
Patrick Walton
2f3b3eb4c4 layout: Include padding in the content block-size when computing the
block-size value when `height: auto` is specified for
absolutely-positioned elements.

Improves "Edit links" on the Wikipedia sidebar.
2015-04-10 15:33:07 -07:00
Patrick Walton
9f3b308381 glutin: Decrease the scrolling speed. 2015-04-10 10:39:53 -07:00
Patrick Walton
aee7f5772e glutin: Stop recompositing every time the event loop is kicked awake. 2015-04-10 10:39:52 -07:00
Patrick Walton
fd352323e0 compositing: Fix some whitespace issues and use if let in some more
places.
2015-04-10 10:39:51 -07:00
Patrick Walton
b4b3cbccf7 compositing: Keep the event loop awake when scrolling. 2015-04-10 10:39:50 -07:00
Patrick Walton
9e3e361b84 compositing: Record the reason for each composite, for debugging. 2015-04-10 10:39:48 -07:00
bors-servo
a8b0fb1e79 Auto merge of #5592 - mbrubeck:focusable, r=jdm
This begins implementing parts of the [focusing steps](https://html.spec.whatwg.org/multipage/interaction.html#focusing-steps) algorithm. r? @jdm or @Ms2ger
2015-04-10 12:25:42 -05:00
Matt Brubeck
4e63a5063e Don't allow disabled fields to be focused 2015-04-10 10:16:06 -07:00
Josh Matthews
9619390ece Clean up CGImports a bit more. 2015-04-10 10:31:44 -04:00
bors-servo
35fb516662 Auto merge of #5632 - Ms2ger:runtime, r=jdm 2015-04-10 08:44:38 -05:00
bors-servo
9677eb292d Auto merge of #5631 - Ms2ger:virtual-file, r=jdm 2015-04-10 08:14:16 -05:00
Ms2ger
95e4e25924 Move Runtime to rust-mozjs. 2015-04-10 14:53:24 +02:00
Ms2ger
2a5119ff37 Add rt and cx methods to Runtime. 2015-04-10 14:53:22 +02:00
Ms2ger
24ef5baf66 Create a Runtime struct to manage JSRuntime and JSContext.
I intend to move this struct into rust-mozjs, but I kept it here for easier
iteration for now.
2015-04-10 14:53:21 +02:00
Ms2ger
d46db6d7f1 Resume tracing our collections of roots.
The second JS_SetExtraGCRootsTracer call clobbered the first, so
trace_collections was no longer being called.
2015-04-10 14:53:18 +02:00
bors-servo
6903955b98 Auto merge of #5558 - aneeshusa:remove-compositor-dependency-on-net, r=jdm
Move the ImageCacheTaskClient trait and impl to net_traits. Fixes #5551.
2015-04-10 07:41:54 -05:00
bors-servo
ec417a84b1 Auto merge of #5621 - frewsxcv:more-spec, r=jdm
None
2015-04-10 05:44:35 -05:00
bors-servo
7d3ba8c7e2 Auto merge of #5617 - nox:wholetext, r=jdm 2015-04-10 05:13:53 -05:00
Aneesh Agrawal
d3dacd0816 Update dependency for image_cache_task.rs unit tests. 2015-04-10 06:11:31 -04:00