Commit graph

669 commits

Author SHA1 Message Date
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
Ms2ger
25ee5270d1 Only register the new ID from after_set_attr, and remove update_idmap. 2014-02-26 14:50:57 +01:00
Ms2ger
86899b6aaf Call unregister_named_element rather update_idmap from before_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
432e9cb3a7 Call after_remove_attr before removing the attribute, and rename it before_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
fdd17b4139 Pass a non-Option DOMString to after_remove_attr. 2014-02-26 14:50:57 +01:00
Ms2ger
58b317837b Cleanup Element::set_attribute. 2014-02-26 14:50:57 +01:00
Ms2ger
33792db657 Move ID management on binding to and unbinding from tree into Element. 2014-02-26 14:50:57 +01:00
bors-servo
7ff35c0abe auto merge of #1759 : lpy/servo/issue1743, r=Ms2ger
see #1743
2014-02-26 08:01:42 -05:00
lpy
f706123208 Move Traceable, trace_reflector from utils.rs to trace.rs.(fixes #1748) 2014-02-26 19:33:21 +08:00
lpy
b73eb563b0 Add empty text check for first child of pre in innerHTML.(fixes #1743) 2014-02-26 14:30:13 +08:00
Ms2ger
938f6baf9e Handle removing the src attribute from an img element (fixes #1469). 2014-02-25 19:33:49 +01:00
Ms2ger
9faf2c89e4 Pass the attribute value to the update_image function. 2014-02-25 19:17:58 +01:00
Ms2ger
e834e532c5 Fetch the image cache inside the update_image function. 2014-02-25 19:12:34 +01:00
Ms2ger
2639e36c78 Remove the image loading workaround from the parser. 2014-02-25 19:04:47 +01:00
bors-servo
3b9ff728fe auto merge of #1750 : Ms2ger/servo/cleanup-Bindings.conf, r=jdm 2014-02-25 09:52:33 -05:00
bors-servo
ee19709bf9 auto merge of #1746 : Ms2ger/servo/IDL-debris, r=jdm 2014-02-25 08:55:41 -05: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
Ms2ger
546a506149 Remove Gecko-specific and other commented-out code in IDL. 2014-02-25 12:41:11 +01:00
Ms2ger
2cbf7f4c7a Rewrite Document::SetTitle to use a match. 2014-02-25 09:34:29 +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
870ccd95d2 Remove DocumentTypeId. 2014-02-24 22:35:28 +01:00
Ms2ger
5ede84fa46 Remove document::DocumentType (fixes #1730). 2014-02-24 22:28:27 +01:00
Ms2ger
e2617a6396 Remove HTMLDocument. 2014-02-24 22:23:11 +01:00
Ms2ger
7190feb5e3 Move HTMLDocument members to Document. 2014-02-24 22:17:33 +01:00
Ms2ger
2c8107e811 Remove methods from IDL that don't do anything useful. 2014-02-24 22:12:04 +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
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