/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.264 - (show annotations) (download)
Mon Sep 24 10:16:13 2007 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.263: +17 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	24 Sep 2007 10:15:28 -0000
2007-09-24  Wakaba  <wakaba@suika.fam.cx>

	* DOMException.pm (SYNTAX_ERR): New subtype is defined.
	(UNDECLARED_PREFIX_ERR): New subtype is defined.

	* Document.pm (Document): Implements the |DocumentSelector|
	interface.

	* Element.pm (Element): Implements the |ElementSelector|
	interface.

	* Node.pm (Node): Implements the |NSResolver| interface.

	* SelectorsAPI.pm: Now (hopefully) conform to the Selectors
	API Editor's Draft (only |query_selector_all| on |Document|,
	with limited selectors syntax support, though).

++ manakai/t/ChangeLog	24 Sep 2007 10:16:05 -0000
2007-09-24  Wakaba  <wakaba@suika.fam.cx>

	* selectors-test-1.dat: New tests for pseudo-elements
	are added.

1 2007-09-24 Wakaba <wakaba@suika.fam.cx>
2
3 * DOMException.pm (SYNTAX_ERR): New subtype is defined.
4 (UNDECLARED_PREFIX_ERR): New subtype is defined.
5
6 * Document.pm (Document): Implements the |DocumentSelector|
7 interface.
8
9 * Element.pm (Element): Implements the |ElementSelector|
10 interface.
11
12 * Node.pm (Node): Implements the |NSResolver| interface.
13
14 * SelectorsAPI.pm: Now (hopefully) conform to the Selectors
15 API Editor's Draft (only |query_selector_all| on |Document|,
16 with limited selectors syntax support, though).
17
18 2007-09-23 Wakaba <wakaba@suika.fam.cx>
19
20 * SelectorsAPI.pm: Namespaced type/universal selectors
21 are supported.
22
23 2007-09-23 Wakaba <wakaba@suika.fam.cx>
24
25 * SelectorsAPI.pm: New Perl module.
26
27 2007-08-25 Wakaba <wakaba@suika.fam.cx>
28
29 * Node.pm (manakai_language): Return the |manakai_language|
30 of the |owner_document|, if any, as defined in the spec.
31
32 2007-08-25 Wakaba <wakaba@suika.fam.cx>
33
34 * Makefile: Relative path was wrong.
35
36 2007-07-29 Wakaba <wakaba@suika.fam.cx>
37
38 * HTML/: New directory.
39
40 * Element.pm (create_element_ns): Return object implementing
41 the |HTMLElement| interface for HTML elements.
42
43 2007-07-29 Wakaba <wakaba@suika.fam.cx>
44
45 * DOMImplementation.pod: New documentation.
46
47 * Makefile: Make HTML document.
48
49 2007-07-29 Wakaba <wakaba@suika.fam.cx>
50
51 * XDoctype.dis, XDoctype.pm: Removed.
52
53 * CharacterData.pm: Renamed from DOMCharacterData.pm.
54
55 * Document.pm: Renamed from DOMDocument.pm.
56
57 * Element.pm: Renamed from DOMElement.pm
58
59 2007-07-29 Wakaba <wakaba@suika.fam.cx>
60
61 * DOMString.dis, DOMString.pm, Document.dis, Document.pm,
62 Element.dis, Element.pm, CharacterData.dis, CharacterData.pm,
63 TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm,
64 DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm,
65 DOMMain.dis, DOMMain.pm, DOMLS.dis,
66 GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed.
67
68 * Makefile: Rules for DIS are removed.
69
70 2007-07-29 Wakaba <wakaba@suika.fam.cx>
71
72 * Text.pm: |Message::DOM::Traversal, an obsolete module,
73 was referenced.
74
75 2007-07-29 Wakaba <wakaba@suika.fam.cx>
76
77 * DOMDocument.pm (inner_html): Setter in HTML document
78 is implemented.
79
80 2007-07-29 Wakaba <wakaba@suika.fam.cx>
81
82 * DOMDocument.pm (inner_html): Setter in XML document
83 is implemented.
84
85 2007-07-19 Wakaba <wakaba@suika.fam.cx>
86
87 * Attr.pm (DeclaredValueType): Added.
88
89 * ProcessingInstruction.pm (data): Accept |undef|
90 as a valid input, for |text_content| (maybe) allows it.
91
92 * TypeInfo.pm (type_namespace): The implementation was wrong.
93
94 2007-07-16 Wakaba <wakaba@suika.fam.cx>
95
96 * DOMElement.pm: Incorrect module was referenced.
97
98 * DOMImplementation.pm: References to
99 the |Message::Charset::Encode| module has been removed.
100
101 2007-07-15 Wakaba <wakaba@suika.fam.cx>
102
103 * XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle|
104 instead of |Message::Charset::Encode|.
105
106 2007-07-15 Wakaba <wakaba@suika.fam.cx>
107
108 * DOMDocument.pm (inner_html): New attribute (beta).
109
110 * DOMElement.pm (inner_html): New attribute (beta).
111
112 2007-07-15 Wakaba <wakaba@suika.fam.cx>
113
114 * DOMConfiguration.pm: Configuration parameter |create-child-element|
115 implemented.
116
117 * DOMElement.pm (create_element_ns): Support for Atom
118 subclasses.
119
120 * DOMImplementation.pm (DOMImplementation): Now
121 implements the |AtomDOMImplementation| interface.
122 ($HasFeature): Features |atom| and |atomthreading| are added.
123
124 * NodeList.pm (StaticNodeList): Implemented.
125
126 2007-07-15 Wakaba <wakaba@suika.fam.cx>
127
128 * Atom/: New directory.
129
130 2007-07-15 Wakaba <wakaba@suika.fam.cx>
131
132 * TreeWalker.pm, SerialWalker.pm: New Perl modules.
133
134 * Text.pm (whole_text): Parameter index number has
135 been changed to support new |NodeFilter| Perl binding
136 definition.
137
138 2007-07-14 Wakaba <wakaba@suika.fam.cx>
139
140 * AttributeDefinition.pm, DOMElement.pm, DocumentType.pm,
141 ElementTypeDefinition.pm, Entity.pm, EntityReference.pm,
142 Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute.
143
144 * DOMConfiguration.pm (can_set_parameter,
145 set_parameter): Don't allow to set the value
146 to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD).
147
148 * DOMDocument.pm (Message::IF::DocumentTraversal): New interface.
149 (create_tree_walker, manakai_create_serial_walker): References
150 and prototypes are added.
151
152 * DOMException.pm (NULLPO_ERR): New error type:-).
153
154 * DOMImplementation.pm ($HasFeature): Feature |Traversal|,
155 version |2.0|, is added.
156
157 2007-07-14 Wakaba <wakaba@suika.fam.cx>
158
159 * CDATASection.pm: Removed (merged with |Text.pm|).
160
161 * Text.pm (Message::DOM::Text::CDATASection): New.
162
163 * Comment.pm: Removed (merged with |DOMCharacterData.pm|).
164
165 * DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New.
166
167 2007-07-14 Wakaba <wakaba@suika.fam.cx>
168
169 * DOMConfiguration.pm: Support for |schema-type|
170 and |http://suika.fam.cx/www/2006/dom-config/xml-id|.
171
172 * NamedNodeMap (TIEHASH): Were missing.
173
174 2007-07-14 Wakaba <wakaba@suika.fam.cx>
175
176 * AttributeDefinition.pm (node_value): Implemented.
177 (create_attribute_definition): Implemented.
178
179 * DOMConfiguration.pm (%{}, TIEHASH,
180 get_parameter, set_parameter, can_set_parameter,
181 EXISTS, DELETE, parameter_names, FETCH, STORE,
182 FIRSTKEY, LASTKEY): Implemented.
183
184 * DOMDocument.pm (____new): Set |error-handler| default.
185 (get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.
186
187 * DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
188 Implemented.
189
190 * DOMException.pm: Error types for |DOMConfiguration|
191 are added.
192
193 * DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
194 class.
195
196 * DocumentType.pm (get_element_type_definition_node,
197 get_general_entity_node, get_notation_node,
198 set_element_type_definition_node, set_general_entity_node,
199 set_notation_node, create_document_type_definition): Implemented.
200
201 * ElementTypeDefinition.pm (get_attribute_definition_node,
202 set_attribute_definition_node, create_element_type_definition):
203 Implemented.
204
205 * Entity.pm (create_general_entity): Implemented.
206
207 * Node.pm: Constants in |OperationType| definition
208 group are added.
209 (manakai_language): Implemented.
210
211 * NodeList.pm (Message::DOM::NodeList::GetElementsList): New
212 class.
213
214 * Notation.pm (create_notation): Implemented.
215
216 2007-07-14 Wakaba <wakaba@suika.fam.cx>
217
218 * TypeInfo.pm: New Perl module.
219
220 * Attr.pm: Use |manakai_local_name| rather than |local_name|
221 to avoid HTML5 case normalization.
222 (is_id): Implemented.
223 (manakai_name): New attribute.
224 (schema_type_info): Implemented.
225 (create_attribute_ns): Empty string as namespace URI
226 was not supported.
227
228 * DOMElement.pm (clone_node): Removed since now it is
229 defined in |Node.pm|.
230 (schema_type_info): Implemented.
231 (manakai_tag_name): New attribute.
232 (get_attribute, get_attribute_node, get_attribute_ns,
233 get_attribute_node_ns, has_attribute, has_attribute_ns,
234 remove_attribute, remove_attribute_ns,
235 remove_attribute_node, set_attribute, set_attribute_ns,
236 set_id_attribute, set_id_attribute_node,
237 set_id_attribute_ns): Implemented.
238 (create_element_ns): Empty string as namespace URI
239 was not supported.
240
241 2007-07-12 Wakaba <wakaba@suika.fam.cx>
242
243 * AttributeDefinition.pm (owner_element_type_definition): Implemented.
244
245 * DocumentType.pm (create_document_type_definition): Initialize
246 |public_id|, |system_id|, and |internal_subset| attributes
247 by empty strings for compatibility with Web browsers.
248 (create_document_type): Initialize |internal_subset|
249 attribute by an empty string for compatibility with
250 Web browsers.
251
252 * ElementTypeDefinition.pm, Entity.pm,
253 Notation.pm (owner_document_type_definition): Implemented.
254
255 2007-07-08 Wakaba <wakaba@suika.fam.cx>
256
257 * DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
258 feature is added for compatibility with |XMLParserTemp.pm|.
259
260 2007-07-08 Wakaba <wakaba@suika.fam.cx>
261
262 * Attr.pm (value, node_value): Now it is defined
263 as |text_content| itself.
264
265 * AttributeDefinition.pm, ElementTypeDefinition.pm,
266 Node.pm (AUTOLOAD): Unused block is removed.
267
268 * CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused.
269
270 * DocumentType.pm (internal_subset): Implemented.
271
272 * Entity.pm (is_externally_declared, input_encoding,
273 xml_version): Implemented.
274
275 * ProcessingInstruction.pm (target, data): Implemented.
276
277 2007-07-08 Wakaba <wakaba@suika.fam.cx>
278
279 * DOMCharacterData.pm (AUTOLOAD): Removed.
280 (data): Reimplemented.
281 (delete_data, insert_data, replace_data, substring_data): There were
282 a number of bugs.
283
284 * Text.pm (AUTOLOAD): Removed. Unused.
285
286 2007-07-08 Wakaba <wakaba@suika.fam.cx>
287
288 * StringExtended.pm: New Perl module.
289
290 * DOMCharacterData.pm (length, append_data, delete_data,
291 insert_data, replace_data, substring_data): Implemented.
292
293 * DOMException.pm (INDEX_SIZE_ERR): Implemented.
294
295 * Text.pm (is_element_content_whitespace, whole_text,
296 split_text): Implemented.
297
298 2007-07-08 Wakaba <wakaba@suika.fam.cx>
299
300 * DOMElement.pm (attributes): Implemented.
301
302 * DOMException.pm (INUSE_DEFINITION_ERR): New error type.
303
304 * DocumentType.pm (entities, general_entities,
305 notations, element_types): Implemented.
306
307 * ElementTypeDefinition.pm (attribute_definitions): Implemented.
308
309 * NamedNodeMap.pm: New Perl module.
310
311 2007-07-08 Wakaba <wakaba@suika.fam.cx>
312
313 * Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm,
314 DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm,
315 Node.pm, Notation.pm, ProcessingInstruction.pm (append_child,
316 insert_before, replace_child): Implemented.
317
318 * DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented.
319
320 * Node.pm (remove_child): Implemented.
321
322 2007-07-07 Wakaba <wakaba@suika.fam.cx>
323
324 * Node.pm (==, is_equal_node): Implemented.
325 (is_same_node): Implemented.
326 (get_feature, get_user_data, set_user_data): Implemented.
327 (is_supported): Implemented.
328
329 2007-07-07 Wakaba <wakaba@suika.fam.cx>
330
331 * DOMDocument.pm (get_element_by_id): Implemented.
332 (create_document): Implemented.
333
334 * DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
335 errors.
336 (QNAME_NULLNS_ERR): New errors.
337
338 * DocumenType.pm (create_document_type): Implemented.
339
340 2007-07-07 Wakaba <wakaba@suika.fam.cx>
341
342 * CDATASection.pm (is_element_content_whitespace): New.
343
344 * DOMElement.pm (has_attribute): Alpha version.
345 (create_element, create_element_ns): Implemented.
346
347 * DocumentType.pm (get_general_entity_node): Alpha version.
348
349 * EntityReference.pm (create_entity_reference): Implemented.
350
351 * ProcessingInstruction.pm (create_processing_instruction): Implemented.
352
353 2007-07-07 Wakaba <wakaba@suika.fam.cx>
354
355 * Attr.pm (create_attribute, create_attribute_ns): Implemented.
356
357 * DOMDocument.pm: Load character classes from |Char::Class::XML|.
358 (compat_mode): Check |defined| not to be warned as "uninitialized"
359 when |{manakai_compat_mode}| is |undef|.
360
361 * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
362
363 * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
364 Statements to set |$Error::Depth| are removed since they
365 are result in "uninitialized" warnings unless
366 the |Message::DOM::DOMException| module is loaded earlier.
367 Usually methods invoked in these methods does not
368 raise any exception so that it makes no difference.
369
370 2007-07-07 Wakaba <wakaba@suika.fam.cx>
371
372 * DOMDocument.pm (adopt_node): Implemented.
373 (doctype): Implemented.
374
375 * DOMElement.pm (remove_attribute_node): Alpha version.
376
377 * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
378 error type.
379
380 * Node.pm (set_user_data): Implemented.
381
382 2007-07-07 Wakaba <wakaba@suika.fam.cx>
383
384 * DOMImplementation.pm (new): New method name for |____new|.
385 It will be defined in the DOM Perl Binding specification
386 as part of |DOMImplementation| interface.
387 ($HasFeature): Defined for features support.
388 (has_feature, get_feature): Implemented.
389
390 * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
391 module unless necessary.
392 (___report_error): Removed since it is not used in fact.
393
394 * DOMImplementationList.pm, DOMImplementationSource.pm,
395 DOMImplementationRegistry.pm: New modules.
396
397 2007-07-07 Wakaba <wakaba@suika.fam.cx>
398
399 * AttributeDefinition.pm (allowed_tokens): Implemented.
400
401 * DOMStringList.pm: New Perl module.
402
403 2007-06-26 Wakaba <wakaba@suika.fam.cx>
404
405 * DOMElement.pm (clone_node): Alpha version. It did not work
406 at all.
407
408 2007-06-24 Wakaba <wakaba@suika.fam.cx>
409
410 * ProcessingInstruction.pm (data): Now it is a read-write attribute.
411
412 2007-06-23 Wakaba <wakaba@suika.fam.cx>
413
414 * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
415 (manakai_is_html): Revised.
416 (Document): Now it implements the |HTMLDocument| interface.
417 (adopt_node): Alpha version.
418
419 * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
420 not |allowed_token|!
421
422 * ElementTypeDefinition.pm (attribute_definitions): Don't
423 return an |undef| even if its |attribute_definitions|
424 list is not created.
425
426 2007-06-21 Wakaba <wakaba@suika.fam.cx>
427
428 * Comment.pm (node_type): Node type was incorrect!
429
430 * DOMConfiguration.pm (get_parameter): Alpha.
431
432 * DOMImplementation.pm (create_mc_decode_handler,
433 create_charset_name_from_uri, create_uri_from_charset_name):
434 New autoload configuration. Note that the Message::Charset::Encode
435 module is subject to change.
436
437 * XMLParserTemp.pm: Now it can be used with new version
438 of DOM implementation. Current plan is to replace it by
439 an XML5 parser someday.
440
441 2007-06-21 Wakaba <wakaba@suika.fam.cx>
442
443 * DOMLocator.pm: New module.
444
445 * DOMError.pm: New module.
446
447 2007-06-20 Wakaba <wakaba@suika.fam.cx>
448
449 * Node.pm (manakai_expanded_uri, manakai_parent_element,
450 clone_node, compare_document_position, has_attributes,
451 has_child_nodes, is_default_namespace, lookup_namespace_uri,
452 lookup_prefix, normalize): Implemented.
453
454 * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
455
456 * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
457
458 2007-06-17 Wakaba <wakaba@suika.fam.cx>
459
460 * AttributeDefinition.pm (____new): Set an empty list
461 to the |allowed_tokens| attribute.
462 (allowed_token): Alpha version.
463
464 * DocumentType.pm (get_element_type_definition_node,
465 get_notation_node): ALpha version.
466
467 * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
468 version.
469
470 * Entity.pm (notation_name): Implemented.
471
472 2007-06-17 Wakaba <wakaba@suika.fam.cx>
473
474 * Attr.pm (____new): Initialize |specified| as 1.
475 (base_uri, manakai_attribute_type, specified): Implemented.
476 (prefix): Don't check read-only flag unless |strict_error_checking|.
477 (value): Call |text_content| for now.
478
479 * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
480 (declared_type, default_type): Implemented.
481
482 * CharacterData.pm (____new): Allow a scalar reference
483 as an input for the |data| attribute.
484 (base_uri, manakai_append_text): Implemented.
485
486 * DOMConfiguration.pm (set_parameter): Resetting implemented.
487
488 * DOMDocument.pm (____new): Set default values to
489 configuration parameter whose default is true.
490 (document_uri, input_encoding): Implemented.
491 (all_declarations_processed, manakai_is_html): Implemented.
492 (base_uri, manakai_append_text,
493 manakai_entity_base_uri, strict_error_checking,
494 xml_encoding, xml_version, xml_standalone): Implemented.
495
496 * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
497 (get_attribute, get_attribute_node): Alpha version.
498 (set_attribute_node, set_attribute_node_ns): Implemented.
499 (set_attribute_ns): Accept non-ARRAY qualified name.
500
501 * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
502 |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
503
504 * DocumentType.pm (public_id, system_id): Implemented.
505 (base_uri, declaration_base_uri, manakai_declaration_base_uri,
506 manakai_append_text): Implemented.
507 (element_types, general_entities, notations,
508 set_element_type_definition_node, set_general_entity_node,
509 set_notation_node): Alpha version.
510
511 * ElementTypeDefinition.pm (manakai_append_text): Implemented.
512 (attribute_definitions, set_attribute_definition_node): Alpha version.
513
514 * Entity.pm (has_replacement_tree, public_id, system_id,
515 manakai_declaration_base_uri, manakai_entity_base_uri,
516 manakai_entity_uri): Implemented.
517
518 * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
519 (base_uri, manakai_entity_base_uri): Implemented.
520
521 * Node.pm (base_uri): Implemented.
522 (text_content): Don't check read-only or not
523 unless |strict_error_checking|.
524 (manakai_append_text): Implemented.
525 (get_feature): Alpha.
526 (manakai_set_read_only): Implemented.
527
528 * Notation.pm (public_id, system_id, manakai_append_text,
529 manakai_declaration_base_uri): Implemented.
530
531 * ProcessingInstruction.pm (manakai_base_uri,
532 base_uri, manakai_append_text): Implemented.
533
534 2007-06-16 Wakaba <wakaba@suika.fam.cx>
535
536 * DOMConfiguration.pm: New module.
537
538 * Attr.pm (trivial accessor for read-write attributes): Throw
539 an exception if the node is read-only. Delete the property
540 if undef is specified.
541 (prefix): Implemented.
542
543 * DOMElement.pm (trivial accessor for read-write attributes): Throw
544 an exception if the node is read-only. Delete the property
545 if undef is specified.
546 (prefix): Implemented.
547 (text_content, manakai_append_text): Old implementations are removed.
548
549 * DOMCharacterData.pm (text_content): Implemented.
550
551 * DOMDocument.pm (____new): Initialize the strict-document-children
552 parameter by true.
553 (text_content): Reimplemented.
554 (dom_config): New.
555
556 * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
557
558 * DocumentType.pm (text_content): Implemented.
559
560 * ElementTypeDefinition.pm (text_content): Implemented.
561
562 * Node.pm (___report_error): New method.
563 (text_content): Implemented.
564 (manakai_append_text): Copied from |DOMElement.pm|.
565
566 * Notation.pm (text_content): Implemented.
567
568 * ProcessingInstruction.pm (text_content): Implemented.
569
570 * Text.pm (is_element_content_whitespace): Alpha version.
571
572 2007-06-16 Wakaba <wakaba@suika.fam.cx>
573
574 * DOMException.pm (Message::IF::DOMException): Extends
575 the |Message::Util::Error| class.
576
577 * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
578 (CLEAR): Not all items were removed.
579
580 2007-06-16 Wakaba <wakaba@suika.fam.cx>
581
582 * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
583 DocumentType.pm, Entity.pm,
584 EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
585
586 * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
587 Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
588
589 * DOMDocument.pm (AUTOLOAD): Typo fixed.
590
591 * Node.pm (==, !=): Implemented.
592 (manakai_read_only): Implemented.
593 (is_same_node): Implemented.
594 (is_equal_node): Alpha version.
595 (manakai_set_read_only): Alpha version.
596 (child_nodes, first_child, last_child, previous_sibling): Duplicate
597 definitions are removed.
598
599 2007-06-16 Wakaba <wakaba@suika.fam.cx>
600
601 * Node.pm: First alpha version of implementation of attributes.
602
603 2007-06-15 Wakaba <wakaba@suika.fam.cx>
604
605 * ProcessingInstruction.pm, EntityReference.pm,
606 CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
607 ElementTypeDefinition.pm, AttributeDefinition.pm,
608 DocumentType.pm, DOMElement.pm, Attr.pm,
609 CharacterData.pm, Text.pm, Comment.pm (node_name,
610 node_value, node_type): Implemented.
611
612 2007-06-14 Wakaba <wakaba@suika.fam.cx>
613
614 * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
615 CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
616 AttributeDefinition.pm: New modules.
617
618 * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
619 (create_attribute_definition, create_element_type_definition,
620 create_document_type_definition, create_cdata_section,
621 create_processing_instruction, create_entity_reference,
622 create_general_entity, create_notation): Prototypes added.
623
624 * DOMImplementation.pm (create_document_type): Prototype added.
625
626 * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
627 and 'Message::IF::DocumentTypeDeclaration' added.
628 (create_document_type, create_document_type_definition):
629 New methods.
630
631 2007-06-13 Wakaba <wakaba@suika.fam.cx>
632
633 * DOMImplementation.pm, Node.pm, DOMDocument.pm,
634 DOMElement.pm, Attr.pm, DocumentType.pm,
635 DOMCharacterData.pm, Text.pm, Comment.pm: Copied
636 from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
637
638 2007-06-10 Wakaba <wakaba@suika.fam.cx>
639
640 * XMLParser.dis: Default to "1.0" if <?xml version=""?>
641 specifies unknown value and trys to recover from the error.
642
643 2007-05-13 Wakaba <wakaba@suika.fam.cx>
644
645 * TreeCore.dis (manakaiLocalName): New attribute.
646
647 2007-01-02 Wakaba <wakaba@suika.fam.cx>
648
649 * GenericLS.dis (GLSException): New interface.
650
651 2006-12-31 Wakaba <wakaba@suika.fam.cx>
652
653 * |InputProcessor|s and |OutputProcessor|s are
654 named so that |report| statements in Perl
655 module outputs can be identified by name. |dis:dataType|s
656 of |DISCore:TFQNames| are all replaced
657 by |DISCore:QName|.
658
659 2006-12-31 Wakaba <wakaba@suika.fam.cx>
660
661 * Element.dis (createElementNS): If an array reference
662 is specified as the |qualifiedName| parameter,
663 don't set the first item as the local name
664 even if the second item is not specified (or
665 specified as |undef|).
666 (createElementNS, setAttribute, setAttributeNS,
667 removeAttribute, removeAttributeNS,
668 setAttributeNode, setAttributeNodeNS,
669 removeAttributeNode, removeAttributeNodeNS): Sets
670 or removes the |tc:contentAttributeList| value.
671
672 * TreeCore.dis (AttrMap.item): Caches the result
673 of sorting of content attribute names.
674 (getAttrMap, getElementTypeDefNodeMap,
675 getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
676 (tc:contentAttributeList): New property.
677
678 2006-12-30 Wakaba <wakaba@suika.fam.cx>
679
680 * DOMFeature.dis (ForDef): Removed.
681 (f:provides, f:through): Removed.
682 (Version): Removed.
683 (implementFeature): Removed.
684
685 2006-12-30 Wakaba <wakaba@suika.fam.cx>
686
687 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
688 GenericLS.dis, TreeCore.dis, DOMString.dis,
689 XML.dis, Element.dis, Document.dis, TreeStore,dis,
690 Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
691 SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
692 are removed.
693
694 2006-12-30 Wakaba <wakaba@suika.fam.cx>
695
696 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
697 GenericLS.dis, TreeCore.dis, DOMString.dis,
698 XML.dis, Element.dis, Document.dis, TreeStore,dis,
699 Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
700 SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
701 and |DefaultFor|s are removed.
702
703 2006-12-30 Wakaba <wakaba@suika.fam.cx>
704
705 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
706 GenericLS.dis, TreeCore.dis, DOMString.dis,
707 XML.dis, Element.dis, Document.dis, TreeStore,dis,
708 Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
709 SimpleLS.dis, DOMMain.dis: References
710 to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
711 |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
712 modes are removed.
713
714 2006-12-30 Wakaba <wakaba@suika.fam.cx>
715
716 * CharacterData.dis, TreeCore.dis (Require): References
717 to the |Grove.dis| module are removed.
718
719 2006-12-30 Wakaba <wakaba@suika.fam.cx>
720
721 * DOMFeature.dis (f:implementation, f:revImplementation): Removed.
722 (Require): Reference to the |Grove.dis| module is removed.
723
724 2006-12-30 Wakaba <wakaba@suika.fam.cx>
725
726 * DOMCore.dis (ManakaiDOMImplementation): The
727 class is no longer plays the role of
728 a |mg:NodeRefRole|. Redundant |f:provides|
729 properties are removed.
730
731 2006-12-29 Wakaba <wakaba@suika.fam.cx>
732
733 * TreeCore.dis, DOMCore.dis, Document.dis,
734 Element.dis, CharacterData.dis, XML.dis,
735 XDoctype.dis, DOMString.dis, TreeStore.dis,
736 XMLParser.dis: Use Perl native
737 hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
738 for DOM nodes. See
739 also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
740
741 2006-12-03 Wakaba <wakaba@suika.fam.cx>
742
743 * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
744
745 2006-12-02 Wakaba <wakaba@suika.fam.cx>
746
747 * DOMString.dis: New module.
748
749 * DOMString.pm: New file.
750
751 * DOMCore.dis (min): Moved from |DOMFeature.dis|.
752 (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
753 Now it references the |DOMImplementationRegistry| object.
754 (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
755 (DOMImplementationRegistry): New interface and
756 class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
757 and |DOMImplementationRegistry| in |DOMMain.dis|. Note
758 that the class no longer support |get_implementation|
759 and |get_implementation_list| methods from
760 the |ImplementationRegistry| interface.
761 (DOMImplementationList): Class implemented; no
762 longer inherits from |ImplementationList|.
763 (DOMImplementationSource): Class implemented; no
764 longer inherits from |ImplementationSource|. Note that
765 the class no longer support |get_implementation|
766 and |get_implementation_list| methods from
767 the |ImplementationSource| interface.
768 (DOMStringList): Removed.
769
770 * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
771 ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
772 ManakaiDOM:DOMXMLFeatureXML11, most part of
773 documentation for obsolete DOM Level 3 Minimum Implementation
774 module, obsolete property name aliases,
775 ImplemenationRegistryVar, ImplementationRegistry,
776 DEBUG, MIString, ImplementationList, ImplementationSource,
777 ManakaiDOM:implID): Removed.
778
779 * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
780 (DOMString): Removed.
781 (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
782
783 * Makefile: |DOMString.pm| is added.
784
785 * TreeCore.dis (is_default_namespace): |null| was
786 returned where a false is expected (|null| is
787 a false in Perl, but real |false| is appropriate here).
788
789 2006-11-05 Wakaba <wakaba@suika.fam.cx>
790
791 * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
792
793 * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
794
795 * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
796
797 2006-11-05 Wakaba <wakaba@suika.fam.cx>
798
799 * DOMFeature.dis (ImplementationList, ImplementationSource,
800 ImplementationRegistry): Parameters |features|
801 now allow |null| (equivalent to an empty string).
802
803 2006-11-05 Wakaba <wakaba@suika.fam.cx>
804
805 * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
806 class. Factory methods |createTextNode| and |createComment|
807 are moved from |ManakaiDOMDocument|.
808
809 * DOMCore.dis: References to |ManakaiDOMObject|
810 are removed.
811 (tc:createImplForTest): Moved from |TreeCore.dis|.
812 (DOMImplementation.___create_node_ref): Support
813 for the |mg:nodeRefClass| option is removed.
814 (ManakaiDOMConfiguration.___report_error): Moved
815 from |ManakaiDOMObject| class.
816
817 * DOMFeature.dis (domidl:extends): New property.
818 (f:getFeatureImpl): Support for |+| classes is removed.
819
820 * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
821 (ManakaiDOM:ManakaiDOMObject): Removed.
822 (DOMDataType): Removed.
823
824 * Document.dis (ManakaiDOMImplementationDocument):
825 The |createDocument| method is moved from
826 the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
827 (ManakaiDOMDocument.___create_node_ref): Removed.
828 (createElement, createElementNS, createAttribute,
829 createAttributeNS, createTextNode, createComment,
830 createCDATASection, createEntityReference,
831 createProcessingInstruction): Class implementations
832 are moved to each module.
833
834 * Element.dis (ManakaiDOMImplementationElement): Factory
835 methods are moved from |Document.dis|.
836 (ManakaiDOMElement.___create_node_ref): Support
837 for old class registry is removed.
838 (ManakaiDOMAttr.___create_node_ref): Removed.
839 (Attr.baseURI): Implementation
840 for |xml:base| attribute is merged.
841 (Attr.nodeValue, Attr.value): Implementation
842 for |xml:id| attribute is merged.
843
844 * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
845
846 * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
847 definition for |createDocumentType| method
848 is moved from |TreeCore.dis|.
849
850 * XML.dis (ManakaiDOMXMLDocument): Factory
851 methods are moved from |Document.dis|.
852 (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
853 into |ManakaiDOMAttr| in |Element.dis|).
854
855 2006-11-05 Wakaba <wakaba@suika.fam.cx>
856
857 * Element.dis (___get_node_ref): |eval|ed |require|
858 statement was broken.
859
860 * DOMFeature.dis (getImplementationList): Argument
861 is not passed to the |getImplementation| method.
862
863 * TreeStore.dis (DOMImplementationTreeStore): It
864 did not |f:implements| the |TSFeature30| feature.
865
866 * XMLParser.dis: Use |create_uri_reference|
867 method instead of internal |_new| method
868 to create a URI reference object.
869
870 2006-11-04 Wakaba <wakaba@suika.fam.cx>
871
872 * DOMCore.dis (ManakaiDOMImplementation): No longer
873 explicitly inherits |urigen:ManakaiURIImplementation| (and
874 the |f:ManakaiMinimumImplementation| class inherited
875 by it). The |f:Minimum| feature is ever implemented
876 for compatibility (but is expected to be removed).
877 Internal methods such as |___report_error| are copied from
878 obsolete |f:MinimumImplementation| class. DOM3
879 methods |hasFeature| and |getFeature| are also
880 moved from that class, but they now support no
881 foreign classes.
882
883 * DOMFeature.dis (ManakaiImplementationSource): It
884 now |p:require|s |Message::Util::AutoLoad::Registry|.
885 The class no longer support classes
886 other than |ManakaiDOMImplementation|. Note
887 that the |ImplementationRegistry| object does continue
888 to support foreign classes via foreign classes
889 implementing |ImplementationSource|
890 or |DOMImplementationSource| interface.
891 (MinimumImplementation): Removed.
892
893 * DOMLS.dis (ManakaiDOMImplementationLS): It no
894 longer inherit the |ManakaiDOMImplementation|; it
895 is now expected to be implemented by |DOMImplementation|
896 objects.
897
898 * DOMMain.dis (null): Removed.
899
900 * Document.dis (___create_node_ref): It no
901 longer support foreign classes other
902 than |Message::DOM::Document::ManakaiDOMDocument|.
903 Note that document format specific DOM
904 interfaces, if supported, should be
905 all instances of the |Document| interface
906 in the implementation, as defined
907 in the Web Applications 1.0 specification (where
908 the |HTMLDocument| interface must be implemented
909 by all |Document| objects, even if the |Document|
910 contains no HTML element).
911
912 * GenericLS.dis (GLSImplementation): It no
913 longer inherit the |MinimumImplementation|; it
914 is now expected to be implemented by |DOMImplementation|
915 objects.
916 (createGLSParser, createGLSSerializer): Load
917 module implementing parser or serializer
918 if necessary.
919
920 * Traversal.dis (ManakaiDOMDocumentTraversal): It no
921 longer inherits the |ManakaiDOMDocument|; it
922 is now expected to be implemented by |Document|
923 objects.
924
925 * XDP.dis (XDPDocument): It no longer
926 inherits the |Document|; it is now expected
927 to be implemented by all |Document| objects.
928
929 * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
930 longer inherits the |ManakaiDOMDocument|; it
931 is now expected to be implemented by |Document|
932 objects.
933
934 2006-11-04 Wakaba <wakaba@suika.fam.cx>
935
936 * DOMCore.dis (ManakaiDOMImplementation): No longer
937 explicitly inherits |tc:ManakaiDOMImplementationTC|.
938 (ManakaiDOMImplementation.AUTOLOAD): New method definition.
939
940 * TreeCore.dis (ManakaiDOMImplementationTC): Extends
941 the |ManakaiDOMImplementation| class.
942
943 2006-11-03 Wakaba <wakaba@suika.fam.cx>
944
945 * DOMFeature.dis: Definitions for various concepts
946 are added.
947
948 * GenericLS.dis (GLSImplementation): It no
949 longer inherits the |MinimumImplementation|; rather,
950 any |ManakaiMinimumImplementation| object also
951 implements |GLSImplementation| methods.
952
953 * TreeStore.dis (DOMImplementationTreeStore): It no
954 longer inherits the |DOMImplementation|; rather,
955 any |ManakaiDOMImplementation| object also
956 implements |DOMImplementationTreeStore| methods.
957
958 2006-08-15 Wakaba <wakaba@suika.fam.cx>
959
960 * TreeStore.pm: Added to the CVS repository
961 to enable for the dis database to contain XML
962 fragments.
963
964 * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
965
966 * TreeStore.dis (Namespace): Namespace URI was incorrect.
967
968 2006-06-18 Wakaba <wakaba@suika.fam.cx>
969
970 * Traversal.dis (expandEntityReferences): Syntax was incorrect.
971
972 * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
973
974 * XDP.dis (dtdText): Test assertion was incorrect.
975
976 2006-05-21 Wakaba <wakaba@suika.fam.cx>
977
978 * XDP.dis (XDPEntityValue.stringify): Don't escape
979 any |%|s in |xdp:attr-definition| children.
980
981 2006-05-20 Wakaba <wakaba@suika.fam.cx>
982
983 * XDP.dis (createXDPRNIKeyword): The Perl method
984 name property is added.
985
986 2006-05-20 Wakaba <wakaba@suika.fam.cx>
987
988 * XDP.dis (createXDPIf): New method.
989 (XDPIfElement): New interface.
990
991 2006-05-15 Wakaba <wakaba@suika.fam.cx>
992
993 * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
994 New methods.
995
996 2006-05-15 Wakaba <wakaba@suika.fam.cx>
997
998 * XDP.dis (XDPDocument): A number of constructor methods
999 are added.
1000 (XDPTextDecl.dtdText): The |xml| target was missing.
1001
1002 2006-05-14 Wakaba <wakaba@suika.fam.cx>
1003
1004 * Traversal.dis (SerialWalker): New interface.
1005 (manakaiCreateSerialWalker): New method.
1006
1007 2006-05-13 Wakaba <wakaba@suika.fam.cx>
1008
1009 * Traversal.dis (testNode): Calls |acceptNode| method
1010 rather than |&{}| dereferencing.
1011 (acceptNode): Implemented.
1012
1013 2006-05-13 Wakaba <wakaba@suika.fam.cx>
1014
1015 * XDP.dis: New module.
1016
1017 * Makefile: |XDP.dis| is added.
1018
1019 * Traversal.dis (NodeFilter): |InputProcessor|
1020 and |OutputProcessor| are added.
1021
1022 2006-05-13 Wakaba <wakaba@suika.fam.cx>
1023
1024 * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
1025 (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
1026 is added. The |FILTER_REJECT| value is treated
1027 as |FILTER_ACCEPT| if the |currentNode| is in the
1028 rejected subtree as specified in the spec.
1029
1030 2006-05-05 Wakaba <wakaba@suika.fam.cx>
1031
1032 * SimpleLS.dis: An |xmlns:| prefix was missing.
1033
1034 2006-05-04 Wakaba <wakaba@suika.fam.cx>
1035
1036 * SimpleLS.dis: Namespace bugs are fixed.
1037
1038 2006-04-30 Wakaba <wakaba@suika.fam.cx>
1039
1040 * .cvsignore: Updated.
1041
1042 * Traversal.dis: Unused declarations are removed.
1043
1044 2006-04-30 Wakaba <wakaba@suika.fam.cx>
1045
1046 * CharacterData.dis (Require): A reference to
1047 the |MDOM:Traversal| module is added.
1048 (wholeText): Implemented.
1049
1050 2006-04-30 Wakaba <wakaba@suika.fam.cx>
1051
1052 * Makefile: |Traversal.dis| is added.
1053
1054 * Traversal.dis: New module.
1055
1056 * TreeCore.dis (___report_error): Return value was
1057 not propagated.
1058
1059 2006-04-29 Wakaba <wakaba@suika.fam.cx>
1060
1061 * Element.dis (removeAttributeNS): A runtime error
1062 was occurred if there was no specified attribute node.
1063
1064 * TreeCore.dis (manakaiLanguage): New attribute.
1065
1066 2006-04-28 Wakaba <wakaba@suika.fam.cx>
1067
1068 * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
1069 New attributes.
1070
1071 (StaticNodeList): New interface.
1072
1073 2006-04-24 Wakaba <wakaba@suika.fam.cx>
1074
1075 * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
1076
1077 2006-04-22 Wakaba <wakaba@suika.fam.cx>
1078
1079 * SimpleLS.dis: Reimplemented.
1080
1081 2006-04-22 Wakaba <wakaba@suika.fam.cx>
1082
1083 * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
1084 a qualified name.
1085 (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
1086
1087 * TreeCore.dis (compareDocumentPosition): Implemented.
1088 (normalize): Implemented.
1089 (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
1090 class.
1091
1092 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1093
1094 * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
1095
1096 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1097
1098 * CharacterData.dis (length, insertData, substringData,
1099 appendData, deleteData, replaceData, splitText): Reimplemented.
1100
1101 * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
1102 (c:index): The definition was missing.
1103 (c:length): New property.
1104
1105 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1106
1107 * XMLParser.dis (close): Invoke |close| method
1108 rather than |close| function.
1109
1110 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1111
1112 * CharacterData.dis: New module split from |TreeCore.dis|.
1113
1114 * CharacterData.pm: Added to the CVS repository.
1115
1116 * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
1117 interfaces are removed.
1118 (Require): A reference to the |MDOM:CharacterData| module
1119 is added.
1120
1121 * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
1122
1123 * DOMCore.dis (StringOutOfBoundsException): New error.
1124
1125 * Makefile: |CharacterData.pm| is added.
1126
1127 2006-04-09 Wakaba <wakaba@suika.fam.cx>
1128
1129 * XMLParser.dis (Require): Requires the |MCharset:Encode|
1130 module.
1131 (parse): Set the |inputEncoding| attribute of the generated document
1132 object.
1133 (resolveLSInput default implementation): The |byteStream|
1134 and |encoding| attributes of the |LSInput| interface
1135 are now supported.
1136 (resolveLSInput): Parameters |impl| and |parser| are added.
1137 (InputFile.inputEncoding): New attribute.
1138
1139 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1140
1141 * Document.dis (adoptNode test): Documents were
1142 made by different documents.
1143
1144 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1145
1146 * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
1147 parameter is changed to |cfg:dtd-default-attribute|.
1148
1149 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1150
1151 * TreeCore.dis: The |DOMMain:raiseException| elements
1152 are replaced by |disPerl:EXCEPTION|s.
1153
1154 2006-04-03 Wakaba <wakaba@suika.fam.cx>
1155
1156 * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
1157
1158 * Node.dis (cfg:dtd-default-attribute): The configuration
1159 parameter |cfg:dtd-default-attributes| is renamed
1160 as |cfg:dtd-default-attribute|.
1161 (Roles): Definitions are changed so that classes
1162 that implement those classes MUST implement the |Node|
1163 and its subinterfaces.
1164 (cfg:dtd-attribute-type): New configuration parameter.
1165
1166 * Document.dis (adoptNode): Don't throw exception
1167 if |strictErrorChecking| is |false|.
1168
1169 * Element.dis (setAttribute, setAttributeNS): Don't
1170 set [attribute type] if the |cfg:dtd-attribute-type|
1171 configuration parameter is set to |false|.
1172 (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
1173 regenerate default attribute nodes if the |cfg:dtd-default-attribute|
1174 configuration parameter is set to |false|.
1175
1176 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1177
1178 * TreeStore.dis: New module.
1179
1180 * Makefile: |TreeStore.dis| is added.
1181
1182 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1183
1184 * XMLParser.dis: Updated so that it can be used
1185 with |TreeCore.pm|, |Document.pm|, |Element.pm|,
1186 and |XML.pm|. Set the read-only flag to
1187 the |DocumentType|, |Entity|, and |EntityReference| noes.
1188
1189 * Node.dis (textContent): It did not handle descendant
1190 element and entity reference nodes.
1191
1192 * Element.dis, XML.dis (manakaiBaseURI.get): Its
1193 definition has been changed to return only explicit
1194 base URI specification.
1195
1196 * DOMLS.dis (LSInput, LSOutput): They no longer
1197 inherits the |ManakaiDOM:ManakaiDOMObject| class.
1198
1199 * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
1200
1201 * Tree.pm, DOMXML.pm: Removed.
1202
1203 * TreeCore.pm, Document.pm, Element.pm: Added
1204 to the CVS repository since they are necessary to
1205 build the dis library.
1206
1207 * Makefile: Sync'ed to new modules disposition.
1208
1209 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1210
1211 * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
1212 removed. For |Element.pm| and |Document.pm| are added.
1213
1214 * Document.dis, Element.dis: New module split from |TreeCore.dis|.
1215
1216 * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
1217
1218 2006-04-01 Wakaba <wakaba@suika.fam.cx>
1219
1220 * DOMFeature.dis (getImplementation, getImplementationList): Support
1221 for new class information variables.
1222 (DOMLS:Generic): This old feature name is removed.
1223
1224 * GenericLS.dis (createGLSParser, createGLSSerializer): Support
1225 for new class information variables.
1226
1227 * TreeCore.dis (manakaiExpandedURI): New attribute.
1228 (Document, Element.___create_node_ref): New method
1229 implementations.
1230
1231 2006-04-01 Wakaba <wakaba@suika.fam.cx>
1232
1233 * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
1234 Reimplemented.
1235 (isId): Setter is added.
1236 (Element.normalize): Definition copied from the |MDOM:Tree|
1237 module.
1238
1239 2006-03-31 Wakaba <wakaba@suika.fam.cx>
1240
1241 * Makefile (clean-db): New rule.
1242
1243 * TreeCore.dis (setUserData): Schedule to invoke
1244 the user data handler when the node is removed
1245 from the memory.
1246 (setAttribute, setAttributeNS): Set the [attribute type]
1247 if DTD attribute definition is available.
1248 (CharacterData members): Definitions copied from
1249 the |MDOM:Tree| module.
1250
1251 2006-03-31 Wakaba <wakaba@suika.fam.cx>
1252
1253 * DOMCore.dis (DOMStringList.==): New overloaded operator.
1254
1255 * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
1256 class did not implement the |GetFeature| interface.
1257 (hasFeature): The |+| prefix was not taken into account.
1258
1259 * TreeCore.dis (Node): The class now inherits
1260 the |ManakaiHasFeatureByGetFeature| class. It now
1261 implements the |f:GetFeature| and |ecore:MUErrorTarget|
1262 interfaces.
1263 (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
1264 is supported.
1265 (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
1266 (manakaiParentElement): New attribute.
1267
1268 * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
1269 is removed.
1270 (lookupPrefix): Old method implementation is removed.
1271
1272 * XML.dis (CDATASection): The |mg:NodeRefRole| was
1273 missing because of the |DISCore:stopISARecursive| property.
1274
1275 * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
1276 They now pass all tests included in those modules!
1277
1278 2006-03-30 Wakaba <wakaba@suika.fam.cx>
1279
1280 * DOMCore.dis (Require): A reference to the |MURI:Generic|
1281 module is added.
1282 (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
1283 (ManakaiDOMImplementation): It now inherits
1284 the |urigen:ManakaiURIImplementation| class and
1285 implements the |ecore:MUErrorTarget| interface. It no
1286 longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
1287 (ManakaiDOMImplementation.___report_error): New method.
1288
1289 * DOMFeature.dis (Require): It now references the |Util:Grove|
1290 module instead of |Util:ManakaiNode| module.
1291 (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
1292 (f:ManakaiMinimumImplementationCompatible): New role.
1293 (ManakaiMinimumImplementation): Now it is built
1294 on the new |Util:Grove| module rather than the |Util:ManakaiNode|
1295 module.
1296 (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
1297 (c:implementation): Removed.
1298 (f:implementation, f:revImplementation): New properties.
1299
1300 * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
1301
1302 * Tree.dis (cfg:clone-entity-reference-subtree,
1303 cfg:dtd-default-attributes, cfg:xml-id,
1304 cfg:strict-document-children): Removed (moved
1305 to the |MDOM:TreeCore| module).
1306
1307 * TreeCore.dis (Require): The reference to the |MURI:Generic|
1308 module is removed.
1309 (ManakaiDOMImplementationTC): Some members are removed
1310 since they are incorporated to the |c:ManakaiDOMImplementation|
1311 or the |f:ManakaiMinimumImplementation|.
1312 (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
1313 (replaceChildImpl1): A typo on the removing the parent node
1314 of the old child node is fixed.
1315 (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
1316 module).
1317 (tc:implementation, tc:revImplementation): Removed (moved
1318 to the |MDOM:DOMFeature| module).
1319 (Document.appendChild, insertBefore, replaceChild): Sets
1320 the |ownerDocument| attribute of the |tx:DocumentType| nodes.
1321 (Attr.prefix, Element.prefix): Don't raise "uninitialized"
1322 when the new value is |null|.
1323 (Attr.___create_node_ref): Attribute name and
1324 owner element type specific classes are supported (it
1325 was partially implemented but was incorrect).
1326 (ManakaiDOMGetElementsNodeList.item): Don't return
1327 a node if the |index| is negative.
1328 (setNamedItem): Various typos are fixed.
1329 (removeNamedItem): The node was not removed orz
1330 (cfg:clone-entity-reference-subtree,
1331 cfg:dtd-default-attributes, cfg:xml-id,
1332 cfg:strict-document-children): Definitions are moved
1333 from the |MDOM:Tree| module. Note that the tests for default
1334 attributes still fail.
1335 (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
1336 (Attr): Role name was incorrect.
1337
1338 * XDoctype.dis (setDefinitionNode): Return value was
1339 not set.
1340 (AttributeDefinition): Role name was incorrect.
1341
1342 * XML.dis (Require): A reference to the |DISlib:DISMarkup|
1343 module is added.
1344 (Notation.appendChild, insertBefore, replaceChild): New method
1345 implementations.
1346 (Entity.appendChild, insertBefore, replaceChild): New method
1347 implementations.
1348 (EntityReference.appendChild, insertBefore, replaceChild): Now
1349 they are defined as copies of ones in the |Entity| class.
1350 (XMLBaseAttribute, XMLIdAttribute): Now they are
1351 namespace unaware attributes.
1352 (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
1353 (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
1354 to namespace aware attributes are added.
1355
1356 2006-03-29 Wakaba <wakaba@suika.fam.cx>
1357
1358 * DOMCore.dis: Namespace prefixes are changed to new ones.
1359
1360 * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
1361 untested).
1362 (___report_error): Reimplemented (untested).
1363 (manakaiSetReadOnly): New method.
1364 (Attr.___create_node_ref): New method (untested).
1365 (Document.getFeature): |require|s the |MDOM:XML| Perl module.
1366 (createEntityReference, cloneNode): Support for
1367 the |cfg:entity-reference-read-only| configuration
1368 parameter is removed; newly created entity references
1369 are always read-only and use the |manakaiSetReadOnly| method
1370 if desired.
1371 (Element.manakaiBaseURI): Reimplemented (untested).
1372
1373 * XDoctype.dis (createGeneralEntity, createNotation): |require|s
1374 the |MDOM:XML| Perl module.
1375 (DocumentTypeDefinition.___create_node_stem): Sets
1376 the |tc:implementation| internal property if its value
1377 is provided. The |infoset:content| internal property name
1378 was incorrect.
1379 (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
1380 read-only |NodeList| and |DOMStringList| are added
1381 for clarification.
1382
1383 2006-03-26 Wakaba <wakaba@suika.fam.cx>
1384
1385 * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
1386 module is added.
1387 (DOMStringList): Reimplemented for new |d:AttributeDefinition|
1388 implementation (untested).
1389
1390 * TreeCore.dis (baseURI): Reimplemented (untested).
1391 (Roles): Definitions added.
1392
1393 * XDoctype.dis (Require): References to the |MDOM:TreeCore|
1394 and |MDOM:XML| modules are added. Reference to the |MDOM:Tree|
1395 module is removed.
1396 (DocumentXDoctype): Reimplemented (untested).
1397 (DocumentTypeDefinition, DocumentTypeDeclaration):
1398 Reimlemented (untested).
1399 (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
1400
1401 * XML.dis (FeatureDef): New features (definitions copied
1402 from the |MDOM:DOMXML| module).
1403 (DocumentType): New interface (definition copied from
1404 the |MDOM:DOMXML| module).
1405 (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
1406 Reimplemented (untested).
1407 (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
1408
1409 2006-03-25 Wakaba <wakaba@suika.fam.cx>
1410
1411 * TreeCore.dis (Document): Most methods are reimplemented (untested).
1412
1413 2006-03-25 Wakaba <wakaba@suika.fam.cx>
1414
1415 * TreeCore.dis (Document): Attributes are reimplemented (untested).
1416 (Text, DocumentFragment, Comment): Most members are
1417 reimplemented (untested).
1418
1419 2006-03-24 Wakaba <wakaba@suika.fam.cx>
1420
1421 * DOMMain.dis (checkXMLNamesQName): Some checks are
1422 removed to sync with DOM Level 3 Core specification.
1423
1424 * TreeCore.dis (Element): Most methods are reimplemented (untested).
1425 (GetElementsNodeList): Reimplemented (untested).
1426
1427 2006-03-23 Wakaba <wakaba@suika.fam.cx>
1428
1429 * Tree.dis (cfg:strict-document-children): The configuration
1430 parameter must also affect on |manakaiAppendText|
1431 and |textContent| on |Document| nodes.
1432
1433 * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
1434 parameter changes the class to |bless|.
1435 (Node): Most methods are reimplemented. (Untested)
1436 (CharacterData, Attr): Most methods and attributes are
1437 reimplemented. (Untested)
1438
1439 * XML.dis, XDoctype.dis: Most |Node| methods are
1440 reimplemented (untested).
1441
1442 2006-03-23 Wakaba <wakaba@suika.fam.cx>
1443
1444 * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
1445 (untested).
1446
1447 2006-03-22 Wakaba <wakaba@suika.fam.cx>
1448
1449 * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
1450 a qualified name.
1451
1452 * DOMMain.dis (ensureNamespacePrefix): Undefines
1453 the prefix if it is an empty string. (Note that
1454 it is defined as implementation dependent in
1455 DOM Level 3 Core specification).
1456
1457 * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
1458 module.
1459 (Node): Attributes are reimplemented (untested).
1460
1461 * XML.dis (Require): It now references the |MDOMX:XDoctype|
1462 module.
1463 (Node): Attributes are reimplemented (untested).
1464 (Entity, Notation): New interfaces.
1465
1466 * XDoctype.dis (Node): Attributes are reimplemented (untested).
1467
1468 2006-03-19 Wakaba <wakaba@suika.fam.cx>
1469
1470 * TreeCore.dis (childNodes, firstChild, lastChild,
1471 nextSibling, previousSibling, appendChild, insertBefore,
1472 replaceChild, removeChild, createDocumentFragment,
1473 createEntityReference, createProcessingInstruction,
1474 domConfig, documentElement, implementation, manakaiAppendText): New.
1475 (NodeList, DocumentFragment): New interfaces.
1476
1477 * XML.dis (EntityReference, ProcessingInstruction): New interface.
1478
1479 2006-03-18 Wakaba <wakaba@suika.fam.cx>
1480
1481 * TreeCore.dis (Require): The |MDOM:XML| module is added.
1482 (createAttributeNS, createTextNode, createComment,
1483 createCDATASection): New methods.
1484 (Attr, Text, Comment, CharacterData): New interfaces.
1485
1486 * Makefile: |XML.dis| is added.
1487
1488 * XML.dis: New module.
1489
1490 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1491
1492 * TreeCore.dis (manakaiReadOnly): New attribute.
1493
1494 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1495
1496 * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
1497 prefix, isSameNode, ownerDocument, parentNode): New.
1498 (Element): New interface.
1499 (createElementNS): New method.
1500 (strictErrorChecking): New.
1501
1502 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1503
1504 * Makefile: |TreeCore.dis| is added.
1505
1506 * TreeCore.dis: New module.
1507
1508 2006-03-16 Wakaba <wakaba@suika.fam.cx>
1509
1510 * XMLParser.dis (cfg:entity-replacement-tree): New configuration
1511 parameter.
1512
1513 * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
1514
1515 * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
1516 data types added to configuration parameters.
1517
1518 2006-03-15 Wakaba <wakaba@suika.fam.cx>
1519
1520 * DOMCore.dis (c:DOMConfigurationParameter): Now it is
1521 a |DISSource:ResourceProperty|.
1522 (c:anyDOMConfigurationParameter): New property.
1523 (CParam, boolCParam): Now they are all |dis:subsetOf|
1524 the |c:anyDOMConfigurationParameter| property.
1525 (ForDocument, ForParser, ForSerializer): Removed.
1526
1527 * DOMLS.dis, XMLParser.dis: Likewise.
1528
1529 2006-03-12 Wakaba <wakaba@suika.fam.cx>
1530
1531 * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
1532 are removed.
1533
1534 * GenericLS.pm: Added to the CVS repository since
1535 it is necessary to create the |Message::Util::DIS::DPG| module.
1536
1537 2006-03-10 Wakaba <wakaba@suika.fam.cx>
1538
1539 * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
1540 method.
1541
1542 * XMLParser.dis: Don't create adjacent text nodes.
1543
1544 2006-03-09 Wakaba <wakaba@suika.fam.cx>
1545
1546 * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
1547
1548 * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
1549 implementations are added.
1550
1551 * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
1552 implementations are added.
1553
1554 * Tree.dis (appendChild, insertBefore, replaceChild): Method
1555 implementations are added.
1556 (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
1557 resources unless for |ManakaiDOM:ManakaiDOMLatest|.
1558 (cfg:strict-document-children): New configuration parameter.
1559
1560 2006-03-08 Wakaba <wakaba@suika.fam.cx>
1561
1562 * XDoctype.dis (replaceChild): Method implementations are added.
1563
1564 * Tree.dis (replaceChild): Method implementations are added.
1565
1566 * DOMXML.dis (replaceChild): Method implementations are added.
1567
1568 2006-03-07 Wakaba <wakaba@suika.fam.cx>
1569
1570 * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
1571 definitions.
1572
1573 * XDoctype.dis (insertBefore): New method implementation.
1574
1575 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1576
1577 * DOMXML.dis (insertBefore): Method implementations
1578 for |ProcessingInstruction| and |Notation| nodes are added.
1579
1580 * Tree.dis (insertBefore): Method implementation
1581 for |CharacterData| nodes is added.
1582
1583 * XDoctype.dis (insertBefore): Method implementation
1584 for |ElementTypeDefinition| nodes is added.
1585
1586 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1587
1588 * XDoctype.dis (appendChild): New method implementation.
1589
1590 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1591
1592 * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
1593 (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
1594 (REMOVE_DOCUMENT_TYPE_ERR): New error.
1595
1596 * DOMXML.dis (ManakaiDOMDocumentType): Removed.
1597 (ProcessingInstruction.appendChild, CDATASection.appendChild,
1598 Notation.appendChild): New method implementation.
1599
1600 * Tree.dis (CharacterData.appendChild): New method implementation.
1601
1602 * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
1603
1604 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1605
1606 * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
1607
1608 * Tree.dis (createAttribute, createAttributeNS,
1609 setAttribute, setAttributeNS): They now supports
1610 the |cfg:xml-id| configuration parameter.
1611 (cfg:xml-id): New configuration parameter.
1612
1613 * XDoctype.dis (createAttributeDefinition): It now
1614 supports the |cfg:xml-id| configuration parameter.
1615
1616 * XMLParser.dis (parse): It now supports
1617 the |cfg:xml-id| configuration parameter.
1618
1619 2006-03-05 Wakaba <wakaba@suika.fam.cx>
1620
1621 * XMLParser.dis (parse): Sets |Document.documentURI|
1622 and |Document.manakaiEntityBaseURI| attributes of the
1623 document created.
1624 (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
1625 property of the created node.
1626 (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
1627 of the created node.
1628 (ls-input-to-input-file.default): Sets the resolved
1629 system identifier to the |documentURI| attribute if available.
1630 Sets the |baseURI| attribute if available.
1631
1632 2006-03-05 Wakaba <wakaba@suika.fam.cx>
1633
1634 * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
1635 (Node.baseURI): New attribute implementations.
1636 (declarationBaseURI): Setter is added.
1637 (manakaiDeclarationBaseURI): New attribute.
1638
1639 * Tree.dis (Require): A reference to the |MURI:Generic|
1640 module is added.
1641 (Node.baseURI): The implementation is revised.
1642 (getNodeReference): Attribute node classes specialized
1643 to attribute names are supported.
1644 (contentBaseURI, htmlBaseURI): Removed.
1645 (manakaiEntityBaseURI): New attribute.
1646 (ManakaiDOMImplementationDocument): It now inherits
1647 the |urigen:URIImplementation| class.
1648
1649 * DOMMain.dis (isRelativeDOMURI): The definition
1650 of the URI scheme is synced with |Message::URI::Generic|'s
1651 one.
1652
1653 * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
1654 module is added.
1655 (DocumentType.implementation): New attribute.
1656 (Node.baseURI): Implementations are added.
1657 (manakaiDeclarationBaseURI): New attributes.
1658 (manakaiEntityBaseURI): New attributes.
1659 (manakaiEntityURI): New attribute.
1660 (manakaiExternal): New attribute.
1661 (manakaiBaseURI): New attribute.
1662 (ManakaiDOMXMLBaseAttr): New class.
1663
1664 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1665
1666 * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
1667 module was missing.
1668
1669 * ManakaiDOMLS2003.dis: Some property names was incorrect.
1670
1671 * Makefile (distclean): New rule.
1672
1673 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1674
1675 * DOMLS.dis: Removed from the CVS repository, since
1676 it has been no longer required to make the |daf| system
1677 itself.
1678
1679 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1680
1681 * Makefile: Revised for new |daf| database format.
1682
1683 2006-02-25 Wakaba <wakaba@suika.fam.cx>
1684
1685 * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
1686 module is added.
1687
1688 2006-02-22 Wakaba <wakaba@suika.fam.cx>
1689
1690 * DOMLS.dis: Constants were typed as |dx:ErrorCode|
1691 by mistake.
1692
1693 2006-02-18 Wakaba <wakaba@suika.fam.cx>
1694
1695 * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
1696 feature.
1697
1698 * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
1699
1700 * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
1701 (DOMImplementationLS.createLSParser): Implemented.
1702 (DOMImplementationLS.createLSInput): Revised.
1703 (LSInput): Note on relationship with |GenericLS| is added.
1704
1705 * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
1706
1707 2006-02-17 Wakaba <wakaba@suika.fam.cx>
1708
1709 * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
1710 is introduced.
1711 (async, busy): Implemented.
1712 (parseString): Removed.
1713 (parse, parseURI): Implemented.
1714 (xp:ls-input-to-input-file): New configuration parameter.
1715 (shiftChar): Gets character from current file handle
1716 rather than replacement text. Don't normalize
1717 line break characters for internal entities. Don't
1718 throw |xp:wf-legal-literal-character| error
1719 for |RestrictedChar| appearing in internal entities.
1720 (DISPerl:dpgDef): Call |close| for each entity filehandler.
1721 (_EntityDeclaration): Copy document URI and base URI
1722 to the entity's |$decl| object.
1723 (ParseError): New code fragment.
1724 (getCopyOfEntityState): Creates filehandle from replacement
1725 text.
1726 (xp-error-lines): Don't appends text if no replacement
1727 text is available.
1728 (error-handler): New configuration parameter application resource.
1729 (ManakaiDOMLSInputToInputFile): New class.
1730 (ManakaiDOMInputFile): New class.
1731
1732 * Tree.dis (getNodeReference): A dereferencing was missing.
1733
1734 * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1735
1736 2006-02-17 Wakaba <wakaba@suika.fam.cx>
1737
1738 * XMLParser.dis: Default attribute are now namespace aware.
1739 (parseString): Don't output |Document| warnings
1740 during tree construction to standard error output.
1741
1742 2006-02-16 Wakaba <wakaba@suika.fam.cx>
1743
1744 * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1745 XML Namespace 1.1 is implemented. Namespace well-formedness
1746 error detection is implemented. Generates |Notation| nodes
1747 from notation declarations.
1748 (checkNCName, checkQName): New code fragments.
1749
1750 * XDoctype.dis (DocumentXDoctype): Factory methods
1751 don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1752 is |false|.
1753
1754 * DOMCore.dis (wf-invalid-character-in-node-name,
1755 wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1756
1757 * Tree.dis '(wf-invalid-character-in-node-name,
1758 wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1759 (Attr.specified): Setter added.
1760 (cfg:dtd-default-attributes): New configuration parameter.
1761 (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1762 if |Document.strictErrorChecking| is |false|.
1763
1764 2006-02-15 Wakaba <wakaba@suika.fam.cx>
1765
1766 * XMLParser.dis: Set |allDeclarationsProcessed|
1767 attribute of the |Document| node. Don't process entity
1768 and attribute definition list declarations after
1769 unread parameter entity reference. Warns if an attribute definition is
1770 ignored (|xp:warning-attribute-definition-ignored|). Set
1771 flags whether predefined entities are declared or not.
1772 WFC error |xp:wf-pes-in-internal-subset| is implemented.
1773
1774 2006-02-15 Wakaba <wakaba@suika.fam.cx>
1775
1776 * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
1777 if a predefined entity declaration references an external entity.
1778 Issues |xp:error-malformed-predefined-entity| error if
1779 a predefined entity declaration defines different thing than
1780 one as in XML specification.
1781 Issies |xp:warning-entity-declaration-ignored| warning if
1782 more than one entity declarations for an entity is found.
1783 (WFErrDef): Now all well-formedness errors are marked
1784 as |SEVERITY_FATAL_ERROR|.
1785
1786 * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
1787 predefined entity declarations.
1788 (DocumentXDoctype.createNotation): New method.
1789 (DocumentTypeDefinition.notations): New attribute.
1790 (DocumentTypeDefinition.getNotationNode): New method.
1791 (DocumentTypeDefinition.setNotationNode): New method.
1792 (newNotationForTest): New code fragment.
1793
1794 * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
1795 (c:ManakaiDOMNotationMap): New class.
1796 (c:ManakaiDOMNotationMapArray): New class.
1797 (Document.allDeclarationsProcessed): New attribute.
1798
1799 * DOMXML.dis (DocumentType.notations): Implemented.
1800 (Notation): Revised.
1801 (Notation.ownerDocumentTypeDefinition): New attribute.
1802
1803 2006-02-14 Wakaba <wakaba@suika.fam.cx>
1804
1805 * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
1806 WFC errors are implemented. Reports a |xp:wf-syntax-error|
1807 if a parameter entity declaration contains |NDATA| keyword.
1808 (setEmptyEntityState): Set |name| attribute.
1809
1810 * Tree.dis (createEntityReference): Don't enter into inifinite
1811 loop even if entity replacement tree contains recursive
1812 reference directly or indirectly.
1813
1814 2006-02-13 Wakaba <wakaba@suika.fam.cx>
1815
1816 * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
1817 WFC error is implemented.
1818
1819 2006-02-13 Wakaba <wakaba@suika.fam.cx>
1820
1821 * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
1822 configuration parameter |true| during tree construction
1823 to ensure default attribute value is cloned as is
1824 including entity reference subtree.
1825
1826 * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
1827 parameter.
1828 (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
1829 configuration parameter support is added.
1830
1831 2006-02-12 Wakaba <wakaba@suika.fam.cx>
1832
1833 * XMLParser.dis (parseString): General |Entity| replacement
1834 tree is not constructed because of a typo. Clears |EntityReference|
1835 content before constructing |Entity| replacement tree.
1836 The |xp:wf-entity-declared| well-formedness constraint
1837 for entity references in attribute value literal is implemented.
1838
1839 2006-02-11 Wakaba <wakaba@suika.fam.cx>
1840
1841 * XMLParser.dis: |xp:wf-entity-declared| well-formedness
1842 constaraint for entity references that appear in
1843 content of elements is implemented. Set |EntityReference.isExpanded|
1844 attribute.
1845 (getEmptyEntityState): New code.
1846
1847 * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
1848 definition is removed.
1849
1850 * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
1851 (EntityReference.isExpanded): Setter is added.
1852
1853 2006-02-11 Wakaba <wakaba@suika.fam.cx>
1854
1855 * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
1856 and |xp:wf-no-external-entity-references| well-formedness
1857 constraints are implemented.
1858
1859 2006-02-11 Wakaba <wakaba@suika.fam.cx>
1860
1861 * XMLParser.dis ($self->{has_error}): Removed.
1862 (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
1863 errors (including well-formedness constraint errors) are
1864 traped by the error handler.
1865 (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
1866 attribute of the node. Reports an error if |publidLiteral|
1867 contains a non-|pubidChar|.
1868
1869 * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
1870 version |3.0|).
1871 (ManakaiDOMDocumentTypeDefinition): The class no longer
1872 inherits |x:ManakaiDOMDocumentType| class. Instead,
1873 it inherits |d:ManakaiDOMDocumentTypeDeclaration|
1874 and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType|
1875 interface (except unimplemented |notations| and |internalSubset|
1876 attributes).
1877 (ManakaiDOMDocumentTypeDefinition.entities): New attribute
1878 for compatibility with |x:DocumentType| interface.
1879 (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
1880 (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
1881 (ManakaiDOMDocumentTypeDefinition.nodeType,
1882 ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
1883 (DocumentTypeDeclaration): New interface.
1884
1885 * Tree.dis (Node/@f:implements): Typos fixed.
1886 (Node.MUErrorHandler): Missing |last A| statement is added.
1887 (createDocumentType): Throws an exception if |qualifiedName|
1888 is illegal. Calls |DocumentTypeDefinition.newObject|
1889 instead of obsolete |DocumentType.newObject|.
1890
1891 * DOMXML.dis (DocumentType.name, DocumentType.entities,
1892 DocumentType.publicId, DocumentType.systemId,
1893 DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
1894 as clones of similar attributes or methods
1895 in |MDOM:XDoctype| module.
1896 (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
1897 instead).
1898 (DocumentType.childNodes): Removed (|Node.childNodes| definition
1899 is used).
1900
1901 2006-02-10 Wakaba <wakaba@suika.fam.cx>
1902
1903 * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
1904 fatal error.
1905
1906 2006-02-09 Wakaba <wakaba@suika.fam.cx>
1907
1908 * XMLParser.dis (CommentDeclaration): |STRING| is now
1909 defined as a |?default-token|.
1910 (XMLTests): Tests for |Char - RestrictedChar| matchness,
1911 comment declarations, cdata sections, and |MSE| in |content|
1912 added.
1913 (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
1914 (get-location-from-token): |$token->{location_d}|
1915 for |?default-token| column counting support added.
1916
1917 * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
1918
1919 2006-02-08 Wakaba <wakaba@suika.fam.cx>
1920
1921 * Tree.dis (createProcessingInstruction): Don't
1922 throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
1923 is |false|.
1924
1925 * XMLParser.dis (parseString): Initializes |$self->{location}|.
1926 It enables improved error position report.
1927 (XDO): It now includes |S+| following target name |xml| as
1928 part of the token. (PI with target starting with |xml|
1929 was unable to be placed at the beginning of the document entity.)
1930 (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
1931 a processing instruction node with |#INVALID| node name
1932 if target name is not given and recovered from the error.
1933 (S): Variable |$s| added.
1934 (XMLTests): Tests for XML declarations and processing
1935 instructions are added. Prints error type name if unexpected
1936 error with severity of error or fatal error has been reported.
1937 Catch unexpected exceptions thrown in parser (different
1938 from |LSException|), prints its message, and invoke |$test->not_ok|
1939 for the ease of testing.
1940 (xp:get-location-from-token): Location values now take |$self->{char}|
1941 stack into acount.
1942
1943 2006-02-08 Wakaba <wakaba@suika.fam.cx>
1944
1945 * XMLParser.dis (shiftChar): Line and column number counting
1946 is fixed. Although the DOM Level 3 Core specification
1947 is unclear about whether the first number is zero or one,
1948 in most programs the first line is "one" and
1949 the first column is "one", manakai follows the practice.
1950 (_XMLDeclaration): Don't set |xmlStandalone| value
1951 if |standalone| pseudo-attribute value is |no|. XML declaration
1952 tests (successful cases) added.
1953 (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
1954 properties.
1955
1956 2006-02-08 Wakaba <wakaba@suika.fam.cx>
1957
1958 * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
1959
1960 2006-02-06 Wakaba <wakaba@suika.fam.cx>
1961
1962 * DOMCore.dis (c:erred): New property.
1963 (c:DOMErrorType): It should have been a subset
1964 of |ecore:AnyErrorCode|.
1965
1966 * XMLParser.dis (XMLTests): Empty input tests added.
1967
1968 2006-01-30 Wakaba <wakaba@suika.fam.cx>
1969
1970 * XDoctype.dis (d:Feature): New canonical feature
1971 name |fe:XDoctype| is added.
1972
1973 * XMLParser.dis: Predefined general entity references
1974 are implemented. Creates |Entity| nodes from general entities
1975 declared in internal subset. |Entity| nodes created from internal
1976 general parsed entities now have replacement tree.
1977 Sets |cfg:entity-reference-read-only| flag off during
1978 the tree generation. Some parsing rules use |$self->{doc}|
1979 rather than |$doc| parameter. Similarly, |$self->{docx}| (document
1980 node with |fe:XDoctype| feature) and |$self->{dtdef}| are
1981 introduced. General entity references in attribute value literal
1982 are supported.
1983
1984 2006-01-29 Wakaba <wakaba@suika.fam.cx>
1985
1986 * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
1987 parameter name changed to |cfg:entity-reference-read-only|.
1988 (createEntityReference): Set |c:read-only| flag of
1989 the created entity reference, too.
1990
1991 * DOMLS.dis (min): New canonical feature name |fe:Min| added.
1992
1993 * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
1994 from |DOMFeature| module instead. Use |idl:Object|
1995 instead of |DOMMain:DOMObject| as well.
1996 (Generic): New canonical feature name |fe:GenericLS| added.
1997 (DOMLS:ParserRole, DOMLS:SerializerRole): Their
1998 canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
1999 respectively.
2000
2001 * DOMXML.dis (entities, notations): Perl code removed.
2002 It will be reimplemented using |DocumentTypeDefinition|
2003 class from |XDoctype| module.
2004
2005 * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
2006 Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
2007 SimpleLS.dis: Cleaned up unused definitions.
2008
2009 * DOMCore.dis, DOMLS.dis (CParam): Definitions
2010 for LS module moved from |DOMCore| module to |DOMLS| module.
2011 This change makes |DOMCore| to |DOMLS| dependency removed.
2012
2013 * .cvsignore (.html.pm, .ls.pm): Removed.
2014
2015 * Makefile (.html.pm, .ls.pm): Removed.
2016 (feature.dae): Include |GenericLS| module.
2017 (core.dae): Don't include |DOMLS| and |GenericLS| module.
2018 (ls.dae): Include |DOMLS| module.
2019
2020 2006-01-29 Wakaba <wakaba@suika.fam.cx>
2021
2022 * XMLParser.dis: Tests on default attributes and their |specified|
2023 attribute are added.
2024
2025 * XDoctype.dis (createGeneralEntity): New method.
2026 (generalEntities): New attribute.
2027 (getGeneralEntityNode, setGeneralEntityNode): New methods.
2028
2029 * Tree.dis (ManakaiDOMEntities): Removed.
2030 (ManakaiDOMEntityMap): New class.
2031 (ManakaiDOM:entity-reference-read-only): New configuration parameter.
2032 (createEntityReference): If there is a corresponding |Entity|
2033 node in the document type definition, then copies its
2034 subtree.
2035
2036 * DOMXML.dis (Entity): Documentation updated.
2037 (publicId, systemId, notationName, xmlEncoding,
2038 xmlVersion): These attributes are now settable
2039 if |ManakaiDOM:ManakaiDOMLatest| mode.
2040 (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
2041 mode.
2042 (ownerDocumentTypeDefinition): New attribute
2043 for |ManakaiDOM:ManakaiDOMLatest| mode.
2044 (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
2045
2046 2006-01-28 Wakaba <wakaba@suika.fam.cx>
2047
2048 * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
2049
2050 * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
2051
2052 * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
2053 (ManakaiDOMAttributes): Removed.
2054 (ManakaiDOMAttrMap): New class.
2055 (ManakaiDOMAttrMapArray): New class.
2056 (namespaceURI): Bug to return a string representation
2057 of a reference to the namespace URI string is fixed.
2058 (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
2059 (removeAttribute, removeAttributeNS): DTD default attributes
2060 are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR|
2061 if there is no attribute node.
2062 (createElement, createElementNS): DTD default attributes are supported.
2063 (setAttributeNode): Reimplemented.
2064
2065 2006-01-27 Wakaba <wakaba@suika.fam.cx>
2066
2067 * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
2068
2069 * Tree.dis (STORESIZE): Index bound bug fixed.
2070 (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
2071 (schemaTypeInfo): Implemented for XML DTD.
2072 (isId): Returns |true| if [attribute type] is |ID|.
2073 (setAttribute, setAttributeNS): Sets [attribute type]
2074 of the newly created |Attr| node (if any) when attribute
2075 definition is available.
2076 (doctype, documentElement): Reimplemented with tests.
2077
2078 * XMLParser.dis: Sets [attribute type] information
2079 to created |Attr| nodes. Normalize namespace URIs
2080 when such information are available (unlikely but legal).
2081 (_HexadecimalCharacterReference): Number to character
2082 convertion bug fixed.
2083 (_DocumentTypeDeclaration): Sets |schema-type|
2084 configuration parameter to XML DTD URI.
2085
2086 2006-01-26 Wakaba <wakaba@suika.fam.cx>
2087
2088 * XMLParser.dis (_AttlistDeclaration): Now it can generate
2089 attribute definition nodes.
2090
2091 * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
2092 and another |UNKNOWN_ATTR| constant is introduced
2093 for consistency with XML Infoset.
2094
2095 * DOMCore.dis (TypeInfo): Documentation updated.
2096
2097 2006-01-26 Wakaba <wakaba@suika.fam.cx>
2098
2099 * XDoctype.dis: A bug in test code fixed.
2100
2101 * Tree.dis (NamedNodeMap): Element type or attribute
2102 definition named node maps now can be dereferenced
2103 as if they are array or hash references.
2104 (removeNamedItem, item, ___report_error): Implemented for element type
2105 or attribute definitions.
2106 (length): Tests added.
2107 (NamedNodeMapArray): New classes.
2108
2109 2006-01-25 Wakaba <wakaba@suika.fam.cx>
2110
2111 * XDoctype.dis (setElementTypeDefinitionNode,
2112 setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
2113 if the new node is already used for another definition.
2114 (DocumentTypeDefinition, ElementTypeDefinition): Node
2115 property name was incorrect.
2116 (elementTypes, attributeDefinitions): Checks to
2117 ensure the collection is empty added.
2118
2119 * Tree.dis: Property name typos fixed.
2120 (setNamedItem, setAttributeNode): Don't return any node
2121 if it replace itself.
2122 (c:userDeterminedId): Missing definition added.
2123
2124 * DOMXML.dis (Notation): Missing property specification
2125 of|c:ownerDocument| as |mn:xrefnode0| is added.
2126
2127 2006-01-23 Wakaba <wakaba@suika.fam.cx>
2128
2129 * DOMCore.dis (Test): Missing argument added.
2130 (setNamedItem): If |DocumentType| with no |ownerDocument|,
2131 addition always fails with |WRONG_DOCUMENT_ERR|. Some
2132 error conditions were incorrect.
2133
2134 * .cvsignore: Dummy files added.
2135
2136 2006-01-22 Wakaba <wakaba@suika.fam.cx>
2137
2138 * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
2139 INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
2140
2141 * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
2142 to avoid uninitialized value warning.
2143
2144 * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
2145 classes (work in progress).
2146
2147 * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
2148
2149 2006-01-22 Wakaba <wakaba@suika.fam.cx>
2150
2151 * Tree.dis (getAttribute): Returns |null| if there
2152 is no attribute in |ManakaiDOM:DOMLatest| for compatibility
2153 with Web browser implementations.
2154 (getAttributeNS): It returned |null| if there
2155 is no attribute in any |For| unintentionally. It now
2156 returns an empty string in DOM levels less than or equals
2157 to three.
2158
2159 * XMLParser.dis (shiftChar): Fixed not to be warned as
2160 uninitialized value or substring out of range.
2161
2162 2006-01-21 Wakaba <wakaba@suika.fam.cx>
2163
2164 * DOMXML.dis (DocumentType.childNodes): Removed
2165 from |ManakaiDOM:ManakaiDOMLatest| variant.
2166
2167 * XMLParser.dis: Parsing of general internal entities implemented.
2168 (_DocumentTypeDeclaration): Appends a document type definition
2169 node to the document.
2170 (_ProcessingInstructionDTD): Appends a processing
2171 instruction node to the document type definition.
2172 (Element_): Document element could not be an |EmptyElemTag|.
2173
2174 2006-01-21 Wakaba <wakaba@suika.fam.cx>
2175
2176 * DOMFeature.dis (featuresParamToFeaturesHash): New block
2177 code (seprated from |InputProcessor|). Now
2178 a |features| parameter's version can be specified by
2179 an array reference that contains a set of version
2180 numbers. A test added.
2181
2182 * XMLParser.dis: A test added.
2183
2184 2006-01-07 Wakaba <wakaba@suika.fam.cx>
2185
2186 * DOMCore.dis (Test): Don't invoke |DESTROY| method
2187 because it does not work with dummy object used in the test code.
2188
2189 2006-01-07 Wakaba <wakaba@suika.fam.cx>
2190
2191 * DOMMain.dis (checkXMLNamesQName): Checks whether
2192 namespace URI is defined for not being warned.
2193
2194 * XDoctype.dis: New module.
2195
2196 * DOMCore.dis (DOMStringList): Test added.
2197
2198 * Makefile: |XDoctype.pm| added.
2199
2200 * Tree.dis (Require): Requires |XDoctype.dis|.
2201 (ManakaiDOMNodeObjectNode.eq): Added.
2202 (Test): |DOMError.location| must return a |DOMLocator|
2203 object (it was incorrectly tested to return |null|).
2204 (EmptyNodeList.DESTROY): Removed.
2205
2206 2006-01-04 Wakaba <wakaba@suika.fam.cx>
2207
2208 * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
2209 |ATTRIBUTE_DEFINITION_NODE| node types added.
2210 (appendChild, insertBefore, replaceChild): New
2211 two node types added and processing instruction nodes
2212 as document type definition node child is allowed
2213 in |ManakaiDOM:ManakaiDOMLatest| mode.
2214 (getNodeReference): New |interface| parameter
2215 to filter classes by interface is added.
2216 (ElementTypeDefinitionRole): New role.
2217 (AttributeDefinitionRole): New role.
2218
2219 2006-01-02 Wakaba <wakaba@suika.fam.cx>
2220
2221 * DOMCore.dis (DOMStringList): Reimplemented as tied array.
2222
2223 2005-12-31 Wakaba <wakaba@suika.fam.cx>
2224
2225 * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
2226 if it is not provided.
2227
2228 * XMLParser.dis: Parsing methods to skip document
2229 type declaration is added.
2230
2231 2005-12-29 Wakaba <wakaba@suika.fam.cx>
2232
2233 * XMLParser.dis (shiftChar): Checks characters are legal
2234 or not. Normalize end-of-lines.
2235 (rule _XMLDeclaration_): Implemented.
2236 (WFErrDef): Well-formedness error |wf-syntax-error|,
2237 |wf-pi-target-is-xml|, |wf-no-end-tag|,
2238 |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
2239 |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
2240 |wf-element-type-match|, |wf-unique-att-spec|,
2241 |wf-legal-character| added.
2242 (%character-code-point): New formatter rule.
2243
2244 * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
2245
2246 * DOMCore.dis (DOMError.stringify): Added.
2247 (error-handler.default): Returns |false| (don't continue)
2248 when the error severity is |SEVERITY_FATAL_ERROR|.
2249
2250 2005-12-28 Wakaba <wakaba@suika.fam.cx>
2251
2252 * XMLParser.dis (DocumentEntity): Typos fixed.
2253 (|lexmode|s): New |?default-token| statements are used
2254 so that tokenizer description has been simplified
2255 and CDATA sections now can be parsed.
2256
2257 2005-12-28 Wakaba <wakaba@suika.fam.cx>
2258
2259 * XMLParser.dis: Some modifications made.
2260
2261 2005-12-27 Wakaba <wakaba@suika.fam.cx>
2262
2263 * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
2264 global named resource.
2265
2266 * Makefile: Rules to make |XMLParser.pm| is added.
2267
2268 * XMLParser.dis: New file.
2269
2270 2005-12-24 Wakaba <wakaba@suika.fam.cx>
2271
2272 * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
2273 message formatter can now vary by error types.
2274 (DOMLocator.utf32Offset): New (manakai extended) attribute.
2275
2276 2005-12-23 Wakaba <wakaba@suika.fam.cx>
2277
2278 * DOMCore.dis (DOMLocator): Implemented.
2279
2280 2005-12-21 Wakaba <wakaba@suika.fam.cx>
2281
2282 * DOMCore.dis (DOMConfigurationParameterApplication,
2283 domConfigurationParameter): New resources.
2284
2285 2005-11-25 Wakaba <wakaba@suika.fam.cx>
2286
2287 * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
2288 New methods.
2289
2290 2005-11-24 Wakaba <wakaba@suika.fam.cx>
2291
2292 * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
2293 blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
2294
2295 * DOMMain.dis (___report_error): Throws the error unkess
2296 it is a |DOMCore:DOMError| object.
2297
2298 2005-11-24 Wakaba <wakaba@suika.fam.cx>
2299
2300 * DOMCore.dis (severity, type): Getters return value from
2301 the definition of the current error (i.e. |-def| hash).
2302 (___error_def): New method.
2303 (errorType): |dis:dataType| changed to |DISCore:TFQNames|
2304 to ease natural reference to constant value.
2305 (error-handler.default): Prints the error message by |warn|.
2306
2307 * Tree.dis (nodeValue.set): Reimplemented so that it
2308 warns as setting has no effect.
2309 (___report_error): New method. (It had been only implemented
2310 in superclass.)
2311 (setting-node-value-no-effect): New error type.
2312
2313 2005-11-23 Wakaba <wakaba@suika.fam.cx>
2314
2315 * DOMCore.dis: Error codes added.
2316
2317 * Tree.dis (destroyNodeStem): New method implementation.
2318
2319 2005-11-22 Wakaba <wakaba@suika.fam.cx>
2320
2321 * Tree.dis (cloneNode): User data handlers implemented.
2322 (adoptNode): User data handlers implemented.
2323
2324 2005-11-21 Wakaba <wakaba@suika.fam.cx>
2325
2326 * DOMCore.dis (UserDataHandler): A constraint for Perl binding
2327 added.
2328
2329 * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
2330 (getUserData, setUserData): Implemented.
2331
2332 2005-11-20 Wakaba <wakaba@suika.fam.cx>
2333
2334 * DOMCore.dis (UserDataHandler): Implemented.
2335 (DOMErrorHandler): Blessed package name bug fixed.
2336
2337 * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
2338 changed to |Tree.dis|.
2339
2340 2005-11-20 Wakaba <wakaba@suika.fam.cx>
2341
2342 * DOMMain.dis: Unused declarations and definitions removed.
2343
2344 * DOMCore.dis: DOM document tree related interfaces removed.
2345
2346 * Tree.dis: New module separated from |DOMCore.dis|.
2347
2348 * DOMXML.dis: Some referent changed to |Tree.dis|.
2349
2350 * Makefile: |Tree.dis| added.
2351
2352 2005-11-16 Wakaba <wakaba@suika.fam.cx>
2353
2354 * .cvsignore: Revised.
2355
2356 2005-11-16 Wakaba <wakaba@suika.fam.cx>
2357
2358 * ManakaiDOMLS2003.dis: Tests added.
2359 (domConfig): Method name in the code fixed to |flag|.
2360
2361 * DOMMain.dis (findOffset32): Missing |^| in regular expressions
2362 added.
2363
2364 * DOMCore.dis (hasChildNodes): Returns |false| if the node type
2365 is defined not to have any children.
2366 (CharacterData): Typos in element type names and function names fixed.
2367
2368 2005-11-15 Wakaba <wakaba@suika.fam.cx>
2369
2370 * DOMFeature.dis (MinimumImplementation.eq): Added.
2371
2372 * DOMMain.dis: |DISPerl:ISA| reference fixed.
2373
2374 * Generic.dis: Implements new |DOMLS:Generic| feature.
2375
2376 2005-11-15 Wakaba <wakaba@suika.fam.cx>
2377
2378 * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
2379 characters between feature names and versions.
2380
2381 2005-11-13 Wakaba <wakaba@suika.fam.cx>
2382
2383 * DOMFeature.dis (stringifyFeatures): A test code added.
2384
2385 2005-10-26 Wakaba <wakaba@suika.fam.cx>
2386
2387 * SimpleLS.dis (writeToString): Don't stop serializing
2388 when an |false| value appears in |@src|.
2389
2390 2005-10-16 Wakaba <wakaba@suika.fam.cx>
2391
2392 * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
2393 (ErrDef): Redefined.
2394
2395 * DOMLS.dis (ErrDef): Redefined.
2396
2397 2005-10-16 Wakaba <wakaba@suika.fam.cx>
2398
2399 * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
2400
2401 2005-10-15 Wakaba <wakaba@suika.fam.cx>
2402
2403 * DOMCore.dis (Require): References "DOMLS.dis" module.
2404 (CParam): Definitions for LS module added.
2405
2406 * DOMLS.dis (ManakaiDOMLSInput): The input processor
2407 is also an output processor now.
2408 (ManakaiDOMLSResourceResolver): Implemented.
2409 (CParam): Definitions updated.
2410
2411 2005-10-14 Wakaba <wakaba@suika.fam.cx>
2412
2413 * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
2414 NOT_SUPPORTED_CONFIG_VALUE_ERR,
2415 INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
2416 (DOMConfiguration): Implemented.
2417 (CParam): Definitions updated.
2418
2419 * DOMMain.dis (DOMURIs): New data type.
2420
2421 2005-10-13 Wakaba <wakaba@suika.fam.cx>
2422
2423 * DOMCore.dis (setAttrValueNS): New code.
2424
2425 2005-10-12 Wakaba <wakaba@suika.fam.cx>
2426
2427 * DOMCore.dis: Don't set "infoset:prefix" internal
2428 property unless it has non-null value.
2429 (newObject): "refNode" parameter introduced.
2430 (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
2431 method if "refNode" parameter is specified.
2432 (cloneNode): Don't set "read-only" flag.
2433 (getNodeReference): Caches the result.
2434 (selectAttributeNodeForRemove): Don't removes any other
2435 non-namespace-aware attribute nodes.
2436
2437 2005-10-11 Wakaba <wakaba@suika.fam.cx>
2438
2439 * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
2440 setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
2441 (doStrictErrorChecking): New code.
2442
2443 * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
2444 supported.
2445
2446 * Makefile: Rule to make "DOMFeature.pm" restored.
2447
2448 2005-10-10 Wakaba <wakaba@suika.fam.cx>
2449
2450 * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2451 (adoptNode): Implemented.
2452
2453 2005-10-09 Wakaba <wakaba@suika.fam.cx>
2454
2455 * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
2456
2457 * DOMFeature.dis (DOMCore:implementation): Short name added.
2458
2459 * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2460 (DOMCore:node): New error parameter.
2461 (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2462 to "mn:xrefnode0". For this reason, all assignments
2463 to this property have been rewritten to references
2464 to code "mn:setXRefNode".
2465 (cloneNode): Implemented.
2466 (setAttributeNode): A missing "importTree" method call added.
2467 (setAttributeNodeNS): Perl code removed and changed
2468 to a reference to "setAttributeNode" method code.
2469
2470 * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2471 property to "mn:xrefnode0" property.
2472
2473 2005-10-08 Wakaba <wakaba@suika.fam.cx>
2474
2475 * DOMCore.dis, DOMLS.dis: Now constant values are defined only
2476 in interfaces.
2477
2478 2005-10-06 Wakaba <wakaba@suika.fam.cx>
2479
2480 * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
2481 (ManakaiDOMCharacterData): Methods reimplemented.
2482 (splitText): Reimplemented.
2483 (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2484 for non-parent node types.
2485
2486 * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2487 for non-parent node types.
2488
2489 2005-10-05 Wakaba <wakaba@suika.fam.cx>
2490
2491 * ManakaiDOMLS2003.dis: Revised to new format.
2492
2493 * GenericLS.dis (DOMLS:ParseString): New feature.
2494
2495 2005-10-05 Wakaba <wakaba@suika.fam.cx>
2496
2497 * DOMFeature.dis: Description added and revised. (Still more
2498 work required.)
2499
2500 2005-10-04 Wakaba <wakaba@suika.fam.cx>
2501
2502 * DOMMain.dis (DOMString): The "idl:perl" attribute
2503 value has been changed from "DISPerl:String"
2504 to "DISPerl:CharacterString" to clarify its semantics.
2505
2506 2005-10-03 Wakaba <wakaba@suika.fam.cx>
2507
2508 * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
2509 type properties added.
2510
2511 * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
2512 type properties added.
2513
2514 2005-10-02 Wakaba <wakaba@suika.fam.cx>
2515
2516 * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
2517 properties added.
2518
2519 2005-10-01 Wakaba <wakaba@suika.fam.cx>
2520
2521 * DOMFeature.dis: Documentation added (still work in progress).
2522 (MIString): New type.
2523
2524 * DOMCore.dis (namespaceURI): Fixed to return the namespace
2525 URI value, not a reference to it.
2526
2527 2005-09-30 Wakaba <wakaba@suika.fam.cx>
2528
2529 * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
2530 names where possible.
2531
2532 * DOMFeature.dis: Documentation for DOM Minimum Implementation
2533 added (still work in progress).
2534
2535 * Makefile (feature.dae, feature-spec.dae): New rules.
2536
2537 2005-09-27 Wakaba <wakaba@suika.fam.cx>
2538
2539 * DOMCore.dis (DOMCore:nodeProp): New property.
2540
2541 * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
2542 is removed.
2543
2544 2005-09-26 Wakaba <wakaba@suika.fam.cx>
2545
2546 * DOMCore.dis, DOMXML.dis: New mn:* properties added.
2547
2548 2005-09-25 Wakaba <wakaba@suika.fam.cx>
2549
2550 * Makefile (DAC_SUFFIX): Changed to ".dae".
2551 (DAEM_SUFFIX): New.
2552
2553 2005-09-24 Wakaba <wakaba@suika.fam.cx>
2554
2555 * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
2556 and "ManakaiDOM:ManakaiDOM2".
2557
2558 * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
2559 DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
2560 instead of disPerl:Q for internal property hash keys.
2561
2562 * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
2563 definitions added.
2564
2565 * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
2566 New resources.
2567
2568 * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
2569 resources.
2570
2571 2005-09-23 Wakaba <wakaba@suika.fam.cx>
2572
2573 * GenericLS.dis, SimpleLS.dis: New modules separated
2574 from DOMLS.dis.
2575
2576 * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
2577 moved from DOMMain to DOMFeature. Now DOMFeature
2578 has no dependency on DOMMain.
2579
2580 * DOMFeature.dis (DEBUG): New variable.
2581
2582 2005-09-22 Wakaba <wakaba@suika.fam.cx>
2583
2584 * Makefile: DAC_SUFFIX changed to ".dad".
2585
2586 2005-09-21 Wakaba <wakaba@suika.fam.cx>
2587
2588 * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
2589 features if it is "for" ManakaiDOM:DOMXMLFeature.
2590
2591 * DOMMain.pm (StringExtend): Code portions of raising
2592 StringOutOfBoundsException is temporary disabled since
2593 it is not a DOM-style exception supported by
2594 current implementation of ManakaiNode - it will be
2595 recovered in later revision.
2596
2597 2005-09-20 Wakaba <wakaba@suika.fam.cx>
2598
2599 * DOMFeature.pm: Debug output code copied
2600 from Attic/DOMMetaImpl.pm (Should these code incorporated
2601 to source dis file?).
2602
2603 2005-09-19 Wakaba <wakaba@suika.fam.cx>
2604
2605 * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
2606 ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
2607 ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
2608 (ManakaiDOMTimeStamp): Removed.
2609
2610 * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
2611 longer in use).
2612
2613 2005-09-18 Wakaba <wakaba@suika.fam.cx>
2614
2615 * DOMMain.dis (StringOutOfBoundsException): New exception.
2616
2617 2005-09-15 Wakaba <wakaba@suika.fam.cx>
2618
2619 * DOMFeature.dis: dis:dataType and dis:multipleProperties
2620 properties added to properties.
2621
2622 2005-09-08 Wakaba <wakaba@suika.fam.cx>
2623
2624 * Makefile: Rules renewaled.
2625
2626 2005-09-07 Wakaba <wakaba@suika.fam.cx>
2627
2628 * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
2629
2630 2005-09-05 Wakaba <wakaba@suika.fam.cx>
2631
2632 * DOMMain.dis (DOMImplementationRegistry,
2633 DOMImplementationRegistryVar): New.
2634
2635 * DOMFeature.dis (DOMImplementationRegistry,
2636 DOMImplementationRegistryVar): Removed.
2637 (ImplementationRegistry): New class.
2638
2639 2005-09-04 Wakaba <wakaba@suika.fam.cx>
2640
2641 * DOMFeature.dis: New module.
2642
2643 * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
2644
2645 * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
2646 (DOMString, DOMTimeStamp): Now they are not interfaces
2647 but datatypes.
2648 (DOMUserData, DOMObject, DOMUserData): Now they
2649 are subtypes rather than aliases of their "real" type in IDL.
2650
2651 * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
2652 New interfaces and classes.
2653
2654 2005-09-01 Wakaba <wakaba@suika.fam.cx>
2655
2656 * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
2657 property of the new Text node.
2658
2659 2005-08-29 Wakaba <wakaba@suika.fam.cx>
2660
2661 * Makefile: Loads "NaturalLanguage.dis".
2662
2663 2005-08-26 Wakaba <wakaba@suika.fam.cx>
2664
2665 * DOMCore.dis (createDocument): Set "ownerDocument" attribute
2666 to the root element created by the method. (It was forgotten!!)
2667
2668 2005-08-15 Wakaba <wakaba@suika.fam.cx>
2669
2670 * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
2671 in the code of removing the newChild from the previous
2672 parent of that node is fixed.
2673
2674 2005-05-29 Wakaba <wakaba@suika.fam.cx>
2675
2676 * DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use
2677 namespace prefix of element type if it is not declared
2678 but not used else. A shift is replaced by pop:).
2679
2680 * DOMCore.dis (getFeature): The getFeature method
2681 for Node-derived classes implemented.
2682 * DOMXML.dis (getFeature): Ditto.
2683
2684 2005-05-21 Wakaba <wakaba@suika.fam.cx>
2685
2686 * DOMCore.dis (getNodeReference): Use HTMLDocument class
2687 if a document node has no document element node but
2688 has support for the "HTML" feature.
2689
2690 2005-03-03 Wakaba <wakaba@suika.fam.cx>
2691
2692 * DOMMetaImpl.dis (features input normalizer): Variable name
2693 typo fixed.
2694 (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
2695 so that version specification for "+"'ed feature name does work now.
2696
2697 2005-03-02 Wakaba <wakaba@suika.fam.cx>
2698
2699 * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
2700 removed (now defined in DOMMetaImpl).
2701
2702 2005-02-21 Wakaba <wakaba@suika.fam.cx>
2703
2704 * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
2705
2706 * Makefile: Rules for DOMMetaImpl module added.
2707
2708 2005-02-20 Wakaba <wakaba@suika.fam.cx>
2709
2710 * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
2711
2712 2005-02-18 Wakaba <wakaba@suika.fam.cx>
2713
2714 * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
2715 is an instance method, not a class method.
2716
2717 * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
2718 ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
2719 (Exception-related definitions): Removed (moved to
2720 "lib/Message/Util/Error/DOMException.dis").
2721 (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
2722 to DISLang).
2723
2724 2005-02-17 Wakaba <wakaba@suika.fam.cx>
2725
2726 * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
2727 "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
2728 "lib/Message/Util/ManakaiNode.dis").
2729 (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
2730 "lib/manakai/DISCore.dis").
2731 (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
2732 ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
2733 "lib/manakai/DISLang.dis").
2734
2735 2005-02-16 Wakaba <wakaba@suika.fam.cx>
2736
2737 * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
2738 DISPerl module).
2739
2740 2005-01-07 Wakaba <wakaba@suika.fam.cx>
2741
2742 * DOMCore.dis: Each "delete array-item" replaced to a "splice".
2743
2744 2005-01-06 Wakaba <wakaba@suika.fam.cx>
2745
2746 * DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an
2747 XML document.
2748
2749 2005-01-05 Wakaba <wakaba@suika.fam.cx>
2750
2751 * DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method.
2752 (IntMethod[isExternallyReferred]): Rewritten.
2753 (IntMethod[isExternallyReferredDownward]): Removed.
2754 (Checking XML name legallity): Fix true or false mistakes.
2755 (destroy, importTree, orphanate): Rewritten.
2756 (destroyDownward, changeTreeIDDownward): Removed.
2757 (TreeCore:urefnode property): Removed since not used.
2758
2759 * DOMCore.dis: Tying array for NodeList implemented.
2760
2761 2005-01-02 Wakaba <wakaba@suika.fam.cx>
2762
2763 * DOMHTML.dis (HTMLDOMImplementation): New interface.
2764
2765 * DOMViews.dis: Documentation for properties are added.
2766
2767 2004-12-29 Wakaba <wakaba@suika.fam.cx>
2768
2769 * Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added.
2770
2771 * ManakaiDOMCore.dis: Removed (merged with DOMCore.dis).
2772
2773 2004-12-28 Wakaba <wakaba@suika.fam.cx>
2774
2775 * ManakaiDOMXML.dis: Removed (merged with DOMXML.dis).
2776
2777 2004-12-01 Wakaba <wakaba@suika.fam.cx>
2778
2779 * ManakaiDOMMain.dis: Removed (merged with DOMMain.dis).
2780
2781 2004-11-03 Wakaba <wakaba@suika.fam.cx>
2782
2783 * .cvsignore: Ignore pod files.
2784
2785 2004-10-31 Wakaba <wakaba@suika.fam.cx>
2786
2787 * DOMXML.dis (ProcessingInstruction.data): Property name error fixed.
2788
2789 * DOMMain.dis: Don't call DOMString->__INT{length}__ - it should
2790 be DOMString->length.
2791
2792 * DOMCore.dis (Element.getElementsByTagName,
2793 Node.getElementsByTagName, Element.getElementsByTagNameNS,
2794 Node.getElementsByTagNameNS): Implemented.
2795 (Element.getAttributeNode, Element.getAttributeNodeNS):
2796 Check whether defined.
2797
2798 2004-10-18 Wakaba <wakaba@suika.fam.cx>
2799
2800 * DOMWebForms.dis: New module.
2801
2802 2004-10-17 Wakaba <wakaba@suika.fam.cx>
2803
2804 * DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis,
2805 DOMHTML.dis: New modules.
2806
2807 2004-10-16 Wakaba <wakaba@suika.fam.cx>
2808
2809 * DOMMouseEvents.dis, DOMTextEvents.dis: New module.
2810
2811 2004-10-11 Wakaba <wakaba@suika.fam.cx>
2812
2813 * ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added.
2814 (DataType[ManakaiDOMKeyIdentifier, ManakaiDOMKeyIdentifiers]): added.
2815
2816 2004-10-10 Wakaba <wakaba@suika.fam.cx>
2817
2818 * DOMEvents.dis: New module.
2819
2820 * ManakaiDOMCore.dis (ManakaiDOMAttributes.item): Return
2821 node reference.
2822
2823 * ManakaiDOMLS2003.dis (error_handler): '$caller' changed
2824 to '$self' for correct error reporting and not to leak memory.
2825
2826 * Makefile (DIS2PM_PL): Path to dis2pm.pl changed.
2827 * dis2pm.pl, idl2dis.pl: Removed (moved to ../../bin/).
2828
2829 2004-10-09 Wakaba <wakaba@suika.fam.cx>
2830
2831 * DOMCore.dis (ConfigParam): Moved from ManakaiDOMCore.
2832 * ManakaiDOMCore.dis (ConfigParam): Removed.
2833
2834 * dis2pm.pl: Functions to create perl/pod structures
2835 are moved to ../../bin/genlib.pl.
2836 (disdoc2pod, disdoc2text): Allow LESS-THAN SIGN as the first
2837 character of a paragraph.
2838
2839 * ManakaiDOMLS2003.dis (ManakaiXMLParser2003/parse:#comment):
2840 Set ownerDocument as parent if parent.ownerDocument is null.
2841
2842 * dis2pm.pl (dis2perl): Report if DIS code has value.
2843
2844 2004-10-06 Wakaba <wakaba@suika.fam.cx>
2845
2846 * ManakaiDOMCore.dis (IFs): Inherit non-conditional version
2847 of ManakaiDOMMain interfaces.
2848
2849 * DOMCore.dis (Node.childNodes): Typo fixed.
2850
2851 * ManakaiDOMLS2003.dis (parse): Check whether the namespace
2852 prefix is null.
2853
2854 * dis2pm.pl (perl_builtin_code): Allow hash reference as 'features'.
2855 (Condition): Don't generate condition inheritance for DOM1, DOM2
2856 and DOM3.
2857
2858 2004-09-30 Wakaba <wakaba@suika.fam.cx>
2859
2860 * dis2pm.pl (disdoc_inline2pod, disdoc_inline2text): New
2861 element type 'FILE' added.
2862
2863 * ManakaiDOMMain.dis (ManakaiDOMExceptionOrWarning,
2864 ManakaiDOMException, ManakaiDOMWarning): New classes.
2865 (ManakaiDOMObject/___report_error): Implemented.
2866
2867 * dis2pm.pl (perl_builtin_code:ParseFeature): Recognize leading '+'.
2868
2869 2004-09-29 Wakaba <wakaba@suika.fam.cx>
2870
2871 * dis2pm.pl (get_redef_description, attr2perl, method2perl, if2perl):
2872 New attribute 'IsAbstract', 'IsFinal' and 'ImplByApp' added.
2873
2874 2004-09-27 Wakaba <wakaba@suika.fam.cx>
2875
2876 * .cvsignore: New file.
2877
2878 2004-09-27 Wakaba <wakaba@suika.fam.cx>
2879
2880 * DOMLS.dis, ManakaiDOMLS2003: New file.
2881
2882 * dis2pm.pl (MAIN): Output "AUTHOR" pod section; support Perl+MPL
2883 license.
2884 (disdoc2pod, disdoc2text): New 'DFN', 'SA', 'SE', 'HA', 'HE',
2885 'XA', 'XE', 'Prefix', 'ERR', 'EV' and 'CP' element types supported.
2886 (perl_name): Die if uninitialized value.
2887 (constgroup2perl): Support constant group without machine-name.
2888 (pod_item): Die if uninitialized value.
2889 (qname_label): Don't output default prefix.
2890
2891 * idl2dis.pl: Output module name and prefix as 'BindingName'
2892 and 'FileName'.
2893
2894 2004-09-26 Wakaba <wakaba@suika.fam.cx>
2895
2896 * dis2pm.pl (constgroup2perl): Capitalize name.
2897
2898 * idl2dis.pl (type, raise): Prepend namespace prefix if
2899 type is 'DOMString' or 'DOMException' and it is not defined.
2900 (MAIN): Make empty 'Return' element even if return
2901 value is void.
2902 (supply_incase): New.
2903 (const): Use 'FullName' in favor of 'Description' if the name of
2904 the const group is not a machine-friendly name.
2905
2906 2004-09-26 Wakaba <wakaba@suika.fam.cx>
2907
2908 * dis2pm.pl (get_incase_label): Error if label is undef.
2909
2910 2004-09-25 Wakaba <wakaba@suika.fam.cx>
2911
2912 * dis2pm.pl: Generate TODO list.
2913 (method2perl): Use "dis".
2914 (disdoc2pod, disdoc2text): 'HTML', 'InfosetP' element types added.
2915 (perl_builtin_code): New code 'isRelativeDOMURI' added.
2916
2917 * ManakaiDOMMain.dis (MDOM_REPLACE_BY_ITSELF_NO_EFFECT): New
2918 warning code.
2919
2920 * dis2pm.pl (attr2perl, method2perl): Output 'undef;' if the
2921 method or attribute(set) does not return a value.
2922 (perl_code): New macro 'WHEN' added. Macro 'INT{}' now allow
2923 parameter.
2924
2925 2004-09-24 Wakaba <wakaba@suika.fam.cx>
2926
2927 * dis2pm.pl (perl_exception): New 'subtype' parameter added.
2928 (param2poditem): New.
2929 (MAIN): Write 'NAMESPACE BINDINGS' pod section if necessary.
2930 (perl_builtin_code): More developer-friendly error report.
2931 (perl_code): New 'REQUIRE' statement added.
2932 (disdoc2text, disdoc2pod): New 'QUOTE' element type added.
2933 (get_value_literal): Default for unknown type is now 'undef'.
2934
2935 2004-09-22 Wakaba <wakaba@suika.fam.cx>
2936
2937 * dis2pm.pl (perl_builtin_code): New 'CheckName' and
2938 'XMLVersion' added.
2939
2940 2004-09-20 Wakaba <wakaba@suika.fam.cx>
2941
2942 * dis2pm.pl (get_redef_description): See 'RedefinedBy' elements
2943 even if it is 'ReMethod' and 'ReAttr' element.
2944
2945 2004-09-20 Wakaba <wakaba@suika.fam.cx>
2946
2947 * dis2pm.pl (type_label): New option 'is_pod' implemented.
2948 (get_redef_description): New function.
2949 (get_isa_description): New function.
2950 (disdoc2pod, disdoc2text): New.
2951 (get_description): DISDOC support.
2952 (valid_err, valid_err): New option 'node' implemented.
2953
2954 * ManakaiDOMCore.dis (IF[ManakaiDOMNodeObjectNode]): New.
2955
2956 2004-09-19 Wakaba <wakaba@suika.fam.cx>
2957
2958 * dis2pm.pl (condition_match): Report error if the condition
2959 not defined.
2960
2961 * ManakaiDOMMain.dis (MDOM_IMPL_BY_APP): New exception code.
2962
2963 * dis2pm.pl (datatype2perl, datatypealias2perl): "FullName" attribute
2964 introduced.
2965 (constgroup2perl): Define is-a relationship between group
2966 Name and its Type.
2967 (constgroup2perl): "IsBitMask" attribute introduced.
2968
2969 * ManakaiDOMMain.dis: Renamed from "ManakaiDOM.dis".
2970
2971 * dis2pm.pl (type_label): Type label for unsigned-long and
2972 unsigned-short added.
2973 (perl_code): Die if uninitialized value is given.
2974 (is_all_implemented): New function.
2975
2976 * ManakaiDOMXML.dis: New module.
2977
2978 * ManakaiDOMCore.dis: New module.
2979
2980 * dis2pm.pl (dis2perl): 'Overridden' added.
2981
2982 2004-09-18 Wakaba <wakaba@suika.fam.cx>
2983
2984 * ManakaiDOM.dis (MDOM_NEWCHILD_IS_REFCHILD): New warning.
2985 (ManakaiDOMNodeObject->orphanate): New internal method.
2986 (Interface[ManakaiDOMNodeObject, ManakaiDOMNodeReference]): All calls
2987 of internal methods are now qualified by the package name.
2988
2989 2004-09-17 Wakaba <wakaba@suika.fam.cx>
2990
2991 * DOMMain.dis: 'SpecLevel' attribute added.
2992
2993 * idl2dis.pl (level): Set 'SpecLevel' attribute as well as 'Level'.
2994
2995 * dis2pm.pl (get_level_description): Attribute name to see is
2996 changed from 'Level' to 'SpecLevel'
2997 (const2perl): Don't hardlink constant not to be warned
2998 by perl -w.
2999 (ops2perl): Declare subroutine 'DESTROY' not to be warned by
3000 perl -w.
3001 (get_internal_code): Support of lang:dis.
3002
3003 * ManakaiDOM.dis (newReference): New parameter 'class' introduced.
3004
3005 * dis2pm.pl (perl_builtin_code:<ManakaiDOM:ManakaiDOMNamespaceURI>):
3006 Separeted from "DOMString".
3007 (if2perl, attr2perl): Don't cast to DOMString.
3008
3009 2004-09-15 Wakaba <wakaba@suika.fam.cx>
3010
3011 * dis2pm.pl (perl_builtin_code): __CODE{CheckNCName}__ implemented.
3012 (perl_if): Don't indent if preprocessing direction found.
3013 (perl_code_source): Add \n before the #line directive.
3014
3015 2004-09-14 Wakaba <wakaba@suika.fam.cx>
3016
3017 * dis2pm.pl (get_internal_code): __INT{{name}}__ syntax now support
3018 attribute.
3019 (perl_code): __SUPER{name}__ syntax implemented.
3020
3021 2004-09-13 Wakaba <wakaba@suika.fam.cx>
3022
3023 * dis2pm.pl (dis2perl): New.
3024
3025 2004-09-12 Wakaba <wakaba@suika.fam.cx>
3026
3027 * dis2pm.pl (get_warning_perl_code): New.
3028
3029 2004-09-10 Wakaba <wakaba@suika.fam.cx>
3030
3031 * ManakaiDOM.dis (MDOM_NS_EMPTY_URI): New Exception type.
3032 (ManakaiDOMNamespaceURI): New DataType.
3033
3034 * DOMCore.dis: Most part of DOMImplementation interface is
3035 implemented.
3036
3037 * dis2pm.pl (method2perl): Description for returned value
3038 is changed to be grouped.
3039 (get_value_literal): Don't quote "null" even if it is a DOMString.
3040 (perl_exception): Don't output terminating semicolon.
3041 (perl_builtin_code): ManakaiDOM:ManakaiDOMNamespaceURI is
3042 supported.
3043
3044 2004-09-09 Wakaba <wakaba@suika.fam.cx>
3045
3046 * dis2pm.pl (method2perl, attr2perl): '(Return | Get | Set)/Exception'
3047 implemented.
3048
3049 * idl2dis.pl (type): Don't output Require element for
3050 DOMMain module (now it is implicitly required by default).
3051
3052 2004-09-01 Wakaba <wakaba@suika.fam.cx>
3053
3054 * idl2dis.pl (level): Use 'Level' instead of 'ModifiedLevel'.
3055
3056 2004-08-31 Wakaba <wakaba@suika.fam.cx>
3057
3058 * dis2pm.pl (const2perl, constgroup2perl): New.
3059
3060 * idl2dis.pl (idlna): New.
3061
3062 2004-08-30 Wakaba <wakaba@suika.fam.cx>
3063
3064 * dis2pm.pl: Versioned implementation of "IF" supported (see
3065 also Manakai Development Memo : 2004-08-29
3066 <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?manakai%2F%2F%A5%E1%A5%E2%2F%2F2004-08-29>).
3067
3068 * idl2dis.pl (register_required_module): ISA is now
3069 converted to elements, not a list attribute.
3070
3071 2004-08-22 Wakaba <wakaba@suika.fam.cx>
3072
3073 * idl2dis.pl (register_required_module): Top-level element type
3074 name "Type" and "TypeAlias" changed to "DataType" and
3075 "DataTypeAlias".
3076
3077 * dis2pm.pl (perl_code_source): New function.
3078
3079 2004-08-21 Wakaba <wakaba@suika.fam.cx>
3080
3081 * ChangeLog: New file.
3082
3083 * Makefile, DOMMain.dis, DOMCore.dis, DOMXML.dis, dis2pm.pl, idl2dis.pl:
3084 New files (Moved from ../Markup/XML/DOM/).
3085
3086

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24