/[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.181 - (show annotations) (download)
Sun Apr 30 10:27:00 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.180: +6 -0 lines
++ manakai/lib/Message/Markup/ChangeLog	30 Apr 2006 09:59:23 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/Util/ChangeLog	30 Apr 2006 10:03:00 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/Util/Error/ChangeLog	30 Apr 2006 10:05:23 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/Util/Formatter/ChangeLog	30 Apr 2006 10:05:41 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/Util/DIS/ChangeLog	30 Apr 2006 10:04:48 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/DOM/ChangeLog	30 Apr 2006 10:26:50 -0000
	* .cvsignore: Updated.

	* Traversal.dis: Unused declarations are removed.

2006-04-30  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/URI/ChangeLog	30 Apr 2006 09:59:46 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

++ manakai/lib/Message/Charset/ChangeLog	30 Apr 2006 09:55:24 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: New file.

++ manakai/lib/manakai/ChangeLog	30 Apr 2006 10:05:59 -0000
2006-04-30  Wakaba  <wakaba@suika.fam.cx>

	* .cvsignore: Updated.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24