/[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.201 - (show annotations) (download)
Sat Dec 2 12:46:19 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.200: +44 -0 lines
++ manakai/t/ChangeLog	2 Dec 2006 12:46:13 -0000
2006-12-02  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (dom-DOMString.t): New test.

++ manakai/bin/ChangeLog	2 Dec 2006 12:35:25 -0000
2006-12-02  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl: Call |get_dom_implementation|
	instead of obsolete |get_implementation|.

	* grep-dis.pl: |lib/manakai/*.pl| is added.

++ manakai/lib/Message/Util/ChangeLog	2 Dec 2006 12:45:49 -0000
2006-12-02  Wakaba  <wakaba@suika.fam.cx>

	* Makefile: |lib/Message/DOM/DOMString.pm| is added.

++ manakai/lib/Message/DOM/ChangeLog	2 Dec 2006 12:45:20 -0000
2006-12-02  Wakaba  <wakaba@suika.fam.cx>

	* DOMString.dis: New module.

	* DOMString.pm: New file.

	* DOMCore.dis (min): Moved from |DOMFeature.dis|.
	(ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
	Now it references the |DOMImplementationRegistry| object.
	(DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
	(DOMImplementationRegistry): New interface and
	class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
	and |DOMImplementationRegistry| in |DOMMain.dis|.  Note
	that the class no longer support |get_implementation|
	and |get_implementation_list| methods from
	the |ImplementationRegistry| interface.
	(DOMImplementationList): Class implemented; no
	longer inherits from |ImplementationList|.
	(DOMImplementationSource): Class implemented; no
	longer inherits from |ImplementationSource|.  Note that
	the class no longer support |get_implementation|
	and |get_implementation_list| methods from
	the |ImplementationSource| interface.
	(DOMStringList): Removed.

	* DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
	ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
	ManakaiDOM:DOMXMLFeatureXML11, most part of
	documentation for obsolete DOM Level 3 Minimum Implementation
	module, obsolete property name aliases,
	ImplemenationRegistryVar, ImplementationRegistry,
	DEBUG, MIString, ImplementationList, ImplementationSource,
	ManakaiDOM:implID): Removed.

	* DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
	(DOMString): Removed.
	(DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.

	* Makefile: |DOMString.pm| is added.

	* TreeCore.dis (is_default_namespace): |null| was
	returned where a false is expected (|null| is
	a false in Perl, but real |false| is appropriate here).

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24