/[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.205 by wakaba, Sat Dec 30 01:55:51 2006 UTC revision 1.245 by wakaba, Sat Jul 14 10:00:32 2007 UTC
# Line 1  Line 1 
1    2007-07-14  Wakaba  <wakaba@suika.fam.cx>
2    
3            * DOMConfiguration.pm: Support for |schema-type|
4            and |http://suika.fam.cx/www/2006/dom-config/xml-id|.
5    
6            * NamedNodeMap (TIEHASH): Were missing.
7    
8    2007-07-14  Wakaba  <wakaba@suika.fam.cx>
9    
10            * AttributeDefinition.pm (node_value): Implemented.
11            (create_attribute_definition): Implemented.
12    
13            * DOMConfiguration.pm (%{}, TIEHASH,
14            get_parameter, set_parameter, can_set_parameter,
15            EXISTS, DELETE, parameter_names, FETCH, STORE,
16            FIRSTKEY, LASTKEY): Implemented.
17    
18            * DOMDocument.pm (____new): Set |error-handler| default.
19            (get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.
20    
21            * DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
22            Implemented.
23    
24            * DOMException.pm: Error types for |DOMConfiguration|
25            are added.
26    
27            * DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
28            class.
29    
30            * DocumentType.pm (get_element_type_definition_node,
31            get_general_entity_node, get_notation_node,
32            set_element_type_definition_node, set_general_entity_node,
33            set_notation_node, create_document_type_definition): Implemented.
34    
35            * ElementTypeDefinition.pm (get_attribute_definition_node,
36            set_attribute_definition_node, create_element_type_definition):
37            Implemented.
38    
39            * Entity.pm (create_general_entity): Implemented.
40    
41            * Node.pm: Constants in |OperationType| definition
42            group are added.
43            (manakai_language): Implemented.
44    
45            * NodeList.pm (Message::DOM::NodeList::GetElementsList): New
46            class.
47    
48            * Notation.pm (create_notation): Implemented.
49    
50    2007-07-14  Wakaba  <wakaba@suika.fam.cx>
51    
52            * TypeInfo.pm: New Perl module.
53    
54            * Attr.pm: Use |manakai_local_name| rather than |local_name|
55            to avoid HTML5 case normalization.
56            (is_id): Implemented.
57            (manakai_name): New attribute.
58            (schema_type_info): Implemented.
59            (create_attribute_ns): Empty string as namespace URI
60            was not supported.
61    
62            * DOMElement.pm (clone_node): Removed since now it is
63            defined in |Node.pm|.
64            (schema_type_info): Implemented.
65            (manakai_tag_name): New attribute.
66            (get_attribute, get_attribute_node, get_attribute_ns,
67            get_attribute_node_ns, has_attribute, has_attribute_ns,
68            remove_attribute, remove_attribute_ns,
69            remove_attribute_node, set_attribute, set_attribute_ns,
70            set_id_attribute, set_id_attribute_node,
71            set_id_attribute_ns): Implemented.
72            (create_element_ns): Empty string as namespace URI
73            was not supported.
74    
75    2007-07-12  Wakaba  <wakaba@suika.fam.cx>
76    
77            * AttributeDefinition.pm (owner_element_type_definition): Implemented.
78    
79            * DocumentType.pm (create_document_type_definition): Initialize
80            |public_id|, |system_id|, and |internal_subset| attributes
81            by empty strings for compatibility with Web browsers.
82            (create_document_type): Initialize |internal_subset|
83            attribute by an empty string for compatibility with
84            Web browsers.
85    
86            * ElementTypeDefinition.pm, Entity.pm,
87            Notation.pm (owner_document_type_definition): Implemented.
88    
89    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
90    
91            * DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
92            feature is added for compatibility with |XMLParserTemp.pm|.
93    
94    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
95    
96            * Attr.pm (value, node_value): Now it is defined
97            as |text_content| itself.
98    
99            * AttributeDefinition.pm, ElementTypeDefinition.pm,
100            Node.pm (AUTOLOAD): Unused block is removed.
101    
102            * CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed.  Unused.
103    
104            * DocumentType.pm (internal_subset): Implemented.
105    
106            * Entity.pm (is_externally_declared, input_encoding,
107            xml_version): Implemented.
108    
109            * ProcessingInstruction.pm (target, data): Implemented.
110    
111    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
112    
113            * DOMCharacterData.pm (AUTOLOAD): Removed.
114            (data): Reimplemented.
115            (delete_data, insert_data, replace_data, substring_data): There were
116            a number of bugs.
117    
118            * Text.pm (AUTOLOAD): Removed.  Unused.
119    
120    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
121    
122            * StringExtended.pm: New Perl module.
123    
124            * DOMCharacterData.pm (length, append_data, delete_data,
125            insert_data, replace_data, substring_data): Implemented.
126    
127            * DOMException.pm (INDEX_SIZE_ERR): Implemented.
128    
129            * Text.pm (is_element_content_whitespace, whole_text,
130            split_text): Implemented.
131    
132    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
133    
134            * DOMElement.pm (attributes): Implemented.
135    
136            * DOMException.pm (INUSE_DEFINITION_ERR): New error type.
137    
138            * DocumentType.pm (entities, general_entities,
139            notations, element_types): Implemented.
140    
141            * ElementTypeDefinition.pm (attribute_definitions): Implemented.
142    
143            * NamedNodeMap.pm: New Perl module.
144    
145    2007-07-08  Wakaba  <wakaba@suika.fam.cx>
146    
147            * Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm,
148            DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm,
149            Node.pm, Notation.pm, ProcessingInstruction.pm (append_child,
150            insert_before, replace_child): Implemented.
151    
152            * DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented.
153    
154            * Node.pm (remove_child): Implemented.
155    
156    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
157    
158            * Node.pm (==, is_equal_node): Implemented.
159            (is_same_node): Implemented.
160            (get_feature, get_user_data, set_user_data): Implemented.
161            (is_supported): Implemented.
162            
163    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
164    
165            * DOMDocument.pm (get_element_by_id): Implemented.
166            (create_document): Implemented.
167    
168            * DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
169            errors.
170            (QNAME_NULLNS_ERR): New errors.
171    
172            * DocumenType.pm (create_document_type): Implemented.
173    
174    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
175    
176            * CDATASection.pm (is_element_content_whitespace): New.
177    
178            * DOMElement.pm (has_attribute): Alpha version.
179            (create_element, create_element_ns): Implemented.
180    
181            * DocumentType.pm (get_general_entity_node): Alpha version.
182    
183            * EntityReference.pm (create_entity_reference): Implemented.
184    
185            * ProcessingInstruction.pm (create_processing_instruction): Implemented.
186    
187    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
188    
189            * Attr.pm (create_attribute, create_attribute_ns): Implemented.
190    
191            * DOMDocument.pm: Load character classes from |Char::Class::XML|.
192            (compat_mode): Check |defined| not to be warned as "uninitialized"
193            when |{manakai_compat_mode}| is |undef|.
194    
195            * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
196    
197            * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
198            Statements to set |$Error::Depth| are removed since they
199            are result in "uninitialized" warnings unless
200            the |Message::DOM::DOMException| module is loaded earlier.
201            Usually methods invoked in these methods does not
202            raise any exception so that it makes no difference.
203    
204    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
205    
206            * DOMDocument.pm (adopt_node): Implemented.
207            (doctype): Implemented.
208    
209            * DOMElement.pm (remove_attribute_node): Alpha version.
210    
211            * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
212            error type.
213    
214            * Node.pm (set_user_data): Implemented.
215    
216    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
217    
218            * DOMImplementation.pm (new): New method name for |____new|.
219            It will be defined in the DOM Perl Binding specification
220            as part of |DOMImplementation| interface.
221            ($HasFeature): Defined for features support.
222            (has_feature, get_feature): Implemented.
223    
224            * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
225            module unless necessary.
226            (___report_error): Removed since it is not used in fact.
227    
228            * DOMImplementationList.pm, DOMImplementationSource.pm,
229            DOMImplementationRegistry.pm: New modules.
230    
231    2007-07-07  Wakaba  <wakaba@suika.fam.cx>
232    
233            * AttributeDefinition.pm (allowed_tokens): Implemented.
234    
235            * DOMStringList.pm: New Perl module.
236    
237    2007-06-26  Wakaba  <wakaba@suika.fam.cx>
238    
239            * DOMElement.pm (clone_node): Alpha version.  It did not work
240            at all.
241    
242    2007-06-24  Wakaba  <wakaba@suika.fam.cx>
243    
244            * ProcessingInstruction.pm (data): Now it is a read-write attribute.
245    
246    2007-06-23  Wakaba  <wakaba@suika.fam.cx>
247    
248            * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
249            (manakai_is_html): Revised.
250            (Document): Now it implements the |HTMLDocument| interface.
251            (adopt_node): Alpha version.
252    
253            * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
254            not |allowed_token|!
255    
256            * ElementTypeDefinition.pm (attribute_definitions): Don't
257            return an |undef| even if its |attribute_definitions|
258            list is not created.
259    
260    2007-06-21  Wakaba  <wakaba@suika.fam.cx>
261    
262            * Comment.pm (node_type): Node type was incorrect!
263    
264            * DOMConfiguration.pm (get_parameter): Alpha.
265    
266            * DOMImplementation.pm (create_mc_decode_handler,
267            create_charset_name_from_uri, create_uri_from_charset_name):
268            New autoload configuration.  Note that the Message::Charset::Encode
269            module is subject to change.
270    
271            * XMLParserTemp.pm: Now it can be used with new version
272            of DOM implementation.  Current plan is to replace it by
273            an XML5 parser someday.
274    
275    2007-06-21  Wakaba  <wakaba@suika.fam.cx>
276    
277            * DOMLocator.pm: New module.
278    
279            * DOMError.pm: New module.
280    
281    2007-06-20  Wakaba  <wakaba@suika.fam.cx>
282    
283            * Node.pm (manakai_expanded_uri, manakai_parent_element,
284            clone_node, compare_document_position, has_attributes,
285            has_child_nodes, is_default_namespace, lookup_namespace_uri,
286            lookup_prefix, normalize): Implemented.
287    
288            * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
289    
290            * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
291    
292    2007-06-17  Wakaba  <wakaba@suika.fam.cx>
293    
294            * AttributeDefinition.pm (____new): Set an empty list
295            to the |allowed_tokens| attribute.
296            (allowed_token): Alpha version.
297    
298            * DocumentType.pm (get_element_type_definition_node,
299            get_notation_node): ALpha version.
300    
301            * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
302            version.
303    
304            * Entity.pm (notation_name): Implemented.
305    
306    2007-06-17  Wakaba  <wakaba@suika.fam.cx>
307    
308            * Attr.pm (____new): Initialize |specified| as 1.
309            (base_uri, manakai_attribute_type, specified): Implemented.
310            (prefix): Don't check read-only flag unless |strict_error_checking|.
311            (value): Call |text_content| for now.
312    
313            * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
314            (declared_type, default_type): Implemented.
315    
316            * CharacterData.pm (____new): Allow a scalar reference
317            as an input for the |data| attribute.
318            (base_uri, manakai_append_text): Implemented.
319    
320            * DOMConfiguration.pm (set_parameter): Resetting implemented.
321    
322            * DOMDocument.pm (____new): Set default values to
323            configuration parameter whose default is true.
324            (document_uri, input_encoding): Implemented.
325            (all_declarations_processed, manakai_is_html): Implemented.
326            (base_uri, manakai_append_text,
327            manakai_entity_base_uri, strict_error_checking,
328            xml_encoding, xml_version, xml_standalone): Implemented.
329    
330            * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
331            (get_attribute, get_attribute_node): Alpha version.
332            (set_attribute_node, set_attribute_node_ns): Implemented.
333            (set_attribute_ns): Accept non-ARRAY qualified name.
334    
335            * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
336            |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
337    
338            * DocumentType.pm (public_id, system_id): Implemented.
339            (base_uri, declaration_base_uri, manakai_declaration_base_uri,
340            manakai_append_text): Implemented.
341            (element_types, general_entities, notations,
342            set_element_type_definition_node, set_general_entity_node,
343            set_notation_node): Alpha version.
344    
345            * ElementTypeDefinition.pm (manakai_append_text): Implemented.
346            (attribute_definitions, set_attribute_definition_node): Alpha version.
347    
348            * Entity.pm (has_replacement_tree, public_id, system_id,
349            manakai_declaration_base_uri, manakai_entity_base_uri,
350            manakai_entity_uri): Implemented.
351    
352            * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
353            (base_uri, manakai_entity_base_uri): Implemented.
354    
355            * Node.pm (base_uri): Implemented.
356            (text_content): Don't check read-only or not
357            unless |strict_error_checking|.
358            (manakai_append_text): Implemented.
359            (get_feature): Alpha.
360            (manakai_set_read_only): Implemented.
361    
362            * Notation.pm (public_id, system_id, manakai_append_text,
363            manakai_declaration_base_uri): Implemented.
364    
365            * ProcessingInstruction.pm (manakai_base_uri,
366            base_uri, manakai_append_text): Implemented.
367    
368    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
369    
370            * DOMConfiguration.pm: New module.
371    
372            * Attr.pm (trivial accessor for read-write attributes): Throw
373            an exception if the node is read-only.  Delete the property
374            if undef is specified.
375            (prefix): Implemented.
376    
377            * DOMElement.pm (trivial accessor for read-write attributes): Throw
378            an exception if the node is read-only.  Delete the property
379            if undef is specified.
380            (prefix): Implemented.
381            (text_content, manakai_append_text): Old implementations are removed.
382    
383            * DOMCharacterData.pm (text_content): Implemented.
384    
385            * DOMDocument.pm (____new): Initialize the strict-document-children
386            parameter by true.
387            (text_content): Reimplemented.
388            (dom_config): New.
389    
390            * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
391    
392            * DocumentType.pm (text_content): Implemented.
393    
394            * ElementTypeDefinition.pm (text_content): Implemented.
395    
396            * Node.pm (___report_error): New method.
397            (text_content): Implemented.
398            (manakai_append_text): Copied from |DOMElement.pm|.
399    
400            * Notation.pm (text_content): Implemented.
401    
402            * ProcessingInstruction.pm (text_content): Implemented.
403    
404            * Text.pm (is_element_content_whitespace): Alpha version.
405    
406    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
407    
408            * DOMException.pm (Message::IF::DOMException): Extends
409            the |Message::Util::Error| class.
410    
411            * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
412            (CLEAR): Not all items were removed.
413    
414    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
415    
416            * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
417            DocumentType.pm, Entity.pm,
418            EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
419    
420            * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
421            Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
422    
423            * DOMDocument.pm (AUTOLOAD): Typo fixed.
424    
425            * Node.pm (==, !=): Implemented.
426            (manakai_read_only): Implemented.
427            (is_same_node): Implemented.
428            (is_equal_node): Alpha version.
429            (manakai_set_read_only): Alpha version.
430            (child_nodes, first_child, last_child, previous_sibling): Duplicate
431            definitions are removed.
432    
433    2007-06-16  Wakaba  <wakaba@suika.fam.cx>
434    
435            * Node.pm: First alpha version of implementation of attributes.
436    
437    2007-06-15  Wakaba  <wakaba@suika.fam.cx>
438    
439            * ProcessingInstruction.pm, EntityReference.pm,
440            CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
441            ElementTypeDefinition.pm, AttributeDefinition.pm,
442            DocumentType.pm, DOMElement.pm, Attr.pm,
443            CharacterData.pm, Text.pm, Comment.pm (node_name,
444            node_value, node_type): Implemented.
445    
446    2007-06-14  Wakaba  <wakaba@suika.fam.cx>
447    
448            * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
449            CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
450            AttributeDefinition.pm: New modules.
451    
452            * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
453            (create_attribute_definition, create_element_type_definition,
454            create_document_type_definition, create_cdata_section,
455            create_processing_instruction, create_entity_reference,
456            create_general_entity, create_notation): Prototypes added.
457    
458            * DOMImplementation.pm (create_document_type): Prototype added.
459    
460            * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
461            and 'Message::IF::DocumentTypeDeclaration' added.
462            (create_document_type, create_document_type_definition):
463            New methods.
464    
465    2007-06-13  Wakaba  <wakaba@suika.fam.cx>
466    
467            * DOMImplementation.pm, Node.pm, DOMDocument.pm,
468            DOMElement.pm, Attr.pm, DocumentType.pm,
469            DOMCharacterData.pm, Text.pm, Comment.pm: Copied
470            from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
471    
472    2007-06-10  Wakaba  <wakaba@suika.fam.cx>
473    
474            * XMLParser.dis: Default to "1.0" if <?xml version=""?>
475            specifies unknown value and trys to recover from the error.
476    
477    2007-05-13  Wakaba  <wakaba@suika.fam.cx>
478    
479            * TreeCore.dis (manakaiLocalName): New attribute.
480    
481    2007-01-02  Wakaba  <wakaba@suika.fam.cx>
482    
483            * GenericLS.dis (GLSException): New interface.
484    
485    2006-12-31  Wakaba  <wakaba@suika.fam.cx>
486    
487            * |InputProcessor|s and |OutputProcessor|s are
488            named so that |report| statements in Perl
489            module outputs can be identified by name. |dis:dataType|s
490            of |DISCore:TFQNames| are all replaced
491            by |DISCore:QName|.
492    
493    2006-12-31  Wakaba  <wakaba@suika.fam.cx>
494    
495            * Element.dis (createElementNS): If an array reference
496            is specified as the |qualifiedName| parameter,
497            don't set the first item as the local name
498            even if the second item is not specified (or
499            specified as |undef|).
500            (createElementNS, setAttribute, setAttributeNS,
501            removeAttribute, removeAttributeNS,
502            setAttributeNode, setAttributeNodeNS,
503            removeAttributeNode, removeAttributeNodeNS): Sets
504            or removes the |tc:contentAttributeList| value.
505    
506            * TreeCore.dis (AttrMap.item): Caches the result
507            of sorting of content attribute names.
508            (getAttrMap, getElementTypeDefNodeMap,
509            getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
510            (tc:contentAttributeList): New property.
511    
512    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
513    
514            * DOMFeature.dis (ForDef): Removed.
515            (f:provides, f:through): Removed.
516            (Version): Removed.
517            (implementFeature): Removed.
518    
519    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
520    
521            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
522            GenericLS.dis, TreeCore.dis, DOMString.dis,
523            XML.dis, Element.dis, Document.dis, TreeStore,dis,
524            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
525            SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
526            are removed.
527    
528    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
529    
530            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
531            GenericLS.dis, TreeCore.dis, DOMString.dis,
532            XML.dis, Element.dis, Document.dis, TreeStore,dis,
533            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
534            SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
535            and |DefaultFor|s are removed.
536    
537    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
538    
539            * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
540            GenericLS.dis, TreeCore.dis, DOMString.dis,
541            XML.dis, Element.dis, Document.dis, TreeStore,dis,
542            Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
543            SimpleLS.dis, DOMMain.dis: References
544            to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
545            |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
546            modes are removed.
547    
548    2006-12-30  Wakaba  <wakaba@suika.fam.cx>
549    
550            * CharacterData.dis, TreeCore.dis (Require): References
551            to the |Grove.dis| module are removed.
552    
553  2006-12-30  Wakaba  <wakaba@suika.fam.cx>  2006-12-30  Wakaba  <wakaba@suika.fam.cx>
554    
555          * DOMFeature.dis (f:implementation, f:revImplementation): Removed.          * DOMFeature.dis (f:implementation, f:revImplementation): Removed.

Legend:
Removed from v.1.205  
changed lines
  Added in v.1.245

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24