1 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* DOMConfiguration.pm: Support for |schema-type| |
4 |
|
and |http://suika.fam.cx/www/2006/dom-config/xml-id|. |
5 |
|
|
6 |
|
* NamedNodeMap (TIEHASH): Were missing. |
7 |
|
|
8 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* AttributeDefinition.pm (node_value): Implemented. |
11 |
|
(create_attribute_definition): Implemented. |
12 |
|
|
13 |
|
* DOMConfiguration.pm (%{}, TIEHASH, |
14 |
|
get_parameter, set_parameter, can_set_parameter, |
15 |
|
EXISTS, DELETE, parameter_names, FETCH, STORE, |
16 |
|
FIRSTKEY, LASTKEY): Implemented. |
17 |
|
|
18 |
|
* DOMDocument.pm (____new): Set |error-handler| default. |
19 |
|
(get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented. |
20 |
|
|
21 |
|
* DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns): |
22 |
|
Implemented. |
23 |
|
|
24 |
|
* DOMException.pm: Error types for |DOMConfiguration| |
25 |
|
are added. |
26 |
|
|
27 |
|
* DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New |
28 |
|
class. |
29 |
|
|
30 |
|
* DocumentType.pm (get_element_type_definition_node, |
31 |
|
get_general_entity_node, get_notation_node, |
32 |
|
set_element_type_definition_node, set_general_entity_node, |
33 |
|
set_notation_node, create_document_type_definition): Implemented. |
34 |
|
|
35 |
|
* ElementTypeDefinition.pm (get_attribute_definition_node, |
36 |
|
set_attribute_definition_node, create_element_type_definition): |
37 |
|
Implemented. |
38 |
|
|
39 |
|
* Entity.pm (create_general_entity): Implemented. |
40 |
|
|
41 |
|
* Node.pm: Constants in |OperationType| definition |
42 |
|
group are added. |
43 |
|
(manakai_language): Implemented. |
44 |
|
|
45 |
|
* NodeList.pm (Message::DOM::NodeList::GetElementsList): New |
46 |
|
class. |
47 |
|
|
48 |
|
* Notation.pm (create_notation): Implemented. |
49 |
|
|
50 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* TypeInfo.pm: New Perl module. |
53 |
|
|
54 |
|
* Attr.pm: Use |manakai_local_name| rather than |local_name| |
55 |
|
to avoid HTML5 case normalization. |
56 |
|
(is_id): Implemented. |
57 |
|
(manakai_name): New attribute. |
58 |
|
(schema_type_info): Implemented. |
59 |
|
(create_attribute_ns): Empty string as namespace URI |
60 |
|
was not supported. |
61 |
|
|
62 |
|
* DOMElement.pm (clone_node): Removed since now it is |
63 |
|
defined in |Node.pm|. |
64 |
|
(schema_type_info): Implemented. |
65 |
|
(manakai_tag_name): New attribute. |
66 |
|
(get_attribute, get_attribute_node, get_attribute_ns, |
67 |
|
get_attribute_node_ns, has_attribute, has_attribute_ns, |
68 |
|
remove_attribute, remove_attribute_ns, |
69 |
|
remove_attribute_node, set_attribute, set_attribute_ns, |
70 |
|
set_id_attribute, set_id_attribute_node, |
71 |
|
set_id_attribute_ns): Implemented. |
72 |
|
(create_element_ns): Empty string as namespace URI |
73 |
|
was not supported. |
74 |
|
|
75 |
|
2007-07-12 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* AttributeDefinition.pm (owner_element_type_definition): Implemented. |
78 |
|
|
79 |
|
* DocumentType.pm (create_document_type_definition): Initialize |
80 |
|
|public_id|, |system_id|, and |internal_subset| attributes |
81 |
|
by empty strings for compatibility with Web browsers. |
82 |
|
(create_document_type): Initialize |internal_subset| |
83 |
|
attribute by an empty string for compatibility with |
84 |
|
Web browsers. |
85 |
|
|
86 |
|
* ElementTypeDefinition.pm, Entity.pm, |
87 |
|
Notation.pm (owner_document_type_definition): Implemented. |
88 |
|
|
89 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration| |
92 |
|
feature is added for compatibility with |XMLParserTemp.pm|. |
93 |
|
|
94 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
|
* Attr.pm (value, node_value): Now it is defined |
97 |
|
as |text_content| itself. |
98 |
|
|
99 |
|
* AttributeDefinition.pm, ElementTypeDefinition.pm, |
100 |
|
Node.pm (AUTOLOAD): Unused block is removed. |
101 |
|
|
102 |
|
* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused. |
103 |
|
|
104 |
|
* DocumentType.pm (internal_subset): Implemented. |
105 |
|
|
106 |
|
* Entity.pm (is_externally_declared, input_encoding, |
107 |
|
xml_version): Implemented. |
108 |
|
|
109 |
|
* ProcessingInstruction.pm (target, data): Implemented. |
110 |
|
|
111 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
112 |
|
|
113 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
114 |
|
(data): Reimplemented. |
115 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
116 |
|
a number of bugs. |
117 |
|
|
118 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
119 |
|
|
120 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* StringExtended.pm: New Perl module. |
123 |
|
|
124 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
125 |
|
insert_data, replace_data, substring_data): Implemented. |
126 |
|
|
127 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
128 |
|
|
129 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
130 |
|
split_text): Implemented. |
131 |
|
|
132 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* DOMElement.pm (attributes): Implemented. |
135 |
|
|
136 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
137 |
|
|
138 |
|
* DocumentType.pm (entities, general_entities, |
139 |
|
notations, element_types): Implemented. |
140 |
|
|
141 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
142 |
|
|
143 |
|
* NamedNodeMap.pm: New Perl module. |
144 |
|
|
145 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
148 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
149 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
150 |
|
insert_before, replace_child): Implemented. |
151 |
|
|
152 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
153 |
|
|
154 |
|
* Node.pm (remove_child): Implemented. |
155 |
|
|
156 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
157 |
|
|
158 |
|
* Node.pm (==, is_equal_node): Implemented. |
159 |
|
(is_same_node): Implemented. |
160 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
161 |
|
(is_supported): Implemented. |
162 |
|
|
163 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
166 |
|
(create_document): Implemented. |
167 |
|
|
168 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
169 |
|
errors. |
170 |
|
(QNAME_NULLNS_ERR): New errors. |
171 |
|
|
172 |
|
* DocumenType.pm (create_document_type): Implemented. |
173 |
|
|
174 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
175 |
|
|
176 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
177 |
|
|
178 |
|
* DOMElement.pm (has_attribute): Alpha version. |
179 |
|
(create_element, create_element_ns): Implemented. |
180 |
|
|
181 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
182 |
|
|
183 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
184 |
|
|
185 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
186 |
|
|
187 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
190 |
|
|
191 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
192 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
193 |
|
when |{manakai_compat_mode}| is |undef|. |
194 |
|
|
195 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
196 |
|
|
197 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
198 |
|
Statements to set |$Error::Depth| are removed since they |
199 |
|
are result in "uninitialized" warnings unless |
200 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
201 |
|
Usually methods invoked in these methods does not |
202 |
|
raise any exception so that it makes no difference. |
203 |
|
|
204 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
205 |
|
|
206 |
|
* DOMDocument.pm (adopt_node): Implemented. |
207 |
|
(doctype): Implemented. |
208 |
|
|
209 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
210 |
|
|
211 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
212 |
|
error type. |
213 |
|
|
214 |
|
* Node.pm (set_user_data): Implemented. |
215 |
|
|
216 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
219 |
|
It will be defined in the DOM Perl Binding specification |
220 |
|
as part of |DOMImplementation| interface. |
221 |
|
($HasFeature): Defined for features support. |
222 |
|
(has_feature, get_feature): Implemented. |
223 |
|
|
224 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
225 |
|
module unless necessary. |
226 |
|
(___report_error): Removed since it is not used in fact. |
227 |
|
|
228 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
229 |
|
DOMImplementationRegistry.pm: New modules. |
230 |
|
|
231 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
232 |
|
|
233 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
234 |
|
|
235 |
|
* DOMStringList.pm: New Perl module. |
236 |
|
|
237 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
238 |
|
|
239 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
240 |
|
at all. |
241 |
|
|
242 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
243 |
|
|
244 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
245 |
|
|
246 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
249 |
|
(manakai_is_html): Revised. |
250 |
|
(Document): Now it implements the |HTMLDocument| interface. |
251 |
|
(adopt_node): Alpha version. |
252 |
|
|
253 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
254 |
|
not |allowed_token|! |
255 |
|
|
256 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
257 |
|
return an |undef| even if its |attribute_definitions| |
258 |
|
list is not created. |
259 |
|
|
260 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* Comment.pm (node_type): Node type was incorrect! |
263 |
|
|
264 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
265 |
|
|
266 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
267 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
268 |
|
New autoload configuration. Note that the Message::Charset::Encode |
269 |
|
module is subject to change. |
270 |
|
|
271 |
|
* XMLParserTemp.pm: Now it can be used with new version |
272 |
|
of DOM implementation. Current plan is to replace it by |
273 |
|
an XML5 parser someday. |
274 |
|
|
275 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* DOMLocator.pm: New module. |
278 |
|
|
279 |
|
* DOMError.pm: New module. |
280 |
|
|
281 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
282 |
|
|
283 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
284 |
|
clone_node, compare_document_position, has_attributes, |
285 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
286 |
|
lookup_prefix, normalize): Implemented. |
287 |
|
|
288 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
289 |
|
|
290 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
291 |
|
|
292 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* AttributeDefinition.pm (____new): Set an empty list |
295 |
|
to the |allowed_tokens| attribute. |
296 |
|
(allowed_token): Alpha version. |
297 |
|
|
298 |
|
* DocumentType.pm (get_element_type_definition_node, |
299 |
|
get_notation_node): ALpha version. |
300 |
|
|
301 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
302 |
|
version. |
303 |
|
|
304 |
|
* Entity.pm (notation_name): Implemented. |
305 |
|
|
306 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
309 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
310 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
311 |
|
(value): Call |text_content| for now. |
312 |
|
|
313 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
314 |
|
(declared_type, default_type): Implemented. |
315 |
|
|
316 |
|
* CharacterData.pm (____new): Allow a scalar reference |
317 |
|
as an input for the |data| attribute. |
318 |
|
(base_uri, manakai_append_text): Implemented. |
319 |
|
|
320 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
321 |
|
|
322 |
|
* DOMDocument.pm (____new): Set default values to |
323 |
|
configuration parameter whose default is true. |
324 |
|
(document_uri, input_encoding): Implemented. |
325 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
326 |
|
(base_uri, manakai_append_text, |
327 |
|
manakai_entity_base_uri, strict_error_checking, |
328 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
329 |
|
|
330 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
331 |
|
(get_attribute, get_attribute_node): Alpha version. |
332 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
333 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
334 |
|
|
335 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
336 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
337 |
|
|
338 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
339 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
340 |
|
manakai_append_text): Implemented. |
341 |
|
(element_types, general_entities, notations, |
342 |
|
set_element_type_definition_node, set_general_entity_node, |
343 |
|
set_notation_node): Alpha version. |
344 |
|
|
345 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
346 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
347 |
|
|
348 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
349 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
350 |
|
manakai_entity_uri): Implemented. |
351 |
|
|
352 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
353 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
354 |
|
|
355 |
|
* Node.pm (base_uri): Implemented. |
356 |
|
(text_content): Don't check read-only or not |
357 |
|
unless |strict_error_checking|. |
358 |
|
(manakai_append_text): Implemented. |
359 |
|
(get_feature): Alpha. |
360 |
|
(manakai_set_read_only): Implemented. |
361 |
|
|
362 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
363 |
|
manakai_declaration_base_uri): Implemented. |
364 |
|
|
365 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
366 |
|
base_uri, manakai_append_text): Implemented. |
367 |
|
|
368 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
369 |
|
|
370 |
|
* DOMConfiguration.pm: New module. |
371 |
|
|
372 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
373 |
|
an exception if the node is read-only. Delete the property |
374 |
|
if undef is specified. |
375 |
|
(prefix): Implemented. |
376 |
|
|
377 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
378 |
|
an exception if the node is read-only. Delete the property |
379 |
|
if undef is specified. |
380 |
|
(prefix): Implemented. |
381 |
|
(text_content, manakai_append_text): Old implementations are removed. |
382 |
|
|
383 |
|
* DOMCharacterData.pm (text_content): Implemented. |
384 |
|
|
385 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
386 |
|
parameter by true. |
387 |
|
(text_content): Reimplemented. |
388 |
|
(dom_config): New. |
389 |
|
|
390 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
391 |
|
|
392 |
|
* DocumentType.pm (text_content): Implemented. |
393 |
|
|
394 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
395 |
|
|
396 |
|
* Node.pm (___report_error): New method. |
397 |
|
(text_content): Implemented. |
398 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
399 |
|
|
400 |
|
* Notation.pm (text_content): Implemented. |
401 |
|
|
402 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
403 |
|
|
404 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
405 |
|
|
406 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
407 |
|
|
408 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
409 |
|
the |Message::Util::Error| class. |
410 |
|
|
411 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
412 |
|
(CLEAR): Not all items were removed. |
413 |
|
|
414 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
415 |
|
|
416 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
417 |
|
DocumentType.pm, Entity.pm, |
418 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
419 |
|
|
420 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
421 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
422 |
|
|
423 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
424 |
|
|
425 |
|
* Node.pm (==, !=): Implemented. |
426 |
|
(manakai_read_only): Implemented. |
427 |
|
(is_same_node): Implemented. |
428 |
|
(is_equal_node): Alpha version. |
429 |
|
(manakai_set_read_only): Alpha version. |
430 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
431 |
|
definitions are removed. |
432 |
|
|
433 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
434 |
|
|
435 |
|
* Node.pm: First alpha version of implementation of attributes. |
436 |
|
|
437 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
438 |
|
|
439 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
440 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
441 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
442 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
443 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
444 |
|
node_value, node_type): Implemented. |
445 |
|
|
446 |
|
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
447 |
|
|
448 |
|
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
449 |
|
CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm, |
450 |
|
AttributeDefinition.pm: New modules. |
451 |
|
|
452 |
|
* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added. |
453 |
|
(create_attribute_definition, create_element_type_definition, |
454 |
|
create_document_type_definition, create_cdata_section, |
455 |
|
create_processing_instruction, create_entity_reference, |
456 |
|
create_general_entity, create_notation): Prototypes added. |
457 |
|
|
458 |
|
* DOMImplementation.pm (create_document_type): Prototype added. |
459 |
|
|
460 |
|
* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition' |
461 |
|
and 'Message::IF::DocumentTypeDeclaration' added. |
462 |
|
(create_document_type, create_document_type_definition): |
463 |
|
New methods. |
464 |
|
|
465 |
|
2007-06-13 Wakaba <wakaba@suika.fam.cx> |
466 |
|
|
467 |
|
* DOMImplementation.pm, Node.pm, DOMDocument.pm, |
468 |
|
DOMElement.pm, Attr.pm, DocumentType.pm, |
469 |
|
DOMCharacterData.pm, Text.pm, Comment.pm: Copied |
470 |
|
from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>. |
471 |
|
|
472 |
|
2007-06-10 Wakaba <wakaba@suika.fam.cx> |
473 |
|
|
474 |
|
* XMLParser.dis: Default to "1.0" if <?xml version=""?> |
475 |
|
specifies unknown value and trys to recover from the error. |
476 |
|
|
477 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
478 |
|
|
479 |
|
* TreeCore.dis (manakaiLocalName): New attribute. |
480 |
|
|
481 |
|
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
482 |
|
|
483 |
|
* GenericLS.dis (GLSException): New interface. |
484 |
|
|
485 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
486 |
|
|
487 |
|
* |InputProcessor|s and |OutputProcessor|s are |
488 |
|
named so that |report| statements in Perl |
489 |
|
module outputs can be identified by name. |dis:dataType|s |
490 |
|
of |DISCore:TFQNames| are all replaced |
491 |
|
by |DISCore:QName|. |
492 |
|
|
493 |
|
2006-12-31 Wakaba <wakaba@suika.fam.cx> |
494 |
|
|
495 |
|
* Element.dis (createElementNS): If an array reference |
496 |
|
is specified as the |qualifiedName| parameter, |
497 |
|
don't set the first item as the local name |
498 |
|
even if the second item is not specified (or |
499 |
|
specified as |undef|). |
500 |
|
(createElementNS, setAttribute, setAttributeNS, |
501 |
|
removeAttribute, removeAttributeNS, |
502 |
|
setAttributeNode, setAttributeNodeNS, |
503 |
|
removeAttributeNode, removeAttributeNodeNS): Sets |
504 |
|
or removes the |tc:contentAttributeList| value. |
505 |
|
|
506 |
|
* TreeCore.dis (AttrMap.item): Caches the result |
507 |
|
of sorting of content attribute names. |
508 |
|
(getAttrMap, getElementTypeDefNodeMap, |
509 |
|
getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed. |
510 |
|
(tc:contentAttributeList): New property. |
511 |
|
|
512 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
513 |
|
|
514 |
|
* DOMFeature.dis (ForDef): Removed. |
515 |
|
(f:provides, f:through): Removed. |
516 |
|
(Version): Removed. |
517 |
|
(implementFeature): Removed. |
518 |
|
|
519 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
520 |
|
|
521 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
522 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
523 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
524 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
525 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications |
526 |
|
are removed. |
527 |
|
|
528 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
529 |
|
|
530 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
531 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
532 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
533 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
534 |
|
SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications |
535 |
|
and |DefaultFor|s are removed. |
536 |
|
|
537 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
538 |
|
|
539 |
|
* CharacterData.dis, DOMCore.dis, DOMFeature.dis, |
540 |
|
GenericLS.dis, TreeCore.dis, DOMString.dis, |
541 |
|
XML.dis, Element.dis, Document.dis, TreeStore,dis, |
542 |
|
Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis, |
543 |
|
SimpleLS.dis, DOMMain.dis: References |
544 |
|
to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|, |
545 |
|
|ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3| |
546 |
|
modes are removed. |
547 |
|
|
548 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
549 |
|
|
550 |
|
* CharacterData.dis, TreeCore.dis (Require): References |
551 |
|
to the |Grove.dis| module are removed. |
552 |
|
|
553 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
554 |
|
|
555 |
|
* DOMFeature.dis (f:implementation, f:revImplementation): Removed. |
556 |
|
(Require): Reference to the |Grove.dis| module is removed. |
557 |
|
|
558 |
|
2006-12-30 Wakaba <wakaba@suika.fam.cx> |
559 |
|
|
560 |
|
* DOMCore.dis (ManakaiDOMImplementation): The |
561 |
|
class is no longer plays the role of |
562 |
|
a |mg:NodeRefRole|. Redundant |f:provides| |
563 |
|
properties are removed. |
564 |
|
|
565 |
|
2006-12-29 Wakaba <wakaba@suika.fam.cx> |
566 |
|
|
567 |
|
* TreeCore.dis, DOMCore.dis, Document.dis, |
568 |
|
Element.dis, CharacterData.dis, XML.dis, |
569 |
|
XDoctype.dis, DOMString.dis, TreeStore.dis, |
570 |
|
XMLParser.dis: Use Perl native |
571 |
|
hashs and |Scalar::Util|'s weak references in favor of |Grove.dis| |
572 |
|
for DOM nodes. See |
573 |
|
also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>. |
574 |
|
|
575 |
|
2006-12-03 Wakaba <wakaba@suika.fam.cx> |
576 |
|
|
577 |
|
* DOMFeature.dis, TreeCore.dis: Unused |role|s are removed. |
578 |
|
|
579 |
|
2006-12-02 Wakaba <wakaba@suika.fam.cx> |
580 |
|
|
581 |
|
* DOMString.dis: New module. |
582 |
|
|
583 |
|
* DOMString.pm: New file. |
584 |
|
|
585 |
|
* DOMCore.dis (min): Moved from |DOMFeature.dis|. |
586 |
|
(ImplementationRegistryVariable): Moved from |DOMFeature.dis|. |
587 |
|
Now it references the |DOMImplementationRegistry| object. |
588 |
|
(DOMImplementationRegistryVariable): Moved from |DOMMain.dis|. |
589 |
|
(DOMImplementationRegistry): New interface and |
590 |
|
class, reformed from |ImplementationRegistry| in |DOMFeature.dis| |
591 |
|
and |DOMImplementationRegistry| in |DOMMain.dis|. Note |
592 |
|
that the class no longer support |get_implementation| |
593 |
|
and |get_implementation_list| methods from |
594 |
|
the |ImplementationRegistry| interface. |
595 |
|
(DOMImplementationList): Class implemented; no |
596 |
|
longer inherits from |ImplementationList|. |
597 |
|
(DOMImplementationSource): Class implemented; no |
598 |
|
longer inherits from |ImplementationSource|. Note that |
599 |
|
the class no longer support |get_implementation| |
600 |
|
and |get_implementation_list| methods from |
601 |
|
the |ImplementationSource| interface. |
602 |
|
(DOMStringList): Removed. |
603 |
|
|
604 |
|
* DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature, |
605 |
|
ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature, |
606 |
|
ManakaiDOM:DOMXMLFeatureXML11, most part of |
607 |
|
documentation for obsolete DOM Level 3 Minimum Implementation |
608 |
|
module, obsolete property name aliases, |
609 |
|
ImplemenationRegistryVar, ImplementationRegistry, |
610 |
|
DEBUG, MIString, ImplementationList, ImplementationSource, |
611 |
|
ManakaiDOM:implID): Removed. |
612 |
|
|
613 |
|
* DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed. |
614 |
|
(DOMString): Removed. |
615 |
|
(DOMImplementationRegistryVar, DOMImplementationRegistry): Removed. |
616 |
|
|
617 |
|
* Makefile: |DOMString.pm| is added. |
618 |
|
|
619 |
|
* TreeCore.dis (is_default_namespace): |null| was |
620 |
|
returned where a false is expected (|null| is |
621 |
|
a false in Perl, but real |false| is appropriate here). |
622 |
|
|
623 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
624 |
|
|
625 |
|
* DOMCore.dis (TypeInfo, UserDataHandler): Removed. |
626 |
|
|
627 |
|
* Element.dis (TypeInfo): Moved from |DOMCore.dis|. |
628 |
|
|
629 |
|
* TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|. |
630 |
|
|
631 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
632 |
|
|
633 |
|
* DOMFeature.dis (ImplementationList, ImplementationSource, |
634 |
|
ImplementationRegistry): Parameters |features| |
635 |
|
now allow |null| (equivalent to an empty string). |
636 |
|
|
637 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
638 |
|
|
639 |
|
* CharacterData.dis (ManakaiDOMDocumentCharacterData): New |
640 |
|
class. Factory methods |createTextNode| and |createComment| |
641 |
|
are moved from |ManakaiDOMDocument|. |
642 |
|
|
643 |
|
* DOMCore.dis: References to |ManakaiDOMObject| |
644 |
|
are removed. |
645 |
|
(tc:createImplForTest): Moved from |TreeCore.dis|. |
646 |
|
(DOMImplementation.___create_node_ref): Support |
647 |
|
for the |mg:nodeRefClass| option is removed. |
648 |
|
(ManakaiDOMConfiguration.___report_error): Moved |
649 |
|
from |ManakaiDOMObject| class. |
650 |
|
|
651 |
|
* DOMFeature.dis (domidl:extends): New property. |
652 |
|
(f:getFeatureImpl): Support for |+| classes is removed. |
653 |
|
|
654 |
|
* DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed. |
655 |
|
(ManakaiDOM:ManakaiDOMObject): Removed. |
656 |
|
(DOMDataType): Removed. |
657 |
|
|
658 |
|
* Document.dis (ManakaiDOMImplementationDocument): |
659 |
|
The |createDocument| method is moved from |
660 |
|
the |ManakaiDOMImplementationTC| in |TreeCore.dis|. |
661 |
|
(ManakaiDOMDocument.___create_node_ref): Removed. |
662 |
|
(createElement, createElementNS, createAttribute, |
663 |
|
createAttributeNS, createTextNode, createComment, |
664 |
|
createCDATASection, createEntityReference, |
665 |
|
createProcessingInstruction): Class implementations |
666 |
|
are moved to each module. |
667 |
|
|
668 |
|
* Element.dis (ManakaiDOMImplementationElement): Factory |
669 |
|
methods are moved from |Document.dis|. |
670 |
|
(ManakaiDOMElement.___create_node_ref): Support |
671 |
|
for old class registry is removed. |
672 |
|
(ManakaiDOMAttr.___create_node_ref): Removed. |
673 |
|
(Attr.baseURI): Implementation |
674 |
|
for |xml:base| attribute is merged. |
675 |
|
(Attr.nodeValue, Attr.value): Implementation |
676 |
|
for |xml:id| attribute is merged. |
677 |
|
|
678 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Removed. |
679 |
|
|
680 |
|
* XDoctype.dis (ManakaiDOMImplementationXDoctype): The |
681 |
|
definition for |createDocumentType| method |
682 |
|
is moved from |TreeCore.dis|. |
683 |
|
|
684 |
|
* XML.dis (ManakaiDOMXMLDocument): Factory |
685 |
|
methods are moved from |Document.dis|. |
686 |
|
(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged |
687 |
|
into |ManakaiDOMAttr| in |Element.dis|). |
688 |
|
|
689 |
|
2006-11-05 Wakaba <wakaba@suika.fam.cx> |
690 |
|
|
691 |
|
* Element.dis (___get_node_ref): |eval|ed |require| |
692 |
|
statement was broken. |
693 |
|
|
694 |
|
* DOMFeature.dis (getImplementationList): Argument |
695 |
|
is not passed to the |getImplementation| method. |
696 |
|
|
697 |
|
* TreeStore.dis (DOMImplementationTreeStore): It |
698 |
|
did not |f:implements| the |TSFeature30| feature. |
699 |
|
|
700 |
|
* XMLParser.dis: Use |create_uri_reference| |
701 |
|
method instead of internal |_new| method |
702 |
|
to create a URI reference object. |
703 |
|
|
704 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
705 |
|
|
706 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
707 |
|
explicitly inherits |urigen:ManakaiURIImplementation| (and |
708 |
|
the |f:ManakaiMinimumImplementation| class inherited |
709 |
|
by it). The |f:Minimum| feature is ever implemented |
710 |
|
for compatibility (but is expected to be removed). |
711 |
|
Internal methods such as |___report_error| are copied from |
712 |
|
obsolete |f:MinimumImplementation| class. DOM3 |
713 |
|
methods |hasFeature| and |getFeature| are also |
714 |
|
moved from that class, but they now support no |
715 |
|
foreign classes. |
716 |
|
|
717 |
|
* DOMFeature.dis (ManakaiImplementationSource): It |
718 |
|
now |p:require|s |Message::Util::AutoLoad::Registry|. |
719 |
|
The class no longer support classes |
720 |
|
other than |ManakaiDOMImplementation|. Note |
721 |
|
that the |ImplementationRegistry| object does continue |
722 |
|
to support foreign classes via foreign classes |
723 |
|
implementing |ImplementationSource| |
724 |
|
or |DOMImplementationSource| interface. |
725 |
|
(MinimumImplementation): Removed. |
726 |
|
|
727 |
|
* DOMLS.dis (ManakaiDOMImplementationLS): It no |
728 |
|
longer inherit the |ManakaiDOMImplementation|; it |
729 |
|
is now expected to be implemented by |DOMImplementation| |
730 |
|
objects. |
731 |
|
|
732 |
|
* DOMMain.dis (null): Removed. |
733 |
|
|
734 |
|
* Document.dis (___create_node_ref): It no |
735 |
|
longer support foreign classes other |
736 |
|
than |Message::DOM::Document::ManakaiDOMDocument|. |
737 |
|
Note that document format specific DOM |
738 |
|
interfaces, if supported, should be |
739 |
|
all instances of the |Document| interface |
740 |
|
in the implementation, as defined |
741 |
|
in the Web Applications 1.0 specification (where |
742 |
|
the |HTMLDocument| interface must be implemented |
743 |
|
by all |Document| objects, even if the |Document| |
744 |
|
contains no HTML element). |
745 |
|
|
746 |
|
* GenericLS.dis (GLSImplementation): It no |
747 |
|
longer inherit the |MinimumImplementation|; it |
748 |
|
is now expected to be implemented by |DOMImplementation| |
749 |
|
objects. |
750 |
|
(createGLSParser, createGLSSerializer): Load |
751 |
|
module implementing parser or serializer |
752 |
|
if necessary. |
753 |
|
|
754 |
|
* Traversal.dis (ManakaiDOMDocumentTraversal): It no |
755 |
|
longer inherits the |ManakaiDOMDocument|; it |
756 |
|
is now expected to be implemented by |Document| |
757 |
|
objects. |
758 |
|
|
759 |
|
* XDP.dis (XDPDocument): It no longer |
760 |
|
inherits the |Document|; it is now expected |
761 |
|
to be implemented by all |Document| objects. |
762 |
|
|
763 |
|
* XDoctype.dis (ManakaiDOMDocumentXDoctype): It no |
764 |
|
longer inherits the |ManakaiDOMDocument|; it |
765 |
|
is now expected to be implemented by |Document| |
766 |
|
objects. |
767 |
|
|
768 |
|
2006-11-04 Wakaba <wakaba@suika.fam.cx> |
769 |
|
|
770 |
|
* DOMCore.dis (ManakaiDOMImplementation): No longer |
771 |
|
explicitly inherits |tc:ManakaiDOMImplementationTC|. |
772 |
|
(ManakaiDOMImplementation.AUTOLOAD): New method definition. |
773 |
|
|
774 |
|
* TreeCore.dis (ManakaiDOMImplementationTC): Extends |
775 |
|
the |ManakaiDOMImplementation| class. |
776 |
|
|
777 |
|
2006-11-03 Wakaba <wakaba@suika.fam.cx> |
778 |
|
|
779 |
|
* DOMFeature.dis: Definitions for various concepts |
780 |
|
are added. |
781 |
|
|
782 |
|
* GenericLS.dis (GLSImplementation): It no |
783 |
|
longer inherits the |MinimumImplementation|; rather, |
784 |
|
any |ManakaiMinimumImplementation| object also |
785 |
|
implements |GLSImplementation| methods. |
786 |
|
|
787 |
|
* TreeStore.dis (DOMImplementationTreeStore): It no |
788 |
|
longer inherits the |DOMImplementation|; rather, |
789 |
|
any |ManakaiDOMImplementation| object also |
790 |
|
implements |DOMImplementationTreeStore| methods. |
791 |
|
|
792 |
|
2006-08-15 Wakaba <wakaba@suika.fam.cx> |
793 |
|
|
794 |
|
* TreeStore.pm: Added to the CVS repository |
795 |
|
to enable for the dis database to contain XML |
796 |
|
fragments. |
797 |
|
|
798 |
|
* Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added. |
799 |
|
|
800 |
|
* TreeStore.dis (Namespace): Namespace URI was incorrect. |
801 |
|
|
802 |
|
2006-06-18 Wakaba <wakaba@suika.fam.cx> |
803 |
|
|
804 |
|
* Traversal.dis (expandEntityReferences): Syntax was incorrect. |
805 |
|
|
806 |
|
* TreeCore.dis (manakaiReadOnly): Test assertion was incorrect. |
807 |
|
|
808 |
|
* XDP.dis (dtdText): Test assertion was incorrect. |
809 |
|
|
810 |
|
2006-05-21 Wakaba <wakaba@suika.fam.cx> |
811 |
|
|
812 |
|
* XDP.dis (XDPEntityValue.stringify): Don't escape |
813 |
|
any |%|s in |xdp:attr-definition| children. |
814 |
|
|
815 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
816 |
|
|
817 |
|
* XDP.dis (createXDPRNIKeyword): The Perl method |
818 |
|
name property is added. |
819 |
|
|
820 |
|
2006-05-20 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* XDP.dis (createXDPIf): New method. |
823 |
|
(XDPIfElement): New interface. |
824 |
|
|
825 |
|
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
826 |
|
|
827 |
|
* XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition): |
828 |
|
New methods. |
829 |
|
|
830 |
|
2006-05-15 Wakaba <wakaba@suika.fam.cx> |
831 |
|
|
832 |
|
* XDP.dis (XDPDocument): A number of constructor methods |
833 |
|
are added. |
834 |
|
(XDPTextDecl.dtdText): The |xml| target was missing. |
835 |
|
|
836 |
|
2006-05-14 Wakaba <wakaba@suika.fam.cx> |
837 |
|
|
838 |
|
* Traversal.dis (SerialWalker): New interface. |
839 |
|
(manakaiCreateSerialWalker): New method. |
840 |
|
|
841 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
842 |
|
|
843 |
|
* Traversal.dis (testNode): Calls |acceptNode| method |
844 |
|
rather than |&{}| dereferencing. |
845 |
|
(acceptNode): Implemented. |
846 |
|
|
847 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
848 |
|
|
849 |
|
* XDP.dis: New module. |
850 |
|
|
851 |
|
* Makefile: |XDP.dis| is added. |
852 |
|
|
853 |
|
* Traversal.dis (NodeFilter): |InputProcessor| |
854 |
|
and |OutputProcessor| are added. |
855 |
|
|
856 |
|
2006-05-13 Wakaba <wakaba@suika.fam.cx> |
857 |
|
|
858 |
|
* Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value. |
859 |
|
(TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support |
860 |
|
is added. The |FILTER_REJECT| value is treated |
861 |
|
as |FILTER_ACCEPT| if the |currentNode| is in the |
862 |
|
rejected subtree as specified in the spec. |
863 |
|
|
864 |
|
2006-05-05 Wakaba <wakaba@suika.fam.cx> |
865 |
|
|
866 |
|
* SimpleLS.dis: An |xmlns:| prefix was missing. |
867 |
|
|
868 |
2006-05-04 Wakaba <wakaba@suika.fam.cx> |
2006-05-04 Wakaba <wakaba@suika.fam.cx> |
869 |
|
|
870 |
* SimpleLS.dis: Namespace bugs are fixed. |
* SimpleLS.dis: Namespace bugs are fixed. |