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