/[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.164 - (show annotations) (download)
Sat Apr 1 17:52:32 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.163: +9 -0 lines
++ manakai/t/ChangeLog	1 Apr 2006 17:11:22 -0000
2006-04-02  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Tests |dom-Tree.t| and |dom-DOMXML.t| are
	removed.  Tests |dom-Document.t| and |dom-Element.t| are added.

++ manakai/lib/Message/Util/DIS/ChangeLog	1 Apr 2006 17:10:39 -0000
2006-04-02  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plGeneratePerlModule): Some class names are changed.

++ manakai/lib/Message/DOM/ChangeLog	1 Apr 2006 17:09:40 -0000
2006-04-02  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
	removed.  For |Element.pm| and |Document.pm| are added.

	* Document.dis, Element.dis: New module split from |TreeCore.dis|.

	* TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24