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