/[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.142 - (show annotations) (download)
Tue Mar 7 10:30:31 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.141: +7 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	7 Mar 2006 10:30:12 -0000
2006-03-07  Wakaba  <wakaba@suika.fam.cx>

	* Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
	definitions.

	* XDoctype.dis (insertBefore): New method implementation.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24