/[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.144 - (show annotations) (download)
Thu Mar 9 13:44:15 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.143: +16 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	9 Mar 2006 13:42:56 -0000
2006-03-09  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.

	* DOMXML.dis (appendChild, insertBefore, replaceChild): Method
	implementations are added.

	* XDoctype.dis (appendChild, insertBefore, replaceChild): Method
	implementations are added.

	* Tree.dis (appendChild, insertBefore, replaceChild): Method
        implementations are added.
	(IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
	resources unless for |ManakaiDOM:ManakaiDOMLatest|.
	(cfg:strict-document-children): New configuration parameter.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24