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

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.114

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24