/[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.170 - (show annotations) (download)
Tue Apr 4 12:35:14 2006 UTC (20 years, 3 months ago) by wakaba
Branch: MAIN
Changes since 1.169: +5 -0 lines
++ manakai/lib/Message/Util/ChangeLog	4 Apr 2006 12:34:51 -0000
	* PerlCode.dis (PropDef): Removed (they were not used).
	(appendPackage, appendCodeFragment): Removed.
	(PCImplementation.createPerl* factoty methods): Removed.
	(setSubNode, setOverloadSub): Removed.
	(Node setter attributes): They no longer call |adoptNode|
	method.
	(PCImplementation): Don't inherit |dx:ManakaiDefaultExceptionHandler|.
	(PCException): Removed.

	* Grove.dis (destroy): Threshold value experimentally changed.

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

++ manakai/lib/Message/DOM/ChangeLog	4 Apr 2006 12:30:15 -0000
	* Document.dis (adoptNode test): Documents were
	made by different documents.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24