1 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
4 |
|
|
5 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
6 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
7 |
|
when |{manakai_compat_mode}| is |undef|. |
8 |
|
|
9 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
10 |
|
|
11 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
12 |
|
Statements to set |$Error::Depth| are removed since they |
13 |
|
are result in "uninitialized" warnings unless |
14 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
15 |
|
Usually methods invoked in these methods does not |
16 |
|
raise any exception so that it makes no difference. |
17 |
|
|
18 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* DOMDocument.pm (adopt_node): Implemented. |
21 |
|
(doctype): Implemented. |
22 |
|
|
23 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
24 |
|
|
25 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
26 |
|
error type. |
27 |
|
|
28 |
|
* Node.pm (set_user_data): Implemented. |
29 |
|
|
30 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
33 |
|
It will be defined in the DOM Perl Binding specification |
34 |
|
as part of |DOMImplementation| interface. |
35 |
|
($HasFeature): Defined for features support. |
36 |
|
(has_feature, get_feature): Implemented. |
37 |
|
|
38 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
39 |
|
module unless necessary. |
40 |
|
(___report_error): Removed since it is not used in fact. |
41 |
|
|
42 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
43 |
|
DOMImplementationRegistry.pm: New modules. |
44 |
|
|
45 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
48 |
|
|
49 |
|
* DOMStringList.pm: New Perl module. |
50 |
|
|
51 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
54 |
|
at all. |
55 |
|
|
56 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
59 |
|
|
60 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
61 |
|
|
62 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
63 |
|
(manakai_is_html): Revised. |
64 |
|
(Document): Now it implements the |HTMLDocument| interface. |
65 |
|
(adopt_node): Alpha version. |
66 |
|
|
67 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
68 |
|
not |allowed_token|! |
69 |
|
|
70 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
71 |
|
return an |undef| even if its |attribute_definitions| |
72 |
|
list is not created. |
73 |
|
|
74 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* Comment.pm (node_type): Node type was incorrect! |
77 |
|
|
78 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
79 |
|
|
80 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
81 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
82 |
|
New autoload configuration. Note that the Message::Charset::Encode |
83 |
|
module is subject to change. |
84 |
|
|
85 |
|
* XMLParserTemp.pm: Now it can be used with new version |
86 |
|
of DOM implementation. Current plan is to replace it by |
87 |
|
an XML5 parser someday. |
88 |
|
|
89 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* DOMLocator.pm: New module. |
92 |
|
|
93 |
|
* DOMError.pm: New module. |
94 |
|
|
95 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
98 |
|
clone_node, compare_document_position, has_attributes, |
99 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
100 |
|
lookup_prefix, normalize): Implemented. |
101 |
|
|
102 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
103 |
|
|
104 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
105 |
|
|
106 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* AttributeDefinition.pm (____new): Set an empty list |
109 |
|
to the |allowed_tokens| attribute. |
110 |
|
(allowed_token): Alpha version. |
111 |
|
|
112 |
|
* DocumentType.pm (get_element_type_definition_node, |
113 |
|
get_notation_node): ALpha version. |
114 |
|
|
115 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
116 |
|
version. |
117 |
|
|
118 |
|
* Entity.pm (notation_name): Implemented. |
119 |
|
|
120 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
123 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
124 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
125 |
|
(value): Call |text_content| for now. |
126 |
|
|
127 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
128 |
|
(declared_type, default_type): Implemented. |
129 |
|
|
130 |
|
* CharacterData.pm (____new): Allow a scalar reference |
131 |
|
as an input for the |data| attribute. |
132 |
|
(base_uri, manakai_append_text): Implemented. |
133 |
|
|
134 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
135 |
|
|
136 |
|
* DOMDocument.pm (____new): Set default values to |
137 |
|
configuration parameter whose default is true. |
138 |
|
(document_uri, input_encoding): Implemented. |
139 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
140 |
|
(base_uri, manakai_append_text, |
141 |
|
manakai_entity_base_uri, strict_error_checking, |
142 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
143 |
|
|
144 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
145 |
|
(get_attribute, get_attribute_node): Alpha version. |
146 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
147 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
148 |
|
|
149 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
150 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
151 |
|
|
152 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
153 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
154 |
|
manakai_append_text): Implemented. |
155 |
|
(element_types, general_entities, notations, |
156 |
|
set_element_type_definition_node, set_general_entity_node, |
157 |
|
set_notation_node): Alpha version. |
158 |
|
|
159 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
160 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
161 |
|
|
162 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
163 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
164 |
|
manakai_entity_uri): Implemented. |
165 |
|
|
166 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
167 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
168 |
|
|
169 |
|
* Node.pm (base_uri): Implemented. |
170 |
|
(text_content): Don't check read-only or not |
171 |
|
unless |strict_error_checking|. |
172 |
|
(manakai_append_text): Implemented. |
173 |
|
(get_feature): Alpha. |
174 |
|
(manakai_set_read_only): Implemented. |
175 |
|
|
176 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
177 |
|
manakai_declaration_base_uri): Implemented. |
178 |
|
|
179 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
180 |
|
base_uri, manakai_append_text): Implemented. |
181 |
|
|
182 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* DOMConfiguration.pm: New module. |
185 |
|
|
186 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
187 |
|
an exception if the node is read-only. Delete the property |
188 |
|
if undef is specified. |
189 |
|
(prefix): Implemented. |
190 |
|
|
191 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
192 |
|
an exception if the node is read-only. Delete the property |
193 |
|
if undef is specified. |
194 |
|
(prefix): Implemented. |
195 |
|
(text_content, manakai_append_text): Old implementations are removed. |
196 |
|
|
197 |
|
* DOMCharacterData.pm (text_content): Implemented. |
198 |
|
|
199 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
200 |
|
parameter by true. |
201 |
|
(text_content): Reimplemented. |
202 |
|
(dom_config): New. |
203 |
|
|
204 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
205 |
|
|
206 |
|
* DocumentType.pm (text_content): Implemented. |
207 |
|
|
208 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
209 |
|
|
210 |
|
* Node.pm (___report_error): New method. |
211 |
|
(text_content): Implemented. |
212 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
213 |
|
|
214 |
|
* Notation.pm (text_content): Implemented. |
215 |
|
|
216 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
217 |
|
|
218 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
219 |
|
|
220 |
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
* DOMException.pm (Message::IF::DOMException): Extends |
* DOMException.pm (Message::IF::DOMException): Extends |