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