1 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
4 |
|
would report character error from now. |
5 |
|
|
6 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
9 |
|
tokens in "before head insertion mode" was not |
10 |
|
correctly handled. |
11 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
12 |
|
class. Support for $get_wrapper argument. Support |
13 |
|
for |{read_until}| feature. |
14 |
|
|
15 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
18 |
|
entities point the "&" character. |
19 |
|
|
20 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
23 |
|
be added to the list of excluded characters. |
24 |
|
|
25 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
28 |
|
and |column| a higher priority than the one set by the |
29 |
|
tokenizer's input handler. |
30 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
31 |
|
not be necessary, since now we do line/column fixup in |
32 |
|
the character decode handle). |
33 |
|
|
34 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
37 |
|
|
38 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
41 |
|
and |manakai_getc_until| to |manakai_read_until| to |
42 |
|
reduce the number of string copies. |
43 |
|
|
44 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
45 |
|
|
46 |
* HTML.pm.src (parse_char_string): Use newly created |
* HTML.pm.src (parse_char_string): Use newly created |
47 |
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
48 |
standard feature to |open| a string as a filehandle, |
standard feature to |open| a string as a filehandle, |