/[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.140 - (show annotations) (download)
Mon Mar 6 12:17:27 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.139: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	6 Mar 2006 12:17:10 -0000
	* XDoctype.dis (appendChild): New method implementation.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24