1 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (parse_char_string): Use newly created |
4 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
5 |
|
standard feature to |open| a string as a filehandle, |
6 |
|
since Perl's string filehandle seems not supporting |ungetc| |
7 |
|
method correctly. |
8 |
|
(parse_char_stream): Define |{getc_until}| method. |
9 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
10 |
|
|
11 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src: Check points added to newly added branches. |
14 |
|
|
15 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
18 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
19 |
|
and replaced by |{prev_state}|. |
20 |
|
|
21 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
22 |
|
Remove |!!!back-next-input-character;| macro. |
23 |
|
|
24 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
27 |
|
entity related tokenizer states in favor of new states |
28 |
|
implementing the consume character reference algorithm. |
29 |
|
|
30 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* HTML.pm.src: "Consume a character reference" algorithm is |
33 |
|
now implemented as a tokenizer's state, rather than |
34 |
|
a method, with minimum changes (more changes will |
35 |
|
be made, in due course). "Bogus comment state"'s inner |
36 |
|
loop gets removed. |
37 |
|
|
38 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: Make |PUBLIC| and |SYSTEM| keyword tokenizing |
41 |
|
into their own tokenizer states. |
42 |
|
|
43 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
46 |
|
is split into three states. |
47 |
|
|
48 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
49 |
|
|
50 |
|
* HTML.pm.src: |CLOSE_TAG_OPEN_STATE| is broken into |
51 |
|
itself and new |CDATA_PCDATA_CLOSE_TAG_STATE| so that |
52 |
|
no longer does the tokenizer have to push back next input |
53 |
|
characters in those states. |
54 |
|
|
55 |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |
* HTML.pm.src: |MARKUP_DECLARATION_OPEN_STATE| broken |