Ms2ger
|
23b7277b54
|
Pass &JS<Window> to reflect_dom_object.
|
2014-03-04 14:13:58 +01:00 |
|
Saurabh Anand
|
a790a566df
|
DOMParser should pass the correct contentType (fixes #1741)
|
2014-03-01 19:35:52 +05:30 |
|
Saurabh Anand
|
5c5cb3e9a7
|
Move Error, Fallible, ErrorResult out of utils.rs (fixes #1749)
|
2014-02-28 13:32:00 +05:30 |
|
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 |
|
Josh Matthews
|
625325434b
|
Implement JSManaged for DOM objects.
|
2014-02-24 15:16:42 -05:00 |
|
Ms2ger
|
59184bf6e1
|
Move DOMString into servo_util.
|
2014-02-14 12:48:51 +01: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
|
1067da7df8
|
Basic support for Document::contentType
Spec:
http://dom.spec.whatwg.org/#dom-document-contenttype
This is a subtask for #1428, #1510 and #1526.
|
2014-01-21 12:48:09 -04:00 |
|
Tetsuharu OHZEKI
|
f5ef4365f4
|
Stop passing DOMStrings via borrowed pointer. (#1201)
|
2013-11-14 20:35:36 +09:00 |
|
Ms2ger
|
80a6103f7d
|
Remove Reflectable::GetParentObject.
|
2013-11-06 21:56:47 +01:00 |
|
Ms2ger
|
53731b62ae
|
Remove Reflectable::wrap_object_shared.
|
2013-11-06 16:40:16 +01:00 |
|
Ms2ger
|
8a7448bc67
|
Rewrite Document creation and reflection.
|
2013-11-05 20:45:50 +01:00 |
|
Josh Matthews
|
99a36cbeb6
|
Make Document a Node.
|
2013-10-31 13:34:44 -04:00 |
|
Patrick Walton
|
baba35adc9
|
Revert "Make Document a Node." for breaking Acid1
This reverts commit 4e47d59165 .
Conflicts:
src/components/script/dom/domparser.rs
|
2013-10-24 15:08:09 -07:00 |
|
Ms2ger
|
4c69d748bd
|
Cleanup DOMParser binding.
|
2013-10-24 19:20:03 +02:00 |
|
Josh Matthews
|
4e47d59165
|
Make Document a Node.
|
2013-10-24 18:07:46 +02:00 |
|
Ms2ger
|
60b6d1bb57
|
Issue #1071 - Ensure that Documents always have a non-null Window.
|
2013-10-16 10:15:09 +02:00 |
|
Ms2ger
|
da2cf6cbd7
|
Implement Window::get_cx() to reduce code repetition.
|
2013-10-13 12:06:32 +02:00 |
|
Ms2ger
|
04319fdb68
|
Issue #888 - Node's owner document should never be None.
|
2013-10-10 10:57:38 +02:00 |
|
Bobby Holley
|
5ed8b9e83f
|
Rename |wrapper| to |reflector_| in Reflectable implementations for DOM objects.
|
2013-10-09 12:21:38 +02:00 |
|
Bobby Holley
|
549ac6a29b
|
Rename some local variables and shorten some lines.
This was done manually, and might benefit from a more careful review.
|
2013-10-09 12:15:56 +02:00 |
|
Bobby Holley
|
6bf740d967
|
Rename {get,set}_wrapper to {get,set}_jsobject. v1
|
2013-10-09 12:13:18 +02:00 |
|
Bobby Holley
|
62ddac8b6f
|
Rename get_wrappercache() to reflector(). v1
I also updated some variable names in the codegen.
|
2013-10-09 12:11:25 +02:00 |
|
Bobby Holley
|
2cbe2d7ce9
|
Rename WrapperCache to Reflector.
I think the abstraction from the raw JSObject is still probably worthwhile for
now.
|
2013-10-09 12:07:41 +02:00 |
|
Bobby Holley
|
0a0599ad9b
|
Rename CacheableWrapper to Reflectable.
|
2013-10-09 12:03:18 +02:00 |
|
Ms2ger
|
179582d939
|
Remove unnecessary mutability.
|
2013-10-06 09:15:38 +02:00 |
|
Ms2ger
|
c93d13b0da
|
Don't require passing a root element to Document::new (needed for issue #888).
|
2013-10-05 21:42:13 +02:00 |
|
Luis de Bethencourt
|
2dbd065d91
|
Rename the element field of the DOM Node hierarchy
Renamed htmlelement, and element
Fixes #924
|
2013-09-19 19:39:38 -04:00 |
|
Keegan McAllister
|
73c1a12f30
|
bindings: Return errors in Result rather than setting an out parameter
Fixes #909.
|
2013-09-18 18:07:37 -07:00 |
|
Josh Matthews
|
8ae725146c
|
Make Window store an @Page instead of a *Page and remove a bunch of unsafe code.
|
2013-09-12 14:45:47 -07:00 |
|
Josh Matthews
|
d31e308d3f
|
Remove many long ugly lists of imports of HTML element types. They can now be obtained via dom::types::*, which is autogenerated.
|
2013-08-27 17:38:27 -04:00 |
|
Josh Matthews
|
9a545b13c3
|
Generate bindings for HTMLHeadElement.
|
2013-08-05 11:29:12 -04:00 |
|
Josh Matthews
|
fd4efad70c
|
Generate bindings for Node, CharacterData, Text, Element, and HTMLElement. Hook up text nodes to use the new bindings.
|
2013-08-05 11:29:12 -04:00 |
|
Josh Matthews
|
5546f2105b
|
Generate HTMLDocument bindings. Introduce invariant into generated bindings that associated DOM classes are named the same as their interfaces, so Event and Event_ need to be swapped.
|
2013-07-30 16:28:02 -04:00 |
|
Tim Kuehn
|
2e6ad0a4a3
|
fix borrow check failures by reverting to storing *mut Page in window
|
2013-07-29 20:22:01 -07:00 |
|
Tim Kuehn
|
df5306e358
|
switched window.page from *mut Page to @mut Page
|
2013-07-29 14:14:31 -07:00 |
|
Tim Kuehn
|
e9888b299c
|
structural changes to support Iframes
|
2013-07-29 11:03:17 -07:00 |
|
Patrick Walton
|
bf82bc54f3
|
Separate the DOM and layout into separate crates.
|
2013-05-28 17:13:40 -07:00 |
|