/[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.175 - (show annotations) (download)
Sat Apr 22 00:56:40 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.174: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	16 Apr 2006 13:00:45 -0000
	* DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24