/[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.193 - (show annotations) (download)
Sun Jun 18 04:12:47 2006 UTC (18 years, 5 months ago) by wakaba
Branch: MAIN
CVS Tags: manakai-release-0-3-2
Changes since 1.192: +8 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	18 Jun 2006 04:12:29 -0000
2006-06-18  Wakaba  <wakaba@suika.fam.cx>

	* Traversal.dis (expandEntityReferences): Syntax was incorrect.

	* TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.

	* XDP.dis (dtdText): Test assertion was incorrect.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24