/[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.179 - (show annotations) (download)
Sun Apr 30 07:58:20 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.178: +9 -0 lines
++ manakai/t/ChangeLog	30 Apr 2006 07:58:15 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

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

++ manakai/lib/Message/DOM/ChangeLog	30 Apr 2006 07:57:55 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: |Traversal.dis| is added.

	* Traversal.dis: New module.

	* TreeCore.dis (___report_error): Return value was
	not propagated.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24