/[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.160 - (show annotations) (download)
Thu Mar 30 16:01:42 2006 UTC (18 years, 8 months ago) by wakaba
Branch: MAIN
Changes since 1.159: +78 -0 lines
++ manakai/lib/Message/Util/ChangeLog	30 Mar 2006 15:59:48 -0000
2006-03-30  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (mvLocalName, mvNamespaceURI): Namespace
	unaware attribute name is supported.

	* Grove.dis (setOwnerPropRR, deleteOwnerProp, createNodeRefHashFromID):
	New codes.
	(nodeRefClass): New property (moved from the |MDOM:TreeCore|
	module).

++ manakai/lib/Message/Util/DIS/ChangeLog	30 Mar 2006 16:01:23 -0000
2006-03-30  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plGeneratePerlModule): Generated code
	for features was incorrect.  Support for
	the |DOMMetaImpl:ImplementationCompatibleWithManakaiDOMMinimumImplementation|
	role is removed and the |f:ManakaiMinimumImplementationCompatible|
	role support is added instead.  Typos in role names are fixed.

++ manakai/lib/Message/DOM/ChangeLog	30 Mar 2006 15:58:12 -0000
2006-03-30  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (Require): A reference to the |MURI:Generic|
	module is added.
	(ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
	(ManakaiDOMImplementation): It now inherits
	the |urigen:ManakaiURIImplementation| class and
	implements the |ecore:MUErrorTarget| interface.  It no
	longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
	(ManakaiDOMImplementation.___report_error): New method.

	* DOMFeature.dis (Require): It now references the |Util:Grove|
	module instead of |Util:ManakaiNode| module.
	(DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
	(f:ManakaiMinimumImplementationCompatible): New role.
	(ManakaiMinimumImplementation): Now it is built
	on the new |Util:Grove| module rather than the |Util:ManakaiNode|
	module.
	(f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
	(c:implementation): Removed.
	(f:implementation, f:revImplementation): New properties.

	* DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.

	* Tree.dis (cfg:clone-entity-reference-subtree,
	cfg:dtd-default-attributes, cfg:xml-id,
	cfg:strict-document-children): Removed (moved
	to the |MDOM:TreeCore| module).

	* TreeCore.dis (Require): The reference to the |MURI:Generic|
	module is removed.
	(ManakaiDOMImplementationTC): Some members are removed
	since they are incorporated to the |c:ManakaiDOMImplementation|
	or the |f:ManakaiMinimumImplementation|.
	(tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
	(replaceChildImpl1): A typo on the removing the parent node
	of the old child node is fixed.
	(f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
	module).
	(tc:implementation, tc:revImplementation): Removed (moved
	to the |MDOM:DOMFeature| module).
	(Document.appendChild, insertBefore, replaceChild): Sets
	the |ownerDocument| attribute of the |tx:DocumentType| nodes.
	(Attr.prefix, Element.prefix): Don't raise "uninitialized"
	when the new value is |null|.
	(Attr.___create_node_ref): Attribute name and
	owner element type specific classes are supported (it
	was partially implemented but was incorrect).
	(ManakaiDOMGetElementsNodeList.item): Don't return
	a node if the |index| is negative.
	(setNamedItem): Various typos are fixed.
	(removeNamedItem): The node was not removed orz
	(cfg:clone-entity-reference-subtree,
	cfg:dtd-default-attributes, cfg:xml-id,
	cfg:strict-document-children): Definitions are moved
	from the |MDOM:Tree| module.  Note that the tests for default
	attributes still fail.
	(ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
	(Attr): Role name was incorrect.

	* XDoctype.dis (setDefinitionNode): Return value was
	not set.
	(AttributeDefinition): Role name was incorrect.

	* XML.dis (Require): A reference to the |DISlib:DISMarkup|
	module is added.
	(Notation.appendChild, insertBefore, replaceChild): New method
	implementations.
	(Entity.appendChild, insertBefore, replaceChild): New method
	implementations.
	(EntityReference.appendChild, insertBefore, replaceChild): Now
	they are defined as copies of ones in the |Entity| class.
	(XMLBaseAttribute, XMLIdAttribute): Now they are
	namespace unaware attributes.
	(XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
	(ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
	to namespace aware attributes are added.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24