/[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.172 - (show annotations) (download)
Sun Apr 16 08:20:25 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.171: +17 -0 lines
++ manakai/t/ChangeLog	16 Apr 2006 08:00:28 -0000
2006-04-16  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (dom-CharacterData.t): New test.

++ manakai/lib/Message/Util/ChangeLog	16 Apr 2006 08:02:29 -0000
2006-04-16  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (.discore-all.pm): |CharacterData.pm| is added.

++ manakai/lib/Message/DOM/ChangeLog	16 Apr 2006 08:01:01 -0000
2006-04-16  Wakaba  <wakaba@suika.fam.cx>

	* CharacterData.dis: New module split from |TreeCore.dis|.

	* CharacterData.pm: Added to the CVS repository.

	* TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
	interfaces are removed.
	(Require): A reference to the |MDOM:CharacterData| module
	is added.

	* DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.

	* DOMCore.dis (StringOutOfBoundsException): New error.

	* Makefile: |CharacterData.pm| is added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24