/[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.131 - (hide annotations) (download)
Sat Feb 18 07:39:03 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.130: +14 -0 lines
++ manakai/t/ChangeLog	18 Feb 2006 07:38:55 -0000
2006-02-18  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (dom-ls.t): New test.

++ manakai/lib/Message/DOM/ChangeLog	18 Feb 2006 07:38:32 -0000
2006-02-18  Wakaba  <wakaba@suika.fam.cx>

	* XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
	feature.

	* DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.

	* DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
	(DOMImplementationLS.createLSParser): Implemented.
	(DOMImplementationLS.createLSInput): Revised.
	(LSInput): Note on relationship with |GenericLS| is added.

	* SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24