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

Legend:
Removed from v.1.216  
changed lines
  Added in v.1.257

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24