/[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.163 - (show annotations) (download)
Sat Apr 1 14:41:29 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.162: +13 -0 lines
++ manakai/t/ChangeLog	1 Apr 2006 09:28:43 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* Makefile (util-dis-DPG.t): New test.

	* Makefile (dom-XML.t): New test.
	* Makefile (dom-TreeCore.t): New test.
++ manakai/bin/ChangeLog	1 Apr 2006 08:52:15 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* daf.pl (perl-pm, daf_generate_perl_test): Sets
	the |$Message::Util::DIS::Perl::Implementation| variable
	for compatibility.

++ manakai/lib/Message/Util/ChangeLog	1 Apr 2006 11:55:12 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* Grove.dis (destroy): Threshold value changed to 4096.

	* PerlCode.dis (PerlCode): Associated as the default
	class with |pc:*| and |pc2:*| element types.
	(currentPackage, currentChunkNumber, getNextChunkNumber): Removed.
	(ReflectCDATA): Reimplemented using standard |Element|
	methods.
	(sourceFile, sourceLine, currentSourceFile, currentSourceLine,
	skipLines): Removed.
	(pc:line): Removed.
	(stringify): Support for the |pc:line| configuration
	parameter is removed.

	* DIS.dis (isFeatureProvided): Removed.

++ manakai/lib/Message/Util/DIS/ChangeLog	1 Apr 2006 09:24:59 -0000
2006-04-01  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plImplementation): Get the instance
	from the |$Message::Util::DIS::Perl::Implementation| variable.
	(plIsFeatureImplemented): Removed.
	(plPreprocessPerlCode, plPreprocessPerlStatement): The |sourceFile|
	and |sourceLine| parameters are removed.

	* DPG.dis (DPGElement): Associated to the |pg:*| element types.

++ manakai/lib/Message/DOM/ChangeLog	1 Apr 2006 11:35:47 -0000
	* DOMFeature.dis (getImplementation, getImplementationList): Support
	for new class information variables.
	(DOMLS:Generic): This old feature name is removed.

	* GenericLS.dis (createGLSParser, createGLSSerializer): Support
	for new class information variables.

	* TreeCore.dis (manakaiExpandedURI): New attribute.
	(Document, Element.___create_node_ref): New method
	implementations.

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

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24