/[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.138 - (hide annotations) (download)
Mon Mar 6 07:32:51 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.137: +15 -0 lines
++ manakai/bin/ChangeLog	6 Mar 2006 07:30:27 -0000
2006-03-06  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl (get_referring_module_uri_list): Don't
	invoke |daf_convert_dis_document_to_dnl_document| to prevent
	prefix-not-defined error because the referred module is not
	yet loaded.

++ manakai/lib/Message/DOM/ChangeLog	6 Mar 2006 07:32:43 -0000
2006-03-06  Wakaba  <wakaba@suika.fam.cx>

	* DOMXML.dis (ManakaiDOMXMLIdAttr): New class.

	* Tree.dis (createAttribute, createAttributeNS,
	setAttribute, setAttributeNS): They now supports
	the |cfg:xml-id| configuration parameter.
	(cfg:xml-id): New configuration parameter.

	* XDoctype.dis (createAttributeDefinition): It now
	supports the |cfg:xml-id| configuration parameter.

	* XMLParser.dis (parse): It now supports
	the |cfg:xml-id| configuration parameter.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24