/[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.165 - (hide annotations) (download)
Sun Apr 2 10:45:22 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.164: +27 -0 lines
++ manakai/lib/Message/Util/ChangeLog	2 Apr 2006 10:44:48 -0000
2006-04-02  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Update to new modules.

++ manakai/lib/Message/DOM/ChangeLog	2 Apr 2006 10:44:11 -0000
	* XMLParser.dis: Updated so that it can be used
	with |TreeCore.pm|, |Document.pm|, |Element.pm|,
	and |XML.pm|.  Set the read-only flag to
	the |DocumentType|, |Entity|, and |EntityReference| noes.

	* Node.dis (textContent): It did not handle descendant
	element and entity reference nodes.

	* Element.dis, XML.dis (manakaiBaseURI.get): Its
	definition has been changed to return only explicit
	base URI specification.

	* DOMLS.dis (LSInput, LSOutput): They no longer
	inherits the |ManakaiDOM:ManakaiDOMObject| class.

	* Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.

	* Tree.pm, DOMXML.pm: Removed.

	* TreeCore.pm, Document.pm, Element.pm: Added
	to the CVS repository since they are necessary to
	build the dis library.

	* Makefile: Sync'ed to new modules disposition.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24