/[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.217 - (show annotations) (download)
Fri Jun 15 14:32:50 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.216: +9 -0 lines
++ manakai/t/ChangeLog	15 Jun 2007 14:31:27 -0000
2007-06-15  Wakaba  <wakaba@suika.fam.cx>

	* DOM-Node.t: New test.

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

	* DOM-Document.t: New test.

++ manakai/lib/Message/DOM/ChangeLog	15 Jun 2007 14:32:37 -0000
2007-06-15  Wakaba  <wakaba@suika.fam.cx>

	* ProcessingInstruction.pm, EntityReference.pm,
	CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
	ElementTypeDefinition.pm, AttributeDefinition.pm,
	DocumentType.pm, DOMElement.pm, Attr.pm,
	CharacterData.pm, Text.pm, Comment.pm (node_name,
	node_value, node_type): Implemented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24