/[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.178 - (show annotations) (download)
Sat Apr 29 11:05:08 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.177: +18 -0 lines
++ manakai/t/ChangeLog	29 Apr 2006 11:04:52 -0000
2006-04-29  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (markup-Atom.t): New test.
	(test-module-markup): New rule.
	(test-module-all): The |test-module-markup| is added to the list
	of rules.

++ manakai/lib/Message/Markup/ChangeLog	29 Apr 2006 11:04:06 -0000
2006-04-29  Wakaba  <wakaba@suika.fam.cx>

	* common.dis: New module.

	* Atom.dis: New module.

	* Makefile: New modules are added.

	* SuikaWikiConfig21.dis (Require): A reference
	to the |Markup:common| module is added.
	(Markup|): Removed (moved to the |Markup:common| module).

++ manakai/lib/Message/DOM/ChangeLog	29 Apr 2006 11:02:19 -0000
2006-04-29  Wakaba  <wakaba@suika.fam.cx>

	* Element.dis (removeAttributeNS): A runtime error
	was occurred if there was no specified attribute node.

	* TreeCore.dis (manakaiLanguage): New attribute.

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

	* TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
	New attributes.

	(StaticNodeList): New interface.

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

	* DOMCore.dis (c:SET_TO_NULL_ERR): New error code.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24