Brendan Zabarauskas
520675b237
Make move mutation out of compute_minimum_ascent_and_descent
2014-06-20 10:06:50 -07:00
Brendan Zabarauskas
61216c301d
Use Option functions to make logic clearer
2014-06-20 10:06:50 -07:00
Brendan Zabarauskas
a351710004
Use iterators to make some logic clearer
2014-06-20 10:06:50 -07:00
Ms2ger
5acbea5199
Pass the interface object-related arguments to CreateInterfaceObjects2 together in an Option.
...
This clarifies the code and fixes our support of NoInterfaceObject interfaces.
2014-06-20 18:47:31 +02:00
Ms2ger
f11e7ee0a9
Generate code for NoInterfaceObject interfaces in InterfaceTypes and InheritTypes.
...
There is no reason for those interfaces to be excluded.
2014-06-20 17:52:20 +02:00
Lars Bergstrom
1a8d1edf43
Merge pull request #2679 from larsbergstrom/IRC_notifications
...
Enable IRC notifications from Travis CI
2014-06-20 10:33:51 -05:00
Ms2ger
c8b8550cfb
Correct the condition for generating CGGetConstructorObjectMethod.
...
As we don't actually implement the feature for which this is needed, I've
commented the call out for now and mentioned the issue for the feature.
2014-06-20 15:20:19 +02:00
Lars Bergstrom
0118ef5960
Enable IRC notifications from Travis CI
2014-06-20 08:03:33 -05:00
Josh Matthews
2c0b6e4962
Merge pull request #2658 from saneyuki/xhr
...
Use internal mutability for XMLHttpRequest.
2014-06-20 12:47:43 +01:00
Josh Matthews
040a43778e
Merge pull request #2664 from Manishearth/untraceable
...
Use Traceable for primitive types, DOMString, and NodeFlags
2014-06-20 11:03:10 +01:00
Josh Matthews
bab4cbae4c
Merge pull request #2669 from Manishearth/wpt_up
...
Update to latest wpt
2014-06-20 11:01:27 +01:00
Josh Matthews
a377d3b202
Merge pull request #2670 from fdipilla/ticket#2150
...
Added path space support (Fixes #2150 )
2014-06-20 11:01:09 +01:00
Josh Matthews
0395558343
Merge pull request #2663 from saneyuki/trace_comment
...
Mention the usecase of Traceable/Untraceable.
2014-06-20 11:00:37 +01:00
Tetsuharu OHZEKI
7c4200fc74
Use internal mutability for XMLHttpRequest.
2014-06-20 18:55:36 +09:00
Josh Matthews
f852fc7d86
Merge pull request #2678 from Ms2ger/CreateInterfaceObjects2-protoClass
...
Stop pretending that CreateInterfaceObjects2 can return the interface object.
2014-06-20 10:21:20 +01:00
Ms2ger
d7c4f2ba93
Stop pretending that CreateInterfaceObjects2 can return the interface object.
...
We do not currently support the case of a non-callback interface that doesn't
have an interface prototype object. (This case is not allowed by the WebIDL
specification; it was added to Gecko to allow feature-detecting the URL
interface. See <https://bugzilla.mozilla.org/show_bug.cgi?id=1026720 >.)
It follows that, if we call CreateInterfaceObjects2 at all, we will call it
with a protoClass argument, so there is no reason to use a nullable pointer
type for that argument.
Moreover, if we had actually supported that case, the returned interface
object would have been stored in the interface prototype object cache, to ill
effect.
2014-06-20 10:33:47 +02:00
Josh Matthews
9eff8b458f
Merge pull request #2668 from Ms2ger/CreateInterfaceObjects-failures
...
Handle JSAPI OOM failures by task failure as soon as possible.
2014-06-20 09:28:59 +01:00
Ms2ger
5a1ed6396e
Handle JSAPI OOM failures by task failure as soon as possible.
...
We already ensure to fail the task if GetProtoObject returns null, as we don't
have a useful way to handle OOM, and we don't wish to thread the failure
through to some place where we could handle it in a useful way.
Unfortunately, we cannot ensure through the type system that none of those
functions returns null, so we use assertions to check it dynamically.
2014-06-20 09:46:12 +02:00
Josh Matthews
32025fd2e5
Merge pull request #2656 from Manishearth/xhr-terminate
...
Request termination for XHR
2014-06-20 08:27:00 +01:00
Manish Goregaokar
f558f9aad0
Request termination for XHR
2014-06-19 22:37:33 +05:30
Jack Moffitt
54f01aa4f4
Merge pull request #2671 from larsbergstrom/new_snapshots
...
Update to use snapshot builds
2014-06-19 09:43:48 -06:00
Lars Bergstrom
94415ce996
Update snapshots to also build/test on OSX
2014-06-19 07:56:17 -05:00
Brendan Zabarauskas
6d3687a613
Divide check-ref targets into check-ref-cpu and check-ref-gpu
...
This allows us to run the CPU and GPU tests individually
2014-06-18 20:45:37 -05:00
Brian Anderson
b13d93b83b
Fix typos
2014-06-18 17:35:20 -07:00
Brian Anderson
e783666a19
Add a command line option (-n) to use native threading, for testing.
...
I added this to test the impact of green threading.
2014-06-18 17:35:20 -07:00
Brian Anderson
b6c9b65355
Allow render threads to be specified with -t
2014-06-18 17:35:20 -07:00
Brian Anderson
95a57dfced
Render in parallel
2014-06-18 17:35:20 -07:00
bors-servo
bace9fb485
auto merge of #2660 : glennw/servo/mako-warnings, r=jdm
2014-06-18 12:26:18 -04:00
bors-servo
2c7af54952
auto merge of #2657 : Ms2ger/servo/geckoisms, r=jdm
2014-06-18 11:11:25 -04:00
fdipilla
c8841f135e
Added path space support ( Fixes #2150 )
2014-06-18 11:14:36 -03:00
Manish Goregaokar
2f6334d19c
Update to latest wpt
2014-06-18 14:54:08 +05:30
Martin Robinson
22ea9a634c
Add overflow to child layer size
...
When creating child layers it is important to consider overflow when
determining the size of the layer. This also means that overflow should
not be too large, so also shrink block width down to the size of their
contained fragment. This means that a block that has been explicitly
sized to width:100px should be 100 pixels wide instead of the width of
its containing block.
2014-06-17 17:23:40 -07:00
Manish Goregaokar
53d0e4ec04
Use Traceable for NodeFlags
2014-06-16 22:04:17 +05:30
Manish Goregaokar
ee56b45a8c
Use Traceable for primitive types and DOMString
2014-06-16 21:59:01 +05:30
Tetsuharu OHZEKI
2477e6feac
Mention the usecase of Traceable/Untraceable.
2014-06-17 01:28:59 +09:00
Glenn Watson
c14eede06b
Remove compiler warnings from generated mako templates.
2014-06-16 09:12:24 +10:00
Ms2ger
90b6c77666
Remove unused code to support preffed-off and chrome-only APIs.
2014-06-14 13:14:34 +02:00
bors-servo
dae6ad409d
auto merge of #2655 : Ms2ger/servo/warnings, r=jdm
2014-06-13 18:49:47 -04:00
Ms2ger
bb0efdd5a2
Make some locals immutable.
2014-06-13 21:41:28 +02:00
bors-servo
239fa77dd5
auto merge of #2653 : Ms2ger/servo/docs, r=Ms2ger,metajack
2014-06-13 15:01:54 -04:00
bors-servo
7ed5041891
auto merge of #2649 : ebalint/servo/2580_JS_T_unrooted_replace, r=jdm
...
removed .clone() calls
modified from_rooted method parameter: T to &T
2014-06-13 14:33:03 -04:00
bors-servo
c0576108c5
auto merge of #2585 : ebalint/servo/2530, r=jdm
2014-06-13 14:04:45 -04:00
Ms2ger
d2707d3344
Correct formatting in documentation in js.rs.
2014-06-13 19:34:18 +02:00
Ms2ger
db5badd36f
Add some blank lines to ensure rustdoc picks up the lists.
2014-06-13 19:33:19 +02:00
Ms2ger
7b35e11626
Use '//!' rather than '///' for the overview comment in js.rs.
2014-06-13 19:33:19 +02:00
bors-servo
65e5896894
auto merge of #2654 : Ms2ger/servo/reflector-cell, r=jdm
2014-06-13 13:29:39 -04:00
Edit Balint
94ec3cde8a
Split Page code out of script_task.rs #2530
2014-06-13 19:28:57 +02:00
Ms2ger
e09ed14362
Remove Reflectable::mut_reflector.
2014-06-13 19:19:58 +02:00
Ms2ger
c331b200b1
Use Cell for Reflector::object.
2014-06-13 19:19:56 +02:00
Edit Balint
bda29ade09
Replace uses of JS<T>.unrooted() with JS::from_rooted #2580
2014-06-13 19:06:28 +02:00