/[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.211 - (show annotations) (download)
Sun Dec 31 02:39:37 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.210: +19 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	31 Dec 2006 02:39:19 -0000
2006-12-31  Wakaba  <wakaba@suika.fam.cx>

	* Element.dis (createElementNS): If an array reference
	is specified as the |qualifiedName| parameter,
	don't set the first item as the local name
	even if the second item is not specified (or
	specified as |undef|).
	(createElementNS, setAttribute, setAttributeNS,
	removeAttribute, removeAttributeNS,
	setAttributeNode, setAttributeNodeNS,
	removeAttributeNode, removeAttributeNodeNS): Sets
	or removes the |tc:contentAttributeList| value.

	* TreeCore.dis (AttrMap.item): Caches the result
	of sorting of content attribute names.
	(getAttrMap, getElementTypeDefNodeMap,
	getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
	(tc:contentAttributeList): New property.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24