1 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
4 |
|
invoke |manakai_read_until|, not only |read|, where |
5 |
|
possible, to decrease the number of |read| method calls. |
6 |
|
|
7 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
8 |
|
modification. |
9 |
|
|
10 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
13 |
|
would report character error from now. |
14 |
|
|
15 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
18 |
|
tokens in "before head insertion mode" was not |
19 |
|
correctly handled. |
20 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
21 |
|
class. Support for $get_wrapper argument. Support |
22 |
|
for |{read_until}| feature. |
23 |
|
|
24 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
27 |
|
entities point the "&" character. |
28 |
|
|
29 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
32 |
|
be added to the list of excluded characters. |
33 |
|
|
34 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
37 |
|
and |column| a higher priority than the one set by the |
38 |
|
tokenizer's input handler. |
39 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
40 |
|
not be necessary, since now we do line/column fixup in |
41 |
|
the character decode handle). |
42 |
|
|
43 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
46 |
|
|
47 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
50 |
|
and |manakai_getc_until| to |manakai_read_until| to |
51 |
|
reduce the number of string copies. |
52 |
|
|
53 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src (parse_char_string): Use newly created |
56 |
|
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
57 |
|
standard feature to |open| a string as a filehandle, |
58 |
|
since Perl's string filehandle seems not supporting |ungetc| |
59 |
|
method correctly. |
60 |
|
(parse_char_stream): Define |{getc_until}| method. |
61 |
|
(DATA_STATE): Experimental support for |getc_until| feature. |
62 |
|
|
63 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* HTML.pm.src: Check points added to newly added branches. |
66 |
|
|
67 |
|
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* HTML.pm.src: Remove |{char}|, which is no longer used. |
70 |
|
Remove |{entity_in_attr}| and |{last_attribute_value_state}| |
71 |
|
and replaced by |{prev_state}|. |
72 |
|
|
73 |
|
* mkhtmlparser.pl: Remove |{char}| feature. |
74 |
|
Remove |!!!back-next-input-character;| macro. |
75 |
|
|
76 |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
2008-09-13 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |
* HTML.pm.src: Finally we get rid of all the inner loops. Remove |