/[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.183 - (show annotations) (download)
Fri May 5 11:19:44 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.182: +4 -0 lines
++ manakai/lib/Message/Markup/ChangeLog	5 May 2006 11:19:40 -0000
	* SuikaWiki.dis: Test code is added.

2006-05-05  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/DOM/ChangeLog	5 May 2006 11:19:14 -0000
2006-05-05  Wakaba  <wakaba@suika.fam.cx>

	* SimpleLS.dis: An |xmlns:| prefix was missing.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24