/[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.210 - (show annotations) (download)
Sat Dec 30 13:25:33 2006 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.209: +7 -0 lines
++ manakai/lib/Message/Util/DIS/ChangeLog	30 Dec 2006 13:23:58 -0000
	* Perl.dis (plCodeFragment): Support for |f:provides|
	is removed.

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

++ manakai/lib/Message/DOM/ChangeLog	30 Dec 2006 13:22:55 -0000
	* DOMFeature.dis (ForDef): Removed.
	(f:provides, f:through): Removed.
	(Version): Removed.
	(implementFeature): Removed.

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

++ manakai/lib/manakai/ChangeLog	30 Dec 2006 13:25:24 -0000
	* DISIDL.dis, Java.dis, ECMAScript.dis,
	Document.dis, DISPerl.dis, XML.dis (ForDef): Removed.

	* DISMarkup.dis (ForET): Removed.

	* |DefaultFor| properties are removed.

	* DISCore.dis (DefaultFor): Removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24