/[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.146 - (show annotations) (download)
Sun Mar 12 14:16:52 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.145: +8 -0 lines
++ manakai/t/ChangeLog	12 Mar 2006 14:16:45 -0000
2006-03-12  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: Creates |../lib/Message/Util/DIS/Test.pm|
	before try to create test scripts.

++ manakai/lib/Message/Util/ChangeLog	12 Mar 2006 14:15:37 -0000
	* DIS.dis (loadResource): Support for the |dis:aliasChild|
	property has been removed.

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

++ manakai/lib/Message/DOM/ChangeLog	12 Mar 2006 14:14:43 -0000
2006-03-12  Wakaba  <wakaba@suika.fam.cx>

	* DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
	are removed.

	* GenericLS.pm: Added to the CVS repository since
	it is necessary to create the |Message::Util::DIS::DPG| module.

++ manakai/lib/manakai/ChangeLog	12 Mar 2006 14:16:08 -0000
	* DISSource.dis (dis:aliasChild): Removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24