/[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.189 - (show annotations) (download)
Mon May 15 12:58:02 2006 UTC (18 years, 6 months ago) by wakaba
Branch: MAIN
Changes since 1.188: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	15 May 2006 12:46:28 -0000
	* XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
	New methods.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24