/[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.129 - (show annotations) (download)
Thu Feb 16 20:03:18 2006 UTC (18 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.128: +28 -0 lines
++ manakai/lib/Message/Util/DIS/ChangeLog	16 Feb 2006 20:02:19 -0000
2006-02-16  Wakaba  <wakaba@suika.fam.cx>

	* Test.dis (assertDOMTreeEquals): The |notations| attribute
	support is added.

++ manakai/lib/Message/DOM/ChangeLog	16 Feb 2006 20:01:21 -0000
2006-02-17  Wakaba  <wakaba@suika.fam.cx>

	* XMLParser.dis: Default attribute are now namespace aware.
	(parseString): Don't output |Document| warnings
	during tree construction to standard error output.

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

	* XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
	XML Namespace 1.1 is implemented.  Namespace well-formedness
	error detection is implemented.  Generates |Notation| nodes
	from notation declarations.
	(checkNCName, checkQName): New code fragments.

	* XDoctype.dis (DocumentXDoctype): Factory methods
	don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
	is |false|.

	* DOMCore.dis (wf-invalid-character-in-node-name,
	wf-invalid-character): Removed (moved to |MDOM:Tree| module).

	* Tree.dis '(wf-invalid-character-in-node-name,
        wf-invalid-character): New errors (from |MDOM:DOMCore| module).
	(Attr.specified): Setter added.
	(cfg:dtd-default-attributes): New configuration parameter.
	(Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
	if |Document.strictErrorChecking| is |false|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24