/[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.212 - (show annotations) (download)
Sun Dec 31 09:11:52 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.211: +8 -0 lines
++ manakai/bin/ChangeLog	31 Dec 2006 08:49:16 -0000
2006-12-31  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl: Support for |For| is entirely removed.

++ manakai/lib/Message/Util/ChangeLog	31 Dec 2006 09:06:08 -0000
	* DIS.dis: Support for |for| is entirely removed.  |forArg|
	parameters are removed.
	(createDISDocument): Removed.
	(tfurisToURI): Removed.
	(tfpurisToURI): The |for| URI slot is
	fixed to |ManakaiDOM:all|.
	(tfqnamesToURI): Removed.
	(tfpqnamesToURI): The |defaultForURI| parameter
	is removed and the |for| URI slot is
	fixed to |ManakaiDOM:all|.
	(forURI): Removed.
	(forMatch): The first parameter, |forArg|, no
	longer takes effect.

	* PerlCode.dis (sourceFor): Removed.
	(stringify): Don't output comment with |sourceFor| URI.

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

++ manakai/lib/Message/Util/Error/ChangeLog	31 Dec 2006 09:09:24 -0000
2006-12-31  Wakaba  <wakaba@suika.fam.cx>

	* Core.dis, DOMException.dis: |dis:dataType|
	of |DISCore:TFQNames| are replaced
	by |DISCore:QName|.

++ manakai/lib/Message/Util/DIS/ChangeLog	31 Dec 2006 09:08:40 -0000
	* DNLite.dis, Perl.dis: Support for |for| is entirely removed.

	* Test.dis (parseTDTErrorString): The |defaultTURI|
	and |defaultFURI| parameters are removed.
	(lexmode): |TFQNames| token type is removed.
	(tdterr): Accepts |QName| where |TFQNames| was accepted.

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

++ manakai/lib/Message/DOM/ChangeLog	31 Dec 2006 08:50:54 -0000
	* |InputProcessor|s and |OutputProcessor|s are
	named so that |report| statements in Perl
	module outputs can be identified by name. |dis:dataType|s
	of |DISCore:TFQNames| are all replaced
	by |DISCore:QName|.

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

++ manakai/lib/manakai/ChangeLog	31 Dec 2006 09:11:27 -0000
	* |dis:dataType| of |DISCore:TFQNames| are replaced
	by |DISCore:QName|.

	* DISCore.dis (DISCore:TFURI): Removed.
	(DISCore:ModuleTFQNames): Removed.

	* daf-dtd-modules.pl: Support for |for| is removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24