/[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.127 - (show annotations) (download)
Wed Feb 15 13:36:20 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.126: +29 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	15 Feb 2006 13:28:44 -0000
2006-02-15  Wakaba  <wakaba@suika.fam.cx>

	* XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
	if a predefined entity declaration references an external entity.
	Issues |xp:error-malformed-predefined-entity| error if
	a predefined entity declaration defines different thing than
	one as in XML specification.
	Issies |xp:warning-entity-declaration-ignored| warning if
	more than one entity declarations for an entity is found.
	(WFErrDef): Now all well-formedness errors are marked
	as |SEVERITY_FATAL_ERROR|.

	* XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
	predefined entity declarations.
	(DocumentXDoctype.createNotation): New method.
	(DocumentTypeDefinition.notations): New attribute.
	(DocumentTypeDefinition.getNotationNode): New method.
	(DocumentTypeDefinition.setNotationNode): New method.
	(newNotationForTest): New code fragment.

	* Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
	(c:ManakaiDOMNotationMap): New class.
	(c:ManakaiDOMNotationMapArray): New class.
	(Document.allDeclarationsProcessed): New attribute.

	* DOMXML.dis (DocumentType.notations): Implemented.
	(Notation): Revised.
	(Notation.ownerDocumentTypeDefinition): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24