1 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
4 |
|
|
5 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
8 |
|
and |manakai_getc_until| to |manakai_read_until| to |
9 |
|
reduce the number of string copies. |
10 |
|
|
11 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src (parse_char_string): Use newly created |
14 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
15 |
|
standard feature to |open| a string as a filehandle, |
16 |
|
since Perl's string filehandle seems not supporting |ungetc| |
17 |
|
method correctly. |
18 |
|
(parse_char_stream): Define |{getc_until}| method. |
19 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
20 |
|
|
21 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
22 |
|
|
23 |
|
* HTML.pm.src: Check points added to newly added branches. |
24 |
|
|
25 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
28 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
29 |
|
and replaced by |{prev_state}|. |
30 |
|
|
31 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
32 |
|
Remove |!!!back-next-input-character;| macro. |
33 |
|
|
34 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
37 |
|
entity related tokenizer states in favor of new states |
38 |
|
implementing the consume character reference algorithm. |
39 |
|
|
40 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
43 |
|
now implemented as a tokenizer's state, rather than |
44 |
|
a method, with minimum changes (more changes will |
45 |
|
be made, in due course). "Bogus comment state"'s inner |
46 |
|
loop gets removed. |
47 |
|
|
48 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
51 |
|
into their own tokenizer states. |
52 |
|
|
53 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
56 |
|
is split into three states. |
57 |
|
|
58 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
61 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
62 |
|
no longer does the tokenizer have to push back next input |
63 |
|
characters in those states. |
64 |
|
|
65 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
66 |
|
|
67 |
|
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
68 |
|
into four states so that no longer does the tokenizer have to push |
69 |
|
back next input characters in that state. |
70 |
|
|
71 |
|
2008-09-11 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* HTML.pm.src: Methods now accept additional parameter, $get_wrapper, |
74 |
|
which can be used to insert some wrapper between the character |
75 |
|
stream handle and the tokenizer. (It is currently not supported |
76 |
|
for |set_inner_html| for |Element|s). |
77 |
|
|
78 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src: Ignore punctuations in charset names. |
81 |
|
|
82 |
|
2008-09-10 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* ContentChecker.pm: Support for charset-layer error levels. |
85 |
|
|
86 |
|
* HTML.pm.src: Don't specify |text| argument for the |
87 |
|
|chardecode:fallback| error, since it is not the encoding |
88 |
|
being used alternatively. |
89 |
|
|
90 |
|
2008-09-06 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* HTML.pm.src: Support for |XSLT-compat| (HTML5 revision 2141). |
93 |
|
|
94 |
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
2008-08-31 Wakaba <wakaba@suika.fam.cx> |
95 |
|
|
96 |
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |
* CacheManifest.pm: Support for extensibility (HTML5 revision 2051). |