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

Legend:
Removed from v.1.214  
changed lines
  Added in v.1.249

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24