/[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.162 - (hide annotations) (download)
Fri Mar 31 16:44:23 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.161: +20 -0 lines
++ manakai/lib/Message/ChangeLog	31 Mar 2006 15:51:53 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

++ manakai/lib/Message/Markup/ChangeLog	31 Mar 2006 15:53:04 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

++ manakai/lib/Message/Util/ChangeLog	31 Mar 2006 15:59:50 -0000
	* Makefile (clean-db): New rule.

	* Grove.dis (onunload): New internal property.
	(collectGarbage): Invoke the |mg:onunload| code if available.

2006-03-31  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	31 Mar 2006 15:58:33 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
	Reimplemented.
	(isId): Setter is added.
	(Element.normalize): Definition copied from the |MDOM:Tree|
	module.

2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

	* TreeCore.dis (setUserData): Schedule to invoke
	the user data handler when the node is removed
	from the memory.
	(setAttribute, setAttributeNS): Set the [attribute type]
	if DTD attribute definition is available.
	(CharacterData members): Definitions copied from
	the |MDOM:Tree| module.

++ manakai/lib/Message/URI/ChangeLog	31 Mar 2006 15:54:48 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

++ manakai/lib/Message/Charset/ChangeLog	31 Mar 2006 15:54:37 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

++ manakai/lib/manakai/ChangeLog	31 Mar 2006 15:53:40 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

++ manakai/lib/ChangeLog	31 Mar 2006 15:51:40 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (clean-db): New rule.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24