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

Legend:
Removed from v.1.84  
changed lines
  Added in v.1.117

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24