/[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.215 - (show annotations) (download)
Wed Jun 13 12:04:50 2007 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.214: +12 -0 lines
++ manakai/t/ChangeLog	13 Jun 2007 12:04:43 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* DOM-DOMImplementation.t: New test.

2007-05-26  Wakaba  <wakaba@suika.fam.cx>

	* IMT-InternetMediaType.t: Tests for |add_parameter| are added.

++ manakai/lib/Message/IMT/ChangeLog	13 Jun 2007 12:03:40 -0000
	* InternetMediaType.pm (add_paremter): New method.

2007-05-26  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	13 Jun 2007 12:02:59 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* DOMImplementation.pm, Node.pm, DOMDocument.pm,
	DOMElement.pm, Attr.pm, DocumentType.pm,
	DOMCharacterData.pm, Text.pm, Comment.pm: Copied
	from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.

2007-06-10  Wakaba  <wakaba@suika.fam.cx>

	* XMLParser.dis: Default to "1.0" if <?xml version=""?>
	specifies unknown value and trys to recover from the error.

++ manakai/lib/Message/URI/ChangeLog	13 Jun 2007 12:04:07 -0000
2007-06-13  Wakaba  <wakaba@suika.fam.cx>

	* URIReference.pm (Message::IF::URIReference):
	Renamed from |Message::DOM::IF::URIReference|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24