/[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.273 - (show annotations) (download)
Sun Nov 18 11:08:40 2007 UTC (17 years ago) by wakaba
Branch: MAIN
Changes since 1.272: +5 -0 lines
++ manakai/lib/Message/ChangeLog	18 Nov 2007 05:58:46 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* Charset/: New directory.

++ manakai/lib/Message/DOM/ChangeLog	18 Nov 2007 08:56:34 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* Document.pm, Entity.pm (manakai_has_bom,
	manakai_charset): New attributes.

++ manakai/lib/Message/Charset/ChangeLog	18 Nov 2007 11:08:08 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* Info.pm: New Perl module.

2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* ChangeLog: New file.


++ manakai/t/ChangeLog	18 Nov 2007 08:41:50 -0000
2007-11-18  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Document.t, DOM-Entity.t: New tests for |manakai_has_bom|
	attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24