/[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.180 - (show annotations) (download)
Sun Apr 30 09:48:44 2006 UTC (19 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.179: +6 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	30 Apr 2006 09:48:30 -0000
	* CharacterData.dis (Require): A reference to
	the |MDOM:Traversal| module is added.
	(wholeText): Implemented.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24