/[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.159 - (hide annotations) (download)
Wed Mar 29 15:43:41 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.158: +27 -0 lines
++ manakai/lib/Message/Util/DIS/ChangeLog	29 Mar 2006 15:43:27 -0000
2006-03-29  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plGeneratePerlModule): Don't call |plIsFeatureImplemented|
	to create feature list; query on feature is now always |true|
	even if it is only partially implemented; in fact the
	method did not work as intended because of bugs.  Support
	for old |Node|-related |Role|s are replaced by new ones.

++ manakai/lib/Message/DOM/ChangeLog	29 Mar 2006 15:40:42 -0000
2006-03-29  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis: Namespace prefixes are changed to new ones.

	* TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
	untested).
	(___report_error): Reimplemented (untested).
	(manakaiSetReadOnly): New method.
	(Attr.___create_node_ref): New method (untested).
	(Document.getFeature): |require|s the |MDOM:XML| Perl module.
	(createEntityReference, cloneNode): Support for
	the |cfg:entity-reference-read-only| configuration
	parameter is removed; newly created entity references
	are always read-only and use the |manakaiSetReadOnly| method
	if desired.
	(Element.manakaiBaseURI): Reimplemented (untested).

	* XDoctype.dis (createGeneralEntity, createNotation): |require|s
	the |MDOM:XML| Perl module.
	(DocumentTypeDefinition.___create_node_stem): Sets
	the |tc:implementation| internal property if its value
	is provided.  The |infoset:content| internal property name
	was incorrect.
	(DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
	read-only |NodeList| and |DOMStringList| are added
	for clarification.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24