/[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.194 - (show annotations) (download)
Tue Aug 15 03:54:37 2006 UTC (18 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.193: +10 -0 lines
++ manakai/t/ChangeLog	15 Aug 2006 03:53:40 -0000
2006-08-15  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (util-dis-Value.t): New test.

++ manakai/lib/Message/Util/ChangeLog	15 Aug 2006 03:50:57 -0000
2006-08-15  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (.discore-all.pm): |../DOM/TreeStore.pm| is added
	to the list.

++ manakai/lib/Message/Util/DIS/ChangeLog	15 Aug 2006 03:53:08 -0000
2006-08-15  Wakaba  <wakaba@suika.fam.cx>

	* Value.dis (Require): References to |MDOM:TreeCore|
	and |MDOM:TreeStore| modules are added.
	(ManakaiDISImplementationValue): Now it
	extends the |ManakaiDOMImplementationTreeStore| class.
	(ValueFeature10): Now it requires the |TSFeature30| feature.
	(createDVXMLValue): New method.
	(createXMLValue): New code.
	(DVXMLValue): New interface.

++ manakai/lib/Message/DOM/ChangeLog	15 Aug 2006 03:50:21 -0000
2006-08-15  Wakaba  <wakaba@suika.fam.cx>

	* TreeStore.pm: Added to the CVS repository
	to enable for the dis database to contain XML
	fragments.

	* Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.

	* TreeStore.dis (Namespace): Namespace URI was incorrect.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24