/[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.220 - (show annotations) (download)
Sat Jun 16 08:49:00 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.219: +8 -0 lines
++ manakai/t/ChangeLog	16 Jun 2007 08:48:42 -0000
	* DOM-NodeList.t: Tests for tied arrays and empty node lists
	are added.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	16 Jun 2007 08:48:03 -0000
	* DOMException.pm (Message::IF::DOMException): Extends
	the |Message::Util::Error| class.

	* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
	(CLEAR): Not all items were removed.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24