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

Legend:
Removed from v.1.219  
changed lines
  Added in v.1.255

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24