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
bors-servo
951672e8d0
auto merge of #1735 : tgkokk/servo/python-write-bytecode, r=kmcallister
...
Forgot to actually claim #922 . I hope no one is working on it.
I removed `PYTHONDONTWRITEBYTECODE=1` from every relevant file and I added code for removing `*.pyc` files in `clean-script` in `mk/clean.mk`. You might want to move the main logic into a function like `REMOVE_PYC_FILES`, since the files will exist eventually in other trees under `/src`. I used `find` in order to find all `*.pyc` files, since they might be in other subdirectories.
This is my first PR, so feel free to give me any feedback you might think is necessary.
2014-02-24 14:13:52 -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
Ms2ger
b745469581
Remove commented-out parts of Document.webidl and HTMLDocument.webidl.
2014-02-22 13:24:19 +01:00
Youngmin Yoo
5ea247253e
Support object element data.
2014-02-20 17:31:21 +09:00
Youngmin Yoo
13f9a66632
Impl Basic support for object element
2014-02-20 17:31:16 +09:00
Youngmin Yoo
7b56e75adb
Support base_url in stylesheet
2014-02-19 17:23:50 +09:00
Josh Matthews
70e8a5e90f
Ensure id attributes on elements only affect elements present in a document.
2014-02-18 15:12:00 -05:00
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
bors-servo
8f63dff8f8
auto merge of #1667 : brunoabinader/servo/dom-element-refs, r=jdm
...
This is a sub-task for #1660 .
2014-02-18 13:35:16 -05:00
Ms2ger
6681476713
Use push_str instead of operator + for efficiency.
2014-02-16 10:25:12 +01:00
Ms2ger
e45b7fa22d
Use eq() and eq_slice() less, and map_default() more.
2014-02-16 10:24:24 +01:00
Ms2ger
ecc07e3b49
Use DOMString instead of ~str in a few places.
2014-02-16 10:22:47 +01: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
Ms2ger
0f5c9a35b9
Use DOMString more consistently.
2014-02-13 19:32:59 +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
93e539d636
Fixed FIXME message as pointed out by jdm
2014-02-11 09:45:05 -04:00
Bruno de Oliveira Abinader
9b56e2cc09
Added refs to live HTMLCollections issue
2014-02-11 09:35:52 -04:00
Bruno de Oliveira Abinader
7f5e27fd9d
Added refs to Element's DOM spec
...
This is a sub-task for #1660 .
2014-02-11 09:27:45 -04:00
Bruno de Oliveira Abinader
6fde4f82e7
Added refs to Document's DOM spec
2014-02-10 17:17:07 -04:00
Bruno de Oliveira Abinader
b46de88a2b
Added missing refs to DOM spec
...
This is a sub-task for #1655 .
2014-02-10 11:40:43 -04: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
HyunJune Kim
c8d503898a
This is implement Hover Event. If over element, currently full reflow. after PR, will make partial reflow.
2014-02-10 11:16:07 +09:00
HyunJune Kim
d2f8b593a9
compositor can get mouse point from window event
2014-02-10 11:14:29 +09: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
bors-servo
77f52c705d
auto merge of #1637 : Ms2ger/servo/get_rootable, r=pcwalton
2014-02-08 09:52:42 -05:00
bors-servo
fe1bb6a325
auto merge of #1608 : SimonSapin/servo/url, r=metajack
...
Align with spec terminology.
2014-02-07 14:31:35 -05:00
Ms2ger
5765de12cd
Remove unused Reflector::get_rootable.
2014-02-07 13:04:31 +01:00
bors-servo
14ee9218e4
auto merge of #1634 : brunoabinader/servo/document-fromnode, r=jdm
...
TSIA.
@jdm mentioned to use ```AbstractDocument::from_box``` internally, though.
2014-02-06 15:46:41 -05:00
Bruno de Oliveira Abinader
b19e31942e
Provide AbstractDocument::from_node(node: AbstractNode)
...
TSIA.
2014-02-06 16:33:16 -04: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
Bruno de Oliveira Abinader
a6c897e445
Implement document.characterSet
...
Spec:
http://dom.spec.whatwg.org/#dom-document-characterset
This is a sub-task for #1428 .
2014-02-06 07:46:24 -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
Simon Sapin
33f8ef618b
Rename make_url/current_url to parse_url/base_url, to align with spec terminology.
2014-02-01 17:51:15 +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
56572a2814
Implement document.compatMode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-30 19:12:19 -04:00
bors-servo
572959c3e6
auto merge of #1583 : brunoabinader/servo/document-url, r=Ms2ger
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 08:58:40 -08:00
Bruno de Oliveira Abinader
43416ef91f
Implement document.URL & document.documentURI
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 10:41:24 -04: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
Tetsuharu OHZEKI
c95bb6403c
Make Node::{remove, insert} take a descriptive enum for suppress_observers instead of a boolean.
2014-01-29 20:13:12 +09:00
Patrick Walton
9c3af574e5
layout: Perform cascading in parallel.
...
Speeds up the cascade by 3x.
2014-01-27 14:41:52 -08:00
Simon Sapin
5ae7aad6e2
Make Namespace::to_str() return a string.
2014-01-25 12:23:11 -08:00