/[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.161 - (show annotations) (download)
Fri Mar 31 12:15:37 2006 UTC (18 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.160: +27 -0 lines
++ manakai/lib/Message/Util/ChangeLog	31 Mar 2006 11:57:15 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* Grove.dis (getNodeStemProp0Node): The |$opt| option
	parameter is added.
	(mg:nodeRefInterfaces): New property.

++ manakai/lib/Message/DOM/ChangeLog	31 Mar 2006 11:58:04 -0000
2006-03-31  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (DOMStringList.==): New overloaded operator.

	* DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
	class did not implement the |GetFeature| interface.
	(hasFeature): The |+| prefix was not taken into account.

	* TreeCore.dis (Node): The class now inherits
	the |ManakaiHasFeatureByGetFeature| class.  It now
	implements the |f:GetFeature| and |ecore:MUErrorTarget|
	interfaces.
	(CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
	is supported.
	(lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
	(manakaiParentElement): New attribute.

	* XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
	is removed.
	(lookupPrefix): Old method implementation is removed.

	* XML.dis (CDATASection): The |mg:NodeRefRole| was
	missing because of the |DISCore:stopISARecursive| property.

	* TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
	They now pass all tests included in those modules!

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24