/[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.133 - (show annotations) (download)
Sat Feb 25 16:49:55 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.132: +5 -0 lines
++ manakai/bin/ChangeLog	25 Feb 2006 16:31:38 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* dac2pm.pl (--dafx-file-suffix): New dummy option.

	* daf.pl: New script.

++ manakai/lib/Message/Util/ChangeLog	25 Feb 2006 16:40:55 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (Require): Missing reference to the |DISlib:DISMarkup|
	module is added.

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

	* DIS.dis (lookupNamespacePrefix): Resolves prefix by
	namespace resolver if available.
	(disNamespaceResolver): New attribute.
	(loadModule): Sets |revision| attribute of the created module.
	(ownerModuleRef): Setter is added.
	(addTypeURI): Set |ownerModule| attribute if possible.
	(ManakaiDISModuleLite): The class no longer inherits |DISAnyResource|
	class and |ManakaiDefaultExceptionHandler| class.
	(mergeAsAlias): New |noEqualityCheck| parameter is added.

	* Makefile: New variables for |DAF| are added.

++ manakai/lib/Message/Util/DIS/ChangeLog	25 Feb 2006 16:45:17 -0000
2006-02-26  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plLoadDISDatabaseModule): Do nothing if the
	module is already loaded.
	(plUpdateModule): Parameter |moduleURI| is changed
	to |modules| so that multiple modules can be updated once.
	Don't try to read index file if it is not exist.

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

	* DNLite.dis (convertDISDocumentToDNLDocument): New
	|baseNamespaceBinding| parameter is added.

	* Perl.dis (plLoadDISDatabase): Removes |c:error-handler|
	property (it is |null| if specified).
	(plStore): New |noMainDatabase| parameter is added.  Don't
	write resources that are not |isDefined|.  Copies |DIS:revision|
	property of modules to database index file.
	(plLoadDISDatabaseModule): Notify before and after
	a file is read.  Don't throw |DIS:RESOURCE_ALREADY_DEFINED_ERR|
	if the resource already in the database is not |isDefined|.
	(plLoadDISDatabaseIndex): Notify before and after
        a file is read.
	(plDatabaseModuleResolver): New attribute accessor.

++ manakai/lib/Message/DOM/ChangeLog	25 Feb 2006 16:33:00 -0000
2006-02-25  Wakaba  <wakaba@suika.fam.cx>

	* DOMFeature.dis (Require): Missing reference to |DISlib:Test|
	module is added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24