/[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.185 - (show annotations) (download)
Sat May 13 12:06:21 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.184: +9 -0 lines
++ manakai/t/ChangeLog	13 May 2006 12:06:16 -0000
2006-05-13  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (dom-XDP.t): New test.

++ manakai/lib/Message/Util/DIS/ChangeLog	13 May 2006 12:05:54 -0000
2006-05-13  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis: Use |createPCNumberLiteral| rather
	than |createPCLiteral| where appropriate.

++ manakai/lib/Message/DOM/ChangeLog	13 May 2006 12:05:21 -0000
	* XDP.dis: New module.

	* Makefile: |XDP.dis| is added.

	* Traversal.dis (NodeFilter): |InputProcessor|
	and |OutputProcessor| are added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24