/[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.145 - (show annotations) (download)
Fri Mar 10 10:52:02 2006 UTC (19 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.144: +7 -0 lines
++ manakai/lib/Message/ChangeLog	10 Mar 2006 10:43:42 -0000
2006-03-10  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Directories |URI| and |Charset| are added.

	* Charset/: New directory.

++ manakai/lib/Message/Util/ChangeLog	10 Mar 2006 10:51:06 -0000
2006-03-10  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (stringify): Inserts new line after |COMMA|s
	in lists (hash literals and array literals --- "lists" theirselves
	are excluded since they are usually not so long).

	* DIS.dis (loadResource): Don't throw error
	if an alias is alreadt defined for same URI.  Registers
	aliases from |srinfo| to the database. By these
	fixes aliases defined in another module from the canonical
	resource name's module can live even after the canonical's
	module is updated.

++ manakai/lib/Message/DOM/ChangeLog	10 Mar 2006 10:44:35 -0000
2006-03-10  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
	method.

	* XMLParser.dis: Don't create adjacent text nodes.

++ manakai/lib/Message/URI/ChangeLog	10 Mar 2006 10:47:21 -0000
2006-03-10  Wakaba  <wakaba@suika.fam.cx>

	* Generic.dis (MURI:): Typos are fixed.

++ manakai/lib/manakai/ChangeLog	10 Mar 2006 10:51:43 -0000
2006-03-10  Wakaba  <wakaba@suika.fam.cx>

	* dis-catalog: New |Message::Charset| namespace is added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24