/[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.186 - (show annotations) (download)
Sat May 13 12:30:36 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.185: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	13 May 2006 12:30:33 -0000
	* Traversal.dis (testNode): Calls |acceptNode| method
	rather than |&{}| dereferencing.
	(acceptNode): Implemented.

2006-05-13  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24