/[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.166 - (show annotations) (download)
Sun Apr 2 12:14:43 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.165: +6 -0 lines
++ manakai/t/ChangeLog	2 Apr 2006 12:14:41 -0000
	* Makefile (dom-TreeStore.t): New test.

2006-04-02  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	2 Apr 2006 12:14:16 -0000
	* TreeStore.dis: New module.

	* Makefile: |TreeStore.dis| is added.

2006-04-02  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24