1 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
4 |
|
(data): Reimplemented. |
5 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
6 |
|
a number of bugs. |
7 |
|
|
8 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
9 |
|
|
10 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* StringExtended.pm: New Perl module. |
13 |
|
|
14 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
15 |
|
insert_data, replace_data, substring_data): Implemented. |
16 |
|
|
17 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
18 |
|
|
19 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
20 |
|
split_text): Implemented. |
21 |
|
|
22 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
23 |
|
|
24 |
|
* DOMElement.pm (attributes): Implemented. |
25 |
|
|
26 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
27 |
|
|
28 |
|
* DocumentType.pm (entities, general_entities, |
29 |
|
notations, element_types): Implemented. |
30 |
|
|
31 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
32 |
|
|
33 |
|
* NamedNodeMap.pm: New Perl module. |
34 |
|
|
35 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
38 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
39 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
40 |
|
insert_before, replace_child): Implemented. |
41 |
|
|
42 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
43 |
|
|
44 |
|
* Node.pm (remove_child): Implemented. |
45 |
|
|
46 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
47 |
|
|
48 |
|
* Node.pm (==, is_equal_node): Implemented. |
49 |
|
(is_same_node): Implemented. |
50 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
51 |
|
(is_supported): Implemented. |
52 |
|
|
53 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
56 |
|
(create_document): Implemented. |
57 |
|
|
58 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
59 |
|
errors. |
60 |
|
(QNAME_NULLNS_ERR): New errors. |
61 |
|
|
62 |
|
* DocumenType.pm (create_document_type): Implemented. |
63 |
|
|
64 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
67 |
|
|
68 |
|
* DOMElement.pm (has_attribute): Alpha version. |
69 |
|
(create_element, create_element_ns): Implemented. |
70 |
|
|
71 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
72 |
|
|
73 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
74 |
|
|
75 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
76 |
|
|
77 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
80 |
|
|
81 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
82 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
83 |
|
when |{manakai_compat_mode}| is |undef|. |
84 |
|
|
85 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
86 |
|
|
87 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
88 |
|
Statements to set |$Error::Depth| are removed since they |
89 |
|
are result in "uninitialized" warnings unless |
90 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
91 |
|
Usually methods invoked in these methods does not |
92 |
|
raise any exception so that it makes no difference. |
93 |
|
|
94 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* DOMDocument.pm (adopt_node): Implemented. |
97 |
|
(doctype): Implemented. |
98 |
|
|
99 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
100 |
|
|
101 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
102 |
|
error type. |
103 |
|
|
104 |
|
* Node.pm (set_user_data): Implemented. |
105 |
|
|
106 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
109 |
|
It will be defined in the DOM Perl Binding specification |
110 |
|
as part of |DOMImplementation| interface. |
111 |
|
($HasFeature): Defined for features support. |
112 |
|
(has_feature, get_feature): Implemented. |
113 |
|
|
114 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
115 |
|
module unless necessary. |
116 |
|
(___report_error): Removed since it is not used in fact. |
117 |
|
|
118 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
119 |
|
DOMImplementationRegistry.pm: New modules. |
120 |
|
|
121 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
122 |
|
|
123 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
124 |
|
|
125 |
|
* DOMStringList.pm: New Perl module. |
126 |
|
|
127 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
130 |
|
at all. |
131 |
|
|
132 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
135 |
|
|
136 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
139 |
|
(manakai_is_html): Revised. |
140 |
|
(Document): Now it implements the |HTMLDocument| interface. |
141 |
|
(adopt_node): Alpha version. |
142 |
|
|
143 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
144 |
|
not |allowed_token|! |
145 |
|
|
146 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
147 |
|
return an |undef| even if its |attribute_definitions| |
148 |
|
list is not created. |
149 |
|
|
150 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
151 |
|
|
152 |
|
* Comment.pm (node_type): Node type was incorrect! |
153 |
|
|
154 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
155 |
|
|
156 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
157 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
158 |
|
New autoload configuration. Note that the Message::Charset::Encode |
159 |
|
module is subject to change. |
160 |
|
|
161 |
|
* XMLParserTemp.pm: Now it can be used with new version |
162 |
|
of DOM implementation. Current plan is to replace it by |
163 |
|
an XML5 parser someday. |
164 |
|
|
165 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* DOMLocator.pm: New module. |
168 |
|
|
169 |
|
* DOMError.pm: New module. |
170 |
|
|
171 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
174 |
|
clone_node, compare_document_position, has_attributes, |
175 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
176 |
|
lookup_prefix, normalize): Implemented. |
177 |
|
|
178 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
179 |
|
|
180 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
181 |
|
|
182 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* AttributeDefinition.pm (____new): Set an empty list |
185 |
|
to the |allowed_tokens| attribute. |
186 |
|
(allowed_token): Alpha version. |
187 |
|
|
188 |
|
* DocumentType.pm (get_element_type_definition_node, |
189 |
|
get_notation_node): ALpha version. |
190 |
|
|
191 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
192 |
|
version. |
193 |
|
|
194 |
|
* Entity.pm (notation_name): Implemented. |
195 |
|
|
196 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
197 |
|
|
198 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
199 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
200 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
201 |
|
(value): Call |text_content| for now. |
202 |
|
|
203 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
204 |
|
(declared_type, default_type): Implemented. |
205 |
|
|
206 |
|
* CharacterData.pm (____new): Allow a scalar reference |
207 |
|
as an input for the |data| attribute. |
208 |
|
(base_uri, manakai_append_text): Implemented. |
209 |
|
|
210 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
211 |
|
|
212 |
|
* DOMDocument.pm (____new): Set default values to |
213 |
|
configuration parameter whose default is true. |
214 |
|
(document_uri, input_encoding): Implemented. |
215 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
216 |
|
(base_uri, manakai_append_text, |
217 |
|
manakai_entity_base_uri, strict_error_checking, |
218 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
219 |
|
|
220 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
221 |
|
(get_attribute, get_attribute_node): Alpha version. |
222 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
223 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
224 |
|
|
225 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
226 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
227 |
|
|
228 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
229 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
230 |
|
manakai_append_text): Implemented. |
231 |
|
(element_types, general_entities, notations, |
232 |
|
set_element_type_definition_node, set_general_entity_node, |
233 |
|
set_notation_node): Alpha version. |
234 |
|
|
235 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
236 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
237 |
|
|
238 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
239 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
240 |
|
manakai_entity_uri): Implemented. |
241 |
|
|
242 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
243 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
244 |
|
|
245 |
|
* Node.pm (base_uri): Implemented. |
246 |
|
(text_content): Don't check read-only or not |
247 |
|
unless |strict_error_checking|. |
248 |
|
(manakai_append_text): Implemented. |
249 |
|
(get_feature): Alpha. |
250 |
|
(manakai_set_read_only): Implemented. |
251 |
|
|
252 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
253 |
|
manakai_declaration_base_uri): Implemented. |
254 |
|
|
255 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
256 |
|
base_uri, manakai_append_text): Implemented. |
257 |
|
|
258 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
259 |
|
|
260 |
|
* DOMConfiguration.pm: New module. |
261 |
|
|
262 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
263 |
|
an exception if the node is read-only. Delete the property |
264 |
|
if undef is specified. |
265 |
|
(prefix): Implemented. |
266 |
|
|
267 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
268 |
|
an exception if the node is read-only. Delete the property |
269 |
|
if undef is specified. |
270 |
|
(prefix): Implemented. |
271 |
|
(text_content, manakai_append_text): Old implementations are removed. |
272 |
|
|
273 |
|
* DOMCharacterData.pm (text_content): Implemented. |
274 |
|
|
275 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
276 |
|
parameter by true. |
277 |
|
(text_content): Reimplemented. |
278 |
|
(dom_config): New. |
279 |
|
|
280 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
281 |
|
|
282 |
|
* DocumentType.pm (text_content): Implemented. |
283 |
|
|
284 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
285 |
|
|
286 |
|
* Node.pm (___report_error): New method. |
287 |
|
(text_content): Implemented. |
288 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
289 |
|
|
290 |
|
* Notation.pm (text_content): Implemented. |
291 |
|
|
292 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
293 |
|
|
294 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
295 |
|
|
296 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
297 |
|
|
298 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
299 |
|
the |Message::Util::Error| class. |
300 |
|
|
301 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
302 |
|
(CLEAR): Not all items were removed. |
303 |
|
|
304 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
307 |
|
DocumentType.pm, Entity.pm, |
308 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
309 |
|
|
310 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
311 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
312 |
|
|
313 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
314 |
|
|
315 |
|
* Node.pm (==, !=): Implemented. |
316 |
|
(manakai_read_only): Implemented. |
317 |
|
(is_same_node): Implemented. |
318 |
|
(is_equal_node): Alpha version. |
319 |
|
(manakai_set_read_only): Alpha version. |
320 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
321 |
|
definitions are removed. |
322 |
|
|
323 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* Node.pm: First alpha version of implementation of attributes. |
326 |
|
|
327 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
330 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
331 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
332 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
333 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
334 |
|
node_value, node_type): Implemented. |
335 |
|
|
336 |
|
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
337 |
|
|
338 |
|
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
339 |
|
CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm, |
340 |
|
AttributeDefinition.pm: New modules. |
341 |
|
|
342 |
|
* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added. |
343 |
|
(create_attribute_definition, create_element_type_definition, |
344 |
|
create_document_type_definition, create_cdata_section, |
345 |
|
create_processing_instruction, create_entity_reference, |
346 |
|
create_general_entity, create_notation): Prototypes added. |
347 |
|
|
348 |
|
* DOMImplementation.pm (create_document_type): Prototype added. |
349 |
|
|
350 |
|
* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition' |
351 |
|
and 'Message::IF::DocumentTypeDeclaration' added. |
352 |
|
(create_document_type, create_document_type_definition): |
353 |
|
New methods. |
354 |
|
|
355 |
|
2007-06-13 Wakaba <wakaba@suika.fam.cx> |
356 |
|
|
357 |
|
* DOMImplementation.pm, Node.pm, DOMDocument.pm, |
358 |
|
DOMElement.pm, Attr.pm, DocumentType.pm, |
359 |
|
DOMCharacterData.pm, Text.pm, Comment.pm: Copied |
360 |
|
from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>. |
361 |
|
|
362 |
|
2007-06-10 Wakaba <wakaba@suika.fam.cx> |
363 |
|
|
364 |
|
* XMLParser.dis: Default to "1.0" if <?xml version=""?> |
365 |
|
specifies unknown value and trys to recover from the error. |
366 |
|
|
367 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
368 |
|
|
369 |
|
* TreeCore.dis (manakaiLocalName): New attribute. |
370 |
|
|
371 |
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
372 |
|
|
373 |
* GenericLS.dis (GLSException): New interface. |
* GenericLS.dis (GLSException): New interface. |