/[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.141 - (show annotations) (download)
Mon Mar 6 13:46:08 2006 UTC (19 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.140: +11 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	6 Mar 2006 13:46:00 -0000
	* DOMXML.dis (insertBefore): Method implementations
	for |ProcessingInstruction| and |Notation| nodes are added.

	* Tree.dis (insertBefore): Method implementation
	for |CharacterData| nodes is added.

	* XDoctype.dis (insertBefore): Method implementation
	for |ElementTypeDefinition| nodes is added.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24