/[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.137 - (hide annotations) (download)
Sun Mar 5 12:42:48 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.136: +13 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	5 Mar 2006 12:42:29 -0000
	* XMLParser.dis (parse): Sets |Document.documentURI|
	and |Document.manakaiEntityBaseURI| attributes of the
	document created.
	(_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
	property of the created node.
	(_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
	of the created node.
	(ls-input-to-input-file.default): Sets the resolved
	system identifier to the |documentURI| attribute if available.
	Sets the |baseURI| attribute if available.

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

++ manakai/lib/Message/URI/ChangeLog	5 Mar 2006 12:42:42 -0000
2006-03-05  Wakaba  <wakaba@suika.fam.cx>

	* Generic.dis (new): New method.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24