/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Diff of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.78 by wakaba, Wed Oct 12 14:45:56 2005 UTC revision 1.116 by wakaba, Wed Feb 8 09:49:58 2006 UTC
# Line 1  Line 1 
1    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
2    
3            * XMLParser.dis (shiftChar): Line and column number counting
4            is fixed.  Although the DOM Level 3 Core specification
5            is unclear about whether the first number is zero or one,
6            in most programs the first line is "one" and
7            the first column is "one", manakai follows the practice.
8            (_XMLDeclaration): Don't set |xmlStandalone| value
9            if |standalone| pseudo-attribute value is |no|.  XML declaration
10            tests (successful cases) added.
11            (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
12            properties.
13    
14    2006-02-08  Wakaba  <wakaba@suika.fam.cx>
15    
16            * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
17    
18    2006-02-06  Wakaba  <wakaba@suika.fam.cx>
19    
20            * DOMCore.dis (c:erred): New property.
21            (c:DOMErrorType): It should have been a subset
22            of |ecore:AnyErrorCode|.
23    
24            * XMLParser.dis (XMLTests): Empty input tests added.
25    
26    2006-01-30  Wakaba  <wakaba@suika.fam.cx>
27    
28            * XDoctype.dis (d:Feature): New canonical feature
29            name |fe:XDoctype| is added.
30    
31            * XMLParser.dis: Predefined general entity references
32            are implemented.  Creates |Entity| nodes from general entities
33            declared in internal subset.  |Entity| nodes created from internal
34            general parsed entities now have replacement tree.
35            Sets |cfg:entity-reference-read-only| flag off during
36            the tree generation.  Some parsing rules use |$self->{doc}|
37            rather than |$doc| parameter.  Similarly, |$self->{docx}| (document
38            node with |fe:XDoctype| feature) and |$self->{dtdef}| are
39            introduced.  General entity references in attribute value literal
40            are supported.
41    
42    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
43    
44            * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
45            parameter name changed to |cfg:entity-reference-read-only|.
46            (createEntityReference): Set |c:read-only| flag of
47            the created entity reference, too.
48    
49            * DOMLS.dis (min): New canonical feature name |fe:Min| added.
50    
51            * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
52            from |DOMFeature| module instead.  Use |idl:Object|
53            instead of |DOMMain:DOMObject| as well.
54            (Generic): New canonical feature name |fe:GenericLS| added.
55            (DOMLS:ParserRole, DOMLS:SerializerRole): Their
56            canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
57            respectively.
58    
59            * DOMXML.dis (entities, notations): Perl code removed.
60            It will be reimplemented using |DocumentTypeDefinition|
61            class from |XDoctype| module.
62    
63            * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
64            Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
65            SimpleLS.dis: Cleaned up unused definitions.
66    
67            * DOMCore.dis, DOMLS.dis (CParam): Definitions
68            for LS module moved from |DOMCore| module to |DOMLS| module.
69            This change makes |DOMCore| to |DOMLS| dependency removed.
70    
71            * .cvsignore (.html.pm, .ls.pm): Removed.
72    
73            * Makefile (.html.pm, .ls.pm): Removed.
74            (feature.dae): Include |GenericLS| module.
75            (core.dae): Don't include |DOMLS| and |GenericLS| module.
76            (ls.dae): Include |DOMLS| module.
77    
78    2006-01-29  Wakaba  <wakaba@suika.fam.cx>
79    
80            * XMLParser.dis: Tests on default attributes and their |specified|
81            attribute are added.
82    
83            * XDoctype.dis (createGeneralEntity): New method.
84            (generalEntities): New attribute.
85            (getGeneralEntityNode, setGeneralEntityNode): New methods.
86    
87            * Tree.dis (ManakaiDOMEntities): Removed.
88            (ManakaiDOMEntityMap): New class.
89            (ManakaiDOM:entity-reference-read-only): New configuration parameter.
90            (createEntityReference): If there is a corresponding |Entity|
91            node in the document type definition, then copies its
92            subtree.
93    
94            * DOMXML.dis (Entity): Documentation updated.
95            (publicId, systemId, notationName, xmlEncoding,
96            xmlVersion): These attributes are now settable
97            if |ManakaiDOM:ManakaiDOMLatest| mode.
98            (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
99            mode.
100            (ownerDocumentTypeDefinition): New attribute
101            for |ManakaiDOM:ManakaiDOMLatest| mode.
102            (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
103    
104    2006-01-28  Wakaba  <wakaba@suika.fam.cx>
105    
106            * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
107    
108            * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
109    
110            * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
111            (ManakaiDOMAttributes): Removed.
112            (ManakaiDOMAttrMap): New class.
113            (ManakaiDOMAttrMapArray): New class.
114            (namespaceURI): Bug to return a string representation
115            of a reference to the namespace URI string is fixed.
116            (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
117            (removeAttribute, removeAttributeNS): DTD default attributes
118            are supported.  Don't throw |NO_MODIFICATION_ALLOWED_ERR|
119            if there is no attribute node.
120            (createElement, createElementNS): DTD default attributes are supported.
121            (setAttributeNode): Reimplemented.
122    
123    2006-01-27  Wakaba  <wakaba@suika.fam.cx>
124    
125            * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
126    
127            * Tree.dis (STORESIZE): Index bound bug fixed.
128            (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
129            (schemaTypeInfo): Implemented for XML DTD.
130            (isId): Returns |true| if [attribute type] is |ID|.
131            (setAttribute, setAttributeNS): Sets [attribute type]
132            of the newly created |Attr| node (if any) when attribute
133            definition is available.
134            (doctype, documentElement): Reimplemented with tests.
135    
136            * XMLParser.dis: Sets [attribute type] information
137            to created |Attr| nodes.  Normalize namespace URIs
138            when such information are available (unlikely but legal).
139            (_HexadecimalCharacterReference): Number to character
140            convertion bug fixed.
141            (_DocumentTypeDeclaration): Sets |schema-type|
142            configuration parameter to XML DTD URI.
143    
144    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
145    
146            * XMLParser.dis (_AttlistDeclaration): Now it can generate
147            attribute definition nodes.
148    
149            * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
150            and another |UNKNOWN_ATTR| constant is introduced
151            for consistency with XML Infoset.
152    
153            * DOMCore.dis (TypeInfo): Documentation updated.
154    
155    2006-01-26  Wakaba  <wakaba@suika.fam.cx>
156    
157            * XDoctype.dis: A bug in test code fixed.
158    
159            * Tree.dis (NamedNodeMap): Element type or attribute
160            definition named node maps now can be dereferenced
161            as if they are array or hash references.
162            (removeNamedItem, item, ___report_error): Implemented for element type
163            or attribute definitions.
164            (length): Tests added.
165            (NamedNodeMapArray): New classes.
166    
167    2006-01-25  Wakaba  <wakaba@suika.fam.cx>
168    
169            * XDoctype.dis (setElementTypeDefinitionNode,
170            setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
171            if the new node is already used for another definition.
172            (DocumentTypeDefinition, ElementTypeDefinition): Node
173            property name was incorrect.
174            (elementTypes, attributeDefinitions): Checks to
175            ensure the collection is empty added.
176    
177            * Tree.dis: Property name typos fixed.
178            (setNamedItem, setAttributeNode): Don't return any node
179            if it replace itself.
180            (c:userDeterminedId): Missing definition added.
181    
182            * DOMXML.dis (Notation): Missing property specification
183            of|c:ownerDocument| as |mn:xrefnode0| is added.
184    
185    2006-01-23  Wakaba  <wakaba@suika.fam.cx>
186    
187            * DOMCore.dis (Test): Missing argument added.
188            (setNamedItem): If |DocumentType| with no |ownerDocument|,
189            addition always fails with |WRONG_DOCUMENT_ERR|.  Some
190            error conditions were incorrect.
191    
192            * .cvsignore: Dummy files added.
193    
194    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
195    
196            * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
197            INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
198    
199            * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
200            to avoid uninitialized value warning.
201    
202            * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
203            classes (work in progress).
204    
205            * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
206    
207    2006-01-22  Wakaba  <wakaba@suika.fam.cx>
208    
209            * Tree.dis (getAttribute): Returns |null| if there
210            is no attribute in |ManakaiDOM:DOMLatest| for compatibility
211            with Web browser implementations.
212            (getAttributeNS): It returned |null| if there
213            is no attribute in any |For| unintentionally.  It now
214            returns an empty string in DOM levels less than or equals
215            to three.
216    
217            * XMLParser.dis (shiftChar): Fixed not to be warned as
218            uninitialized value or substring out of range.
219    
220    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
221    
222            * DOMXML.dis (DocumentType.childNodes): Removed
223            from |ManakaiDOM:ManakaiDOMLatest| variant.
224    
225            * XMLParser.dis: Parsing of general internal entities implemented.
226            (_DocumentTypeDeclaration): Appends a document type definition
227            node to the document.
228            (_ProcessingInstructionDTD): Appends a processing
229            instruction node to the document type definition.
230            (Element_): Document element could not be an |EmptyElemTag|.
231    
232    2006-01-21  Wakaba  <wakaba@suika.fam.cx>
233    
234            * DOMFeature.dis (featuresParamToFeaturesHash): New block
235            code (seprated from |InputProcessor|).  Now
236            a |features| parameter's version can be specified by
237            an array reference that contains a set of version
238            numbers.  A test added.
239    
240            * XMLParser.dis: A test added.
241    
242    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
243    
244            * DOMCore.dis (Test): Don't invoke |DESTROY| method
245            because it does not work with dummy object used in the test code.
246    
247    2006-01-07  Wakaba  <wakaba@suika.fam.cx>
248    
249            * DOMMain.dis (checkXMLNamesQName): Checks whether
250            namespace URI is defined for not being warned.
251    
252            * XDoctype.dis: New module.
253    
254            * DOMCore.dis (DOMStringList): Test added.
255    
256            * Makefile: |XDoctype.pm| added.
257    
258            * Tree.dis (Require): Requires |XDoctype.dis|.
259            (ManakaiDOMNodeObjectNode.eq): Added.
260            (Test): |DOMError.location| must return a |DOMLocator|
261            object (it was incorrectly tested to return |null|).
262            (EmptyNodeList.DESTROY): Removed.
263    
264    2006-01-04  Wakaba  <wakaba@suika.fam.cx>
265    
266            * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
267            |ATTRIBUTE_DEFINITION_NODE| node types added.
268            (appendChild, insertBefore, replaceChild): New
269            two node types added and processing instruction nodes
270            as document type definition node child is allowed
271            in |ManakaiDOM:ManakaiDOMLatest| mode.
272            (getNodeReference): New |interface| parameter
273            to filter classes by interface is added.
274            (ElementTypeDefinitionRole): New role.
275            (AttributeDefinitionRole): New role.
276    
277    2006-01-02  Wakaba  <wakaba@suika.fam.cx>
278    
279            * DOMCore.dis (DOMStringList): Reimplemented as tied array.
280    
281    2005-12-31  Wakaba  <wakaba@suika.fam.cx>
282    
283            * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
284            if it is not provided.
285    
286            * XMLParser.dis: Parsing methods to skip document
287            type declaration is added.
288    
289    2005-12-29  Wakaba  <wakaba@suika.fam.cx>
290    
291            * XMLParser.dis (shiftChar): Checks characters are legal
292            or not.  Normalize end-of-lines.
293            (rule _XMLDeclaration_): Implemented.
294            (WFErrDef): Well-formedness error |wf-syntax-error|,
295            |wf-pi-target-is-xml|, |wf-no-end-tag|,
296            |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
297            |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
298            |wf-element-type-match|, |wf-unique-att-spec|,
299            |wf-legal-character| added.
300            (%character-code-point): New formatter rule.
301    
302            * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
303    
304            * DOMCore.dis (DOMError.stringify): Added.
305            (error-handler.default): Returns |false| (don't continue)
306            when the error severity is |SEVERITY_FATAL_ERROR|.
307    
308    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
309    
310            * XMLParser.dis (DocumentEntity): Typos fixed.
311            (|lexmode|s): New |?default-token| statements are used
312            so that tokenizer description has been simplified
313            and CDATA sections now can be parsed.
314    
315    2005-12-28  Wakaba  <wakaba@suika.fam.cx>
316    
317            * XMLParser.dis: Some modifications made.
318    
319    2005-12-27  Wakaba  <wakaba@suika.fam.cx>
320    
321            * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
322            global named resource.
323    
324            * Makefile: Rules to make |XMLParser.pm| is added.
325    
326            * XMLParser.dis: New file.
327    
328    2005-12-24  Wakaba  <wakaba@suika.fam.cx>
329    
330            * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
331            message formatter can now vary by error types.
332            (DOMLocator.utf32Offset): New (manakai extended) attribute.
333    
334    2005-12-23  Wakaba  <wakaba@suika.fam.cx>
335    
336            * DOMCore.dis (DOMLocator): Implemented.
337    
338    2005-12-21  Wakaba  <wakaba@suika.fam.cx>
339    
340            * DOMCore.dis (DOMConfigurationParameterApplication,
341            domConfigurationParameter): New resources.
342    
343    2005-11-25  Wakaba  <wakaba@suika.fam.cx>
344    
345            * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
346            New methods.
347    
348    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
349    
350            * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
351            blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
352    
353            * DOMMain.dis (___report_error): Throws the error unkess
354            it is a |DOMCore:DOMError| object.
355            
356    2005-11-24  Wakaba  <wakaba@suika.fam.cx>
357    
358            * DOMCore.dis (severity, type): Getters return value from
359            the definition of the current error (i.e. |-def| hash).
360            (___error_def): New method.
361            (errorType): |dis:dataType| changed to |DISCore:TFQNames|
362            to ease natural reference to constant value.
363            (error-handler.default): Prints the error message by |warn|.
364    
365            * Tree.dis (nodeValue.set): Reimplemented so that it
366            warns as setting has no effect.
367            (___report_error): New method.  (It had been only implemented
368            in superclass.)
369            (setting-node-value-no-effect): New error type.
370    
371    2005-11-23  Wakaba  <wakaba@suika.fam.cx>
372    
373            * DOMCore.dis: Error codes added.
374    
375            * Tree.dis (destroyNodeStem): New method implementation.
376    
377    2005-11-22  Wakaba  <wakaba@suika.fam.cx>
378    
379            * Tree.dis (cloneNode): User data handlers implemented.
380            (adoptNode): User data handlers implemented.
381            
382    2005-11-21  Wakaba  <wakaba@suika.fam.cx>
383    
384            * DOMCore.dis (UserDataHandler): A constraint for Perl binding
385            added.
386    
387            * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
388            (getUserData, setUserData): Implemented.
389    
390    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
391    
392            * DOMCore.dis (UserDataHandler): Implemented.
393            (DOMErrorHandler): Blessed package name bug fixed.
394    
395            * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
396            changed to |Tree.dis|.
397            
398    2005-11-20  Wakaba  <wakaba@suika.fam.cx>
399    
400            * DOMMain.dis: Unused declarations and definitions removed.
401    
402            * DOMCore.dis: DOM document tree related interfaces removed.
403    
404            * Tree.dis: New module separated from |DOMCore.dis|.
405    
406            * DOMXML.dis: Some referent changed to |Tree.dis|.
407    
408            * Makefile: |Tree.dis| added.
409    
410    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
411    
412            * .cvsignore: Revised.
413            
414    2005-11-16  Wakaba  <wakaba@suika.fam.cx>
415    
416            * ManakaiDOMLS2003.dis: Tests added.
417            (domConfig): Method name in the code fixed to |flag|.
418    
419            * DOMMain.dis (findOffset32): Missing |^| in regular expressions
420            added.
421    
422            * DOMCore.dis (hasChildNodes): Returns |false| if the node type
423            is defined not to have any children.
424            (CharacterData): Typos in element type names and function names fixed.
425    
426    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
427    
428            * DOMFeature.dis (MinimumImplementation.eq): Added.
429    
430            * DOMMain.dis: |DISPerl:ISA| reference fixed.
431    
432            * Generic.dis: Implements new |DOMLS:Generic| feature.
433    
434    2005-11-15  Wakaba  <wakaba@suika.fam.cx>
435    
436            * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
437            characters between feature names and versions.
438    
439    2005-11-13  Wakaba  <wakaba@suika.fam.cx>
440    
441            * DOMFeature.dis (stringifyFeatures): A test code added.
442    
443    2005-10-26  Wakaba  <wakaba@suika.fam.cx>
444    
445            * SimpleLS.dis (writeToString): Don't stop serializing
446            when an |false| value appears in |@src|.
447    
448    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
449    
450            * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
451            (ErrDef): Redefined.
452    
453            * DOMLS.dis (ErrDef): Redefined.
454    
455    2005-10-16  Wakaba  <wakaba@suika.fam.cx>
456    
457            * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
458    
459    2005-10-15  Wakaba  <wakaba@suika.fam.cx>
460    
461            * DOMCore.dis (Require): References "DOMLS.dis" module.
462            (CParam): Definitions for LS module added.
463    
464            * DOMLS.dis (ManakaiDOMLSInput): The input processor
465            is also an output processor now.
466            (ManakaiDOMLSResourceResolver): Implemented.
467            (CParam): Definitions updated.
468    
469    2005-10-14  Wakaba  <wakaba@suika.fam.cx>
470    
471            * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
472            NOT_SUPPORTED_CONFIG_VALUE_ERR,
473            INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
474            (DOMConfiguration): Implemented.
475            (CParam): Definitions updated.
476    
477            * DOMMain.dis (DOMURIs): New data type.
478            
479    2005-10-13  Wakaba  <wakaba@suika.fam.cx>
480    
481            * DOMCore.dis (setAttrValueNS): New code.
482    
483  2005-10-12  Wakaba  <wakaba@suika.fam.cx>  2005-10-12  Wakaba  <wakaba@suika.fam.cx>
484    
485          * DOMCore.dis: Don't set "infoset:prefix" internal          * DOMCore.dis: Don't set "infoset:prefix" internal

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.116

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24