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> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |
* HTML.pm.src: |CDATA_SECTION_STATE| (formally |CDATA_BLOCK_STATE| |