/[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.265 - (show annotations) (download)
Sat Sep 29 05:18:15 2007 UTC (17 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.264: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	29 Sep 2007 05:17:58 -0000
2007-09-29  Wakaba  <wakaba@suika.fam.cx>

	* SelectorsAPI.pm ($get_elements_by_selectors): Created
	from most part of |query_selector_all|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24