/[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.173 - (show annotations) (download)
Sun Apr 16 10:05:23 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.172: +5 -0 lines
++ manakai/lib/Message/Util/ChangeLog	16 Apr 2006 10:04:29 -0000
	* PerlCode.t (CDATADOMString2): New reflecting datatype.
	(prototype): Returns |null| if it is not specified.

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

++ manakai/lib/Message/DOM/ChangeLog	16 Apr 2006 10:03:47 -0000
	* XMLParser.dis (close): Invoke |close| method
	rather than |close| function.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24