/[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.207 - (show annotations) (download)
Sat Dec 30 04:42:49 2006 UTC (17 years, 10 months ago) by wakaba
Branch: MAIN
Changes since 1.206: +11 -0 lines
++ manakai/lib/Message/Markup/ChangeLog	30 Dec 2006 04:39:04 -0000
2006-12-30  Wakaba  <wakaba@suika.fam.cx>

	* Atom.dis, SuikaWiki.dis: References
	to the |ManakaiDOM:ManakaiDOM| mode are removed.

++ manakai/lib/Message/Util/ChangeLog	30 Dec 2006 04:39:32 -0000
	* DIS.dis, PerlCode.dis: References to the |ManakaiDOM:ManakaiDOM|
	mode are removed.

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

++ manakai/lib/Message/Util/DIS/ChangeLog	30 Dec 2006 04:42:43 -0000
	* DPG.dis, Perl.dis, Value.dis, Test.dis: References
	to |ManakaiDOM:ManakaiDOM| modes are removed.

	* Perl.dis (plCodeFragment): |local|ize
	the |DIS:plCodeFragment| cache to avoid
	ancestor nodes of the cached fragment
	are destroyed so that the cached nodes
	become invalid.

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

++ manakai/lib/Message/DOM/ChangeLog	30 Dec 2006 04:37:29 -0000
	* CharacterData.dis, DOMCore.dis, DOMFeature.dis,
	GenericLS.dis, TreeCore.dis, DOMString.dis,
	XML.dis, Element.dis, Document.dis, TreeStore,dis,
	Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
	SimpleLS.dis, DOMMain.dis: References
	to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
	|ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
	modes are removed.

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

++ manakai/lib/Message/URI/ChangeLog	30 Dec 2006 04:35:39 -0000
2006-12-30  Wakaba  <wakaba@suika.fam.cx>

	* Generic.dis (Require): Reference to the |ManakaiDOM:ManakaiDOM|
	mode is removed.

++ manakai/lib/Message/Charset/ChangeLog	30 Dec 2006 04:35:23 -0000
2006-12-30  Wakaba  <wakaba@suika.fam.cx>

	* Encode.dis (Require): Reference to the |ManakaiDOM:ManakaiDOM|
	mode is removed.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24