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

Legend:
Removed from v.1.220  
changed lines
  Added in v.1.248

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24