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

Legend:
Removed from v.1.218  
changed lines
  Added in v.1.247

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24