1 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
4 |
|
|
5 |
|
* DOMElement.pm (has_attribute): Alpha version. |
6 |
|
(create_element, create_element_ns): Implemented. |
7 |
|
|
8 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
9 |
|
|
10 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
11 |
|
|
12 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
13 |
|
|
14 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
17 |
|
|
18 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
19 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
20 |
|
when |{manakai_compat_mode}| is |undef|. |
21 |
|
|
22 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
23 |
|
|
24 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
25 |
|
Statements to set |$Error::Depth| are removed since they |
26 |
|
are result in "uninitialized" warnings unless |
27 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
28 |
|
Usually methods invoked in these methods does not |
29 |
|
raise any exception so that it makes no difference. |
30 |
|
|
31 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* DOMDocument.pm (adopt_node): Implemented. |
34 |
|
(doctype): Implemented. |
35 |
|
|
36 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
37 |
|
|
38 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
39 |
|
error type. |
40 |
|
|
41 |
|
* Node.pm (set_user_data): Implemented. |
42 |
|
|
43 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
46 |
|
It will be defined in the DOM Perl Binding specification |
47 |
|
as part of |DOMImplementation| interface. |
48 |
|
($HasFeature): Defined for features support. |
49 |
|
(has_feature, get_feature): Implemented. |
50 |
|
|
51 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
52 |
|
module unless necessary. |
53 |
|
(___report_error): Removed since it is not used in fact. |
54 |
|
|
55 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
56 |
|
DOMImplementationRegistry.pm: New modules. |
57 |
|
|
58 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
61 |
|
|
62 |
|
* DOMStringList.pm: New Perl module. |
63 |
|
|
64 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
67 |
|
at all. |
68 |
|
|
69 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
72 |
|
|
73 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
76 |
|
(manakai_is_html): Revised. |
77 |
|
(Document): Now it implements the |HTMLDocument| interface. |
78 |
|
(adopt_node): Alpha version. |
79 |
|
|
80 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
81 |
|
not |allowed_token|! |
82 |
|
|
83 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
84 |
|
return an |undef| even if its |attribute_definitions| |
85 |
|
list is not created. |
86 |
|
|
87 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
|
* Comment.pm (node_type): Node type was incorrect! |
90 |
|
|
91 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
92 |
|
|
93 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
94 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
95 |
|
New autoload configuration. Note that the Message::Charset::Encode |
96 |
|
module is subject to change. |
97 |
|
|
98 |
|
* XMLParserTemp.pm: Now it can be used with new version |
99 |
|
of DOM implementation. Current plan is to replace it by |
100 |
|
an XML5 parser someday. |
101 |
|
|
102 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
103 |
|
|
104 |
|
* DOMLocator.pm: New module. |
105 |
|
|
106 |
|
* DOMError.pm: New module. |
107 |
|
|
108 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
111 |
|
clone_node, compare_document_position, has_attributes, |
112 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
113 |
|
lookup_prefix, normalize): Implemented. |
114 |
|
|
115 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
116 |
|
|
117 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
118 |
|
|
119 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
120 |
|
|
121 |
|
* AttributeDefinition.pm (____new): Set an empty list |
122 |
|
to the |allowed_tokens| attribute. |
123 |
|
(allowed_token): Alpha version. |
124 |
|
|
125 |
|
* DocumentType.pm (get_element_type_definition_node, |
126 |
|
get_notation_node): ALpha version. |
127 |
|
|
128 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
129 |
|
version. |
130 |
|
|
131 |
|
* Entity.pm (notation_name): Implemented. |
132 |
|
|
133 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
136 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
137 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
138 |
|
(value): Call |text_content| for now. |
139 |
|
|
140 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
141 |
|
(declared_type, default_type): Implemented. |
142 |
|
|
143 |
|
* CharacterData.pm (____new): Allow a scalar reference |
144 |
|
as an input for the |data| attribute. |
145 |
|
(base_uri, manakai_append_text): Implemented. |
146 |
|
|
147 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
148 |
|
|
149 |
|
* DOMDocument.pm (____new): Set default values to |
150 |
|
configuration parameter whose default is true. |
151 |
|
(document_uri, input_encoding): Implemented. |
152 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
153 |
|
(base_uri, manakai_append_text, |
154 |
|
manakai_entity_base_uri, strict_error_checking, |
155 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
156 |
|
|
157 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
158 |
|
(get_attribute, get_attribute_node): Alpha version. |
159 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
160 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
161 |
|
|
162 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
163 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
164 |
|
|
165 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
166 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
167 |
|
manakai_append_text): Implemented. |
168 |
|
(element_types, general_entities, notations, |
169 |
|
set_element_type_definition_node, set_general_entity_node, |
170 |
|
set_notation_node): Alpha version. |
171 |
|
|
172 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
173 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
174 |
|
|
175 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
176 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
177 |
|
manakai_entity_uri): Implemented. |
178 |
|
|
179 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
180 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
181 |
|
|
182 |
|
* Node.pm (base_uri): Implemented. |
183 |
|
(text_content): Don't check read-only or not |
184 |
|
unless |strict_error_checking|. |
185 |
|
(manakai_append_text): Implemented. |
186 |
|
(get_feature): Alpha. |
187 |
|
(manakai_set_read_only): Implemented. |
188 |
|
|
189 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
190 |
|
manakai_declaration_base_uri): Implemented. |
191 |
|
|
192 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
193 |
|
base_uri, manakai_append_text): Implemented. |
194 |
|
|
195 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
196 |
|
|
197 |
|
* DOMConfiguration.pm: New module. |
198 |
|
|
199 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
200 |
|
an exception if the node is read-only. Delete the property |
201 |
|
if undef is specified. |
202 |
|
(prefix): Implemented. |
203 |
|
|
204 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
205 |
|
an exception if the node is read-only. Delete the property |
206 |
|
if undef is specified. |
207 |
|
(prefix): Implemented. |
208 |
|
(text_content, manakai_append_text): Old implementations are removed. |
209 |
|
|
210 |
|
* DOMCharacterData.pm (text_content): Implemented. |
211 |
|
|
212 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
213 |
|
parameter by true. |
214 |
|
(text_content): Reimplemented. |
215 |
|
(dom_config): New. |
216 |
|
|
217 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
218 |
|
|
219 |
|
* DocumentType.pm (text_content): Implemented. |
220 |
|
|
221 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
222 |
|
|
223 |
|
* Node.pm (___report_error): New method. |
224 |
|
(text_content): Implemented. |
225 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
226 |
|
|
227 |
|
* Notation.pm (text_content): Implemented. |
228 |
|
|
229 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
230 |
|
|
231 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
232 |
|
|
233 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
234 |
|
|
235 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
236 |
|
the |Message::Util::Error| class. |
237 |
|
|
238 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
239 |
|
(CLEAR): Not all items were removed. |
240 |
|
|
241 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
244 |
|
DocumentType.pm, Entity.pm, |
245 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
246 |
|
|
247 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
248 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
249 |
|
|
250 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
251 |
|
|
252 |
|
* Node.pm (==, !=): Implemented. |
253 |
|
(manakai_read_only): Implemented. |
254 |
|
(is_same_node): Implemented. |
255 |
|
(is_equal_node): Alpha version. |
256 |
|
(manakai_set_read_only): Alpha version. |
257 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
258 |
|
definitions are removed. |
259 |
|
|
260 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* Node.pm: First alpha version of implementation of attributes. |
263 |
|
|
264 |
|
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
265 |
|
|
266 |
|
* ProcessingInstruction.pm, EntityReference.pm, |
267 |
|
CDATASection, DocumentFragment.pm, DOMDocument.pm, Entity.pm, |
268 |
|
ElementTypeDefinition.pm, AttributeDefinition.pm, |
269 |
|
DocumentType.pm, DOMElement.pm, Attr.pm, |
270 |
|
CharacterData.pm, Text.pm, Comment.pm (node_name, |
271 |
|
node_value, node_type): Implemented. |
272 |
|
|
273 |
|
2007-06-14 Wakaba <wakaba@suika.fam.cx> |
274 |
|
|
275 |
|
* Notation.pm, Entity.pm, EntityReference.pm, ProcessingInstruction.pm, |
276 |
|
CDATASection.pm, DocumentFragment.pm, ElementTypeDefinition.pm, |
277 |
|
AttributeDefinition.pm: New modules. |
278 |
|
|
279 |
|
* DOMDocument.pm (@ISA): 'Message::IF::DocumentXDoctype' added. |
280 |
|
(create_attribute_definition, create_element_type_definition, |
281 |
|
create_document_type_definition, create_cdata_section, |
282 |
|
create_processing_instruction, create_entity_reference, |
283 |
|
create_general_entity, create_notation): Prototypes added. |
284 |
|
|
285 |
|
* DOMImplementation.pm (create_document_type): Prototype added. |
286 |
|
|
287 |
|
* DocumentType.pm (@ISA), 'Message::IF::DocumentTypeDefinition' |
288 |
|
and 'Message::IF::DocumentTypeDeclaration' added. |
289 |
|
(create_document_type, create_document_type_definition): |
290 |
|
New methods. |
291 |
|
|
292 |
|
2007-06-13 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* DOMImplementation.pm, Node.pm, DOMDocument.pm, |
295 |
|
DOMElement.pm, Attr.pm, DocumentType.pm, |
296 |
|
DOMCharacterData.pm, Text.pm, Comment.pm: Copied |
297 |
|
from <http://suika.fam.cx/gate/cvs/*checkout*/markup/html/whatpm/Whatpm/NanoDOM.pm?rev=1.9>. |
298 |
|
|
299 |
|
2007-06-10 Wakaba <wakaba@suika.fam.cx> |
300 |
|
|
301 |
|
* XMLParser.dis: Default to "1.0" if <?xml version=""?> |
302 |
|
specifies unknown value and trys to recover from the error. |
303 |
|
|
304 |
|
2007-05-13 Wakaba <wakaba@suika.fam.cx> |
305 |
|
|
306 |
|
* TreeCore.dis (manakaiLocalName): New attribute. |
307 |
|
|
308 |
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
2007-01-02 Wakaba <wakaba@suika.fam.cx> |
309 |
|
|
310 |
* GenericLS.dis (GLSException): New interface. |
* GenericLS.dis (GLSException): New interface. |