/[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.262 - (show annotations) (download)
Sun Sep 23 07:57:00 2007 UTC (17 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.261: +4 -0 lines
++ manakai/lib/Message/CGI/ChangeLog	23 Sep 2007 07:56:57 -0000
2007-09-23  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (all): |Carp.html| is added.

++ manakai/lib/Message/DOM/ChangeLog	23 Sep 2007 07:55:19 -0000
2007-09-23  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsAPI.pm: New Perl module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24