/[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.304 - (hide annotations) (download)
Tue Oct 21 07:51:59 2008 UTC (16 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.303: +7 -0 lines
++ ChangeLog	21 Oct 2008 07:51:49 -0000
2008-10-21  Wakaba  <wakaba@suika.fam.cx>

	* cvscommit.sh: Invoke |mkcommitfeed.pl|.

	* mkcommitfeed.pl: New script (copied from Whatpm repository).

++ manakai/lib/Message/DOM/ChangeLog	21 Oct 2008 07:48:11 -0000
2008-10-21  Wakaba  <wakaba@suika.fam.cx>

	* Document.pm (inner_html): Use Whatpm::XML::Parser for XML
	parsing.

	* Node.pm (manakai_html_language): New attribute.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24