/[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.302 - (hide annotations) (download)
Sat Apr 12 15:58:40 2008 UTC (16 years, 7 months ago) by wakaba
Branch: MAIN
Changes since 1.301: +5 -0 lines
++ manakai/lib/Message/DOM/ChangeLog	12 Apr 2008 14:24:10 -0000
2008-04-12  Wakaba  <wakaba@suika.fam.cx>

	* Element.pm (create_element, create_element_ns): Inputs
	were not normalized into a string.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24