/[suikacvs]/messaging/manakai/lib/Message/DOM/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/DOM/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.299 - (hide annotations) (download)
Sun Feb 10 04:10:36 2008 UTC (16 years, 9 months ago) by wakaba
Branch: MAIN
Changes since 1.298: +4 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	10 Feb 2008 04:10:31 -0000
2008-02-10  Wakaba  <wakaba@suika.fam.cx>

	* CSSStyleSheet.pm (manakai_input_encoding): New.

1 wakaba 1.299 2008-02-10 Wakaba <wakaba@suika.fam.cx>
2    
3     * CSSStyleSheet.pm (manakai_input_encoding): New.
4    
5 wakaba 1.298 2008-02-08 Wakaba <wakaba@suika.fam.cx>
6    
7     * CSSRule.pm (@media, @import ____new): Bless media object
8     with the appropriate class.
9     (@media css_text): Getter implemented.
10    
11     * MediaList.pm (media_text): Getter implemented.
12    
13 wakaba 1.297 2008-02-03 Wakaba <wakaba@suika.fam.cx>
14    
15     * CSSStyleDeclaration.pm ($serialize_value): Support
16     for new value types.
17    
18 wakaba 1.296 2008-02-02 Wakaba <wakaba@suika.fam.cx>
19    
20     * CSSStyleDeclaration.pm ($serialize_value): New (was
21     part of Whatpm::CSS::Parser as $default_serializer).
22     Use it instead of old 'serialize' parameter of CSS
23     property definition.
24    
25 wakaba 1.294 2008-01-26 Wakaba <wakaba@suika.fam.cx>
26    
27 wakaba 1.295 * CSSStyleDeclaration.pm (css_text): Prepend | ! | before
28     the priority token if any.
29     (get_property_priority): Shorthand case implemented.
30    
31     2008-01-26 Wakaba <wakaba@suika.fam.cx>
32    
33 wakaba 1.294 * CSSStyleDeclaration.pm: Use |serialize_shorthand|
34     and |serialize_multiple| to serialize shorthand properties
35     in reflecting attributes. Return value of
36     the |serialzie_multiple| function has been changed.
37     (non-computed css_text): Sort by property names.
38    
39 wakaba 1.293 2008-01-24 Wakaba <wakaba@suika.fam.cx>
40    
41     * Window.pm (manakai_get_computed_style): Renamed
42     from |get_computed_style|.
43    
44     * Element.pm (manakai_computed_style): Renamed from |current_style|.
45    
46 wakaba 1.287 2008-01-14 Wakaba <wakaba@suika.fam.cx>
47    
48 wakaba 1.292 * CSSStyleDeclaration.pm (AUTOLOAD): DOM attributes reflecting
49     shorthand properties did croak (fixed but still they does not
50     return correct result - they need to be fixed later).
51    
52     * Element.pm (query_selector, query_selector_all): Prototypes
53     were missing.
54    
55     2008-01-14 Wakaba <wakaba@suika.fam.cx>
56    
57 wakaba 1.291 * Window.pm (___reset_css): Typo fixed.
58    
59     2008-01-14 Wakaba <wakaba@suika.fam.cx>
60    
61 wakaba 1.290 * CSSStyleDeclaration.pm: The classes now explicitly implement
62     the |CSS2Properties| interface.
63     (@{}, TIEARRAY, FETCH, FETCHSIZE, EXISTS, item, length): Implemented.
64    
65     2008-01-14 Wakaba <wakaba@suika.fam.cx>
66    
67 wakaba 1.289 * CSSStyleDeclaration.pm (attributes reflecting CSS properties):
68     Return an empty string if no value is assigned to the property. Insert
69     a SPACE before '!' for compatibility with Firefox.
70    
71     2008-01-14 Wakaba <wakaba@suika.fam.cx>
72    
73 wakaba 1.288 * CSSRule.pm (css_text): Trailing newline character is removed
74     to avoid double empty lines in CSSStyleSheet->css_text.
75     (selector_text): Namespace support is fixed.
76    
77     * CSSStyleSheet.pm (___new): Now it accepts |_nsmap| option.
78    
79     2008-01-14 Wakaba <wakaba@suika.fam.cx>
80    
81 wakaba 1.287 * CSSRule.pm (selector_text): Use |serialize_selector_text|
82     to get better result.
83    
84 wakaba 1.286 2008-01-13 Wakaba <wakaba@suika.fam.cx>
85    
86     * Window.pm: New Perl module.
87    
88     * Document.pm (default_view): Implemented.
89    
90     * Element.pm (current_style): Implemented.
91    
92 wakaba 1.285 2008-01-06 Wakaba <wakaba@suika.fam.cx>
93    
94     * CSSStyleDeclaration.pm (css_text): Allow to shorten a complete
95     set of longhand properties.
96     (get_property_priority): Implemented.
97     (CSSComputedStyleDeclaration AUTOLOAD): Implemented for reflecting
98     attributes.
99    
100 wakaba 1.284 2008-01-04 Wakaba <wakaba@suika.fam.cx>
101    
102     * CSSStyleDeclaration.pm (css_text): Allow |{compute_multiple}|
103     as well as |{compute}| as a way to filter out longhand
104     properties. Sort properties by names for readability.
105    
106 wakaba 1.282 2008-01-01 Wakaba <wakaba@suika.fam.cx>
107    
108 wakaba 1.283 * CSSStyleDeclaration.pm (css_text): Output |undef| property
109     information for debugging.
110    
111     * CSSStyleSheet.pm (manakai_base_uri): New attribute.
112    
113     2008-01-01 Wakaba <wakaba@suika.fam.cx>
114    
115 wakaba 1.282 * CSSStyleDeclaration.pm (CSSComputedStyleDeclaration): New class.
116    
117 wakaba 1.279 2007-12-31 Wakaba <wakaba@suika.fam.cx>
118    
119 wakaba 1.281 * SelectorsAPI.pm, Document.pm (___query_selector_all): New internal
120     method.
121    
122     2007-12-31 Wakaba <wakaba@suika.fam.cx>
123    
124 wakaba 1.280 * SelectorsAPI.pm: Make simple-selector-sequence-matching
125     an independent function.
126    
127     2007-12-31 Wakaba <wakaba@suika.fam.cx>
128    
129 wakaba 1.279 * CSSStyleDeclaration.pm (AUTOLOAD): Getter for attributes
130     reflecting CSS property is implemented.
131     (css_text): Getter is implemented.
132    
133 wakaba 1.278 2007-12-24 Wakaba <wakaba@suika.fam.cx>
134    
135     * CSSRule.pm (selector_text): Ad hoc support for namespace prefixes.
136     (CSSNamespaceRule.css_text): Getter implemented.
137    
138     * CSSStyleSheet.pm (manakai_is_default_namespace,
139     manakai_lookup_namespace_prefix): New methods.
140    
141 wakaba 1.276 2007-12-23 Wakaba <wakaba@suika.fam.cx>
142    
143 wakaba 1.277 * CSSRule.pm (@charset.css_text): Implemented.
144    
145     2007-12-23 Wakaba <wakaba@suika.fam.cx>
146    
147 wakaba 1.276 * CSSRule.pm (type, css_text): Typo fixed.
148     (____new): s/_selector/_selectors/g;
149     (CSSStyleRule.css_text, selectors_text): Ad hoc implementation.
150    
151     * CSSStyleDeclaration.pm (css_text): Ad hoc implementation.
152    
153     * CSSStyleSheet.pm (new): s/new/____new/.
154     (css_text): New attribute.
155    
156 wakaba 1.274 2007-12-22 Wakaba <wakaba@suika.fam.cx>
157    
158 wakaba 1.275 * MediaList.pm: New placeholder for a CSSOM interface.
159    
160     * CSSRule.pm, CSSStyleSheet.pm: Implementing the initial
161     setting of owner* and parent* attributes; support
162     for the |delete_rule| method.
163    
164     2007-12-22 Wakaba <wakaba@suika.fam.cx>
165    
166 wakaba 1.274 * CSSStyleSheet.pm, CSSRule.pm, CSSRuleList.pm, CSSStyleDeclaration.pm:
167     First version of CSSOM implementation.
168    
169 wakaba 1.273 2007-11-18 Wakaba <wakaba@suika.fam.cx>
170    
171     * Document.pm, Entity.pm (manakai_has_bom,
172     manakai_charset): New attributes.
173    
174 wakaba 1.272 2007-11-11 Wakaba <wakaba@suika.fam.cx>
175    
176     * Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer|
177     for getter.
178    
179 wakaba 1.271 2007-10-27 Wakaba <wakaba@suika.fam.cx>
180    
181     * Event.pm (init_event, init_event_ns, init_custom_event_ns):
182     The |namespaceURI| attribute was not set correctly.
183    
184     * DOMEvents.dis: Removed.
185    
186 wakaba 1.270 2007-10-08 Wakaba <wakaba@suika.fam.cx>
187    
188     * Event.pm, EventTarget.pm, EventTargetNode.pm,
189     EventException.pm: Implemented (but not tested!).
190    
191     * DOMException.pm (MALFORMED_EVENT_TYPE_ERR,
192     EVENT_INTERFACE_NOT_SUPPORTED_ERR, EXTERNAL_EVENT_ERR): New
193     error subtypes.
194    
195     * DOMImplementation.pm ($HasFeature): The |Event| feature,
196     version |3.0|, is added.
197    
198     * Document.pm, Node.pm: Event attributes and
199     methods are implemented.
200    
201 wakaba 1.269 2007-10-07 Wakaba <wakaba@suika.fam.cx>
202    
203     * SelectorsAPI.pm ($get_elements_by_selectors): Receive
204     an additional argument for "current element".
205     Support for |-manakai-current| and |-manakai-current(/s/)|
206     pseudo-classes.
207    
208 wakaba 1.265 2007-09-29 Wakaba <wakaba@suika.fam.cx>
209    
210 wakaba 1.268 * SelectorsAPI.pm: Attribute selectors are implemented.
211    
212     2007-09-29 Wakaba <wakaba@suika.fam.cx>
213    
214 wakaba 1.267 * SelectorsAPI.pm (ElementSelector): Implemented.
215    
216     2007-09-29 Wakaba <wakaba@suika.fam.cx>
217    
218 wakaba 1.266 * SelectorsAPI.pm (query_selector): Implemented.
219    
220     2007-09-29 Wakaba <wakaba@suika.fam.cx>
221    
222 wakaba 1.265 * SelectorsAPI.pm ($get_elements_by_selectors): Created
223     from most part of |query_selector_all|.
224    
225 wakaba 1.264 2007-09-24 Wakaba <wakaba@suika.fam.cx>
226    
227     * DOMException.pm (SYNTAX_ERR): New subtype is defined.
228     (UNDECLARED_PREFIX_ERR): New subtype is defined.
229    
230     * Document.pm (Document): Implements the |DocumentSelector|
231     interface.
232    
233     * Element.pm (Element): Implements the |ElementSelector|
234     interface.
235    
236     * Node.pm (Node): Implements the |NSResolver| interface.
237    
238     * SelectorsAPI.pm: Now (hopefully) conform to the Selectors
239     API Editor's Draft (only |query_selector_all| on |Document|,
240     with limited selectors syntax support, though).
241    
242 wakaba 1.262 2007-09-23 Wakaba <wakaba@suika.fam.cx>
243    
244 wakaba 1.263 * SelectorsAPI.pm: Namespaced type/universal selectors
245     are supported.
246    
247     2007-09-23 Wakaba <wakaba@suika.fam.cx>
248    
249 wakaba 1.262 * SelectorsAPI.pm: New Perl module.
250    
251 wakaba 1.260 2007-08-25 Wakaba <wakaba@suika.fam.cx>
252    
253 wakaba 1.261 * Node.pm (manakai_language): Return the |manakai_language|
254     of the |owner_document|, if any, as defined in the spec.
255    
256     2007-08-25 Wakaba <wakaba@suika.fam.cx>
257    
258 wakaba 1.260 * Makefile: Relative path was wrong.
259    
260 wakaba 1.253 2007-07-29 Wakaba <wakaba@suika.fam.cx>
261    
262 wakaba 1.259 * HTML/: New directory.
263    
264     * Element.pm (create_element_ns): Return object implementing
265     the |HTMLElement| interface for HTML elements.
266    
267     2007-07-29 Wakaba <wakaba@suika.fam.cx>
268    
269 wakaba 1.258 * DOMImplementation.pod: New documentation.
270    
271     * Makefile: Make HTML document.
272    
273     2007-07-29 Wakaba <wakaba@suika.fam.cx>
274    
275 wakaba 1.257 * XDoctype.dis, XDoctype.pm: Removed.
276    
277     * CharacterData.pm: Renamed from DOMCharacterData.pm.
278    
279 wakaba 1.258 * Document.pm: Renamed from DOMDocument.pm.
280 wakaba 1.257
281     * Element.pm: Renamed from DOMElement.pm
282    
283     2007-07-29 Wakaba <wakaba@suika.fam.cx>
284    
285 wakaba 1.256 * DOMString.dis, DOMString.pm, Document.dis, Document.pm,
286     Element.dis, Element.pm, CharacterData.dis, CharacterData.pm,
287     TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm,
288     DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm,
289     DOMMain.dis, DOMMain.pm, DOMLS.dis,
290     GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed.
291    
292     * Makefile: Rules for DIS are removed.
293    
294     2007-07-29 Wakaba <wakaba@suika.fam.cx>
295    
296 wakaba 1.255 * Text.pm: |Message::DOM::Traversal, an obsolete module,
297     was referenced.
298    
299     2007-07-29 Wakaba <wakaba@suika.fam.cx>
300    
301 wakaba 1.254 * DOMDocument.pm (inner_html): Setter in HTML document
302     is implemented.
303    
304     2007-07-29 Wakaba <wakaba@suika.fam.cx>
305    
306 wakaba 1.253 * DOMDocument.pm (inner_html): Setter in XML document
307     is implemented.
308    
309 wakaba 1.252 2007-07-19 Wakaba <wakaba@suika.fam.cx>
310    
311     * Attr.pm (DeclaredValueType): Added.
312    
313     * ProcessingInstruction.pm (data): Accept |undef|
314     as a valid input, for |text_content| (maybe) allows it.
315    
316     * TypeInfo.pm (type_namespace): The implementation was wrong.
317    
318 wakaba 1.251 2007-07-16 Wakaba <wakaba@suika.fam.cx>
319    
320     * DOMElement.pm: Incorrect module was referenced.
321    
322     * DOMImplementation.pm: References to
323     the |Message::Charset::Encode| module has been removed.
324    
325 wakaba 1.247 2007-07-15 Wakaba <wakaba@suika.fam.cx>
326    
327 wakaba 1.250 * XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle|
328     instead of |Message::Charset::Encode|.
329    
330     2007-07-15 Wakaba <wakaba@suika.fam.cx>
331    
332 wakaba 1.249 * DOMDocument.pm (inner_html): New attribute (beta).
333    
334     * DOMElement.pm (inner_html): New attribute (beta).
335    
336     2007-07-15 Wakaba <wakaba@suika.fam.cx>
337    
338 wakaba 1.248 * DOMConfiguration.pm: Configuration parameter |create-child-element|
339     implemented.
340    
341     * DOMElement.pm (create_element_ns): Support for Atom
342     subclasses.
343    
344     * DOMImplementation.pm (DOMImplementation): Now
345     implements the |AtomDOMImplementation| interface.
346     ($HasFeature): Features |atom| and |atomthreading| are added.
347    
348     * NodeList.pm (StaticNodeList): Implemented.
349    
350     2007-07-15 Wakaba <wakaba@suika.fam.cx>
351    
352     * Atom/: New directory.
353    
354     2007-07-15 Wakaba <wakaba@suika.fam.cx>
355    
356 wakaba 1.247 * TreeWalker.pm, SerialWalker.pm: New Perl modules.
357    
358     * Text.pm (whole_text): Parameter index number has
359     been changed to support new |NodeFilter| Perl binding
360     definition.
361    
362     2007-07-14 Wakaba <wakaba@suika.fam.cx>
363    
364     * AttributeDefinition.pm, DOMElement.pm, DocumentType.pm,
365     ElementTypeDefinition.pm, Entity.pm, EntityReference.pm,
366     Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute.
367    
368     * DOMConfiguration.pm (can_set_parameter,
369     set_parameter): Don't allow to set the value
370     to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD).
371    
372     * DOMDocument.pm (Message::IF::DocumentTraversal): New interface.
373     (create_tree_walker, manakai_create_serial_walker): References
374     and prototypes are added.
375    
376     * DOMException.pm (NULLPO_ERR): New error type:-).
377    
378     * DOMImplementation.pm ($HasFeature): Feature |Traversal|,
379     version |2.0|, is added.
380    
381 wakaba 1.243 2007-07-14 Wakaba <wakaba@suika.fam.cx>
382    
383 wakaba 1.246 * CDATASection.pm: Removed (merged with |Text.pm|).
384    
385     * Text.pm (Message::DOM::Text::CDATASection): New.
386    
387     * Comment.pm: Removed (merged with |DOMCharacterData.pm|).
388    
389     * DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New.
390    
391     2007-07-14 Wakaba <wakaba@suika.fam.cx>
392    
393 wakaba 1.245 * DOMConfiguration.pm: Support for |schema-type|
394     and |http://suika.fam.cx/www/2006/dom-config/xml-id|.
395    
396     * NamedNodeMap (TIEHASH): Were missing.
397    
398     2007-07-14 Wakaba <wakaba@suika.fam.cx>
399    
400 wakaba 1.244 * AttributeDefinition.pm (node_value): Implemented.
401     (create_attribute_definition): Implemented.
402    
403     * DOMConfiguration.pm (%{}, TIEHASH,
404     get_parameter, set_parameter, can_set_parameter,
405     EXISTS, DELETE, parameter_names, FETCH, STORE,
406     FIRSTKEY, LASTKEY): Implemented.
407    
408     * DOMDocument.pm (____new): Set |error-handler| default.
409     (get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented.
410    
411     * DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns):
412     Implemented.
413    
414     * DOMException.pm: Error types for |DOMConfiguration|
415     are added.
416    
417     * DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New
418     class.
419    
420     * DocumentType.pm (get_element_type_definition_node,
421     get_general_entity_node, get_notation_node,
422     set_element_type_definition_node, set_general_entity_node,
423     set_notation_node, create_document_type_definition): Implemented.
424    
425     * ElementTypeDefinition.pm (get_attribute_definition_node,
426     set_attribute_definition_node, create_element_type_definition):
427     Implemented.
428    
429     * Entity.pm (create_general_entity): Implemented.
430    
431     * Node.pm: Constants in |OperationType| definition
432     group are added.
433     (manakai_language): Implemented.
434    
435     * NodeList.pm (Message::DOM::NodeList::GetElementsList): New
436     class.
437    
438     * Notation.pm (create_notation): Implemented.
439    
440     2007-07-14 Wakaba <wakaba@suika.fam.cx>
441    
442 wakaba 1.243 * TypeInfo.pm: New Perl module.
443    
444     * Attr.pm: Use |manakai_local_name| rather than |local_name|
445     to avoid HTML5 case normalization.
446     (is_id): Implemented.
447     (manakai_name): New attribute.
448     (schema_type_info): Implemented.
449     (create_attribute_ns): Empty string as namespace URI
450     was not supported.
451    
452     * DOMElement.pm (clone_node): Removed since now it is
453     defined in |Node.pm|.
454     (schema_type_info): Implemented.
455     (manakai_tag_name): New attribute.
456     (get_attribute, get_attribute_node, get_attribute_ns,
457     get_attribute_node_ns, has_attribute, has_attribute_ns,
458     remove_attribute, remove_attribute_ns,
459     remove_attribute_node, set_attribute, set_attribute_ns,
460     set_id_attribute, set_id_attribute_node,
461     set_id_attribute_ns): Implemented.
462     (create_element_ns): Empty string as namespace URI
463     was not supported.
464    
465 wakaba 1.242 2007-07-12 Wakaba <wakaba@suika.fam.cx>
466    
467     * AttributeDefinition.pm (owner_element_type_definition): Implemented.
468    
469     * DocumentType.pm (create_document_type_definition): Initialize
470     |public_id|, |system_id|, and |internal_subset| attributes
471     by empty strings for compatibility with Web browsers.
472     (create_document_type): Initialize |internal_subset|
473     attribute by an empty string for compatibility with
474     Web browsers.
475    
476     * ElementTypeDefinition.pm, Entity.pm,
477     Notation.pm (owner_document_type_definition): Implemented.
478    
479 wakaba 1.236 2007-07-08 Wakaba <wakaba@suika.fam.cx>
480    
481 wakaba 1.241 * DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration|
482     feature is added for compatibility with |XMLParserTemp.pm|.
483    
484     2007-07-08 Wakaba <wakaba@suika.fam.cx>
485    
486 wakaba 1.240 * Attr.pm (value, node_value): Now it is defined
487     as |text_content| itself.
488    
489     * AttributeDefinition.pm, ElementTypeDefinition.pm,
490     Node.pm (AUTOLOAD): Unused block is removed.
491    
492     * CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused.
493    
494     * DocumentType.pm (internal_subset): Implemented.
495    
496     * Entity.pm (is_externally_declared, input_encoding,
497     xml_version): Implemented.
498    
499     * ProcessingInstruction.pm (target, data): Implemented.
500    
501     2007-07-08 Wakaba <wakaba@suika.fam.cx>
502    
503 wakaba 1.239 * DOMCharacterData.pm (AUTOLOAD): Removed.
504     (data): Reimplemented.
505     (delete_data, insert_data, replace_data, substring_data): There were
506     a number of bugs.
507    
508     * Text.pm (AUTOLOAD): Removed. Unused.
509    
510     2007-07-08 Wakaba <wakaba@suika.fam.cx>
511    
512 wakaba 1.238 * StringExtended.pm: New Perl module.
513    
514     * DOMCharacterData.pm (length, append_data, delete_data,
515     insert_data, replace_data, substring_data): Implemented.
516    
517     * DOMException.pm (INDEX_SIZE_ERR): Implemented.
518    
519     * Text.pm (is_element_content_whitespace, whole_text,
520     split_text): Implemented.
521    
522     2007-07-08 Wakaba <wakaba@suika.fam.cx>
523    
524 wakaba 1.237 * DOMElement.pm (attributes): Implemented.
525    
526     * DOMException.pm (INUSE_DEFINITION_ERR): New error type.
527    
528     * DocumentType.pm (entities, general_entities,
529     notations, element_types): Implemented.
530    
531     * ElementTypeDefinition.pm (attribute_definitions): Implemented.
532    
533     * NamedNodeMap.pm: New Perl module.
534    
535     2007-07-08 Wakaba <wakaba@suika.fam.cx>
536    
537 wakaba 1.236 * Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm,
538     DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm,
539     Node.pm, Notation.pm, ProcessingInstruction.pm (append_child,
540     insert_before, replace_child): Implemented.
541    
542     * DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented.
543    
544     * Node.pm (remove_child): Implemented.
545    
546 wakaba 1.229 2007-07-07 Wakaba <wakaba@suika.fam.cx>
547    
548 wakaba 1.235 * Node.pm (==, is_equal_node): Implemented.
549     (is_same_node): Implemented.
550     (get_feature, get_user_data, set_user_data): Implemented.
551     (is_supported): Implemented.
552    
553     2007-07-07 Wakaba <wakaba@suika.fam.cx>
554    
555 wakaba 1.234 * DOMDocument.pm (get_element_by_id): Implemented.
556     (create_document): Implemented.
557    
558     * DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New
559     errors.
560     (QNAME_NULLNS_ERR): New errors.
561    
562     * DocumenType.pm (create_document_type): Implemented.
563    
564     2007-07-07 Wakaba <wakaba@suika.fam.cx>
565    
566 wakaba 1.233 * CDATASection.pm (is_element_content_whitespace): New.
567    
568     * DOMElement.pm (has_attribute): Alpha version.
569     (create_element, create_element_ns): Implemented.
570    
571     * DocumentType.pm (get_general_entity_node): Alpha version.
572    
573     * EntityReference.pm (create_entity_reference): Implemented.
574    
575     * ProcessingInstruction.pm (create_processing_instruction): Implemented.
576    
577     2007-07-07 Wakaba <wakaba@suika.fam.cx>
578    
579 wakaba 1.232 * Attr.pm (create_attribute, create_attribute_ns): Implemented.
580    
581     * DOMDocument.pm: Load character classes from |Char::Class::XML|.
582     (compat_mode): Check |defined| not to be warned as "uninitialized"
583     when |{manakai_compat_mode}| is |undef|.
584    
585     * DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added.
586    
587     * DOMImplementationRegistry.pm, DOMImplementationSource.pm:
588     Statements to set |$Error::Depth| are removed since they
589     are result in "uninitialized" warnings unless
590     the |Message::DOM::DOMException| module is loaded earlier.
591     Usually methods invoked in these methods does not
592     raise any exception so that it makes no difference.
593    
594     2007-07-07 Wakaba <wakaba@suika.fam.cx>
595    
596 wakaba 1.231 * DOMDocument.pm (adopt_node): Implemented.
597     (doctype): Implemented.
598    
599     * DOMElement.pm (remove_attribute_node): Alpha version.
600    
601     * DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New
602     error type.
603    
604     * Node.pm (set_user_data): Implemented.
605    
606     2007-07-07 Wakaba <wakaba@suika.fam.cx>
607    
608 wakaba 1.230 * DOMImplementation.pm (new): New method name for |____new|.
609     It will be defined in the DOM Perl Binding specification
610     as part of |DOMImplementation| interface.
611     ($HasFeature): Defined for features support.
612     (has_feature, get_feature): Implemented.
613    
614     * DOMStringList.pm: Don't load the |Message::DOM::DOMException|
615     module unless necessary.
616     (___report_error): Removed since it is not used in fact.
617    
618     * DOMImplementationList.pm, DOMImplementationSource.pm,
619     DOMImplementationRegistry.pm: New modules.
620    
621     2007-07-07 Wakaba <wakaba@suika.fam.cx>
622    
623 wakaba 1.229 * AttributeDefinition.pm (allowed_tokens): Implemented.
624    
625     * DOMStringList.pm: New Perl module.
626    
627 wakaba 1.228 2007-06-26 Wakaba <wakaba@suika.fam.cx>
628    
629     * DOMElement.pm (clone_node): Alpha version. It did not work
630     at all.
631    
632     2007-06-24 Wakaba <wakaba@suika.fam.cx>
633    
634     * ProcessingInstruction.pm (data): Now it is a read-write attribute.
635    
636 wakaba 1.227 2007-06-23 Wakaba <wakaba@suika.fam.cx>
637    
638     * DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented.
639     (manakai_is_html): Revised.
640     (Document): Now it implements the |HTMLDocument| interface.
641     (adopt_node): Alpha version.
642    
643     * AttributeDefinition.pm (allowed_tokens): |allowed_tokens|,
644     not |allowed_token|!
645    
646     * ElementTypeDefinition.pm (attribute_definitions): Don't
647     return an |undef| even if its |attribute_definitions|
648     list is not created.
649    
650 wakaba 1.225 2007-06-21 Wakaba <wakaba@suika.fam.cx>
651    
652 wakaba 1.226 * Comment.pm (node_type): Node type was incorrect!
653    
654     * DOMConfiguration.pm (get_parameter): Alpha.
655    
656     * DOMImplementation.pm (create_mc_decode_handler,
657     create_charset_name_from_uri, create_uri_from_charset_name):
658     New autoload configuration. Note that the Message::Charset::Encode
659     module is subject to change.
660    
661     * XMLParserTemp.pm: Now it can be used with new version
662     of DOM implementation. Current plan is to replace it by
663     an XML5 parser someday.
664    
665     2007-06-21 Wakaba <wakaba@suika.fam.cx>
666    
667 wakaba 1.225 * DOMLocator.pm: New module.
668    
669     * DOMError.pm: New module.
670    
671 wakaba 1.224 2007-06-20 Wakaba <wakaba@suika.fam.cx>
672    
673     * Node.pm (manakai_expanded_uri, manakai_parent_element,
674     clone_node, compare_document_position, has_attributes,
675     has_child_nodes, is_default_namespace, lookup_namespace_uri,
676     lookup_prefix, normalize): Implemented.
677    
678     * DOMElement.pm (remove_attribute, set_attribute): Alpha version.
679    
680     * DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error.
681    
682 wakaba 1.222 2007-06-17 Wakaba <wakaba@suika.fam.cx>
683    
684 wakaba 1.223 * AttributeDefinition.pm (____new): Set an empty list
685     to the |allowed_tokens| attribute.
686     (allowed_token): Alpha version.
687    
688     * DocumentType.pm (get_element_type_definition_node,
689     get_notation_node): ALpha version.
690    
691     * ElementTypeDefinition.pm (attribute_definitions): Alpha 2
692     version.
693    
694     * Entity.pm (notation_name): Implemented.
695    
696     2007-06-17 Wakaba <wakaba@suika.fam.cx>
697    
698 wakaba 1.222 * Attr.pm (____new): Initialize |specified| as 1.
699     (base_uri, manakai_attribute_type, specified): Implemented.
700     (prefix): Don't check read-only flag unless |strict_error_checking|.
701     (value): Call |text_content| for now.
702    
703     * AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added.
704     (declared_type, default_type): Implemented.
705    
706     * CharacterData.pm (____new): Allow a scalar reference
707     as an input for the |data| attribute.
708     (base_uri, manakai_append_text): Implemented.
709    
710     * DOMConfiguration.pm (set_parameter): Resetting implemented.
711    
712     * DOMDocument.pm (____new): Set default values to
713     configuration parameter whose default is true.
714     (document_uri, input_encoding): Implemented.
715     (all_declarations_processed, manakai_is_html): Implemented.
716     (base_uri, manakai_append_text,
717     manakai_entity_base_uri, strict_error_checking,
718     xml_encoding, xml_version, xml_standalone): Implemented.
719    
720     * DOMElement.pm (manakai_base_uri, base_uri): Implemented.
721     (get_attribute, get_attribute_node): Alpha version.
722     (set_attribute_node, set_attribute_node_ns): Implemented.
723     (set_attribute_ns): Accept non-ARRAY qualified name.
724    
725     * DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|,
726     |NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added.
727    
728     * DocumentType.pm (public_id, system_id): Implemented.
729     (base_uri, declaration_base_uri, manakai_declaration_base_uri,
730     manakai_append_text): Implemented.
731     (element_types, general_entities, notations,
732     set_element_type_definition_node, set_general_entity_node,
733     set_notation_node): Alpha version.
734    
735     * ElementTypeDefinition.pm (manakai_append_text): Implemented.
736     (attribute_definitions, set_attribute_definition_node): Alpha version.
737    
738     * Entity.pm (has_replacement_tree, public_id, system_id,
739     manakai_declaration_base_uri, manakai_entity_base_uri,
740     manakai_entity_uri): Implemented.
741    
742     * EntityReference.pm (manakai_expanded, manakai_external): Implemented.
743     (base_uri, manakai_entity_base_uri): Implemented.
744    
745     * Node.pm (base_uri): Implemented.
746     (text_content): Don't check read-only or not
747     unless |strict_error_checking|.
748     (manakai_append_text): Implemented.
749     (get_feature): Alpha.
750     (manakai_set_read_only): Implemented.
751    
752     * Notation.pm (public_id, system_id, manakai_append_text,
753     manakai_declaration_base_uri): Implemented.
754    
755     * ProcessingInstruction.pm (manakai_base_uri,
756     base_uri, manakai_append_text): Implemented.
757    
758 wakaba 1.218 2007-06-16 Wakaba <wakaba@suika.fam.cx>
759    
760 wakaba 1.221 * DOMConfiguration.pm: New module.
761    
762     * Attr.pm (trivial accessor for read-write attributes): Throw
763     an exception if the node is read-only. Delete the property
764     if undef is specified.
765     (prefix): Implemented.
766    
767     * DOMElement.pm (trivial accessor for read-write attributes): Throw
768     an exception if the node is read-only. Delete the property
769     if undef is specified.
770     (prefix): Implemented.
771     (text_content, manakai_append_text): Old implementations are removed.
772    
773     * DOMCharacterData.pm (text_content): Implemented.
774    
775     * DOMDocument.pm (____new): Initialize the strict-document-children
776     parameter by true.
777     (text_content): Reimplemented.
778     (dom_config): New.
779    
780     * DOMException.pm (READ_ONLY_NODE_ERR): New subtype.
781    
782     * DocumentType.pm (text_content): Implemented.
783    
784     * ElementTypeDefinition.pm (text_content): Implemented.
785    
786     * Node.pm (___report_error): New method.
787     (text_content): Implemented.
788     (manakai_append_text): Copied from |DOMElement.pm|.
789    
790     * Notation.pm (text_content): Implemented.
791    
792     * ProcessingInstruction.pm (text_content): Implemented.
793    
794     * Text.pm (is_element_content_whitespace): Alpha version.
795    
796     2007-06-16 Wakaba <wakaba@suika.fam.cx>
797    
798 wakaba 1.220 * DOMException.pm (Message::IF::DOMException): Extends
799     the |Message::Util::Error| class.
800    
801     * NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class.
802     (CLEAR): Not all items were removed.
803    
804     2007-06-16 Wakaba <wakaba@suika.fam.cx>
805    
806 wakaba 1.219 * Attr.pm, AttributeDefinition.pm, DocumentFragment.pm,
807     DocumentType.pm, Entity.pm,
808     EntityReference.pm (____new): Initialize |child_nodes| by an empty list.
809    
810     * Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm,
811     Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned.
812    
813     * DOMDocument.pm (AUTOLOAD): Typo fixed.
814    
815     * Node.pm (==, !=): Implemented.
816     (manakai_read_only): Implemented.
817     (is_same_node): Implemented.
818     (is_equal_node): Alpha version.
819     (manakai_set_read_only): Alpha version.
820     (child_nodes, first_child, last_child, previous_sibling): Duplicate
821     definitions are removed.
822    
823     2007-06-16 Wakaba <wakaba@suika.fam.cx>
824    
825 wakaba 1.218 * Node.pm: First alpha version of implementation of attributes.
826    
827 wakaba 1.217 2007-06-15 Wakaba <wakaba@suika.fam.cx>
828    
829     * ProcessingInstruction.pm, EntityReference.pm,
830     CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm,
831     ElementTypeDefinition.pm, AttributeDefinition.pm,
832     DocumentType.pm, DOMElement.pm, Attr.pm,
833     CharacterData.pm, Text.pm, Comment.pm (node_name,
834     node_value, node_type): Implemented.
835    
836 wakaba 1.216 2007-06-14 Wakaba <wakaba@suika.fam.cx>
837    
838     * Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm,
839     CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm,
840     AttributeDefinition.pm: New modules.
841    
842     * DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added.
843     (create_attribute_definition, create_element_type_definition,
844     create_document_type_definition, create_cdata_section,
845     create_processing_instruction, create_entity_reference,
846     create_general_entity, create_notation): Prototypes added.
847    
848     * DOMImplementation.pm (create_document_type): Prototype added.
849    
850     * DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition'
851     and 'Message::IF::DocumentTypeDeclaration' added.
852     (create_document_type, create_document_type_definition):
853     New methods.
854    
855 wakaba 1.215 2007-06-13 Wakaba <wakaba@suika.fam.cx>
856    
857     * DOMImplementation.pm, Node.pm, DOMDocument.pm,
858     DOMElement.pm, Attr.pm, DocumentType.pm,
859     DOMCharacterData.pm, Text.pm, Comment.pm: Copied
860     from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>.
861    
862     2007-06-10 Wakaba <wakaba@suika.fam.cx>
863    
864     * XMLParser.dis: Default to "1.0" if <?xml version=""?>
865     specifies unknown value and trys to recover from the error.
866    
867 wakaba 1.214 2007-05-13 Wakaba <wakaba@suika.fam.cx>
868    
869     * TreeCore.dis (manakaiLocalName): New attribute.
870    
871 wakaba 1.213 2007-01-02 Wakaba <wakaba@suika.fam.cx>
872    
873     * GenericLS.dis (GLSException): New interface.
874    
875 wakaba 1.211 2006-12-31 Wakaba <wakaba@suika.fam.cx>
876    
877 wakaba 1.212 * |InputProcessor|s and |OutputProcessor|s are
878     named so that |report| statements in Perl
879     module outputs can be identified by name. |dis:dataType|s
880     of |DISCore:TFQNames| are all replaced
881     by |DISCore:QName|.
882    
883     2006-12-31 Wakaba <wakaba@suika.fam.cx>
884    
885 wakaba 1.211 * Element.dis (createElementNS): If an array reference
886     is specified as the |qualifiedName| parameter,
887     don't set the first item as the local name
888     even if the second item is not specified (or
889     specified as |undef|).
890     (createElementNS, setAttribute, setAttributeNS,
891     removeAttribute, removeAttributeNS,
892     setAttributeNode, setAttributeNodeNS,
893     removeAttributeNode, removeAttributeNodeNS): Sets
894     or removes the |tc:contentAttributeList| value.
895    
896     * TreeCore.dis (AttrMap.item): Caches the result
897     of sorting of content attribute names.
898     (getAttrMap, getElementTypeDefNodeMap,
899     getAttrDefNodeMap, getEntityNodeMap, getNotationNodeMap): Removed.
900     (tc:contentAttributeList): New property.
901    
902 wakaba 1.204 2006-12-30 Wakaba <wakaba@suika.fam.cx>
903    
904 wakaba 1.210 * DOMFeature.dis (ForDef): Removed.
905     (f:provides, f:through): Removed.
906     (Version): Removed.
907     (implementFeature): Removed.
908    
909     2006-12-30 Wakaba <wakaba@suika.fam.cx>
910    
911 wakaba 1.207 * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
912 wakaba 1.208 GenericLS.dis, TreeCore.dis, DOMString.dis,
913     XML.dis, Element.dis, Document.dis, TreeStore,dis,
914     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
915 wakaba 1.209 SimpleLS.dis, DOMMain.dis, XDP.dis: |For| specifications
916     are removed.
917    
918     2006-12-30 Wakaba <wakaba@suika.fam.cx>
919    
920     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
921     GenericLS.dis, TreeCore.dis, DOMString.dis,
922     XML.dis, Element.dis, Document.dis, TreeStore,dis,
923     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
924 wakaba 1.208 SimpleLS.dis, DOMMain.dis, XDP.dis: |WithFor| specifications
925     and |DefaultFor|s are removed.
926    
927     2006-12-30 Wakaba <wakaba@suika.fam.cx>
928    
929     * CharacterData.dis, DOMCore.dis, DOMFeature.dis,
930 wakaba 1.207 GenericLS.dis, TreeCore.dis, DOMString.dis,
931     XML.dis, Element.dis, Document.dis, TreeStore,dis,
932     Traversal.dis, XDoctype.dis, XMLParser.dis, DOMLS.dis,
933     SimpleLS.dis, DOMMain.dis: References
934     to the |ManakaiDOM:ManakaiDOM|, |ManakaiDOM:ManakaiDOM1|,
935     |ManakaiDOM:ManakaiDOM2|, and |ManakaiDOM:ManakaiDOM3|
936     modes are removed.
937    
938     2006-12-30 Wakaba <wakaba@suika.fam.cx>
939    
940 wakaba 1.206 * CharacterData.dis, TreeCore.dis (Require): References
941     to the |Grove.dis| module are removed.
942    
943     2006-12-30 Wakaba <wakaba@suika.fam.cx>
944    
945 wakaba 1.205 * DOMFeature.dis (f:implementation, f:revImplementation): Removed.
946     (Require): Reference to the |Grove.dis| module is removed.
947    
948     2006-12-30 Wakaba <wakaba@suika.fam.cx>
949    
950 wakaba 1.204 * DOMCore.dis (ManakaiDOMImplementation): The
951     class is no longer plays the role of
952     a |mg:NodeRefRole|. Redundant |f:provides|
953     properties are removed.
954    
955 wakaba 1.203 2006-12-29 Wakaba <wakaba@suika.fam.cx>
956    
957     * TreeCore.dis, DOMCore.dis, Document.dis,
958     Element.dis, CharacterData.dis, XML.dis,
959     XDoctype.dis, DOMString.dis, TreeStore.dis,
960     XMLParser.dis: Use Perl native
961     hashs and |Scalar::Util|'s weak references in favor of |Grove.dis|
962     for DOM nodes. See
963     also <http://suika.fam.cx/gate/2005/sw/manakai/%E3%83%A1%E3%83%A2/2006-12-29>.
964    
965 wakaba 1.202 2006-12-03 Wakaba <wakaba@suika.fam.cx>
966    
967     * DOMFeature.dis, TreeCore.dis: Unused |role|s are removed.
968    
969 wakaba 1.201 2006-12-02 Wakaba <wakaba@suika.fam.cx>
970    
971     * DOMString.dis: New module.
972    
973     * DOMString.pm: New file.
974    
975     * DOMCore.dis (min): Moved from |DOMFeature.dis|.
976     (ImplementationRegistryVariable): Moved from |DOMFeature.dis|.
977     Now it references the |DOMImplementationRegistry| object.
978     (DOMImplementationRegistryVariable): Moved from |DOMMain.dis|.
979     (DOMImplementationRegistry): New interface and
980     class, reformed from |ImplementationRegistry| in |DOMFeature.dis|
981     and |DOMImplementationRegistry| in |DOMMain.dis|. Note
982     that the class no longer support |get_implementation|
983     and |get_implementation_list| methods from
984     the |ImplementationRegistry| interface.
985     (DOMImplementationList): Class implemented; no
986     longer inherits from |ImplementationList|.
987     (DOMImplementationSource): Class implemented; no
988     longer inherits from |ImplementationSource|. Note that
989     the class no longer support |get_implementation|
990     and |get_implementation_list| methods from
991     the |ImplementationSource| interface.
992     (DOMStringList): Removed.
993    
994     * DOMFeature.dis (min, ManakaiDOM:DOMHTMLFeature,
995     ManakaiDOM:DOMEventsFeature, ManakaiDOM:DOMXMLFeature,
996     ManakaiDOM:DOMXMLFeatureXML11, most part of
997     documentation for obsolete DOM Level 3 Minimum Implementation
998     module, obsolete property name aliases,
999     ImplemenationRegistryVar, ImplementationRegistry,
1000     DEBUG, MIString, ImplementationList, ImplementationSource,
1001     ManakaiDOM:implID): Removed.
1002    
1003     * DOMMain.dis (Redefine, RedefinedBy, Redefined): Removed.
1004     (DOMString): Removed.
1005     (DOMImplementationRegistryVar, DOMImplementationRegistry): Removed.
1006    
1007     * Makefile: |DOMString.pm| is added.
1008    
1009     * TreeCore.dis (is_default_namespace): |null| was
1010     returned where a false is expected (|null| is
1011     a false in Perl, but real |false| is appropriate here).
1012    
1013 wakaba 1.197 2006-11-05 Wakaba <wakaba@suika.fam.cx>
1014    
1015 wakaba 1.200 * DOMCore.dis (TypeInfo, UserDataHandler): Removed.
1016    
1017     * Element.dis (TypeInfo): Moved from |DOMCore.dis|.
1018    
1019     * TreeCore.dis (UserDataHandler): Moved from |DOMCore.dis|.
1020    
1021     2006-11-05 Wakaba <wakaba@suika.fam.cx>
1022    
1023 wakaba 1.199 * DOMFeature.dis (ImplementationList, ImplementationSource,
1024     ImplementationRegistry): Parameters |features|
1025     now allow |null| (equivalent to an empty string).
1026    
1027     2006-11-05 Wakaba <wakaba@suika.fam.cx>
1028    
1029 wakaba 1.198 * CharacterData.dis (ManakaiDOMDocumentCharacterData): New
1030     class. Factory methods |createTextNode| and |createComment|
1031     are moved from |ManakaiDOMDocument|.
1032    
1033     * DOMCore.dis: References to |ManakaiDOMObject|
1034     are removed.
1035     (tc:createImplForTest): Moved from |TreeCore.dis|.
1036     (DOMImplementation.___create_node_ref): Support
1037     for the |mg:nodeRefClass| option is removed.
1038     (ManakaiDOMConfiguration.___report_error): Moved
1039     from |ManakaiDOMObject| class.
1040    
1041     * DOMFeature.dis (domidl:extends): New property.
1042     (f:getFeatureImpl): Support for |+| classes is removed.
1043    
1044     * DOMMain.dis (DOMMain:docSupportsXMLFeature): Removed.
1045     (ManakaiDOM:ManakaiDOMObject): Removed.
1046     (DOMDataType): Removed.
1047    
1048     * Document.dis (ManakaiDOMImplementationDocument):
1049     The |createDocument| method is moved from
1050     the |ManakaiDOMImplementationTC| in |TreeCore.dis|.
1051     (ManakaiDOMDocument.___create_node_ref): Removed.
1052     (createElement, createElementNS, createAttribute,
1053     createAttributeNS, createTextNode, createComment,
1054     createCDATASection, createEntityReference,
1055     createProcessingInstruction): Class implementations
1056     are moved to each module.
1057    
1058     * Element.dis (ManakaiDOMImplementationElement): Factory
1059     methods are moved from |Document.dis|.
1060     (ManakaiDOMElement.___create_node_ref): Support
1061     for old class registry is removed.
1062     (ManakaiDOMAttr.___create_node_ref): Removed.
1063     (Attr.baseURI): Implementation
1064     for |xml:base| attribute is merged.
1065     (Attr.nodeValue, Attr.value): Implementation
1066     for |xml:id| attribute is merged.
1067    
1068     * TreeCore.dis (ManakaiDOMImplementationTC): Removed.
1069    
1070     * XDoctype.dis (ManakaiDOMImplementationXDoctype): The
1071     definition for |createDocumentType| method
1072     is moved from |TreeCore.dis|.
1073    
1074     * XML.dis (ManakaiDOMXMLDocument): Factory
1075     methods are moved from |Document.dis|.
1076     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Removed (merged
1077     into |ManakaiDOMAttr| in |Element.dis|).
1078    
1079     2006-11-05 Wakaba <wakaba@suika.fam.cx>
1080    
1081 wakaba 1.197 * Element.dis (___get_node_ref): |eval|ed |require|
1082     statement was broken.
1083    
1084     * DOMFeature.dis (getImplementationList): Argument
1085     is not passed to the |getImplementation| method.
1086    
1087     * TreeStore.dis (DOMImplementationTreeStore): It
1088     did not |f:implements| the |TSFeature30| feature.
1089    
1090     * XMLParser.dis: Use |create_uri_reference|
1091     method instead of internal |_new| method
1092     to create a URI reference object.
1093    
1094 wakaba 1.195 2006-11-04 Wakaba <wakaba@suika.fam.cx>
1095    
1096     * DOMCore.dis (ManakaiDOMImplementation): No longer
1097 wakaba 1.196 explicitly inherits |urigen:ManakaiURIImplementation| (and
1098     the |f:ManakaiMinimumImplementation| class inherited
1099     by it). The |f:Minimum| feature is ever implemented
1100     for compatibility (but is expected to be removed).
1101     Internal methods such as |___report_error| are copied from
1102     obsolete |f:MinimumImplementation| class. DOM3
1103     methods |hasFeature| and |getFeature| are also
1104     moved from that class, but they now support no
1105     foreign classes.
1106    
1107     * DOMFeature.dis (ManakaiImplementationSource): It
1108     now |p:require|s |Message::Util::AutoLoad::Registry|.
1109     The class no longer support classes
1110     other than |ManakaiDOMImplementation|. Note
1111     that the |ImplementationRegistry| object does continue
1112     to support foreign classes via foreign classes
1113     implementing |ImplementationSource|
1114     or |DOMImplementationSource| interface.
1115     (MinimumImplementation): Removed.
1116    
1117     * DOMLS.dis (ManakaiDOMImplementationLS): It no
1118     longer inherit the |ManakaiDOMImplementation|; it
1119     is now expected to be implemented by |DOMImplementation|
1120     objects.
1121    
1122     * DOMMain.dis (null): Removed.
1123    
1124     * Document.dis (___create_node_ref): It no
1125     longer support foreign classes other
1126     than |Message::DOM::Document::ManakaiDOMDocument|.
1127     Note that document format specific DOM
1128     interfaces, if supported, should be
1129     all instances of the |Document| interface
1130     in the implementation, as defined
1131     in the Web Applications 1.0 specification (where
1132     the |HTMLDocument| interface must be implemented
1133     by all |Document| objects, even if the |Document|
1134     contains no HTML element).
1135    
1136     * GenericLS.dis (GLSImplementation): It no
1137     longer inherit the |MinimumImplementation|; it
1138     is now expected to be implemented by |DOMImplementation|
1139     objects.
1140     (createGLSParser, createGLSSerializer): Load
1141     module implementing parser or serializer
1142     if necessary.
1143    
1144     * Traversal.dis (ManakaiDOMDocumentTraversal): It no
1145     longer inherits the |ManakaiDOMDocument|; it
1146     is now expected to be implemented by |Document|
1147     objects.
1148    
1149     * XDP.dis (XDPDocument): It no longer
1150     inherits the |Document|; it is now expected
1151     to be implemented by all |Document| objects.
1152    
1153     * XDoctype.dis (ManakaiDOMDocumentXDoctype): It no
1154     longer inherits the |ManakaiDOMDocument|; it
1155     is now expected to be implemented by |Document|
1156     objects.
1157    
1158     2006-11-04 Wakaba <wakaba@suika.fam.cx>
1159    
1160     * DOMCore.dis (ManakaiDOMImplementation): No longer
1161 wakaba 1.195 explicitly inherits |tc:ManakaiDOMImplementationTC|.
1162     (ManakaiDOMImplementation.AUTOLOAD): New method definition.
1163    
1164     * TreeCore.dis (ManakaiDOMImplementationTC): Extends
1165     the |ManakaiDOMImplementation| class.
1166    
1167     2006-11-03 Wakaba <wakaba@suika.fam.cx>
1168    
1169     * DOMFeature.dis: Definitions for various concepts
1170     are added.
1171    
1172     * GenericLS.dis (GLSImplementation): It no
1173     longer inherits the |MinimumImplementation|; rather,
1174     any |ManakaiMinimumImplementation| object also
1175     implements |GLSImplementation| methods.
1176    
1177     * TreeStore.dis (DOMImplementationTreeStore): It no
1178     longer inherits the |DOMImplementation|; rather,
1179     any |ManakaiDOMImplementation| object also
1180     implements |DOMImplementationTreeStore| methods.
1181    
1182 wakaba 1.194 2006-08-15 Wakaba <wakaba@suika.fam.cx>
1183    
1184     * TreeStore.pm: Added to the CVS repository
1185     to enable for the dis database to contain XML
1186     fragments.
1187    
1188     * Makefile (DOT_CORE_DIS_FILES): |TreeStore.pm| is added.
1189    
1190     * TreeStore.dis (Namespace): Namespace URI was incorrect.
1191    
1192 wakaba 1.193 2006-06-18 Wakaba <wakaba@suika.fam.cx>
1193    
1194     * Traversal.dis (expandEntityReferences): Syntax was incorrect.
1195    
1196     * TreeCore.dis (manakaiReadOnly): Test assertion was incorrect.
1197    
1198     * XDP.dis (dtdText): Test assertion was incorrect.
1199    
1200 wakaba 1.192 2006-05-21 Wakaba <wakaba@suika.fam.cx>
1201    
1202     * XDP.dis (XDPEntityValue.stringify): Don't escape
1203     any |%|s in |xdp:attr-definition| children.
1204    
1205 wakaba 1.190 2006-05-20 Wakaba <wakaba@suika.fam.cx>
1206    
1207 wakaba 1.191 * XDP.dis (createXDPRNIKeyword): The Perl method
1208     name property is added.
1209    
1210     2006-05-20 Wakaba <wakaba@suika.fam.cx>
1211    
1212 wakaba 1.190 * XDP.dis (createXDPIf): New method.
1213     (XDPIfElement): New interface.
1214    
1215 wakaba 1.188 2006-05-15 Wakaba <wakaba@suika.fam.cx>
1216    
1217 wakaba 1.189 * XDP.dis (createXDPElement, createXDPAttlist, createXDPAttrDefinition):
1218     New methods.
1219    
1220     2006-05-15 Wakaba <wakaba@suika.fam.cx>
1221    
1222 wakaba 1.188 * XDP.dis (XDPDocument): A number of constructor methods
1223     are added.
1224     (XDPTextDecl.dtdText): The |xml| target was missing.
1225    
1226 wakaba 1.187 2006-05-14 Wakaba <wakaba@suika.fam.cx>
1227    
1228     * Traversal.dis (SerialWalker): New interface.
1229     (manakaiCreateSerialWalker): New method.
1230    
1231 wakaba 1.184 2006-05-13 Wakaba <wakaba@suika.fam.cx>
1232    
1233 wakaba 1.186 * Traversal.dis (testNode): Calls |acceptNode| method
1234     rather than |&{}| dereferencing.
1235     (acceptNode): Implemented.
1236    
1237     2006-05-13 Wakaba <wakaba@suika.fam.cx>
1238    
1239 wakaba 1.185 * XDP.dis: New module.
1240    
1241     * Makefile: |XDP.dis| is added.
1242    
1243     * Traversal.dis (NodeFilter): |InputProcessor|
1244     and |OutputProcessor| are added.
1245    
1246     2006-05-13 Wakaba <wakaba@suika.fam.cx>
1247    
1248 wakaba 1.184 * Traversal.dis (MANAKAI_FILTER_OPAQUE): New |AcceptNode| value.
1249     (TreeWalker): The |MANAKAI_FILTER_OPAQUE| value support
1250     is added. The |FILTER_REJECT| value is treated
1251     as |FILTER_ACCEPT| if the |currentNode| is in the
1252     rejected subtree as specified in the spec.
1253    
1254 wakaba 1.183 2006-05-05 Wakaba <wakaba@suika.fam.cx>
1255    
1256     * SimpleLS.dis: An |xmlns:| prefix was missing.
1257    
1258 wakaba 1.182 2006-05-04 Wakaba <wakaba@suika.fam.cx>
1259    
1260     * SimpleLS.dis: Namespace bugs are fixed.
1261    
1262 wakaba 1.179 2006-04-30 Wakaba <wakaba@suika.fam.cx>
1263    
1264 wakaba 1.181 * .cvsignore: Updated.
1265    
1266     * Traversal.dis: Unused declarations are removed.
1267    
1268     2006-04-30 Wakaba <wakaba@suika.fam.cx>
1269    
1270 wakaba 1.180 * CharacterData.dis (Require): A reference to
1271     the |MDOM:Traversal| module is added.
1272     (wholeText): Implemented.
1273    
1274     2006-04-30 Wakaba <wakaba@suika.fam.cx>
1275    
1276 wakaba 1.179 * Makefile: |Traversal.dis| is added.
1277    
1278     * Traversal.dis: New module.
1279    
1280     * TreeCore.dis (___report_error): Return value was
1281     not propagated.
1282    
1283 wakaba 1.178 2006-04-29 Wakaba <wakaba@suika.fam.cx>
1284    
1285     * Element.dis (removeAttributeNS): A runtime error
1286     was occurred if there was no specified attribute node.
1287    
1288     * TreeCore.dis (manakaiLanguage): New attribute.
1289    
1290     2006-04-28 Wakaba <wakaba@suika.fam.cx>
1291    
1292     * TreeCore.dis (NodeList.manakaiReadOnly, NamedNodeMap.manakaiReadOnly):
1293     New attributes.
1294    
1295     (StaticNodeList): New interface.
1296    
1297     2006-04-24 Wakaba <wakaba@suika.fam.cx>
1298    
1299     * DOMCore.dis (c:SET_TO_NULL_ERR): New error code.
1300    
1301 wakaba 1.176 2006-04-22 Wakaba <wakaba@suika.fam.cx>
1302    
1303 wakaba 1.177 * SimpleLS.dis: Reimplemented.
1304    
1305     2006-04-22 Wakaba <wakaba@suika.fam.cx>
1306    
1307 wakaba 1.176 * DOMCore.dis (NO_MODIFICATION_ALLOWED_ERR): It is now
1308     a qualified name.
1309     (tc:EXTERNAL_NODE_COMPARISON_ERR): New error type.
1310    
1311     * TreeCore.dis (compareDocumentPosition): Implemented.
1312     (normalize): Implemented.
1313     (STORESIZE, CLEAR): Were not implemented for |EmptyNodeList|
1314     class.
1315    
1316 wakaba 1.172 2006-04-16 Wakaba <wakaba@suika.fam.cx>
1317    
1318 wakaba 1.175 * DOMCore.dis (OUT_OF_BOUND_ERR, NEGATIVE_INDEX_ERR): Removed.
1319    
1320     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1321    
1322 wakaba 1.174 * CharacterData.dis (length, insertData, substringData,
1323     appendData, deleteData, replaceData, splitText): Reimplemented.
1324    
1325     * DOMCore.dis (NEGATIVE_LENGTH_ERR): New error.
1326     (c:index): The definition was missing.
1327     (c:length): New property.
1328    
1329     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1330    
1331 wakaba 1.173 * XMLParser.dis (close): Invoke |close| method
1332     rather than |close| function.
1333    
1334     2006-04-16 Wakaba <wakaba@suika.fam.cx>
1335    
1336 wakaba 1.172 * CharacterData.dis: New module split from |TreeCore.dis|.
1337    
1338     * CharacterData.pm: Added to the CVS repository.
1339    
1340     * TreeCore.dis: The |CharacterData|, |Text|, and |Comment|
1341     interfaces are removed.
1342     (Require): A reference to the |MDOM:CharacterData| module
1343     is added.
1344    
1345     * DOMMain.dis (StringExtended, StringOutOfBoundsException): Removed.
1346    
1347     * DOMCore.dis (StringOutOfBoundsException): New error.
1348    
1349     * Makefile: |CharacterData.pm| is added.
1350    
1351 wakaba 1.171 2006-04-09 Wakaba <wakaba@suika.fam.cx>
1352    
1353     * XMLParser.dis (Require): Requires the |MCharset:Encode|
1354     module.
1355     (parse): Set the |inputEncoding| attribute of the generated document
1356     object.
1357     (resolveLSInput default implementation): The |byteStream|
1358     and |encoding| attributes of the |LSInput| interface
1359     are now supported.
1360     (resolveLSInput): Parameters |impl| and |parser| are added.
1361     (InputFile.inputEncoding): New attribute.
1362    
1363 wakaba 1.168 2006-04-04 Wakaba <wakaba@suika.fam.cx>
1364    
1365 wakaba 1.170 * Document.dis (adoptNode test): Documents were
1366     made by different documents.
1367    
1368     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1369    
1370 wakaba 1.169 * XMLParser.dis: The |cfg:dtd-default-attributes| configuration
1371     parameter is changed to |cfg:dtd-default-attribute|.
1372    
1373     2006-04-04 Wakaba <wakaba@suika.fam.cx>
1374    
1375 wakaba 1.168 * TreeCore.dis: The |DOMMain:raiseException| elements
1376     are replaced by |disPerl:EXCEPTION|s.
1377    
1378 wakaba 1.167 2006-04-03 Wakaba <wakaba@suika.fam.cx>
1379    
1380     * DOMMain.dis (GetPropNode, CheckReadOnly): Removed.
1381    
1382     * Node.dis (cfg:dtd-default-attribute): The configuration
1383     parameter |cfg:dtd-default-attributes| is renamed
1384     as |cfg:dtd-default-attribute|.
1385     (Roles): Definitions are changed so that classes
1386     that implement those classes MUST implement the |Node|
1387     and its subinterfaces.
1388     (cfg:dtd-attribute-type): New configuration parameter.
1389    
1390     * Document.dis (adoptNode): Don't throw exception
1391     if |strictErrorChecking| is |false|.
1392    
1393     * Element.dis (setAttribute, setAttributeNS): Don't
1394     set [attribute type] if the |cfg:dtd-attribute-type|
1395     configuration parameter is set to |false|.
1396     (removeAttribute, removeAttributeNS, removeAttributeNode): Don't
1397     regenerate default attribute nodes if the |cfg:dtd-default-attribute|
1398     configuration parameter is set to |false|.
1399    
1400 wakaba 1.164 2006-04-02 Wakaba <wakaba@suika.fam.cx>
1401    
1402 wakaba 1.166 * TreeStore.dis: New module.
1403    
1404     * Makefile: |TreeStore.dis| is added.
1405    
1406     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1407    
1408 wakaba 1.165 * XMLParser.dis: Updated so that it can be used
1409     with |TreeCore.pm|, |Document.pm|, |Element.pm|,
1410     and |XML.pm|. Set the read-only flag to
1411     the |DocumentType|, |Entity|, and |EntityReference| noes.
1412    
1413     * Node.dis (textContent): It did not handle descendant
1414     element and entity reference nodes.
1415    
1416     * Element.dis, XML.dis (manakaiBaseURI.get): Its
1417     definition has been changed to return only explicit
1418     base URI specification.
1419    
1420     * DOMLS.dis (LSInput, LSOutput): They no longer
1421     inherits the |ManakaiDOM:ManakaiDOMObject| class.
1422    
1423     * Tree.dis, DOMXML.dis, ManakaiDOMLS2003.dis: Removed.
1424    
1425     * Tree.pm, DOMXML.pm: Removed.
1426    
1427     * TreeCore.pm, Document.pm, Element.pm: Added
1428     to the CVS repository since they are necessary to
1429     build the dis library.
1430    
1431     * Makefile: Sync'ed to new modules disposition.
1432    
1433     2006-04-02 Wakaba <wakaba@suika.fam.cx>
1434    
1435 wakaba 1.164 * Makefile: Rules for |Tree.pm| and |DOMXML.pm| are
1436     removed. For |Element.pm| and |Document.pm| are added.
1437    
1438     * Document.dis, Element.dis: New module split from |TreeCore.dis|.
1439    
1440     * TreeCore.dis (Document, DocumentFragment, Element, Attr): Removed.
1441    
1442 wakaba 1.162 2006-04-01 Wakaba <wakaba@suika.fam.cx>
1443    
1444 wakaba 1.163 * DOMFeature.dis (getImplementation, getImplementationList): Support
1445     for new class information variables.
1446     (DOMLS:Generic): This old feature name is removed.
1447    
1448     * GenericLS.dis (createGLSParser, createGLSSerializer): Support
1449     for new class information variables.
1450    
1451     * TreeCore.dis (manakaiExpandedURI): New attribute.
1452     (Document, Element.___create_node_ref): New method
1453     implementations.
1454    
1455     2006-04-01 Wakaba <wakaba@suika.fam.cx>
1456    
1457 wakaba 1.162 * TreeCore.dis (setIdAttribute, setIdAttributeNS, setIdAttributeNode):
1458     Reimplemented.
1459     (isId): Setter is added.
1460     (Element.normalize): Definition copied from the |MDOM:Tree|
1461     module.
1462    
1463     2006-03-31 Wakaba <wakaba@suika.fam.cx>
1464    
1465     * Makefile (clean-db): New rule.
1466    
1467     * TreeCore.dis (setUserData): Schedule to invoke
1468     the user data handler when the node is removed
1469     from the memory.
1470     (setAttribute, setAttributeNS): Set the [attribute type]
1471     if DTD attribute definition is available.
1472     (CharacterData members): Definitions copied from
1473     the |MDOM:Tree| module.
1474    
1475 wakaba 1.161 2006-03-31 Wakaba <wakaba@suika.fam.cx>
1476    
1477     * DOMCore.dis (DOMStringList.==): New overloaded operator.
1478    
1479     * DOMFeature.dis (ManakaiHasFeatureByGetFeature): The
1480     class did not implement the |GetFeature| interface.
1481     (hasFeature): The |+| prefix was not taken into account.
1482    
1483     * TreeCore.dis (Node): The class now inherits
1484     the |ManakaiHasFeatureByGetFeature| class. It now
1485     implements the |f:GetFeature| and |ecore:MUErrorTarget|
1486     interfaces.
1487     (CreateNodeRefMethod): The |mg:nodeRefInterfaces| option
1488     is supported.
1489     (lookupNamespaceURI, lookupPrefix, isDefaultNamespace): Reimplemented.
1490     (manakaiParentElement): New attribute.
1491    
1492     * XDoctype.dis (d:Feature): Old feature name |ManakaiDOM:XDoctype|
1493     is removed.
1494     (lookupPrefix): Old method implementation is removed.
1495    
1496     * XML.dis (CDATASection): The |mg:NodeRefRole| was
1497     missing because of the |DISCore:stopISARecursive| property.
1498    
1499     * TreeCore.dis, XML.dis, XDoctype.dis, DOMCore.dis, DOMFeature.dis:
1500     They now pass all tests included in those modules!
1501    
1502 wakaba 1.160 2006-03-30 Wakaba <wakaba@suika.fam.cx>
1503    
1504     * DOMCore.dis (Require): A reference to the |MURI:Generic|
1505     module is added.
1506     (ManakaiDOMStringList.DESTROY): Removed (no longer necessary).
1507     (ManakaiDOMImplementation): It now inherits
1508     the |urigen:ManakaiURIImplementation| class and
1509     implements the |ecore:MUErrorTarget| interface. It no
1510     longer inherits the |ManakaiDOM:ManakaiDOMObject| class.
1511     (ManakaiDOMImplementation.___report_error): New method.
1512    
1513     * DOMFeature.dis (Require): It now references the |Util:Grove|
1514     module instead of |Util:ManakaiNode| module.
1515     (DOMMetaImpl:ManakaiDOMImplementationRole): Removed.
1516     (f:ManakaiMinimumImplementationCompatible): New role.
1517     (ManakaiMinimumImplementation): Now it is built
1518     on the new |Util:Grove| module rather than the |Util:ManakaiNode|
1519     module.
1520     (f:getFeatureImpl): Moved from the |MDOM:TreeCore| module.
1521     (c:implementation): Removed.
1522     (f:implementation, f:revImplementation): New properties.
1523    
1524     * DOMMain.dis (checkNamespacePrefix): DOM2 codes are removed.
1525    
1526     * Tree.dis (cfg:clone-entity-reference-subtree,
1527     cfg:dtd-default-attributes, cfg:xml-id,
1528     cfg:strict-document-children): Removed (moved
1529     to the |MDOM:TreeCore| module).
1530    
1531     * TreeCore.dis (Require): The reference to the |MURI:Generic|
1532     module is removed.
1533     (ManakaiDOMImplementationTC): Some members are removed
1534     since they are incorporated to the |c:ManakaiDOMImplementation|
1535     or the |f:ManakaiMinimumImplementation|.
1536     (tc:nodeRefClass): Removed (moved to the |Util:Grove| module).
1537     (replaceChildImpl1): A typo on the removing the parent node
1538     of the old child node is fixed.
1539     (f:getFeatureImpl): Removed (moved to the |MDOM:DOMFeature|
1540     module).
1541     (tc:implementation, tc:revImplementation): Removed (moved
1542     to the |MDOM:DOMFeature| module).
1543     (Document.appendChild, insertBefore, replaceChild): Sets
1544     the |ownerDocument| attribute of the |tx:DocumentType| nodes.
1545     (Attr.prefix, Element.prefix): Don't raise "uninitialized"
1546     when the new value is |null|.
1547     (Attr.___create_node_ref): Attribute name and
1548     owner element type specific classes are supported (it
1549     was partially implemented but was incorrect).
1550     (ManakaiDOMGetElementsNodeList.item): Don't return
1551     a node if the |index| is negative.
1552     (setNamedItem): Various typos are fixed.
1553     (removeNamedItem): The node was not removed orz
1554     (cfg:clone-entity-reference-subtree,
1555     cfg:dtd-default-attributes, cfg:xml-id,
1556     cfg:strict-document-children): Definitions are moved
1557     from the |MDOM:Tree| module. Note that the tests for default
1558     attributes still fail.
1559     (ErrDef, IntPropDef): Moved from the |MDOM:Tree| module.
1560     (Attr): Role name was incorrect.
1561    
1562     * XDoctype.dis (setDefinitionNode): Return value was
1563     not set.
1564     (AttributeDefinition): Role name was incorrect.
1565    
1566     * XML.dis (Require): A reference to the |DISlib:DISMarkup|
1567     module is added.
1568     (Notation.appendChild, insertBefore, replaceChild): New method
1569     implementations.
1570     (Entity.appendChild, insertBefore, replaceChild): New method
1571     implementations.
1572     (EntityReference.appendChild, insertBefore, replaceChild): Now
1573     they are defined as copies of ones in the |Entity| class.
1574     (XMLBaseAttribute, XMLIdAttribute): Now they are
1575     namespace unaware attributes.
1576     (XMLBaseAttributeNS, XMLIdAttributeNS): New attributes.
1577     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): References
1578     to namespace aware attributes are added.
1579    
1580 wakaba 1.159 2006-03-29 Wakaba <wakaba@suika.fam.cx>
1581    
1582     * DOMCore.dis: Namespace prefixes are changed to new ones.
1583    
1584     * TreeCore.dis (createDocument, createDocumentType): Reimplemented (but
1585     untested).
1586     (___report_error): Reimplemented (untested).
1587     (manakaiSetReadOnly): New method.
1588     (Attr.___create_node_ref): New method (untested).
1589     (Document.getFeature): |require|s the |MDOM:XML| Perl module.
1590     (createEntityReference, cloneNode): Support for
1591     the |cfg:entity-reference-read-only| configuration
1592     parameter is removed; newly created entity references
1593     are always read-only and use the |manakaiSetReadOnly| method
1594     if desired.
1595     (Element.manakaiBaseURI): Reimplemented (untested).
1596    
1597     * XDoctype.dis (createGeneralEntity, createNotation): |require|s
1598     the |MDOM:XML| Perl module.
1599     (DocumentTypeDefinition.___create_node_stem): Sets
1600     the |tc:implementation| internal property if its value
1601     is provided. The |infoset:content| internal property name
1602     was incorrect.
1603     (DocumentTypeDefinition, ElementTypeDefinition): |MUST|s on
1604     read-only |NodeList| and |DOMStringList| are added
1605     for clarification.
1606    
1607 wakaba 1.158 2006-03-26 Wakaba <wakaba@suika.fam.cx>
1608    
1609     * DOMCore.dis (Require): Reference to the |MDOM:TreeCore|
1610     module is added.
1611     (DOMStringList): Reimplemented for new |d:AttributeDefinition|
1612     implementation (untested).
1613    
1614     * TreeCore.dis (baseURI): Reimplemented (untested).
1615     (Roles): Definitions added.
1616    
1617     * XDoctype.dis (Require): References to the |MDOM:TreeCore|
1618     and |MDOM:XML| modules are added. Reference to the |MDOM:Tree|
1619     module is removed.
1620     (DocumentXDoctype): Reimplemented (untested).
1621     (DocumentTypeDefinition, DocumentTypeDeclaration):
1622     Reimlemented (untested).
1623     (ElementTypeDefinition, AttributeDefinition): Reimplemented (untested).
1624    
1625     * XML.dis (FeatureDef): New features (definitions copied
1626     from the |MDOM:DOMXML| module).
1627     (DocumentType): New interface (definition copied from
1628     the |MDOM:DOMXML| module).
1629     (CDATASection, Notation, Entity, EntityReference, ProcessingInstruction):
1630     Reimplemented (untested).
1631     (ManakaiDOMXMLBaseAttr, ManakaiDOMXMLIdAttr): Reimplemented (untested).
1632    
1633 wakaba 1.156 2006-03-25 Wakaba <wakaba@suika.fam.cx>
1634    
1635 wakaba 1.157 * TreeCore.dis (Document): Most methods are reimplemented (untested).
1636    
1637     2006-03-25 Wakaba <wakaba@suika.fam.cx>
1638    
1639 wakaba 1.156 * TreeCore.dis (Document): Attributes are reimplemented (untested).
1640     (Text, DocumentFragment, Comment): Most members are
1641     reimplemented (untested).
1642    
1643 wakaba 1.155 2006-03-24 Wakaba <wakaba@suika.fam.cx>
1644    
1645     * DOMMain.dis (checkXMLNamesQName): Some checks are
1646     removed to sync with DOM Level 3 Core specification.
1647    
1648     * TreeCore.dis (Element): Most methods are reimplemented (untested).
1649     (GetElementsNodeList): Reimplemented (untested).
1650    
1651 wakaba 1.153 2006-03-23 Wakaba <wakaba@suika.fam.cx>
1652    
1653 wakaba 1.154 * Tree.dis (cfg:strict-document-children): The configuration
1654     parameter must also affect on |manakaiAppendText|
1655     and |textContent| on |Document| nodes.
1656    
1657     * TreeCore.dis (Node.CreateNodeRefMethod): The |tc:nodeRefClass|
1658     parameter changes the class to |bless|.
1659     (Node): Most methods are reimplemented. (Untested)
1660     (CharacterData, Attr): Most methods and attributes are
1661     reimplemented. (Untested)
1662    
1663     * XML.dis, XDoctype.dis: Most |Node| methods are
1664     reimplemented (untested).
1665    
1666     2006-03-23 Wakaba <wakaba@suika.fam.cx>
1667    
1668 wakaba 1.153 * TreeCore.dis, XML.dis, XDoctype.dis (Node.textContent): Reimplemented
1669     (untested).
1670    
1671     2006-03-22 Wakaba <wakaba@suika.fam.cx>
1672    
1673     * DOMCore.dis (DOMSTRING_SIZE_ERR): It now has
1674     a qualified name.
1675    
1676     * DOMMain.dis (ensureNamespacePrefix): Undefines
1677     the prefix if it is an empty string. (Note that
1678     it is defined as implementation dependent in
1679     DOM Level 3 Core specification).
1680    
1681     * TreeCore.dis (Require): It now references the |MDOM:XDoctype|
1682     module.
1683     (Node): Attributes are reimplemented (untested).
1684    
1685     * XML.dis (Require): It now references the |MDOMX:XDoctype|
1686     module.
1687     (Node): Attributes are reimplemented (untested).
1688     (Entity, Notation): New interfaces.
1689    
1690     * XDoctype.dis (Node): Attributes are reimplemented (untested).
1691    
1692 wakaba 1.152 2006-03-19 Wakaba <wakaba@suika.fam.cx>
1693    
1694     * TreeCore.dis (childNodes, firstChild, lastChild,
1695     nextSibling, previousSibling, appendChild, insertBefore,
1696     replaceChild, removeChild, createDocumentFragment,
1697     createEntityReference, createProcessingInstruction,
1698     domConfig, documentElement, implementation, manakaiAppendText): New.
1699     (NodeList, DocumentFragment): New interfaces.
1700    
1701     * XML.dis (EntityReference, ProcessingInstruction): New interface.
1702    
1703 wakaba 1.151 2006-03-18 Wakaba <wakaba@suika.fam.cx>
1704    
1705     * TreeCore.dis (Require): The |MDOM:XML| module is added.
1706     (createAttributeNS, createTextNode, createComment,
1707     createCDATASection): New methods.
1708     (Attr, Text, Comment, CharacterData): New interfaces.
1709    
1710     * Makefile: |XML.dis| is added.
1711    
1712     * XML.dis: New module.
1713    
1714     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1715    
1716     * TreeCore.dis (manakaiReadOnly): New attribute.
1717    
1718 wakaba 1.149 2006-03-17 Wakaba <wakaba@suika.fam.cx>
1719    
1720 wakaba 1.150 * TreeCore.dis (NodeType, nodeType, localName, namespaceURI,
1721     prefix, isSameNode, ownerDocument, parentNode): New.
1722     (Element): New interface.
1723     (createElementNS): New method.
1724     (strictErrorChecking): New.
1725    
1726     2006-03-17 Wakaba <wakaba@suika.fam.cx>
1727    
1728 wakaba 1.149 * Makefile: |TreeCore.dis| is added.
1729    
1730     * TreeCore.dis: New module.
1731    
1732 wakaba 1.148 2006-03-16 Wakaba <wakaba@suika.fam.cx>
1733    
1734     * XMLParser.dis (cfg:entity-replacement-tree): New configuration
1735     parameter.
1736    
1737     * DOMXML.dis (manakaiExpanded): Renamed from |isExpanded|.
1738    
1739     * DOMCore.dis, Tree.dis, DOMLS.dis, XMLParser.dis: Lexical
1740     data types added to configuration parameters.
1741    
1742 wakaba 1.147 2006-03-15 Wakaba <wakaba@suika.fam.cx>
1743    
1744     * DOMCore.dis (c:DOMConfigurationParameter): Now it is
1745     a |DISSource:ResourceProperty|.
1746     (c:anyDOMConfigurationParameter): New property.
1747     (CParam, boolCParam): Now they are all |dis:subsetOf|
1748     the |c:anyDOMConfigurationParameter| property.
1749     (ForDocument, ForParser, ForSerializer): Removed.
1750    
1751     * DOMLS.dis, XMLParser.dis: Likewise.
1752    
1753 wakaba 1.146 2006-03-12 Wakaba <wakaba@suika.fam.cx>
1754    
1755     * DOMMain.dis, Tree.dis: Unused |dis:aliasChild| properties
1756     are removed.
1757    
1758     * GenericLS.pm: Added to the CVS repository since
1759     it is necessary to create the |Message::Util::DIS::DPG| module.
1760    
1761 wakaba 1.145 2006-03-10 Wakaba <wakaba@suika.fam.cx>
1762    
1763     * DOMCore.dis, DOMXML.dis, XDoctype.dis (manakaiAppendText): New
1764     method.
1765    
1766     * XMLParser.dis: Don't create adjacent text nodes.
1767    
1768 wakaba 1.144 2006-03-09 Wakaba <wakaba@suika.fam.cx>
1769    
1770     * DOMCore.dis (HIERARCHY_DOCUMENT_FRAGMENT_ITSELF_ERR): New error.
1771    
1772     * DOMXML.dis (appendChild, insertBefore, replaceChild): Method
1773     implementations are added.
1774    
1775     * XDoctype.dis (appendChild, insertBefore, replaceChild): Method
1776     implementations are added.
1777    
1778     * Tree.dis (appendChild, insertBefore, replaceChild): Method
1779     implementations are added.
1780     (IFCls1Def, NodeTypeDef): Don't define |ManakaiDOM:ForClass|
1781     resources unless for |ManakaiDOM:ManakaiDOMLatest|.
1782     (cfg:strict-document-children): New configuration parameter.
1783    
1784 wakaba 1.143 2006-03-08 Wakaba <wakaba@suika.fam.cx>
1785    
1786     * XDoctype.dis (replaceChild): Method implementations are added.
1787    
1788     * Tree.dis (replaceChild): Method implementations are added.
1789    
1790     * DOMXML.dis (replaceChild): Method implementations are added.
1791    
1792 wakaba 1.142 2006-03-07 Wakaba <wakaba@suika.fam.cx>
1793    
1794     * Tree.dis (ForAppendChild, ForInsertBefore, ForReplaceChild): New |for|
1795     definitions.
1796    
1797     * XDoctype.dis (insertBefore): New method implementation.
1798    
1799 wakaba 1.138 2006-03-06 Wakaba <wakaba@suika.fam.cx>
1800    
1801 wakaba 1.141 * DOMXML.dis (insertBefore): Method implementations
1802     for |ProcessingInstruction| and |Notation| nodes are added.
1803    
1804     * Tree.dis (insertBefore): Method implementation
1805     for |CharacterData| nodes is added.
1806    
1807     * XDoctype.dis (insertBefore): Method implementation
1808     for |ElementTypeDefinition| nodes is added.
1809    
1810     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1811    
1812 wakaba 1.140 * XDoctype.dis (appendChild): New method implementation.
1813    
1814     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1815    
1816 wakaba 1.139 * DOMCore.dis (HIERARCHY_WRONG_DOCTYPE_ERR): New error.
1817     (REMOVE_DOCUMENT_ELEMENT_ERR): New error.
1818     (REMOVE_DOCUMENT_TYPE_ERR): New error.
1819    
1820     * DOMXML.dis (ManakaiDOMDocumentType): Removed.
1821     (ProcessingInstruction.appendChild, CDATASection.appendChild,
1822     Notation.appendChild): New method implementation.
1823    
1824     * Tree.dis (CharacterData.appendChild): New method implementation.
1825    
1826     * XDoctype.dis: Tests moved from |MDOM:DOMXML| module.
1827    
1828     2006-03-06 Wakaba <wakaba@suika.fam.cx>
1829    
1830 wakaba 1.138 * DOMXML.dis (ManakaiDOMXMLIdAttr): New class.
1831    
1832     * Tree.dis (createAttribute, createAttributeNS,
1833     setAttribute, setAttributeNS): They now supports
1834     the |cfg:xml-id| configuration parameter.
1835     (cfg:xml-id): New configuration parameter.
1836    
1837     * XDoctype.dis (createAttributeDefinition): It now
1838     supports the |cfg:xml-id| configuration parameter.
1839    
1840     * XMLParser.dis (parse): It now supports
1841     the |cfg:xml-id| configuration parameter.
1842    
1843 wakaba 1.136 2006-03-05 Wakaba <wakaba@suika.fam.cx>
1844    
1845 wakaba 1.137 * XMLParser.dis (parse): Sets |Document.documentURI|
1846     and |Document.manakaiEntityBaseURI| attributes of the
1847     document created.
1848     (_ProcessingInstructionDTD): Sets the |manakaiBaseURI|
1849     property of the created node.
1850     (_SystemLiteral): Sets the |manakaiDeclarationBaseURI|
1851     of the created node.
1852     (ls-input-to-input-file.default): Sets the resolved
1853     system identifier to the |documentURI| attribute if available.
1854     Sets the |baseURI| attribute if available.
1855    
1856     2006-03-05 Wakaba <wakaba@suika.fam.cx>
1857    
1858 wakaba 1.136 * XDoctype.dis (DocumentTypeDefinition.implementation): New attribute.
1859     (Node.baseURI): New attribute implementations.
1860     (declarationBaseURI): Setter is added.
1861     (manakaiDeclarationBaseURI): New attribute.
1862    
1863     * Tree.dis (Require): A reference to the |MURI:Generic|
1864     module is added.
1865     (Node.baseURI): The implementation is revised.
1866     (getNodeReference): Attribute node classes specialized
1867     to attribute names are supported.
1868     (contentBaseURI, htmlBaseURI): Removed.
1869     (manakaiEntityBaseURI): New attribute.
1870     (ManakaiDOMImplementationDocument): It now inherits
1871     the |urigen:URIImplementation| class.
1872    
1873     * DOMMain.dis (isRelativeDOMURI): The definition
1874     of the URI scheme is synced with |Message::URI::Generic|'s
1875     one.
1876    
1877     * DOMXML.dis (Require): A reference to |DISlib:DISMarkup|
1878     module is added.
1879     (DocumentType.implementation): New attribute.
1880     (Node.baseURI): Implementations are added.
1881     (manakaiDeclarationBaseURI): New attributes.
1882     (manakaiEntityBaseURI): New attributes.
1883     (manakaiEntityURI): New attribute.
1884     (manakaiExternal): New attribute.
1885     (manakaiBaseURI): New attribute.
1886     (ManakaiDOMXMLBaseAttr): New class.
1887    
1888 wakaba 1.134 2006-02-26 Wakaba <wakaba@suika.fam.cx>
1889    
1890 wakaba 1.135 * SimpleLS.dis (Require): Reference to the |MDOM:Tree|
1891     module was missing.
1892    
1893     * ManakaiDOMLS2003.dis: Some property names was incorrect.
1894    
1895     * Makefile (distclean): New rule.
1896    
1897     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1898    
1899     * DOMLS.dis: Removed from the CVS repository, since
1900     it has been no longer required to make the |daf| system
1901     itself.
1902    
1903     2006-02-26 Wakaba <wakaba@suika.fam.cx>
1904    
1905 wakaba 1.134 * Makefile: Revised for new |daf| database format.
1906    
1907 wakaba 1.133 2006-02-25 Wakaba <wakaba@suika.fam.cx>
1908    
1909     * DOMFeature.dis (Require): Missing reference to |DISlib:Test|
1910     module is added.
1911    
1912 wakaba 1.132 2006-02-22 Wakaba <wakaba@suika.fam.cx>
1913    
1914     * DOMLS.dis: Constants were typed as |dx:ErrorCode|
1915     by mistake.
1916    
1917 wakaba 1.131 2006-02-18 Wakaba <wakaba@suika.fam.cx>
1918    
1919     * XMLParser.dis (ManakaiDOMXMLParser): Implements |DOMLS:ParseString10|
1920     feature.
1921    
1922     * DOMCore.dis (c:LSPARSER_NOT_FOUND_ERR): New exception type.
1923    
1924     * DOMLS.dis (DOMLS:ParseString): New (moved from |SimpleLS.dis|).
1925     (DOMImplementationLS.createLSParser): Implemented.
1926     (DOMImplementationLS.createLSInput): Revised.
1927     (LSInput): Note on relationship with |GenericLS| is added.
1928    
1929     * SimpleLS.dis (DOMLS:ParseString): Removed (moved to |SimpleLS.dis|).
1930    
1931 wakaba 1.129 2006-02-17 Wakaba <wakaba@suika.fam.cx>
1932    
1933 wakaba 1.130 * XMLParser.dis (domConfig): New |targetType| of |xp:ManakaiDOMXMLParser|
1934     is introduced.
1935     (async, busy): Implemented.
1936     (parseString): Removed.
1937     (parse, parseURI): Implemented.
1938     (xp:ls-input-to-input-file): New configuration parameter.
1939     (shiftChar): Gets character from current file handle
1940     rather than replacement text. Don't normalize
1941     line break characters for internal entities. Don't
1942     throw |xp:wf-legal-literal-character| error
1943     for |RestrictedChar| appearing in internal entities.
1944     (DISPerl:dpgDef): Call |close| for each entity filehandler.
1945     (_EntityDeclaration): Copy document URI and base URI
1946     to the entity's |$decl| object.
1947     (ParseError): New code fragment.
1948     (getCopyOfEntityState): Creates filehandle from replacement
1949     text.
1950     (xp-error-lines): Don't appends text if no replacement
1951     text is available.
1952     (error-handler): New configuration parameter application resource.
1953     (ManakaiDOMLSInputToInputFile): New class.
1954     (ManakaiDOMInputFile): New class.
1955    
1956     * Tree.dis (getNodeReference): A dereferencing was missing.
1957    
1958     * DOMLS.dis (DOMLS:busy, DOMLS:lsKey): New properties.
1959    
1960     2006-02-17 Wakaba <wakaba@suika.fam.cx>
1961    
1962 wakaba 1.129 * XMLParser.dis: Default attribute are now namespace aware.
1963     (parseString): Don't output |Document| warnings
1964     during tree construction to standard error output.
1965    
1966     2006-02-16 Wakaba <wakaba@suika.fam.cx>
1967    
1968     * XMLParser.dis: Name check for XML 1.0, XML Namespace 1.0, and
1969     XML Namespace 1.1 is implemented. Namespace well-formedness
1970     error detection is implemented. Generates |Notation| nodes
1971     from notation declarations.
1972     (checkNCName, checkQName): New code fragments.
1973    
1974     * XDoctype.dis (DocumentXDoctype): Factory methods
1975     don't check |MDOMX:MDOM_BAD_NAME| if |Document.strictErrorChecking|
1976     is |false|.
1977    
1978     * DOMCore.dis (wf-invalid-character-in-node-name,
1979     wf-invalid-character): Removed (moved to |MDOM:Tree| module).
1980    
1981     * Tree.dis '(wf-invalid-character-in-node-name,
1982     wf-invalid-character): New errors (from |MDOM:DOMCore| module).
1983     (Attr.specified): Setter added.
1984     (cfg:dtd-default-attributes): New configuration parameter.
1985     (Document.createEntityReference): Don't check |MDOMX:MDOM_BAD_NAME|
1986     if |Document.strictErrorChecking| is |false|.
1987    
1988 wakaba 1.127 2006-02-15 Wakaba <wakaba@suika.fam.cx>
1989    
1990 wakaba 1.128 * XMLParser.dis: Set |allDeclarationsProcessed|
1991     attribute of the |Document| node. Don't process entity
1992     and attribute definition list declarations after
1993     unread parameter entity reference. Warns if an attribute definition is
1994     ignored (|xp:warning-attribute-definition-ignored|). Set
1995     flags whether predefined entities are declared or not.
1996     WFC error |xp:wf-pes-in-internal-subset| is implemented.
1997    
1998     2006-02-15 Wakaba <wakaba@suika.fam.cx>
1999    
2000 wakaba 1.127 * XMLParser.dis: Issues |xp:error-internal-predefined-entity| error
2001     if a predefined entity declaration references an external entity.
2002     Issues |xp:error-malformed-predefined-entity| error if
2003     a predefined entity declaration defines different thing than
2004     one as in XML specification.
2005     Issies |xp:warning-entity-declaration-ignored| warning if
2006     more than one entity declarations for an entity is found.
2007     (WFErrDef): Now all well-formedness errors are marked
2008     as |SEVERITY_FATAL_ERROR|.
2009    
2010     * XDoctype.dis (DocumentXDoctype.createDocumentTypeDefinition): Creates
2011     predefined entity declarations.
2012     (DocumentXDoctype.createNotation): New method.
2013     (DocumentTypeDefinition.notations): New attribute.
2014     (DocumentTypeDefinition.getNotationNode): New method.
2015     (DocumentTypeDefinition.setNotationNode): New method.
2016     (newNotationForTest): New code fragment.
2017    
2018     * Tree.dis (ManakaiDOMXML:ManakaiDOMNotations): Removed.
2019     (c:ManakaiDOMNotationMap): New class.
2020     (c:ManakaiDOMNotationMapArray): New class.
2021     (Document.allDeclarationsProcessed): New attribute.
2022    
2023     * DOMXML.dis (DocumentType.notations): Implemented.
2024     (Notation): Revised.
2025     (Notation.ownerDocumentTypeDefinition): New attribute.
2026    
2027 wakaba 1.126 2006-02-14 Wakaba <wakaba@suika.fam.cx>
2028    
2029     * XMLParser.dis: The |xp:wf-parsed-entity| and the |xp:wf-no-recursion|
2030     WFC errors are implemented. Reports a |xp:wf-syntax-error|
2031     if a parameter entity declaration contains |NDATA| keyword.
2032     (setEmptyEntityState): Set |name| attribute.
2033    
2034     * Tree.dis (createEntityReference): Don't enter into inifinite
2035     loop even if entity replacement tree contains recursive
2036     reference directly or indirectly.
2037    
2038 wakaba 1.124 2006-02-13 Wakaba <wakaba@suika.fam.cx>
2039    
2040 wakaba 1.125 * XMLParser.dis (_GeneralEntityReferenceAE): The |xp:wf-entity-declared|
2041     WFC error is implemented.
2042    
2043     2006-02-13 Wakaba <wakaba@suika.fam.cx>
2044    
2045 wakaba 1.124 * XMLParser.dis: Set |cfg:clone-entity-reference-subtree|
2046     configuration parameter |true| during tree construction
2047     to ensure default attribute value is cloned as is
2048     including entity reference subtree.
2049    
2050     * Tree.dis (cfg:clone-entity-reference-subtree): New configuration
2051     parameter.
2052     (Node.cloneNode): The |cfg:clone-entity-reference-subtree|
2053     configuration parameter support is added.
2054    
2055 wakaba 1.123 2006-02-12 Wakaba <wakaba@suika.fam.cx>
2056    
2057     * XMLParser.dis (parseString): General |Entity| replacement
2058     tree is not constructed because of a typo. Clears |EntityReference|
2059     content before constructing |Entity| replacement tree.
2060     The |xp:wf-entity-declared| well-formedness constraint
2061     for entity references in attribute value literal is implemented.
2062    
2063 wakaba 1.120 2006-02-11 Wakaba <wakaba@suika.fam.cx>
2064    
2065 wakaba 1.122 * XMLParser.dis: |xp:wf-entity-declared| well-formedness
2066     constaraint for entity references that appear in
2067     content of elements is implemented. Set |EntityReference.isExpanded|
2068     attribute.
2069     (getEmptyEntityState): New code.
2070    
2071     * XDoctype.dis (DocumentTypeDefinition.nodeType): Duplicate
2072     definition is removed.
2073    
2074     * DOMXML.dis (Entity.isExternallyDeclared): New attribute.
2075     (EntityReference.isExpanded): Setter is added.
2076    
2077     2006-02-11 Wakaba <wakaba@suika.fam.cx>
2078    
2079 wakaba 1.121 * XMLParser.dis: |xp:wf-no-lt-in-attribute-values|
2080     and |xp:wf-no-external-entity-references| well-formedness
2081     constraints are implemented.
2082    
2083     2006-02-11 Wakaba <wakaba@suika.fam.cx>
2084    
2085 wakaba 1.120 * XMLParser.dis ($self->{has_error}): Removed.
2086     (parseString): Don't throw |DOMLS:PARSE_ERR| if all fatal
2087     errors (including well-formedness constraint errors) are
2088     traped by the error handler.
2089     (PubidLiteral, SystemLiteral): Set |publicId| or |systemId|
2090     attribute of the node. Reports an error if |publidLiteral|
2091     contains a non-|pubidChar|.
2092    
2093     * XDoctype.dis (d:DeclFeature30): New feature (|fe:XDoctypeDeclaration|
2094     version |3.0|).
2095     (ManakaiDOMDocumentTypeDefinition): The class no longer
2096     inherits |x:ManakaiDOMDocumentType| class. Instead,
2097     it inherits |d:ManakaiDOMDocumentTypeDeclaration|
2098     and |t:ManakaiDOMNOde| classes. It still implements |x:DocumentType|
2099     interface (except unimplemented |notations| and |internalSubset|
2100     attributes).
2101     (ManakaiDOMDocumentTypeDefinition.entities): New attribute
2102     for compatibility with |x:DocumentType| interface.
2103     (ManakaiDOMDocumentTypeDefinition.lookupPrefix): New method.
2104     (ManakaiDOMDocumentTypeDefinition.getFeature): New method.
2105     (ManakaiDOMDocumentTypeDefinition.nodeType,
2106     ManakaiDOMDocumentTypeDefinition.textContent): New attributes.
2107     (DocumentTypeDeclaration): New interface.
2108    
2109     * Tree.dis (Node/@f:implements): Typos fixed.
2110     (Node.MUErrorHandler): Missing |last A| statement is added.
2111     (createDocumentType): Throws an exception if |qualifiedName|
2112     is illegal. Calls |DocumentTypeDefinition.newObject|
2113     instead of obsolete |DocumentType.newObject|.
2114    
2115     * DOMXML.dis (DocumentType.name, DocumentType.entities,
2116     DocumentType.publicId, DocumentType.systemId,
2117     DocumentType.lookupPrefix, DocumentType.getFeature): Now they are defined
2118     as clones of similar attributes or methods
2119     in |MDOM:XDoctype| module.
2120     (DocumentType.newObject): Removed (use |DocumentTypeDefinition.newObject|
2121     instead).
2122     (DocumentType.childNodes): Removed (|Node.childNodes| definition
2123     is used).
2124    
2125 wakaba 1.119 2006-02-10 Wakaba <wakaba@suika.fam.cx>
2126    
2127     * XMLParser.dis (xp:fatal-xml11-end-of-line-in-xml-declaration): New
2128     fatal error.
2129    
2130 wakaba 1.118 2006-02-09 Wakaba <wakaba@suika.fam.cx>
2131    
2132     * XMLParser.dis (CommentDeclaration): |STRING| is now
2133     defined as a |?default-token|.
2134     (XMLTests): Tests for |Char - RestrictedChar| matchness,
2135     comment declarations, cdata sections, and |MSE| in |content|
2136     added.
2137     (XMLTests/PerlDef): Bug fixed: |pop| -> |shift|.
2138     (get-location-from-token): |$token->{location_d}|
2139     for |?default-token| column counting support added.
2140    
2141     * DOMCore.dis (c:erred): It is now a |DISCore:OrderedList| property.
2142    
2143 wakaba 1.115 2006-02-08 Wakaba <wakaba@suika.fam.cx>
2144    
2145 wakaba 1.117 * Tree.dis (createProcessingInstruction): Don't
2146     throw |MDOMX:MDOM_BAD_NAME| exception if |Document.strictErrorChecking|
2147     is |false|.
2148    
2149     * XMLParser.dis (parseString): Initializes |$self->{location}|.
2150     It enables improved error position report.
2151     (XDO): It now includes |S+| following target name |xml| as
2152     part of the token. (PI with target starting with |xml|
2153     was unable to be placed at the beginning of the document entity.)
2154     (_ProcessingInstruction, _ProcessingInstructionDTD): Creates
2155     a processing instruction node with |#INVALID| node name
2156     if target name is not given and recovered from the error.
2157     (S): Variable |$s| added.
2158     (XMLTests): Tests for XML declarations and processing
2159     instructions are added. Prints error type name if unexpected
2160     error with severity of error or fatal error has been reported.
2161     Catch unexpected exceptions thrown in parser (different
2162     from |LSException|), prints its message, and invoke |$test->not_ok|
2163     for the ease of testing.
2164     (xp:get-location-from-token): Location values now take |$self->{char}|
2165     stack into acount.
2166    
2167     2006-02-08 Wakaba <wakaba@suika.fam.cx>
2168    
2169 wakaba 1.116 * XMLParser.dis (shiftChar): Line and column number counting
2170     is fixed. Although the DOM Level 3 Core specification
2171     is unclear about whether the first number is zero or one,
2172     in most programs the first line is "one" and
2173     the first column is "one", manakai follows the practice.
2174     (_XMLDeclaration): Don't set |xmlStandalone| value
2175     if |standalone| pseudo-attribute value is |no|. XML declaration
2176     tests (successful cases) added.
2177     (xp:get-location-from-token): Sets |lineNumber| and |columnNumber|
2178     properties.
2179    
2180     2006-02-08 Wakaba <wakaba@suika.fam.cx>
2181    
2182 wakaba 1.115 * XMLParser.dis (XMLTests): Tests for |c:erred| is supported.
2183    
2184     2006-02-06 Wakaba <wakaba@suika.fam.cx>
2185    
2186     * DOMCore.dis (c:erred): New property.
2187     (c:DOMErrorType): It should have been a subset
2188     of |ecore:AnyErrorCode|.
2189    
2190     * XMLParser.dis (XMLTests): Empty input tests added.
2191    
2192 wakaba 1.114 2006-01-30 Wakaba <wakaba@suika.fam.cx>
2193    
2194     * XDoctype.dis (d:Feature): New canonical feature
2195     name |fe:XDoctype| is added.
2196    
2197     * XMLParser.dis: Predefined general entity references
2198     are implemented. Creates |Entity| nodes from general entities
2199     declared in internal subset. |Entity| nodes created from internal
2200     general parsed entities now have replacement tree.
2201     Sets |cfg:entity-reference-read-only| flag off during
2202     the tree generation. Some parsing rules use |$self->{doc}|
2203     rather than |$doc| parameter. Similarly, |$self->{docx}| (document
2204     node with |fe:XDoctype| feature) and |$self->{dtdef}| are
2205     introduced. General entity references in attribute value literal
2206     are supported.
2207    
2208 wakaba 1.112 2006-01-29 Wakaba <wakaba@suika.fam.cx>
2209    
2210 wakaba 1.113 * Tree.dis (ManakaiDOM:entity-reference-read-only): Configuration
2211     parameter name changed to |cfg:entity-reference-read-only|.
2212     (createEntityReference): Set |c:read-only| flag of
2213     the created entity reference, too.
2214    
2215     * DOMLS.dis (min): New canonical feature name |fe:Min| added.
2216    
2217     * GenericLS.dis: Don't refer |DOMMain:DOMString|; use |f:MIString|
2218     from |DOMFeature| module instead. Use |idl:Object|
2219     instead of |DOMMain:DOMObject| as well.
2220     (Generic): New canonical feature name |fe:GenericLS| added.
2221     (DOMLS:ParserRole, DOMLS:SerializerRole): Their
2222     canonical name changed to |gls:ParserRole| and |gls:SerializerRole|
2223     respectively.
2224    
2225     * DOMXML.dis (entities, notations): Perl code removed.
2226     It will be reimplemented using |DocumentTypeDefinition|
2227     class from |XDoctype| module.
2228    
2229     * DOMFeature.dis, DOMCore.dis, DOMMain.dis, DOMXML.dis,
2230     Tree.dis, DOMLS.dis, GenericLS.dis, ManakaiDOMLS2003.dis,
2231     SimpleLS.dis: Cleaned up unused definitions.
2232    
2233     * DOMCore.dis, DOMLS.dis (CParam): Definitions
2234     for LS module moved from |DOMCore| module to |DOMLS| module.
2235     This change makes |DOMCore| to |DOMLS| dependency removed.
2236    
2237     * .cvsignore (.html.pm, .ls.pm): Removed.
2238    
2239     * Makefile (.html.pm, .ls.pm): Removed.
2240     (feature.dae): Include |GenericLS| module.
2241     (core.dae): Don't include |DOMLS| and |GenericLS| module.
2242     (ls.dae): Include |DOMLS| module.
2243    
2244     2006-01-29 Wakaba <wakaba@suika.fam.cx>
2245    
2246 wakaba 1.112 * XMLParser.dis: Tests on default attributes and their |specified|
2247     attribute are added.
2248    
2249     * XDoctype.dis (createGeneralEntity): New method.
2250     (generalEntities): New attribute.
2251     (getGeneralEntityNode, setGeneralEntityNode): New methods.
2252    
2253     * Tree.dis (ManakaiDOMEntities): Removed.
2254     (ManakaiDOMEntityMap): New class.
2255     (ManakaiDOM:entity-reference-read-only): New configuration parameter.
2256     (createEntityReference): If there is a corresponding |Entity|
2257     node in the document type definition, then copies its
2258     subtree.
2259    
2260     * DOMXML.dis (Entity): Documentation updated.
2261     (publicId, systemId, notationName, xmlEncoding,
2262     xmlVersion): These attributes are now settable
2263     if |ManakaiDOM:ManakaiDOMLatest| mode.
2264     (hasReplacementTree): New attribute for |ManakaiDOM:ManakaiDOMLatest|
2265     mode.
2266     (ownerDocumentTypeDefinition): New attribute
2267     for |ManakaiDOM:ManakaiDOMLatest| mode.
2268     (isExpanded): New attribute for |ManakaiDOM:ManakaiDOMLatest| mode.
2269    
2270 wakaba 1.111 2006-01-28 Wakaba <wakaba@suika.fam.cx>
2271    
2272     * DOMCore.dis (ErrDef): Missing |ecore:textFormatter| property added.
2273    
2274     * DOMMain.dis (ErrDef): Missing |ecore:textFormatter| property added.
2275    
2276     * Tree.dis (ErrDef): Missing |ecore:textFormatter| property added.
2277     (ManakaiDOMAttributes): Removed.
2278     (ManakaiDOMAttrMap): New class.
2279     (ManakaiDOMAttrMapArray): New class.
2280     (namespaceURI): Bug to return a string representation
2281     of a reference to the namespace URI string is fixed.
2282     (selectAttrNodeObject, selectAttrNodeObjectNodeNS): Reimplemented.
2283     (removeAttribute, removeAttributeNS): DTD default attributes
2284     are supported. Don't throw |NO_MODIFICATION_ALLOWED_ERR|
2285     if there is no attribute node.
2286     (createElement, createElementNS): DTD default attributes are supported.
2287     (setAttributeNode): Reimplemented.
2288    
2289 wakaba 1.110 2006-01-27 Wakaba <wakaba@suika.fam.cx>
2290    
2291     * DOMCore.dis (ManakaiDOMDTDTypeInfo): New class.
2292    
2293     * Tree.dis (STORESIZE): Index bound bug fixed.
2294     (Attr.value): Redefined to consist with |AttributeDefinition.nodeValue|.
2295     (schemaTypeInfo): Implemented for XML DTD.
2296     (isId): Returns |true| if [attribute type] is |ID|.
2297     (setAttribute, setAttributeNS): Sets [attribute type]
2298     of the newly created |Attr| node (if any) when attribute
2299     definition is available.
2300     (doctype, documentElement): Reimplemented with tests.
2301    
2302     * XMLParser.dis: Sets [attribute type] information
2303     to created |Attr| nodes. Normalize namespace URIs
2304     when such information are available (unlikely but legal).
2305     (_HexadecimalCharacterReference): Number to character
2306     convertion bug fixed.
2307     (_DocumentTypeDeclaration): Sets |schema-type|
2308     configuration parameter to XML DTD URI.
2309    
2310 wakaba 1.108 2006-01-26 Wakaba <wakaba@suika.fam.cx>
2311    
2312 wakaba 1.109 * XMLParser.dis (_AttlistDeclaration): Now it can generate
2313     attribute definition nodes.
2314    
2315     * XDoctype.dis: |UNKNOWN_ATTR| is renamed as |NO_TYPE_ATTR|
2316     and another |UNKNOWN_ATTR| constant is introduced
2317     for consistency with XML Infoset.
2318    
2319     * DOMCore.dis (TypeInfo): Documentation updated.
2320    
2321     2006-01-26 Wakaba <wakaba@suika.fam.cx>
2322    
2323 wakaba 1.108 * XDoctype.dis: A bug in test code fixed.
2324    
2325     * Tree.dis (NamedNodeMap): Element type or attribute
2326     definition named node maps now can be dereferenced
2327     as if they are array or hash references.
2328     (removeNamedItem, item, ___report_error): Implemented for element type
2329     or attribute definitions.
2330     (length): Tests added.
2331     (NamedNodeMapArray): New classes.
2332    
2333 wakaba 1.107 2006-01-25 Wakaba <wakaba@suika.fam.cx>
2334    
2335     * XDoctype.dis (setElementTypeDefinitionNode,
2336     setAttributeDefinitionNode): Throws |c:INUSE_DEFINITION_ERR|
2337     if the new node is already used for another definition.
2338     (DocumentTypeDefinition, ElementTypeDefinition): Node
2339     property name was incorrect.
2340     (elementTypes, attributeDefinitions): Checks to
2341     ensure the collection is empty added.
2342    
2343     * Tree.dis: Property name typos fixed.
2344     (setNamedItem, setAttributeNode): Don't return any node
2345     if it replace itself.
2346     (c:userDeterminedId): Missing definition added.
2347    
2348     * DOMXML.dis (Notation): Missing property specification
2349     of|c:ownerDocument| as |mn:xrefnode0| is added.
2350    
2351 wakaba 1.106 2006-01-23 Wakaba <wakaba@suika.fam.cx>
2352    
2353     * DOMCore.dis (Test): Missing argument added.
2354     (setNamedItem): If |DocumentType| with no |ownerDocument|,
2355     addition always fails with |WRONG_DOCUMENT_ERR|. Some
2356     error conditions were incorrect.
2357    
2358     * .cvsignore: Dummy files added.
2359    
2360 wakaba 1.104 2006-01-22 Wakaba <wakaba@suika.fam.cx>
2361    
2362 wakaba 1.105 * DOMCore.dis (NO_NAMED_NODE_ERR, NO_NAMED_NODE_NS_ERR,
2363     INUSE_DEFINITION_ERR, NO_NS_NAMEDNODEMAP_ERR): New error subtypes.
2364    
2365     * DOMMain.dis (ensureXMLName): Checks definesness of |$XMLVERSION|
2366     to avoid uninitialized value warning.
2367    
2368     * Tree.dis (ManakaiDOMElementTypeDefMap, ManakaiDOMAttrDefMap): New
2369     classes (work in progress).
2370    
2371     * XDoctype.dis (elementTypes, attributeDefinitions): New attributes.
2372    
2373     2006-01-22 Wakaba <wakaba@suika.fam.cx>
2374    
2375 wakaba 1.104 * Tree.dis (getAttribute): Returns |null| if there
2376     is no attribute in |ManakaiDOM:DOMLatest| for compatibility
2377     with Web browser implementations.
2378     (getAttributeNS): It returned |null| if there
2379     is no attribute in any |For| unintentionally. It now
2380     returns an empty string in DOM levels less than or equals
2381     to three.
2382    
2383     * XMLParser.dis (shiftChar): Fixed not to be warned as
2384     uninitialized value or substring out of range.
2385    
2386 wakaba 1.102 2006-01-21 Wakaba <wakaba@suika.fam.cx>
2387    
2388 wakaba 1.103 * DOMXML.dis (DocumentType.childNodes): Removed
2389     from |ManakaiDOM:ManakaiDOMLatest| variant.
2390    
2391     * XMLParser.dis: Parsing of general internal entities implemented.
2392     (_DocumentTypeDeclaration): Appends a document type definition
2393     node to the document.
2394     (_ProcessingInstructionDTD): Appends a processing
2395     instruction node to the document type definition.
2396     (Element_): Document element could not be an |EmptyElemTag|.
2397    
2398     2006-01-21 Wakaba <wakaba@suika.fam.cx>
2399    
2400 wakaba 1.102 * DOMFeature.dis (featuresParamToFeaturesHash): New block
2401     code (seprated from |InputProcessor|). Now
2402     a |features| parameter's version can be specified by
2403     an array reference that contains a set of version
2404     numbers. A test added.
2405    
2406     * XMLParser.dis: A test added.
2407    
2408 wakaba 1.100 2006-01-07 Wakaba <wakaba@suika.fam.cx>
2409    
2410 wakaba 1.101 * DOMCore.dis (Test): Don't invoke |DESTROY| method
2411     because it does not work with dummy object used in the test code.
2412    
2413     2006-01-07 Wakaba <wakaba@suika.fam.cx>
2414    
2415 wakaba 1.100 * DOMMain.dis (checkXMLNamesQName): Checks whether
2416     namespace URI is defined for not being warned.
2417    
2418     * XDoctype.dis: New module.
2419    
2420     * DOMCore.dis (DOMStringList): Test added.
2421    
2422     * Makefile: |XDoctype.pm| added.
2423    
2424     * Tree.dis (Require): Requires |XDoctype.dis|.
2425     (ManakaiDOMNodeObjectNode.eq): Added.
2426     (Test): |DOMError.location| must return a |DOMLocator|
2427     object (it was incorrectly tested to return |null|).
2428     (EmptyNodeList.DESTROY): Removed.
2429    
2430     2006-01-04 Wakaba <wakaba@suika.fam.cx>
2431    
2432     * Tree.dis (NodeType): |ELEMENT_TYPE_DEFINITION_NODE| and
2433     |ATTRIBUTE_DEFINITION_NODE| node types added.
2434     (appendChild, insertBefore, replaceChild): New
2435     two node types added and processing instruction nodes
2436     as document type definition node child is allowed
2437     in |ManakaiDOM:ManakaiDOMLatest| mode.
2438     (getNodeReference): New |interface| parameter
2439     to filter classes by interface is added.
2440     (ElementTypeDefinitionRole): New role.
2441     (AttributeDefinitionRole): New role.
2442    
2443     2006-01-02 Wakaba <wakaba@suika.fam.cx>
2444    
2445     * DOMCore.dis (DOMStringList): Reimplemented as tied array.
2446    
2447 wakaba 1.99 2005-12-31 Wakaba <wakaba@suika.fam.cx>
2448    
2449     * DOMCore.dis (DOMError.location): Returns an empty |DOMLocator|
2450     if it is not provided.
2451    
2452     * XMLParser.dis: Parsing methods to skip document
2453     type declaration is added.
2454    
2455 wakaba 1.98 2005-12-29 Wakaba <wakaba@suika.fam.cx>
2456    
2457     * XMLParser.dis (shiftChar): Checks characters are legal
2458     or not. Normalize end-of-lines.
2459     (rule _XMLDeclaration_): Implemented.
2460     (WFErrDef): Well-formedness error |wf-syntax-error|,
2461     |wf-pi-target-is-xml|, |wf-no-end-tag|,
2462     |wf-unsupported-xml-version|, |wf-malformed-enc-name|,
2463     |wf-malformed-xml-standalone|, |wf-legal-literal-character|,
2464     |wf-element-type-match|, |wf-unique-att-spec|,
2465     |wf-legal-character| added.
2466     (%character-code-point): New formatter rule.
2467    
2468     * Tree.dis (Document.xmlEncoding): It is now read-write attribute.
2469    
2470     * DOMCore.dis (DOMError.stringify): Added.
2471     (error-handler.default): Returns |false| (don't continue)
2472     when the error severity is |SEVERITY_FATAL_ERROR|.
2473    
2474 wakaba 1.96 2005-12-28 Wakaba <wakaba@suika.fam.cx>
2475    
2476 wakaba 1.97 * XMLParser.dis (DocumentEntity): Typos fixed.
2477     (|lexmode|s): New |?default-token| statements are used
2478     so that tokenizer description has been simplified
2479     and CDATA sections now can be parsed.
2480    
2481     2005-12-28 Wakaba <wakaba@suika.fam.cx>
2482    
2483 wakaba 1.96 * XMLParser.dis: Some modifications made.
2484    
2485     2005-12-27 Wakaba <wakaba@suika.fam.cx>
2486    
2487     * DOMLS.dis (PARSE_ERR, SERIALIZE_ERR): They are now a
2488     global named resource.
2489    
2490     * Makefile: Rules to make |XMLParser.pm| is added.
2491    
2492     * XMLParser.dis: New file.
2493    
2494     2005-12-24 Wakaba <wakaba@suika.fam.cx>
2495    
2496     * DOMCore.dis (ManakaiDOMError._FORMATTER_PACKAGE_): Error
2497     message formatter can now vary by error types.
2498     (DOMLocator.utf32Offset): New (manakai extended) attribute.
2499    
2500 wakaba 1.95 2005-12-23 Wakaba <wakaba@suika.fam.cx>
2501    
2502     * DOMCore.dis (DOMLocator): Implemented.
2503    
2504 wakaba 1.94 2005-12-21 Wakaba <wakaba@suika.fam.cx>
2505    
2506     * DOMCore.dis (DOMConfigurationParameterApplication,
2507     domConfigurationParameter): New resources.
2508    
2509 wakaba 1.93 2005-11-25 Wakaba <wakaba@suika.fam.cx>
2510    
2511     * Tree.dis (NodeList.___report_error, NamedNodeMap.___report_error):
2512     New methods.
2513    
2514 wakaba 1.91 2005-11-24 Wakaba <wakaba@suika.fam.cx>
2515    
2516 wakaba 1.92 * DOMMain.dis, DOMLS.dis, DOMXML.dis, Tree.dis: Old |__WARNING__|
2517     blocks are replaced by |DOMError|-based |__DOMCore:ERROR__| blocks.
2518    
2519     * DOMMain.dis (___report_error): Throws the error unkess
2520     it is a |DOMCore:DOMError| object.
2521    
2522     2005-11-24 Wakaba <wakaba@suika.fam.cx>
2523    
2524 wakaba 1.91 * DOMCore.dis (severity, type): Getters return value from
2525     the definition of the current error (i.e. |-def| hash).
2526     (___error_def): New method.
2527     (errorType): |dis:dataType| changed to |DISCore:TFQNames|
2528     to ease natural reference to constant value.
2529     (error-handler.default): Prints the error message by |warn|.
2530    
2531     * Tree.dis (nodeValue.set): Reimplemented so that it
2532     warns as setting has no effect.
2533     (___report_error): New method. (It had been only implemented
2534     in superclass.)
2535     (setting-node-value-no-effect): New error type.
2536    
2537 wakaba 1.90 2005-11-23 Wakaba <wakaba@suika.fam.cx>
2538    
2539     * DOMCore.dis: Error codes added.
2540    
2541     * Tree.dis (destroyNodeStem): New method implementation.
2542    
2543     2005-11-22 Wakaba <wakaba@suika.fam.cx>
2544    
2545     * Tree.dis (cloneNode): User data handlers implemented.
2546     (adoptNode): User data handlers implemented.
2547    
2548     2005-11-21 Wakaba <wakaba@suika.fam.cx>
2549    
2550     * DOMCore.dis (UserDataHandler): A constraint for Perl binding
2551     added.
2552    
2553     * Tree.dis (cloneNode): Invoking of |UserDataHandler|s are implemented.
2554     (getUserData, setUserData): Implemented.
2555    
2556 wakaba 1.88 2005-11-20 Wakaba <wakaba@suika.fam.cx>
2557    
2558 wakaba 1.89 * DOMCore.dis (UserDataHandler): Implemented.
2559     (DOMErrorHandler): Blessed package name bug fixed.
2560    
2561     * ManakaiDOMLS2003.dis: Reference to |Node| subclasses
2562     changed to |Tree.dis|.
2563    
2564     2005-11-20 Wakaba <wakaba@suika.fam.cx>
2565    
2566 wakaba 1.88 * DOMMain.dis: Unused declarations and definitions removed.
2567    
2568     * DOMCore.dis: DOM document tree related interfaces removed.
2569    
2570     * Tree.dis: New module separated from |DOMCore.dis|.
2571    
2572     * DOMXML.dis: Some referent changed to |Tree.dis|.
2573    
2574     * Makefile: |Tree.dis| added.
2575    
2576 wakaba 1.86 2005-11-16 Wakaba <wakaba@suika.fam.cx>
2577    
2578 wakaba 1.87 * .cvsignore: Revised.
2579    
2580     2005-11-16 Wakaba <wakaba@suika.fam.cx>
2581    
2582 wakaba 1.86 * ManakaiDOMLS2003.dis: Tests added.
2583     (domConfig): Method name in the code fixed to |flag|.
2584    
2585     * DOMMain.dis (findOffset32): Missing |^| in regular expressions
2586     added.
2587    
2588     * DOMCore.dis (hasChildNodes): Returns |false| if the node type
2589     is defined not to have any children.
2590     (CharacterData): Typos in element type names and function names fixed.
2591    
2592 wakaba 1.84 2005-11-15 Wakaba <wakaba@suika.fam.cx>
2593    
2594 wakaba 1.85 * DOMFeature.dis (MinimumImplementation.eq): Added.
2595    
2596     * DOMMain.dis: |DISPerl:ISA| reference fixed.
2597    
2598     * Generic.dis: Implements new |DOMLS:Generic| feature.
2599    
2600     2005-11-15 Wakaba <wakaba@suika.fam.cx>
2601    
2602 wakaba 1.84 * DOMFeature.dis (stringifyFeatures): Don't double |SPACE|
2603     characters between feature names and versions.
2604    
2605     2005-11-13 Wakaba <wakaba@suika.fam.cx>
2606    
2607     * DOMFeature.dis (stringifyFeatures): A test code added.
2608    
2609 wakaba 1.83 2005-10-26 Wakaba <wakaba@suika.fam.cx>
2610    
2611     * SimpleLS.dis (writeToString): Don't stop serializing
2612     when an |false| value appears in |@src|.
2613    
2614 wakaba 1.81 2005-10-16 Wakaba <wakaba@suika.fam.cx>
2615    
2616 wakaba 1.82 * DOMCore.dis (DOMError, DOMErrorHandler): Reimplemented.
2617     (ErrDef): Redefined.
2618    
2619     * DOMLS.dis (ErrDef): Redefined.
2620    
2621     2005-10-16 Wakaba <wakaba@suika.fam.cx>
2622    
2623 wakaba 1.81 * DOMCore.dis (DOMConfiguration): Extends "ManakaiDOM:ManakaiDOMObject".
2624    
2625 wakaba 1.80 2005-10-15 Wakaba <wakaba@suika.fam.cx>
2626    
2627     * DOMCore.dis (Require): References "DOMLS.dis" module.
2628     (CParam): Definitions for LS module added.
2629    
2630     * DOMLS.dis (ManakaiDOMLSInput): The input processor
2631     is also an output processor now.
2632     (ManakaiDOMLSResourceResolver): Implemented.
2633     (CParam): Definitions updated.
2634    
2635     2005-10-14 Wakaba <wakaba@suika.fam.cx>
2636    
2637     * DOMCore.dis (NOT_RECOGNIZED_CONFIG_PARAM_ERR,
2638     NOT_SUPPORTED_CONFIG_VALUE_ERR,
2639     INCOMPATIBLE_CONFIG_VALUE_ERR): New error subcodes.
2640     (DOMConfiguration): Implemented.
2641     (CParam): Definitions updated.
2642    
2643     * DOMMain.dis (DOMURIs): New data type.
2644    
2645 wakaba 1.79 2005-10-13 Wakaba <wakaba@suika.fam.cx>
2646    
2647     * DOMCore.dis (setAttrValueNS): New code.
2648    
2649 wakaba 1.78 2005-10-12 Wakaba <wakaba@suika.fam.cx>
2650    
2651     * DOMCore.dis: Don't set "infoset:prefix" internal
2652     property unless it has non-null value.
2653     (newObject): "refNode" parameter introduced.
2654     (ManakaiDOMNode.newObject): Calls "NodeStem.newNode"
2655     method if "refNode" parameter is specified.
2656     (cloneNode): Don't set "read-only" flag.
2657     (getNodeReference): Caches the result.
2658     (selectAttributeNodeForRemove): Don't removes any other
2659     non-namespace-aware attribute nodes.
2660    
2661 wakaba 1.77 2005-10-11 Wakaba <wakaba@suika.fam.cx>
2662    
2663     * DOMCore.dis (appendChild, createElementNS, createAttributeNS,
2664     setAttribute, setAttributeNS): "strictErrorChecking" attribute supported.
2665     (doStrictErrorChecking): New code.
2666    
2667     * DOMMain.dis (XML10Name, XML11Name): "strictErrorChecking" attribute
2668     supported.
2669    
2670     * Makefile: Rule to make "DOMFeature.pm" restored.
2671    
2672     2005-10-10 Wakaba <wakaba@suika.fam.cx>
2673    
2674     * DOMCore.dis (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2675     (adoptNode): Implemented.
2676    
2677 wakaba 1.76 2005-10-09 Wakaba <wakaba@suika.fam.cx>
2678    
2679     * DOMHTML.dis, DOMWebForms.dis: Typos in element type prefix fixed.
2680    
2681     * DOMFeature.dis (DOMCore:implementation): Short name added.
2682    
2683     * DOMCore.dis (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error subcode.
2684     (DOMCore:node): New error parameter.
2685     (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2686     to "mn:xrefnode0". For this reason, all assignments
2687     to this property have been rewritten to references
2688     to code "mn:setXRefNode".
2689     (cloneNode): Implemented.
2690     (setAttributeNode): A missing "importTree" method call added.
2691     (setAttributeNodeNS): Perl code removed and changed
2692     to a reference to "setAttributeNode" method code.
2693    
2694     * DOMXML.dis (DOMCore:ownerDocument): Changed from "mn:irefnode0"
2695     property to "mn:xrefnode0" property.
2696    
2697 wakaba 1.75 2005-10-08 Wakaba <wakaba@suika.fam.cx>
2698    
2699     * DOMCore.dis, DOMLS.dis: Now constant values are defined only
2700     in interfaces.
2701    
2702 wakaba 1.74 2005-10-06 Wakaba <wakaba@suika.fam.cx>
2703    
2704     * DOMCore.dis (ManakaiDOMEmptyNodeList): New class.
2705     (ManakaiDOMCharacterData): Methods reimplemented.
2706     (splitText): Reimplemented.
2707     (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2708     for non-parent node types.
2709    
2710     * DOMXML.dis (childNodes): Returns a "ManakaiDOMEmptyNodeList"
2711     for non-parent node types.
2712    
2713     2005-10-05 Wakaba <wakaba@suika.fam.cx>
2714    
2715     * ManakaiDOMLS2003.dis: Revised to new format.
2716    
2717     * GenericLS.dis (DOMLS:ParseString): New feature.
2718    
2719 wakaba 1.73 2005-10-05 Wakaba <wakaba@suika.fam.cx>
2720    
2721     * DOMFeature.dis: Description added and revised. (Still more
2722     work required.)
2723    
2724     2005-10-04 Wakaba <wakaba@suika.fam.cx>
2725    
2726     * DOMMain.dis (DOMString): The "idl:perl" attribute
2727     value has been changed from "DISPerl:String"
2728     to "DISPerl:CharacterString" to clarify its semantics.
2729    
2730 wakaba 1.72 2005-10-03 Wakaba <wakaba@suika.fam.cx>
2731    
2732     * DOMFeature.dis (MIString): Java, ECMAScript, and Perl bound
2733     type properties added.
2734    
2735     * DOMMain.dis (DataType): Java, ECMAScript, and Perl bound
2736     type properties added.
2737    
2738 wakaba 1.71 2005-10-02 Wakaba <wakaba@suika.fam.cx>
2739    
2740     * DOMFeature.dis (Module): "idl:prefix" and "idl:moduleName"
2741     properties added.
2742    
2743 wakaba 1.70 2005-10-01 Wakaba <wakaba@suika.fam.cx>
2744    
2745     * DOMFeature.dis: Documentation added (still work in progress).
2746     (MIString): New type.
2747    
2748     * DOMCore.dis (namespaceURI): Fixed to return the namespace
2749     URI value, not a reference to it.
2750    
2751 wakaba 1.69 2005-09-30 Wakaba <wakaba@suika.fam.cx>
2752    
2753     * DOMCore.dis, SimpleLS.dis: Shares namespace URIs and local
2754     names where possible.
2755    
2756     * DOMFeature.dis: Documentation for DOM Minimum Implementation
2757     added (still work in progress).
2758    
2759     * Makefile (feature.dae, feature-spec.dae): New rules.
2760    
2761 wakaba 1.67 2005-09-27 Wakaba <wakaba@suika.fam.cx>
2762    
2763     * DOMCore.dis (DOMCore:nodeProp): New property.
2764    
2765 wakaba 1.68 * DOMCore.dis, DOMXML.dis: Codes to set properties "TreeCore:*"
2766     is removed.
2767    
2768 wakaba 1.66 2005-09-26 Wakaba <wakaba@suika.fam.cx>
2769    
2770     * DOMCore.dis, DOMXML.dis: New mn:* properties added.
2771    
2772 wakaba 1.65 2005-09-25 Wakaba <wakaba@suika.fam.cx>
2773    
2774     * Makefile (DAC_SUFFIX): Changed to ".dae".
2775     (DAEM_SUFFIX): New.
2776    
2777 wakaba 1.64 2005-09-24 Wakaba <wakaba@suika.fam.cx>
2778    
2779     * DOMMain.dis (MDOM:): Reintroduced for "ManakaiDOM:ManakaiDOM1"
2780     and "ManakaiDOM:ManakaiDOM2".
2781    
2782     * DOMFeature.dis, DOMMain.dis, DOMCore.dis, DOMXML.dis,
2783     DOMLS.dis, SimpleLS.dis, GenericLS.dis: Use disPerl:H
2784     instead of disPerl:Q for internal property hash keys.
2785    
2786     * DOMFeature.dis, DOMCore.dis, DOMXML.dis: Missing property
2787     definitions added.
2788    
2789     * DOMCore.dis (DOMCore:TextNode, DOMCore:DocumentFragmentNode):
2790     New resources.
2791    
2792     * DOMXML.dis (DOMXML:EntityNode, DOMXML:EntityReferenceNode): New
2793     resources.
2794    
2795 wakaba 1.63 2005-09-23 Wakaba <wakaba@suika.fam.cx>
2796    
2797     * GenericLS.dis, SimpleLS.dis: New modules separated
2798     from DOMLS.dis.
2799    
2800     * DOMFeature.dis, DOMMain.dis: "MDOM:" and "for" definitions
2801     moved from DOMMain to DOMFeature. Now DOMFeature
2802     has no dependency on DOMMain.
2803    
2804     * DOMFeature.dis (DEBUG): New variable.
2805    
2806 wakaba 1.62 2005-09-22 Wakaba <wakaba@suika.fam.cx>
2807    
2808     * Makefile: DAC_SUFFIX changed to ".dad".
2809    
2810 wakaba 1.61 2005-09-21 Wakaba <wakaba@suika.fam.cx>
2811    
2812     * DOMCore.pm (DOMImplementation): Provides "XML" and "XMLVersion"
2813     features if it is "for" ManakaiDOM:DOMXMLFeature.
2814    
2815 wakaba 1.74 * DOMMain.pm (StringExtend): Code portions of raising
2816 wakaba 1.61 StringOutOfBoundsException is temporary disabled since
2817     it is not a DOM-style exception supported by
2818     current implementation of ManakaiNode - it will be
2819     recovered in later revision.
2820    
2821 wakaba 1.60 2005-09-20 Wakaba <wakaba@suika.fam.cx>
2822    
2823     * DOMFeature.pm: Debug output code copied
2824     from Attic/DOMMetaImpl.pm (Should these code incorporated
2825     to source dis file?).
2826    
2827 wakaba 1.59 2005-09-19 Wakaba <wakaba@suika.fam.cx>
2828    
2829     * DOMMain.dis (ManakaiDOM:DOMMethod, ManakaiDOM:DOMMethodReturn,
2830     ManakaiDOM:DOMAttribute, ManakaiDOM:DOMAttrGet,
2831     ManakaiDOM:DOMAttrSet, ManakaiDOM:DOMMethodParam): Removed.
2832     (ManakaiDOMTimeStamp): Removed.
2833    
2834     * DOMBoot.dis, DOMMetaImpl.dis, DOMMetaImpl.pm: Removed (they are no
2835     longer in use).
2836    
2837     2005-09-18 Wakaba <wakaba@suika.fam.cx>
2838    
2839     * DOMMain.dis (StringOutOfBoundsException): New exception.
2840    
2841 wakaba 1.58 2005-09-15 Wakaba <wakaba@suika.fam.cx>
2842    
2843     * DOMFeature.dis: dis:dataType and dis:multipleProperties
2844     properties added to properties.
2845    
2846 wakaba 1.57 2005-09-08 Wakaba <wakaba@suika.fam.cx>
2847    
2848     * Makefile: Rules renewaled.
2849    
2850     2005-09-07 Wakaba <wakaba@suika.fam.cx>
2851    
2852     * DOMCore.dis, DOMXML.dis, DOMLS.dis: Inheritance information fixed.
2853    
2854     2005-09-05 Wakaba <wakaba@suika.fam.cx>
2855    
2856     * DOMMain.dis (DOMImplementationRegistry,
2857     DOMImplementationRegistryVar): New.
2858    
2859     * DOMFeature.dis (DOMImplementationRegistry,
2860     DOMImplementationRegistryVar): Removed.
2861     (ImplementationRegistry): New class.
2862    
2863 wakaba 1.56 2005-09-04 Wakaba <wakaba@suika.fam.cx>
2864    
2865     * DOMFeature.dis: New module.
2866    
2867     * DOMMetaImpl.dis (ManakaiDOM:ManakaiDOMObject): Removed.
2868    
2869     * DOMMain.dis (ManakaiDOM:ManakaiDOMObject): New.
2870     (DOMString, DOMTimeStamp): Now they are not interfaces
2871     but datatypes.
2872     (DOMUserData, DOMObject, DOMUserData): Now they
2873     are subtypes rather than aliases of their "real" type in IDL.
2874    
2875     * DOMCore.dis (DOMImplementationList, DOMImplementationSource):
2876     New interfaces and classes.
2877    
2878 wakaba 1.55 2005-09-01 Wakaba <wakaba@suika.fam.cx>
2879    
2880     * DOMCore.dis (setTextNodeContent): Sets the infoset:parent
2881     property of the new Text node.
2882    
2883 wakaba 1.54 2005-08-29 Wakaba <wakaba@suika.fam.cx>
2884    
2885     * Makefile: Loads "NaturalLanguage.dis".
2886    
2887     2005-08-26 Wakaba <wakaba@suika.fam.cx>
2888    
2889     * DOMCore.dis (createDocument): Set "ownerDocument" attribute
2890     to the root element created by the method. (It was forgotten!!)
2891    
2892 wakaba 1.53 2005-08-15 Wakaba <wakaba@suika.fam.cx>
2893    
2894     * DOMCore.dis (appendChild, insertBefore, replaceChild): Typo
2895     in the code of removing the newChild from the previous
2896     parent of that node is fixed.
2897    
2898 wakaba 1.52 2005-05-29 Wakaba <wakaba@suika.fam.cx>
2899    
2900     * DOMLS.dis (SimpleSerializer): End tag was sometimes missing. Use
2901     namespace prefix of element type if it is not declared
2902     but not used else. A shift is replaced by pop:).
2903    
2904     * DOMCore.dis (getFeature): The getFeature method
2905     for Node-derived classes implemented.
2906     * DOMXML.dis (getFeature): Ditto.
2907    
2908 wakaba 1.51 2005-05-21 Wakaba <wakaba@suika.fam.cx>
2909    
2910     * DOMCore.dis (getNodeReference): Use HTMLDocument class
2911     if a document node has no document element node but
2912     has support for the "HTML" feature.
2913    
2914 wakaba 1.50 2005-03-03 Wakaba <wakaba@suika.fam.cx>
2915    
2916     * DOMMetaImpl.dis (features input normalizer): Variable name
2917     typo fixed.
2918     (ManakaiDOMImplementationSource.getDOMImplementation): Fixed bug
2919     so that version specification for "+"'ed feature name does work now.
2920    
2921 wakaba 1.49 2005-03-02 Wakaba <wakaba@suika.fam.cx>
2922    
2923     * DOMBoot.dis (ResourceDef): Definitions for DOMFeature are
2924     removed (now defined in DOMMetaImpl).
2925    
2926 wakaba 1.48 2005-02-21 Wakaba <wakaba@suika.fam.cx>
2927    
2928     * DOMMetaImpl.dis (IFClsDef[ManakaiDOMMinimumImplementation]): New.
2929    
2930     * Makefile: Rules for DOMMetaImpl module added.
2931    
2932 wakaba 1.47 2005-02-20 Wakaba <wakaba@suika.fam.cx>
2933    
2934     * DOMMetaImpl.dis: New module (split from DOMCore and DOMMain).
2935    
2936 wakaba 1.45 2005-02-18 Wakaba <wakaba@suika.fam.cx>
2937    
2938 wakaba 1.46 * DOMCore.dis (getFeature): ManakaiDOM:ManakaiDOMNodeObject.newReference
2939     is an instance method, not a class method.
2940    
2941 wakaba 1.45 * DOMMain.dis (ResourceTypeDef[ManakaiDOM:Const,
2942     ManakaiDOM:ConstGroup]): Removed (moved to "lib/manakai/DISLang.dis").
2943     (Exception-related definitions): Removed (moved to
2944     "lib/Message/Util/Error/DOMException.dis").
2945     (ForDef[ManakaiDOM:ForIF, ManakaiDOM:ForClass]): Removed (moved
2946     to DISLang).
2947    
2948     2005-02-17 Wakaba <wakaba@suika.fam.cx>
2949    
2950     * DOMMain.dis: Definitions for "ManakaiDOM:ManakaiDOMNodeObject" and
2951     "ManakaiDOM:ManakaiDOMNodeReference" are removed (moved to
2952     "lib/Message/Util/ManakaiNode.dis").
2953     (ResourceDef[ManakaiDOM:DataType]): Removed (moved to
2954     "lib/manakai/DISCore.dis").
2955     (ResourceTypeDef[ManakaiDOM:IF, ManakaiDOM:Class,
2956     ManakaiDOM:PrimitiveTypeClass]): Removed (moved to
2957     "lib/manakai/DISLang.dis").
2958    
2959     2005-02-16 Wakaba <wakaba@suika.fam.cx>
2960    
2961     * DOMMain.dis (ForDef[ManakaiDOM:Perl]): Removed (moved to
2962     DISPerl module).
2963    
2964 wakaba 1.44 2005-01-07 Wakaba <wakaba@suika.fam.cx>
2965    
2966     * DOMCore.dis: Each "delete array-item" replaced to a "splice".
2967    
2968 wakaba 1.43 2005-01-06 Wakaba <wakaba@suika.fam.cx>
2969    
2970     * DOMMain.dis (ensureXMLName): Test as if XML 1.0 if it is not an
2971     XML document.
2972    
2973 wakaba 1.42 2005-01-05 Wakaba <wakaba@suika.fam.cx>
2974    
2975     * DOMMain.dis (ManakaiDOMExceptionOrWarning.stringify): New method.
2976     (IntMethod[isExternallyReferred]): Rewritten.
2977     (IntMethod[isExternallyReferredDownward]): Removed.
2978     (Checking XML name legallity): Fix true or false mistakes.
2979     (destroy, importTree, orphanate): Rewritten.
2980     (destroyDownward, changeTreeIDDownward): Removed.
2981     (TreeCore:urefnode property): Removed since not used.
2982    
2983     * DOMCore.dis: Tying array for NodeList implemented.
2984    
2985     2005-01-02 Wakaba <wakaba@suika.fam.cx>
2986    
2987     * DOMHTML.dis (HTMLDOMImplementation): New interface.
2988    
2989     * DOMViews.dis: Documentation for properties are added.
2990    
2991 wakaba 1.40 2004-12-29 Wakaba <wakaba@suika.fam.cx>
2992    
2993 wakaba 1.41 * Makefile: DOMXML, DOMEvents, DOMLS and ManakaiDOMLS2003 added.
2994    
2995 wakaba 1.40 * ManakaiDOMCore.dis: Removed (merged with DOMCore.dis).
2996    
2997 wakaba 1.39 2004-12-28 Wakaba <wakaba@suika.fam.cx>
2998    
2999     * ManakaiDOMXML.dis: Removed (merged with DOMXML.dis).
3000    
3001 wakaba 1.38 2004-12-01 Wakaba <wakaba@suika.fam.cx>
3002    
3003     * ManakaiDOMMain.dis: Removed (merged with DOMMain.dis).
3004    
3005 wakaba 1.37 2004-11-03 Wakaba <wakaba@suika.fam.cx>
3006    
3007     * .cvsignore: Ignore pod files.
3008    
3009 wakaba 1.36 2004-10-31 Wakaba <wakaba@suika.fam.cx>
3010    
3011     * DOMXML.dis (ProcessingInstruction.data): Property name error fixed.
3012    
3013     * DOMMain.dis: Don't call DOMString->__INT{length}__ - it should
3014     be DOMString->length.
3015    
3016     * DOMCore.dis (Element.getElementsByTagName,
3017     Node.getElementsByTagName, Element.getElementsByTagNameNS,
3018     Node.getElementsByTagNameNS): Implemented.
3019     (Element.getAttributeNode, Element.getAttributeNodeNS):
3020     Check whether defined.
3021    
3022 wakaba 1.35 2004-10-18 Wakaba <wakaba@suika.fam.cx>
3023    
3024     * DOMWebForms.dis: New module.
3025    
3026 wakaba 1.33 2004-10-17 Wakaba <wakaba@suika.fam.cx>
3027    
3028 wakaba 1.34 * DOMBasicEvents.dis, DOMHTMLEvents.dis, DOMViews.dis,
3029     DOMHTML.dis: New modules.
3030 wakaba 1.33
3031 wakaba 1.32 2004-10-16 Wakaba <wakaba@suika.fam.cx>
3032    
3033     * DOMMouseEvents.dis, DOMTextEvents.dis: New module.
3034    
3035 wakaba 1.30 2004-10-11 Wakaba <wakaba@suika.fam.cx>
3036    
3037     * ManakaiDOMMain.dis: 'TreeCore:anydata2' property type added.
3038 wakaba 1.31 (DataType[ManakaiDOMKeyIdentifier, ManakaiDOMKeyIdentifiers]): added.
3039 wakaba 1.30
3040 wakaba 1.28 2004-10-10 Wakaba <wakaba@suika.fam.cx>
3041 wakaba 1.30
3042     * DOMEvents.dis: New module.
3043 wakaba 1.28
3044 wakaba 1.29 * ManakaiDOMCore.dis (ManakaiDOMAttributes.item): Return
3045     node reference.
3046    
3047     * ManakaiDOMLS2003.dis (error_handler): '$caller' changed
3048     to '$self' for correct error reporting and not to leak memory.
3049    
3050 wakaba 1.28 * Makefile (DIS2PM_PL): Path to dis2pm.pl changed.
3051     * dis2pm.pl, idl2dis.pl: Removed (moved to ../../bin/).
3052    
3053 wakaba 1.26 2004-10-09 Wakaba <wakaba@suika.fam.cx>
3054    
3055 wakaba 1.28 * DOMCore.dis (ConfigParam): Moved from ManakaiDOMCore.
3056     * ManakaiDOMCore.dis (ConfigParam): Removed.
3057    
3058 wakaba 1.27 * dis2pm.pl: Functions to create perl/pod structures
3059     are moved to ../../bin/genlib.pl.
3060 wakaba 1.28 (disdoc2pod, disdoc2text): Allow LESS-THAN SIGN as the first
3061     character of a paragraph.
3062 wakaba 1.27
3063 wakaba 1.26 * ManakaiDOMLS2003.dis (ManakaiXMLParser2003/parse:#comment):
3064     Set ownerDocument as parent if parent.ownerDocument is null.
3065    
3066     * dis2pm.pl (dis2perl): Report if DIS code has value.
3067    
3068     2004-10-06 Wakaba <wakaba@suika.fam.cx>
3069    
3070     * ManakaiDOMCore.dis (IFs): Inherit non-conditional version
3071     of ManakaiDOMMain interfaces.
3072    
3073     * DOMCore.dis (Node.childNodes): Typo fixed.
3074    
3075     * ManakaiDOMLS2003.dis (parse): Check whether the namespace
3076     prefix is null.
3077    
3078     * dis2pm.pl (perl_builtin_code): Allow hash reference as 'features'.
3079     (Condition): Don't generate condition inheritance for DOM1, DOM2
3080     and DOM3.
3081    
3082 wakaba 1.25 2004-09-30 Wakaba <wakaba@suika.fam.cx>
3083    
3084     * dis2pm.pl (disdoc_inline2pod, disdoc_inline2text): New
3085     element type 'FILE' added.
3086    
3087     * ManakaiDOMMain.dis (ManakaiDOMExceptionOrWarning,
3088     ManakaiDOMException, ManakaiDOMWarning): New classes.
3089     (ManakaiDOMObject/___report_error): Implemented.
3090    
3091     * dis2pm.pl (perl_builtin_code:ParseFeature): Recognize leading '+'.
3092    
3093 wakaba 1.24 2004-09-29 Wakaba <wakaba@suika.fam.cx>
3094    
3095     * dis2pm.pl (get_redef_description, attr2perl, method2perl, if2perl):
3096     New attribute 'IsAbstract', 'IsFinal' and 'ImplByApp' added.
3097    
3098     2004-09-27 Wakaba <wakaba@suika.fam.cx>
3099    
3100     * .cvsignore: New file.
3101    
3102 wakaba 1.22 2004-09-27 Wakaba <wakaba@suika.fam.cx>
3103    
3104 wakaba 1.23 * DOMLS.dis, ManakaiDOMLS2003: New file.
3105    
3106 wakaba 1.22 * dis2pm.pl (MAIN): Output "AUTHOR" pod section; support Perl+MPL
3107     license.
3108 wakaba 1.23 (disdoc2pod, disdoc2text): New 'DFN', 'SA', 'SE', 'HA', 'HE',
3109     'XA', 'XE', 'Prefix', 'ERR', 'EV' and 'CP' element types supported.
3110     (perl_name): Die if uninitialized value.
3111     (constgroup2perl): Support constant group without machine-name.
3112     (pod_item): Die if uninitialized value.
3113     (qname_label): Don't output default prefix.
3114 wakaba 1.22
3115     * idl2dis.pl: Output module name and prefix as 'BindingName'
3116     and 'FileName'.
3117    
3118 wakaba 1.20 2004-09-26 Wakaba <wakaba@suika.fam.cx>
3119    
3120 wakaba 1.21 * dis2pm.pl (constgroup2perl): Capitalize name.
3121    
3122     * idl2dis.pl (type, raise): Prepend namespace prefix if
3123     type is 'DOMString' or 'DOMException' and it is not defined.
3124     (MAIN): Make empty 'Return' element even if return
3125     value is void.
3126     (supply_incase): New.
3127     (const): Use 'FullName' in favor of 'Description' if the name of
3128     the const group is not a machine-friendly name.
3129    
3130     2004-09-26 Wakaba <wakaba@suika.fam.cx>
3131    
3132 wakaba 1.20 * dis2pm.pl (get_incase_label): Error if label is undef.
3133    
3134 wakaba 1.19 2004-09-25 Wakaba <wakaba@suika.fam.cx>
3135    
3136     * dis2pm.pl: Generate TODO list.
3137     (method2perl): Use "dis".
3138     (disdoc2pod, disdoc2text): 'HTML', 'InfosetP' element types added.
3139     (perl_builtin_code): New code 'isRelativeDOMURI' added.
3140    
3141     * ManakaiDOMMain.dis (MDOM_REPLACE_BY_ITSELF_NO_EFFECT): New
3142     warning code.
3143    
3144     * dis2pm.pl (attr2perl, method2perl): Output 'undef;' if the
3145     method or attribute(set) does not return a value.
3146     (perl_code): New macro 'WHEN' added. Macro 'INT{}' now allow
3147     parameter.
3148    
3149 wakaba 1.18 2004-09-24 Wakaba <wakaba@suika.fam.cx>
3150    
3151     * dis2pm.pl (perl_exception): New 'subtype' parameter added.
3152     (param2poditem): New.
3153     (MAIN): Write 'NAMESPACE BINDINGS' pod section if necessary.
3154     (perl_builtin_code): More developer-friendly error report.
3155     (perl_code): New 'REQUIRE' statement added.
3156     (disdoc2text, disdoc2pod): New 'QUOTE' element type added.
3157     (get_value_literal): Default for unknown type is now 'undef'.
3158    
3159     2004-09-22 Wakaba <wakaba@suika.fam.cx>
3160    
3161     * dis2pm.pl (perl_builtin_code): New 'CheckName' and
3162     'XMLVersion' added.
3163    
3164 wakaba 1.16 2004-09-20 Wakaba <wakaba@suika.fam.cx>
3165    
3166 wakaba 1.17 * dis2pm.pl (get_redef_description): See 'RedefinedBy' elements
3167     even if it is 'ReMethod' and 'ReAttr' element.
3168    
3169     2004-09-20 Wakaba <wakaba@suika.fam.cx>
3170    
3171 wakaba 1.16 * dis2pm.pl (type_label): New option 'is_pod' implemented.
3172     (get_redef_description): New function.
3173     (get_isa_description): New function.
3174     (disdoc2pod, disdoc2text): New.
3175     (get_description): DISDOC support.
3176     (valid_err, valid_err): New option 'node' implemented.
3177    
3178     * ManakaiDOMCore.dis (IF[ManakaiDOMNodeObjectNode]): New.
3179    
3180 wakaba 1.13 2004-09-19 Wakaba <wakaba@suika.fam.cx>
3181    
3182 wakaba 1.15 * dis2pm.pl (condition_match): Report error if the condition
3183     not defined.
3184    
3185     * ManakaiDOMMain.dis (MDOM_IMPL_BY_APP): New exception code.
3186    
3187 wakaba 1.14 * dis2pm.pl (datatype2perl, datatypealias2perl): "FullName" attribute
3188     introduced.
3189 wakaba 1.15 (constgroup2perl): Define is-a relationship between group
3190     Name and its Type.
3191     (constgroup2perl): "IsBitMask" attribute introduced.
3192 wakaba 1.14
3193     * ManakaiDOMMain.dis: Renamed from "ManakaiDOM.dis".
3194    
3195 wakaba 1.13 * dis2pm.pl (type_label): Type label for unsigned-long and
3196     unsigned-short added.
3197     (perl_code): Die if uninitialized value is given.
3198     (is_all_implemented): New function.
3199    
3200     * ManakaiDOMXML.dis: New module.
3201    
3202     * ManakaiDOMCore.dis: New module.
3203    
3204     * dis2pm.pl (dis2perl): 'Overridden' added.
3205    
3206 wakaba 1.12 2004-09-18 Wakaba <wakaba@suika.fam.cx>
3207    
3208     * ManakaiDOM.dis (MDOM_NEWCHILD_IS_REFCHILD): New warning.
3209     (ManakaiDOMNodeObject->orphanate): New internal method.
3210     (Interface[ManakaiDOMNodeObject, ManakaiDOMNodeReference]): All calls
3211     of internal methods are now qualified by the package name.
3212    
3213 wakaba 1.11 2004-09-17 Wakaba <wakaba@suika.fam.cx>
3214    
3215     * DOMMain.dis: 'SpecLevel' attribute added.
3216    
3217     * idl2dis.pl (level): Set 'SpecLevel' attribute as well as 'Level'.
3218    
3219     * dis2pm.pl (get_level_description): Attribute name to see is
3220     changed from 'Level' to 'SpecLevel'
3221     (const2perl): Don't hardlink constant not to be warned
3222     by perl -w.
3223     (ops2perl): Declare subroutine 'DESTROY' not to be warned by
3224     perl -w.
3225 wakaba 1.12 (get_internal_code): Support of lang:dis.
3226 wakaba 1.11
3227     * ManakaiDOM.dis (newReference): New parameter 'class' introduced.
3228    
3229     * dis2pm.pl (perl_builtin_code:<ManakaiDOM:ManakaiDOMNamespaceURI>):
3230     Separeted from "DOMString".
3231     (if2perl, attr2perl): Don't cast to DOMString.
3232    
3233 wakaba 1.10 2004-09-15 Wakaba <wakaba@suika.fam.cx>
3234    
3235     * dis2pm.pl (perl_builtin_code): __CODE{CheckNCName}__ implemented.
3236     (perl_if): Don't indent if preprocessing direction found.
3237     (perl_code_source): Add \n before the #line directive.
3238    
3239     2004-09-14 Wakaba <wakaba@suika.fam.cx>
3240    
3241     * dis2pm.pl (get_internal_code): __INT{{name}}__ syntax now support
3242     attribute.
3243     (perl_code): __SUPER{name}__ syntax implemented.
3244    
3245 wakaba 1.9 2004-09-13 Wakaba <wakaba@suika.fam.cx>
3246    
3247     * dis2pm.pl (dis2perl): New.
3248    
3249     2004-09-12 Wakaba <wakaba@suika.fam.cx>
3250    
3251     * dis2pm.pl (get_warning_perl_code): New.
3252    
3253 wakaba 1.8 2004-09-10 Wakaba <wakaba@suika.fam.cx>
3254    
3255     * ManakaiDOM.dis (MDOM_NS_EMPTY_URI): New Exception type.
3256     (ManakaiDOMNamespaceURI): New DataType.
3257    
3258     * DOMCore.dis: Most part of DOMImplementation interface is
3259     implemented.
3260    
3261     * dis2pm.pl (method2perl): Description for returned value
3262     is changed to be grouped.
3263     (get_value_literal): Don't quote "null" even if it is a DOMString.
3264     (perl_exception): Don't output terminating semicolon.
3265     (perl_builtin_code): ManakaiDOM:ManakaiDOMNamespaceURI is
3266     supported.
3267    
3268 wakaba 1.7 2004-09-09 Wakaba <wakaba@suika.fam.cx>
3269 wakaba 1.8
3270     * dis2pm.pl (method2perl, attr2perl): '(Return | Get | Set)/Exception'
3271     implemented.
3272 wakaba 1.7
3273     * idl2dis.pl (type): Don't output Require element for
3274     DOMMain module (now it is implicitly required by default).
3275    
3276 wakaba 1.6 2004-09-01 Wakaba <wakaba@suika.fam.cx>
3277    
3278     * idl2dis.pl (level): Use 'Level' instead of 'ModifiedLevel'.
3279    
3280 wakaba 1.5 2004-08-31 Wakaba <wakaba@suika.fam.cx>
3281    
3282     * dis2pm.pl (const2perl, constgroup2perl): New.
3283    
3284     * idl2dis.pl (idlna): New.
3285    
3286 wakaba 1.4 2004-08-30 Wakaba <wakaba@suika.fam.cx>
3287    
3288     * dis2pm.pl: Versioned implementation of "IF" supported (see
3289     also Manakai Development Memo : 2004-08-29
3290     <http://suika.fam.cx/~wakaba/-temp/wiki/wiki?manakai%2F%2F%A5%E1%A5%E2%2F%2F2004-08-29>).
3291    
3292     * idl2dis.pl (register_required_module): ISA is now
3293     converted to elements, not a list attribute.
3294    
3295 wakaba 1.2 2004-08-22 Wakaba <wakaba@suika.fam.cx>
3296    
3297 wakaba 1.3 * idl2dis.pl (register_required_module): Top-level element type
3298     name "Type" and "TypeAlias" changed to "DataType" and
3299     "DataTypeAlias".
3300    
3301 wakaba 1.2 * dis2pm.pl (perl_code_source): New function.
3302    
3303 wakaba 1.1 2004-08-21 Wakaba <wakaba@suika.fam.cx>
3304    
3305     * ChangeLog: New file.
3306    
3307     * Makefile, DOMMain.dis, DOMCore.dis, DOMXML.dis, dis2pm.pl, idl2dis.pl:
3308     New files (Moved from ../Markup/XML/DOM/).
3309    
3310    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24