1 |
|
2008-10-21 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Document.pm (inner_html): Use Whatpm::XML::Parser for XML |
4 |
|
parsing. |
5 |
|
|
6 |
|
* Node.pm (manakai_html_language): New attribute. |
7 |
|
|
8 |
|
2008-10-17 Wakaba <wakaba@suika.fam.cx> |
9 |
|
|
10 |
|
* ElementTypeDefinition.pm (content_model_text): New attribute. |
11 |
|
|
12 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* Element.pm (create_element, create_element_ns): Inputs |
15 |
|
were not normalized into a string. |
16 |
|
|
17 |
|
2008-02-17 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Document.pm (manakai_html, manakai_head): New methods. |
20 |
|
|
21 |
|
2008-02-11 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* CSSRule.pm (@import css_text): Implemented. |
24 |
|
|
25 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* CSSStyleSheet.pm (manakai_input_encoding): New. |
28 |
|
|
29 |
|
2008-02-08 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* CSSRule.pm (@media, @import ____new): Bless media object |
32 |
|
with the appropriate class. |
33 |
|
(@media css_text): Getter implemented. |
34 |
|
|
35 |
|
* MediaList.pm (media_text): Getter implemented. |
36 |
|
|
37 |
|
2008-02-03 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* CSSStyleDeclaration.pm ($serialize_value): Support |
40 |
|
for new value types. |
41 |
|
|
42 |
|
2008-02-02 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* CSSStyleDeclaration.pm ($serialize_value): New (was |
45 |
|
part of Whatpm::CSS::Parser as $default_serializer). |
46 |
|
Use it instead of old 'serialize' parameter of CSS |
47 |
|
property definition. |
48 |
|
|
49 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* CSSStyleDeclaration.pm (css_text): Prepend | ! | before |
52 |
|
the priority token if any. |
53 |
|
(get_property_priority): Shorthand case implemented. |
54 |
|
|
55 |
|
2008-01-26 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* CSSStyleDeclaration.pm: Use |serialize_shorthand| |
58 |
|
and |serialize_multiple| to serialize shorthand properties |
59 |
|
in reflecting attributes. Return value of |
60 |
|
the |serialzie_multiple| function has been changed. |
61 |
|
(non-computed css_text): Sort by property names. |
62 |
|
|
63 |
|
2008-01-24 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* Window.pm (manakai_get_computed_style): Renamed |
66 |
|
from |get_computed_style|. |
67 |
|
|
68 |
|
* Element.pm (manakai_computed_style): Renamed from |current_style|. |
69 |
|
|
70 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* CSSStyleDeclaration.pm (AUTOLOAD): DOM attributes reflecting |
73 |
|
shorthand properties did croak (fixed but still they does not |
74 |
|
return correct result - they need to be fixed later). |
75 |
|
|
76 |
|
* Element.pm (query_selector, query_selector_all): Prototypes |
77 |
|
were missing. |
78 |
|
|
79 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* Window.pm (___reset_css): Typo fixed. |
82 |
|
|
83 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* CSSStyleDeclaration.pm: The classes now explicitly implement |
86 |
|
the |CSS2Properties| interface. |
87 |
|
(@{}, TIEARRAY, FETCH, FETCHSIZE, EXISTS, item, length): Implemented. |
88 |
|
|
89 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* CSSStyleDeclaration.pm (attributes reflecting CSS properties): |
92 |
|
Return an empty string if no value is assigned to the property. Insert |
93 |
|
a SPACE before '!' for compatibility with Firefox. |
94 |
|
|
95 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* CSSRule.pm (css_text): Trailing newline character is removed |
98 |
|
to avoid double empty lines in CSSStyleSheet->css_text. |
99 |
|
(selector_text): Namespace support is fixed. |
100 |
|
|
101 |
|
* CSSStyleSheet.pm (___new): Now it accepts |_nsmap| option. |
102 |
|
|
103 |
|
2008-01-14 Wakaba <wakaba@suika.fam.cx> |
104 |
|
|
105 |
|
* CSSRule.pm (selector_text): Use |serialize_selector_text| |
106 |
|
to get better result. |
107 |
|
|
108 |
|
2008-01-13 Wakaba <wakaba@suika.fam.cx> |
109 |
|
|
110 |
|
* Window.pm: New Perl module. |
111 |
|
|
112 |
|
* Document.pm (default_view): Implemented. |
113 |
|
|
114 |
|
* Element.pm (current_style): Implemented. |
115 |
|
|
116 |
|
2008-01-06 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* CSSStyleDeclaration.pm (css_text): Allow to shorten a complete |
119 |
|
set of longhand properties. |
120 |
|
(get_property_priority): Implemented. |
121 |
|
(CSSComputedStyleDeclaration AUTOLOAD): Implemented for reflecting |
122 |
|
attributes. |
123 |
|
|
124 |
|
2008-01-04 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* CSSStyleDeclaration.pm (css_text): Allow |{compute_multiple}| |
127 |
|
as well as |{compute}| as a way to filter out longhand |
128 |
|
properties. Sort properties by names for readability. |
129 |
|
|
130 |
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* CSSStyleDeclaration.pm (css_text): Output |undef| property |
133 |
|
information for debugging. |
134 |
|
|
135 |
|
* CSSStyleSheet.pm (manakai_base_uri): New attribute. |
136 |
|
|
137 |
|
2008-01-01 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* CSSStyleDeclaration.pm (CSSComputedStyleDeclaration): New class. |
140 |
|
|
141 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
142 |
|
|
143 |
|
* SelectorsAPI.pm, Document.pm (___query_selector_all): New internal |
144 |
|
method. |
145 |
|
|
146 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* SelectorsAPI.pm: Make simple-selector-sequence-matching |
149 |
|
an independent function. |
150 |
|
|
151 |
|
2007-12-31 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* CSSStyleDeclaration.pm (AUTOLOAD): Getter for attributes |
154 |
|
reflecting CSS property is implemented. |
155 |
|
(css_text): Getter is implemented. |
156 |
|
|
157 |
|
2007-12-24 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* CSSRule.pm (selector_text): Ad hoc support for namespace prefixes. |
160 |
|
(CSSNamespaceRule.css_text): Getter implemented. |
161 |
|
|
162 |
|
* CSSStyleSheet.pm (manakai_is_default_namespace, |
163 |
|
manakai_lookup_namespace_prefix): New methods. |
164 |
|
|
165 |
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
166 |
|
|
167 |
|
* CSSRule.pm (@charset.css_text): Implemented. |
168 |
|
|
169 |
|
2007-12-23 Wakaba <wakaba@suika.fam.cx> |
170 |
|
|
171 |
|
* CSSRule.pm (type, css_text): Typo fixed. |
172 |
|
(____new): s/_selector/_selectors/g; |
173 |
|
(CSSStyleRule.css_text, selectors_text): Ad hoc implementation. |
174 |
|
|
175 |
|
* CSSStyleDeclaration.pm (css_text): Ad hoc implementation. |
176 |
|
|
177 |
|
* CSSStyleSheet.pm (new): s/new/____new/. |
178 |
|
(css_text): New attribute. |
179 |
|
|
180 |
|
2007-12-22 Wakaba <wakaba@suika.fam.cx> |
181 |
|
|
182 |
|
* MediaList.pm: New placeholder for a CSSOM interface. |
183 |
|
|
184 |
|
* CSSRule.pm, CSSStyleSheet.pm: Implementing the initial |
185 |
|
setting of owner* and parent* attributes; support |
186 |
|
for the |delete_rule| method. |
187 |
|
|
188 |
|
2007-12-22 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* CSSStyleSheet.pm, CSSRule.pm, CSSRuleList.pm, CSSStyleDeclaration.pm: |
191 |
|
First version of CSSOM implementation. |
192 |
|
|
193 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* Document.pm, Entity.pm (manakai_has_bom, |
196 |
|
manakai_charset): New attributes. |
197 |
|
|
198 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
199 |
|
|
200 |
|
* Document.pm, Element.pm (inner_html): Use |Whatpm::HTML::Serializer| |
201 |
|
for getter. |
202 |
|
|
203 |
|
2007-10-27 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* Event.pm (init_event, init_event_ns, init_custom_event_ns): |
206 |
|
The |namespaceURI| attribute was not set correctly. |
207 |
|
|
208 |
|
* DOMEvents.dis: Removed. |
209 |
|
|
210 |
|
2007-10-08 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* Event.pm, EventTarget.pm, EventTargetNode.pm, |
213 |
|
EventException.pm: Implemented (but not tested!). |
214 |
|
|
215 |
|
* DOMException.pm (MALFORMED_EVENT_TYPE_ERR, |
216 |
|
EVENT_INTERFACE_NOT_SUPPORTED_ERR, EXTERNAL_EVENT_ERR): New |
217 |
|
error subtypes. |
218 |
|
|
219 |
|
* DOMImplementation.pm ($HasFeature): The |Event| feature, |
220 |
|
version |3.0|, is added. |
221 |
|
|
222 |
|
* Document.pm, Node.pm: Event attributes and |
223 |
|
methods are implemented. |
224 |
|
|
225 |
|
2007-10-07 Wakaba <wakaba@suika.fam.cx> |
226 |
|
|
227 |
|
* SelectorsAPI.pm ($get_elements_by_selectors): Receive |
228 |
|
an additional argument for "current element". |
229 |
|
Support for |-manakai-current| and |-manakai-current(/s/)| |
230 |
|
pseudo-classes. |
231 |
|
|
232 |
|
2007-09-29 Wakaba <wakaba@suika.fam.cx> |
233 |
|
|
234 |
|
* SelectorsAPI.pm: Attribute selectors are implemented. |
235 |
|
|
236 |
|
2007-09-29 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* SelectorsAPI.pm (ElementSelector): Implemented. |
239 |
|
|
240 |
|
2007-09-29 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* SelectorsAPI.pm (query_selector): Implemented. |
243 |
|
|
244 |
|
2007-09-29 Wakaba <wakaba@suika.fam.cx> |
245 |
|
|
246 |
|
* SelectorsAPI.pm ($get_elements_by_selectors): Created |
247 |
|
from most part of |query_selector_all|. |
248 |
|
|
249 |
|
2007-09-24 Wakaba <wakaba@suika.fam.cx> |
250 |
|
|
251 |
|
* DOMException.pm (SYNTAX_ERR): New subtype is defined. |
252 |
|
(UNDECLARED_PREFIX_ERR): New subtype is defined. |
253 |
|
|
254 |
|
* Document.pm (Document): Implements the |DocumentSelector| |
255 |
|
interface. |
256 |
|
|
257 |
|
* Element.pm (Element): Implements the |ElementSelector| |
258 |
|
interface. |
259 |
|
|
260 |
|
* Node.pm (Node): Implements the |NSResolver| interface. |
261 |
|
|
262 |
|
* SelectorsAPI.pm: Now (hopefully) conform to the Selectors |
263 |
|
API Editor's Draft (only |query_selector_all| on |Document|, |
264 |
|
with limited selectors syntax support, though). |
265 |
|
|
266 |
|
2007-09-23 Wakaba <wakaba@suika.fam.cx> |
267 |
|
|
268 |
|
* SelectorsAPI.pm: Namespaced type/universal selectors |
269 |
|
are supported. |
270 |
|
|
271 |
|
2007-09-23 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* SelectorsAPI.pm: New Perl module. |
274 |
|
|
275 |
|
2007-08-25 Wakaba <wakaba@suika.fam.cx> |
276 |
|
|
277 |
|
* Node.pm (manakai_language): Return the |manakai_language| |
278 |
|
of the |owner_document|, if any, as defined in the spec. |
279 |
|
|
280 |
|
2007-08-25 Wakaba <wakaba@suika.fam.cx> |
281 |
|
|
282 |
|
* Makefile: Relative path was wrong. |
283 |
|
|
284 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
285 |
|
|
286 |
|
* HTML/: New directory. |
287 |
|
|
288 |
|
* Element.pm (create_element_ns): Return object implementing |
289 |
|
the |HTMLElement| interface for HTML elements. |
290 |
|
|
291 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* DOMImplementation.pod: New documentation. |
294 |
|
|
295 |
|
* Makefile: Make HTML document. |
296 |
|
|
297 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
298 |
|
|
299 |
|
* XDoctype.dis, XDoctype.pm: Removed. |
300 |
|
|
301 |
|
* CharacterData.pm: Renamed from DOMCharacterData.pm. |
302 |
|
|
303 |
|
* Document.pm: Renamed from DOMDocument.pm. |
304 |
|
|
305 |
|
* Element.pm: Renamed from DOMElement.pm |
306 |
|
|
307 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
308 |
|
|
309 |
|
* DOMString.dis, DOMString.pm, Document.dis, Document.pm, |
310 |
|
Element.dis, Element.pm, CharacterData.dis, CharacterData.pm, |
311 |
|
TreeCore.dis, TreeCore.pm, DOMCore.dis, DOMCore.pm, |
312 |
|
DOMFeature.dis, DOMFeature.pm, XML.dis, XML.pm, |
313 |
|
DOMMain.dis, DOMMain.pm, DOMLS.dis, |
314 |
|
GenericLS.dis, GenericLS.pm, SimpleLS.dis: Removed. |
315 |
|
|
316 |
|
* Makefile: Rules for DIS are removed. |
317 |
|
|
318 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* Text.pm: |Message::DOM::Traversal, an obsolete module, |
321 |
|
was referenced. |
322 |
|
|
323 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* DOMDocument.pm (inner_html): Setter in HTML document |
326 |
|
is implemented. |
327 |
|
|
328 |
|
2007-07-29 Wakaba <wakaba@suika.fam.cx> |
329 |
|
|
330 |
|
* DOMDocument.pm (inner_html): Setter in XML document |
331 |
|
is implemented. |
332 |
|
|
333 |
|
2007-07-19 Wakaba <wakaba@suika.fam.cx> |
334 |
|
|
335 |
|
* Attr.pm (DeclaredValueType): Added. |
336 |
|
|
337 |
|
* ProcessingInstruction.pm (data): Accept |undef| |
338 |
|
as a valid input, for |text_content| (maybe) allows it. |
339 |
|
|
340 |
|
* TypeInfo.pm (type_namespace): The implementation was wrong. |
341 |
|
|
342 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
343 |
|
|
344 |
|
* DOMElement.pm: Incorrect module was referenced. |
345 |
|
|
346 |
|
* DOMImplementation.pm: References to |
347 |
|
the |Message::Charset::Encode| module has been removed. |
348 |
|
|
349 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
350 |
|
|
351 |
|
* XMLParserTemp.pm: Use |Whatpm::Charset::DecodeHandle| |
352 |
|
instead of |Message::Charset::Encode|. |
353 |
|
|
354 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
355 |
|
|
356 |
|
* DOMDocument.pm (inner_html): New attribute (beta). |
357 |
|
|
358 |
|
* DOMElement.pm (inner_html): New attribute (beta). |
359 |
|
|
360 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
361 |
|
|
362 |
|
* DOMConfiguration.pm: Configuration parameter |create-child-element| |
363 |
|
implemented. |
364 |
|
|
365 |
|
* DOMElement.pm (create_element_ns): Support for Atom |
366 |
|
subclasses. |
367 |
|
|
368 |
|
* DOMImplementation.pm (DOMImplementation): Now |
369 |
|
implements the |AtomDOMImplementation| interface. |
370 |
|
($HasFeature): Features |atom| and |atomthreading| are added. |
371 |
|
|
372 |
|
* NodeList.pm (StaticNodeList): Implemented. |
373 |
|
|
374 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
375 |
|
|
376 |
|
* Atom/: New directory. |
377 |
|
|
378 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
379 |
|
|
380 |
|
* TreeWalker.pm, SerialWalker.pm: New Perl modules. |
381 |
|
|
382 |
|
* Text.pm (whole_text): Parameter index number has |
383 |
|
been changed to support new |NodeFilter| Perl binding |
384 |
|
definition. |
385 |
|
|
386 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
387 |
|
|
388 |
|
* AttributeDefinition.pm, DOMElement.pm, DocumentType.pm, |
389 |
|
ElementTypeDefinition.pm, Entity.pm, EntityReference.pm, |
390 |
|
Notation.pm, ProcessingInstruction.pm (AUTOLOAD): Don't croak even if an attempt is made to modify a read-only attribute. |
391 |
|
|
392 |
|
* DOMConfiguration.pm (can_set_parameter, |
393 |
|
set_parameter): Don't allow to set the value |
394 |
|
to a string other than <http://www.w3.org/TR/REC-xml> (XML 1.0 DTD). |
395 |
|
|
396 |
|
* DOMDocument.pm (Message::IF::DocumentTraversal): New interface. |
397 |
|
(create_tree_walker, manakai_create_serial_walker): References |
398 |
|
and prototypes are added. |
399 |
|
|
400 |
|
* DOMException.pm (NULLPO_ERR): New error type:-). |
401 |
|
|
402 |
|
* DOMImplementation.pm ($HasFeature): Feature |Traversal|, |
403 |
|
version |2.0|, is added. |
404 |
|
|
405 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
406 |
|
|
407 |
|
* CDATASection.pm: Removed (merged with |Text.pm|). |
408 |
|
|
409 |
|
* Text.pm (Message::DOM::Text::CDATASection): New. |
410 |
|
|
411 |
|
* Comment.pm: Removed (merged with |DOMCharacterData.pm|). |
412 |
|
|
413 |
|
* DOMCharacterData.pm (Message::DOM::CharacterData::Comment): New. |
414 |
|
|
415 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
416 |
|
|
417 |
|
* DOMConfiguration.pm: Support for |schema-type| |
418 |
|
and |http://suika.fam.cx/www/2006/dom-config/xml-id|. |
419 |
|
|
420 |
|
* NamedNodeMap (TIEHASH): Were missing. |
421 |
|
|
422 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
|
* AttributeDefinition.pm (node_value): Implemented. |
425 |
|
(create_attribute_definition): Implemented. |
426 |
|
|
427 |
|
* DOMConfiguration.pm (%{}, TIEHASH, |
428 |
|
get_parameter, set_parameter, can_set_parameter, |
429 |
|
EXISTS, DELETE, parameter_names, FETCH, STORE, |
430 |
|
FIRSTKEY, LASTKEY): Implemented. |
431 |
|
|
432 |
|
* DOMDocument.pm (____new): Set |error-handler| default. |
433 |
|
(get_elements_by_tag_name, get_elements_by_tag_name_ns): Implemented. |
434 |
|
|
435 |
|
* DOMElement.pm (get_elements_by_tag_name, get_elements_by_tag_name_ns): |
436 |
|
Implemented. |
437 |
|
|
438 |
|
* DOMException.pm: Error types for |DOMConfiguration| |
439 |
|
are added. |
440 |
|
|
441 |
|
* DOMStringList.pm (Message::DOM::DOMStringList::StaticList): New |
442 |
|
class. |
443 |
|
|
444 |
|
* DocumentType.pm (get_element_type_definition_node, |
445 |
|
get_general_entity_node, get_notation_node, |
446 |
|
set_element_type_definition_node, set_general_entity_node, |
447 |
|
set_notation_node, create_document_type_definition): Implemented. |
448 |
|
|
449 |
|
* ElementTypeDefinition.pm (get_attribute_definition_node, |
450 |
|
set_attribute_definition_node, create_element_type_definition): |
451 |
|
Implemented. |
452 |
|
|
453 |
|
* Entity.pm (create_general_entity): Implemented. |
454 |
|
|
455 |
|
* Node.pm: Constants in |OperationType| definition |
456 |
|
group are added. |
457 |
|
(manakai_language): Implemented. |
458 |
|
|
459 |
|
* NodeList.pm (Message::DOM::NodeList::GetElementsList): New |
460 |
|
class. |
461 |
|
|
462 |
|
* Notation.pm (create_notation): Implemented. |
463 |
|
|
464 |
|
2007-07-14 Wakaba <wakaba@suika.fam.cx> |
465 |
|
|
466 |
|
* TypeInfo.pm: New Perl module. |
467 |
|
|
468 |
|
* Attr.pm: Use |manakai_local_name| rather than |local_name| |
469 |
|
to avoid HTML5 case normalization. |
470 |
|
(is_id): Implemented. |
471 |
|
(manakai_name): New attribute. |
472 |
|
(schema_type_info): Implemented. |
473 |
|
(create_attribute_ns): Empty string as namespace URI |
474 |
|
was not supported. |
475 |
|
|
476 |
|
* DOMElement.pm (clone_node): Removed since now it is |
477 |
|
defined in |Node.pm|. |
478 |
|
(schema_type_info): Implemented. |
479 |
|
(manakai_tag_name): New attribute. |
480 |
|
(get_attribute, get_attribute_node, get_attribute_ns, |
481 |
|
get_attribute_node_ns, has_attribute, has_attribute_ns, |
482 |
|
remove_attribute, remove_attribute_ns, |
483 |
|
remove_attribute_node, set_attribute, set_attribute_ns, |
484 |
|
set_id_attribute, set_id_attribute_node, |
485 |
|
set_id_attribute_ns): Implemented. |
486 |
|
(create_element_ns): Empty string as namespace URI |
487 |
|
was not supported. |
488 |
|
|
489 |
|
2007-07-12 Wakaba <wakaba@suika.fam.cx> |
490 |
|
|
491 |
|
* AttributeDefinition.pm (owner_element_type_definition): Implemented. |
492 |
|
|
493 |
|
* DocumentType.pm (create_document_type_definition): Initialize |
494 |
|
|public_id|, |system_id|, and |internal_subset| attributes |
495 |
|
by empty strings for compatibility with Web browsers. |
496 |
|
(create_document_type): Initialize |internal_subset| |
497 |
|
attribute by an empty string for compatibility with |
498 |
|
Web browsers. |
499 |
|
|
500 |
|
* ElementTypeDefinition.pm, Entity.pm, |
501 |
|
Notation.pm (owner_document_type_definition): Implemented. |
502 |
|
|
503 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
504 |
|
|
505 |
|
* DOMImplementation.pm ($HasFeature): |fe:XDoctypeDeclaration| |
506 |
|
feature is added for compatibility with |XMLParserTemp.pm|. |
507 |
|
|
508 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
509 |
|
|
510 |
|
* Attr.pm (value, node_value): Now it is defined |
511 |
|
as |text_content| itself. |
512 |
|
|
513 |
|
* AttributeDefinition.pm, ElementTypeDefinition.pm, |
514 |
|
Node.pm (AUTOLOAD): Unused block is removed. |
515 |
|
|
516 |
|
* CDATASection.pm, DocumentFragment.pm (AUTOLOAD): Removed. Unused. |
517 |
|
|
518 |
|
* DocumentType.pm (internal_subset): Implemented. |
519 |
|
|
520 |
|
* Entity.pm (is_externally_declared, input_encoding, |
521 |
|
xml_version): Implemented. |
522 |
|
|
523 |
|
* ProcessingInstruction.pm (target, data): Implemented. |
524 |
|
|
525 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
526 |
|
|
527 |
|
* DOMCharacterData.pm (AUTOLOAD): Removed. |
528 |
|
(data): Reimplemented. |
529 |
|
(delete_data, insert_data, replace_data, substring_data): There were |
530 |
|
a number of bugs. |
531 |
|
|
532 |
|
* Text.pm (AUTOLOAD): Removed. Unused. |
533 |
|
|
534 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
535 |
|
|
536 |
|
* StringExtended.pm: New Perl module. |
537 |
|
|
538 |
|
* DOMCharacterData.pm (length, append_data, delete_data, |
539 |
|
insert_data, replace_data, substring_data): Implemented. |
540 |
|
|
541 |
|
* DOMException.pm (INDEX_SIZE_ERR): Implemented. |
542 |
|
|
543 |
|
* Text.pm (is_element_content_whitespace, whole_text, |
544 |
|
split_text): Implemented. |
545 |
|
|
546 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
547 |
|
|
548 |
|
* DOMElement.pm (attributes): Implemented. |
549 |
|
|
550 |
|
* DOMException.pm (INUSE_DEFINITION_ERR): New error type. |
551 |
|
|
552 |
|
* DocumentType.pm (entities, general_entities, |
553 |
|
notations, element_types): Implemented. |
554 |
|
|
555 |
|
* ElementTypeDefinition.pm (attribute_definitions): Implemented. |
556 |
|
|
557 |
|
* NamedNodeMap.pm: New Perl module. |
558 |
|
|
559 |
|
2007-07-08 Wakaba <wakaba@suika.fam.cx> |
560 |
|
|
561 |
|
* Attr.pm, AttributeDefinition.pm, DOMCharacterData.pm, |
562 |
|
DOMDocument.pm, DocumentType.pm, ElementTypeDefinition.pm, |
563 |
|
Node.pm, Notation.pm, ProcessingInstruction.pm (append_child, |
564 |
|
insert_before, replace_child): Implemented. |
565 |
|
|
566 |
|
* DOMException.pm (HIERARCHY_REQUEST_ERR, NOT_FOUND_ERR): Implemented. |
567 |
|
|
568 |
|
* Node.pm (remove_child): Implemented. |
569 |
|
|
570 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
571 |
|
|
572 |
|
* Node.pm (==, is_equal_node): Implemented. |
573 |
|
(is_same_node): Implemented. |
574 |
|
(get_feature, get_user_data, set_user_data): Implemented. |
575 |
|
(is_supported): Implemented. |
576 |
|
|
577 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
578 |
|
|
579 |
|
* DOMDocument.pm (get_element_by_id): Implemented. |
580 |
|
(create_document): Implemented. |
581 |
|
|
582 |
|
* DOMException.pm (EXTERNAL_OBJECT_ERR, INUSE_DOCTYPE_ERR): New |
583 |
|
errors. |
584 |
|
(QNAME_NULLNS_ERR): New errors. |
585 |
|
|
586 |
|
* DocumenType.pm (create_document_type): Implemented. |
587 |
|
|
588 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
589 |
|
|
590 |
|
* CDATASection.pm (is_element_content_whitespace): New. |
591 |
|
|
592 |
|
* DOMElement.pm (has_attribute): Alpha version. |
593 |
|
(create_element, create_element_ns): Implemented. |
594 |
|
|
595 |
|
* DocumentType.pm (get_general_entity_node): Alpha version. |
596 |
|
|
597 |
|
* EntityReference.pm (create_entity_reference): Implemented. |
598 |
|
|
599 |
|
* ProcessingInstruction.pm (create_processing_instruction): Implemented. |
600 |
|
|
601 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
602 |
|
|
603 |
|
* Attr.pm (create_attribute, create_attribute_ns): Implemented. |
604 |
|
|
605 |
|
* DOMDocument.pm: Load character classes from |Char::Class::XML|. |
606 |
|
(compat_mode): Check |defined| not to be warned as "uninitialized" |
607 |
|
when |{manakai_compat_mode}| is |undef|. |
608 |
|
|
609 |
|
* DOMException.pm (INVALID_CHARACTER_ERR, NAMESPACE_ERR): Added. |
610 |
|
|
611 |
|
* DOMImplementationRegistry.pm, DOMImplementationSource.pm: |
612 |
|
Statements to set |$Error::Depth| are removed since they |
613 |
|
are result in "uninitialized" warnings unless |
614 |
|
the |Message::DOM::DOMException| module is loaded earlier. |
615 |
|
Usually methods invoked in these methods does not |
616 |
|
raise any exception so that it makes no difference. |
617 |
|
|
618 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
619 |
|
|
620 |
|
* DOMDocument.pm (adopt_node): Implemented. |
621 |
|
(doctype): Implemented. |
622 |
|
|
623 |
|
* DOMElement.pm (remove_attribute_node): Alpha version. |
624 |
|
|
625 |
|
* DOMException.pm (ADOPT_NODE_TYPE_NOT_SUPPORTED_ERR): New |
626 |
|
error type. |
627 |
|
|
628 |
|
* Node.pm (set_user_data): Implemented. |
629 |
|
|
630 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
631 |
|
|
632 |
|
* DOMImplementation.pm (new): New method name for |____new|. |
633 |
|
It will be defined in the DOM Perl Binding specification |
634 |
|
as part of |DOMImplementation| interface. |
635 |
|
($HasFeature): Defined for features support. |
636 |
|
(has_feature, get_feature): Implemented. |
637 |
|
|
638 |
|
* DOMStringList.pm: Don't load the |Message::DOM::DOMException| |
639 |
|
module unless necessary. |
640 |
|
(___report_error): Removed since it is not used in fact. |
641 |
|
|
642 |
|
* DOMImplementationList.pm, DOMImplementationSource.pm, |
643 |
|
DOMImplementationRegistry.pm: New modules. |
644 |
|
|
645 |
|
2007-07-07 Wakaba <wakaba@suika.fam.cx> |
646 |
|
|
647 |
|
* AttributeDefinition.pm (allowed_tokens): Implemented. |
648 |
|
|
649 |
|
* DOMStringList.pm: New Perl module. |
650 |
|
|
651 |
|
2007-06-26 Wakaba <wakaba@suika.fam.cx> |
652 |
|
|
653 |
|
* DOMElement.pm (clone_node): Alpha version. It did not work |
654 |
|
at all. |
655 |
|
|
656 |
|
2007-06-24 Wakaba <wakaba@suika.fam.cx> |
657 |
|
|
658 |
|
* ProcessingInstruction.pm (data): Now it is a read-write attribute. |
659 |
|
|
660 |
|
2007-06-23 Wakaba <wakaba@suika.fam.cx> |
661 |
|
|
662 |
|
* DOMDocument.pm (compat_mode, manakai_compat_mode): Implemented. |
663 |
|
(manakai_is_html): Revised. |
664 |
|
(Document): Now it implements the |HTMLDocument| interface. |
665 |
|
(adopt_node): Alpha version. |
666 |
|
|
667 |
|
* AttributeDefinition.pm (allowed_tokens): |allowed_tokens|, |
668 |
|
not |allowed_token|! |
669 |
|
|
670 |
|
* ElementTypeDefinition.pm (attribute_definitions): Don't |
671 |
|
return an |undef| even if its |attribute_definitions| |
672 |
|
list is not created. |
673 |
|
|
674 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
675 |
|
|
676 |
|
* Comment.pm (node_type): Node type was incorrect! |
677 |
|
|
678 |
|
* DOMConfiguration.pm (get_parameter): Alpha. |
679 |
|
|
680 |
|
* DOMImplementation.pm (create_mc_decode_handler, |
681 |
|
create_charset_name_from_uri, create_uri_from_charset_name): |
682 |
|
New autoload configuration. Note that the Message::Charset::Encode |
683 |
|
module is subject to change. |
684 |
|
|
685 |
|
* XMLParserTemp.pm: Now it can be used with new version |
686 |
|
of DOM implementation. Current plan is to replace it by |
687 |
|
an XML5 parser someday. |
688 |
|
|
689 |
|
2007-06-21 Wakaba <wakaba@suika.fam.cx> |
690 |
|
|
691 |
|
* DOMLocator.pm: New module. |
692 |
|
|
693 |
|
* DOMError.pm: New module. |
694 |
|
|
695 |
|
2007-06-20 Wakaba <wakaba@suika.fam.cx> |
696 |
|
|
697 |
|
* Node.pm (manakai_expanded_uri, manakai_parent_element, |
698 |
|
clone_node, compare_document_position, has_attributes, |
699 |
|
has_child_nodes, is_default_namespace, lookup_namespace_uri, |
700 |
|
lookup_prefix, normalize): Implemented. |
701 |
|
|
702 |
|
* DOMElement.pm (remove_attribute, set_attribute): Alpha version. |
703 |
|
|
704 |
|
* DOMException.pm (CLONE_NODE_TYPE_NOT_SUPPORTED_ERR): New error. |
705 |
|
|
706 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
707 |
|
|
708 |
|
* AttributeDefinition.pm (____new): Set an empty list |
709 |
|
to the |allowed_tokens| attribute. |
710 |
|
(allowed_token): Alpha version. |
711 |
|
|
712 |
|
* DocumentType.pm (get_element_type_definition_node, |
713 |
|
get_notation_node): ALpha version. |
714 |
|
|
715 |
|
* ElementTypeDefinition.pm (attribute_definitions): Alpha 2 |
716 |
|
version. |
717 |
|
|
718 |
|
* Entity.pm (notation_name): Implemented. |
719 |
|
|
720 |
|
2007-06-17 Wakaba <wakaba@suika.fam.cx> |
721 |
|
|
722 |
|
* Attr.pm (____new): Initialize |specified| as 1. |
723 |
|
(base_uri, manakai_attribute_type, specified): Implemented. |
724 |
|
(prefix): Don't check read-only flag unless |strict_error_checking|. |
725 |
|
(value): Call |text_content| for now. |
726 |
|
|
727 |
|
* AttributeDefinition.pm (DeclaredValueType, DefaultValueType): Added. |
728 |
|
(declared_type, default_type): Implemented. |
729 |
|
|
730 |
|
* CharacterData.pm (____new): Allow a scalar reference |
731 |
|
as an input for the |data| attribute. |
732 |
|
(base_uri, manakai_append_text): Implemented. |
733 |
|
|
734 |
|
* DOMConfiguration.pm (set_parameter): Resetting implemented. |
735 |
|
|
736 |
|
* DOMDocument.pm (____new): Set default values to |
737 |
|
configuration parameter whose default is true. |
738 |
|
(document_uri, input_encoding): Implemented. |
739 |
|
(all_declarations_processed, manakai_is_html): Implemented. |
740 |
|
(base_uri, manakai_append_text, |
741 |
|
manakai_entity_base_uri, strict_error_checking, |
742 |
|
xml_encoding, xml_version, xml_standalone): Implemented. |
743 |
|
|
744 |
|
* DOMElement.pm (manakai_base_uri, base_uri): Implemented. |
745 |
|
(get_attribute, get_attribute_node): Alpha version. |
746 |
|
(set_attribute_node, set_attribute_node_ns): Implemented. |
747 |
|
(set_attribute_ns): Accept non-ARRAY qualified name. |
748 |
|
|
749 |
|
* DOMException.pm (___error_def): |WRONG_DOCUMENT_ERR|, |
750 |
|
|NOT_SUPPORTED_ERR|, and |INUSE_ATTRIBUTE_ERR| are added. |
751 |
|
|
752 |
|
* DocumentType.pm (public_id, system_id): Implemented. |
753 |
|
(base_uri, declaration_base_uri, manakai_declaration_base_uri, |
754 |
|
manakai_append_text): Implemented. |
755 |
|
(element_types, general_entities, notations, |
756 |
|
set_element_type_definition_node, set_general_entity_node, |
757 |
|
set_notation_node): Alpha version. |
758 |
|
|
759 |
|
* ElementTypeDefinition.pm (manakai_append_text): Implemented. |
760 |
|
(attribute_definitions, set_attribute_definition_node): Alpha version. |
761 |
|
|
762 |
|
* Entity.pm (has_replacement_tree, public_id, system_id, |
763 |
|
manakai_declaration_base_uri, manakai_entity_base_uri, |
764 |
|
manakai_entity_uri): Implemented. |
765 |
|
|
766 |
|
* EntityReference.pm (manakai_expanded, manakai_external): Implemented. |
767 |
|
(base_uri, manakai_entity_base_uri): Implemented. |
768 |
|
|
769 |
|
* Node.pm (base_uri): Implemented. |
770 |
|
(text_content): Don't check read-only or not |
771 |
|
unless |strict_error_checking|. |
772 |
|
(manakai_append_text): Implemented. |
773 |
|
(get_feature): Alpha. |
774 |
|
(manakai_set_read_only): Implemented. |
775 |
|
|
776 |
|
* Notation.pm (public_id, system_id, manakai_append_text, |
777 |
|
manakai_declaration_base_uri): Implemented. |
778 |
|
|
779 |
|
* ProcessingInstruction.pm (manakai_base_uri, |
780 |
|
base_uri, manakai_append_text): Implemented. |
781 |
|
|
782 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
783 |
|
|
784 |
|
* DOMConfiguration.pm: New module. |
785 |
|
|
786 |
|
* Attr.pm (trivial accessor for read-write attributes): Throw |
787 |
|
an exception if the node is read-only. Delete the property |
788 |
|
if undef is specified. |
789 |
|
(prefix): Implemented. |
790 |
|
|
791 |
|
* DOMElement.pm (trivial accessor for read-write attributes): Throw |
792 |
|
an exception if the node is read-only. Delete the property |
793 |
|
if undef is specified. |
794 |
|
(prefix): Implemented. |
795 |
|
(text_content, manakai_append_text): Old implementations are removed. |
796 |
|
|
797 |
|
* DOMCharacterData.pm (text_content): Implemented. |
798 |
|
|
799 |
|
* DOMDocument.pm (____new): Initialize the strict-document-children |
800 |
|
parameter by true. |
801 |
|
(text_content): Reimplemented. |
802 |
|
(dom_config): New. |
803 |
|
|
804 |
|
* DOMException.pm (READ_ONLY_NODE_ERR): New subtype. |
805 |
|
|
806 |
|
* DocumentType.pm (text_content): Implemented. |
807 |
|
|
808 |
|
* ElementTypeDefinition.pm (text_content): Implemented. |
809 |
|
|
810 |
|
* Node.pm (___report_error): New method. |
811 |
|
(text_content): Implemented. |
812 |
|
(manakai_append_text): Copied from |DOMElement.pm|. |
813 |
|
|
814 |
|
* Notation.pm (text_content): Implemented. |
815 |
|
|
816 |
|
* ProcessingInstruction.pm (text_content): Implemented. |
817 |
|
|
818 |
|
* Text.pm (is_element_content_whitespace): Alpha version. |
819 |
|
|
820 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
821 |
|
|
822 |
|
* DOMException.pm (Message::IF::DOMException): Extends |
823 |
|
the |Message::Util::Error| class. |
824 |
|
|
825 |
|
* NodeList.pm (Message::DOM::NodeList): Extends the |Tie::Array| class. |
826 |
|
(CLEAR): Not all items were removed. |
827 |
|
|
828 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
829 |
|
|
830 |
|
* Attr.pm, AttributeDefinition.pm, DocumentFragment.pm, |
831 |
|
DocumentType.pm, Entity.pm, |
832 |
|
EntityReference.pm (____new): Initialize |child_nodes| by an empty list. |
833 |
|
|
834 |
|
* Node.pm, DOMCharacterData.pm, ElementTypeDefinition.pm, |
835 |
|
Notation.pm, ProcessingInstruction.pm (child_nodes): Implemetned. |
836 |
|
|
837 |
|
* DOMDocument.pm (AUTOLOAD): Typo fixed. |
838 |
|
|
839 |
|
* Node.pm (==, !=): Implemented. |
840 |
|
(manakai_read_only): Implemented. |
841 |
|
(is_same_node): Implemented. |
842 |
|
(is_equal_node): Alpha version. |
843 |
|
(manakai_set_read_only): Alpha version. |
844 |
|
(child_nodes, first_child, last_child, previous_sibling): Duplicate |
845 |
|
definitions are removed. |
846 |
|
|
847 |
|
2007-06-16 Wakaba <wakaba@suika.fam.cx> |
848 |
|
|
849 |
|
* Node.pm: First alpha version of implementation of attributes. |
850 |
|
|
851 |
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
2007-06-15 Wakaba <wakaba@suika.fam.cx> |
852 |
|
|
853 |
* ProcessingInstruction.pm, EntityReference.pm, |
* ProcessingInstruction.pm, EntityReference.pm, |