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