/[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.187 - (show annotations) (download)
Sun May 14 06:51:48 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.186: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	14 May 2006 06:51:26 -0000
2006-05-14  Wakaba  <wakaba@suika.fam.cx>

	* Traversal.dis (SerialWalker): New interface.
	(manakaiCreateSerialWalker): New method.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24