/[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.191 - (show annotations) (download)
Sat May 20 10:13:02 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.190: +5 -0 lines
++ manakai/lib/Message/Markup/ChangeLog	20 May 2006 10:11:52 -0000
	* Atom.dis (AtomDataTypes): New module.

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

++ manakai/lib/Message/DOM/ChangeLog	20 May 2006 10:11:29 -0000
	* XDP.dis (createXDPRNIKeyword): The Perl method
	name property is added.

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

++ manakai/lib/manakai/ChangeLog	20 May 2006 10:12:52 -0000
	* DISMarkup.dis: Definitions are added.

	* daf-dtd-modules.pl: Supports for element content
	models and attribute type groups are added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24