/[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.151 - (show annotations) (download)
Sat Mar 18 05:57:48 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.150: +15 -0 lines
++ manakai/t/ChangeLog	18 Mar 2006 05:57:39 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (t-XML.t): New test.

++ manakai/bin/ChangeLog	18 Mar 2006 05:54:09 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl (daf_get_file_path_stem): The '.' is removed from
	the default search path.

++ manakai/lib/Message/DOM/ChangeLog	18 Mar 2006 05:56:17 -0000
2006-03-18  Wakaba  <wakaba@suika.fam.cx>

	* TreeCore.dis (Require): The |MDOM:XML| module is added.
	(createAttributeNS, createTextNode, createComment,
	createCDATASection): New methods.
	(Attr, Text, Comment, CharacterData): New interfaces.

	* Makefile: |XML.dis| is added.

	* XML.dis: New module.

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

	* TreeCore.dis (manakaiReadOnly): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24