Ms2ger
d3ca4afaf5
Get the Page directly off the Window in CreateBindingJSObject.
2014-03-04 15:17:12 +01:00
Ms2ger
787108deaf
Pass &JS<Window> to the Wrap functions in codegen.
2014-03-04 15:08:44 +01:00
Ms2ger
23b7277b54
Pass &JS<Window> to reflect_dom_object.
2014-03-04 14:13:58 +01:00
Ms2ger
6291aac170
Pass &JS<Window> to some constructors.
2014-03-04 14:10:33 +01:00
Ms2ger
b6138580d3
Stop passing the scope argument to global object bindings' Wrap functions.
2014-03-04 13:24:16 +01:00
Ms2ger
12380edc63
Merge the Wrap and Wrap_ functions in codegen.
2014-03-04 13:17:36 +01:00
Ms2ger
3530f1e107
Remove support for external (i.e. XPIDL) interfaces.
2014-03-03 19:49:08 +01:00
bors-servo
b8de1b3ca7
auto merge of #1791 : Ms2ger/servo/conversions, r=jdm
2014-03-03 13:13:35 -05:00
Ms2ger
ec935eca0f
Remove unused argument to CreateInterfaceObject and now unused code.
2014-03-03 16:10:43 +01:00
Ms2ger
bec0dcd023
Remove unused argument to CreateInterfaceObjects2.
2014-03-03 16:00:49 +01:00
Ms2ger
87715c14e1
Reimplement conversion to primitive types for correctness in the face of non-primitive arguments.
2014-03-02 22:56:07 +01:00
Ms2ger
6bc2c79f92
Pass a JSContext to JSValConvertible::from_jsval.
2014-03-02 22:30:54 +01:00
Josh Matthews
fa542e5de7
De-@mut the script crate.
2014-02-28 13:42:03 -05:00
Saurabh Anand
5c5cb3e9a7
Move Error, Fallible, ErrorResult out of utils.rs ( fixes #1749 )
2014-02-28 13:32:00 +05:30
Patrick Walton
3c288a5b80
layout: Stop racing on the JSManaged borrow flags
2014-02-27 11:23:06 -08:00
bors-servo
421ba1a856
auto merge of #1736 : sankha93/servo/issue1733, r=jdm
2014-02-26 17:52:36 -05:00
Sankha Narayan Guria
1e9fec9172
Merge master into this branch
2014-02-27 03:31:05 +05:30
lpy
f706123208
Move Traceable, trace_reflector from utils.rs to trace.rs.( fixes #1748 )
2014-02-26 19:33:21 +08:00
Ms2ger
1c49319173
Remove support for some more obsolete configurations.
2014-02-25 14:41:17 +01:00
Ms2ger
3c7f9832f0
Remove support for workers-specific codegen.
2014-02-25 14:28:27 +01:00
Ms2ger
c96c7bab12
Remove support for some more obsolete configurations.
2014-02-25 13:45:58 +01:00
Ms2ger
8360aa24d6
Remove support for some obsolete configurations.
2014-02-25 13:30:36 +01:00
Ms2ger
8429df46cc
Remove dead code from Bindings.conf.
2014-02-25 13:19:28 +01:00
bors-servo
df993fdaf3
auto merge of #1689 : jdm/servo/unions, r=kmcallister
...
Seven hours on a train without internet will do this to you. Fixes #541 .
2014-02-24 20:01:39 -05:00
Josh Matthews
232ca59708
Address review comments. Fix union conversion result mistakes introduced in refactoring.
2014-02-24 17:20:37 -05:00
Josh Matthews
02d2ec5ccd
Make JSVal conversions actually fallible.
2014-02-24 17:18:47 -05:00
Ms2ger
e2617a6396
Remove HTMLDocument.
2014-02-24 22:23:11 +01:00
Josh Matthews
4cdb4df70c
Remove commented bits that aren't necessary.
2014-02-24 15:56:38 -05:00
Josh Matthews
9f05f70754
Clean up TrySetTo interface to avoid mutable outrefs.
2014-02-24 15:56:38 -05:00
Josh Matthews
d590a327bd
Implement WebIDL union support.
2014-02-24 15:56:38 -05:00
Josh Matthews
d0bfdbf150
Initial unmodified dump of Gecko's union codegen.
2014-02-24 15:56:38 -05:00
bors-servo
ffcf3b2905
auto merge of #1591 : jdm/servo/jsmanaged, r=Ms2ger
2014-02-24 15:19:51 -05:00
Josh Matthews
625325434b
Implement JSManaged for DOM objects.
2014-02-24 15:16:42 -05:00
tgkokk
cd36b7e0f6
Fix #922 : Bindings generator generates .pyc files
2014-02-24 21:02:05 +02:00
Sankha Narayan Guria
47e6e6ec8f
Be more explicit in casts of generated bindings
2014-02-23 03:03:48 +05:30
bors-servo
edd7e32fdb
auto merge of #1602 : pcwalton/servo/more-inlines, r=jdm
...
9% improvement in style recalc on the rainbow page.
r? @jdm
2014-02-18 14:08:12 -05:00
Ms2ger
68f534c45a
Use DOMString in a few more places in utils.rs.
2014-02-16 09:50:29 +01:00
Ms2ger
6cc8a4dfba
Simplify string construction in InterfaceObjectToString.
2014-02-16 09:50:10 +01:00
Adam Sinnett
ffcd3833de
Change Text, Comment and ProcessingInstructions parent name from element to characterdata
...
All other node's parent type names reflect the actual type of the parent. This change extends that convention to the indicated nodes.
closes #1594
2014-02-15 13:52:33 -08:00
Ms2ger
59184bf6e1
Move DOMString into servo_util.
2014-02-14 12:48:51 +01:00
bors-servo
1662e7a02f
auto merge of #1666 : ozten/servo/issue-506-add-basic-console, r=Ms2ger
...
Here is an attempt to fix Issue#506.
I couldn't figure out how to do variadic arguments to `console.log`, but I did test calling `console.log('foo', 'bar', 'baz')` and it prints the first argument and doesn't error out, which is nice.
window.console is not a web standards. I did the popular functions, but not some of the newer ones documented [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/console ).
This PR will allow more pages to load properly, where developers have left in window.console calls.
2014-02-11 13:01:50 -05:00
Austin King
b1b481f3f3
Adding most commonly used parts of window.console. Fixes Issue#506. r=Ms2ger
2014-02-11 09:55:29 -08:00
Bruno de Oliveira Abinader
4d4495b015
Implement Node.isEqualNode
...
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode
Closes #1645 .
2014-02-10 11:01:12 -04:00
Bruno de Oliveira Abinader
99b3b144d4
Implement Node.contains
...
Spec:
http://dom.spec.whatwg.org/#dom-node-contains
Closes #1647 .
2014-02-09 10:39:07 -04:00
Ms2ger
5765de12cd
Remove unused Reflector::get_rootable.
2014-02-07 13:04:31 +01:00
Bruno de Oliveira Abinader
ac8c659d2b
Implement document.createProcessingInstruction
...
Spec:
http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
This is a sub-task for #1428 .
2014-02-06 16:11:31 -04:00
Bruno de Oliveira Abinader
aa4b5bb948
Implement ProcessingInstruction DOM interface
...
Spec:
http://dom.spec.whatwg.org/#interface-processinginstruction
Closes #1619 .
2014-02-06 14:41:55 -04:00
Adrien Bustany
2254a9e923
script: Pass the correct parent node to pre_insert in insertBefore
...
Closes #1572 .
2014-02-05 16:27:22 +01:00
Patrick Walton
a0fbc04ba5
script: Inline some hot functions used in flow constructions.
...
9% improvement in style recalc on the rainbow page.
2014-01-30 18:05:12 -08:00
Bruno de Oliveira Abinader
0c6de1bb34
Basic skeleton for DOMException
...
Spec:
http://dom.spec.whatwg.org/#domexception
This is a subtask for #1542 .
2014-01-29 14:58:22 -04:00