/[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.176 - (show annotations) (download)
Sat Apr 22 05:14:18 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.175: +11 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	22 Apr 2006 05:13:48 -0000
2006-04-22  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
	a qualified name.
	(tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.

	* TreeCore.dis (compareDocumentPosition): Implemented.
	(normalize): Implemented.
	(STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
	class.

++ manakai/lib/manakai/ChangeLog	22 Apr 2006 05:14:13 -0000
2006-04-22  Wakaba  <wakaba@suika.fam.cx>

	* DISCore.dis (DISCore:Integer): Hexadecimal notation
	was not documented.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24