1 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
4 |
|
by |{s_kwd}| in DATA_STATE. |
5 |
|
|
6 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: Shorten keys. |
9 |
|
|
10 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
13 |
|
pair, or noncharacter code points and non-Unicode code |
14 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
15 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
16 |
|
character stream error handlers. |
17 |
|
|
18 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
21 |
|
for null-namespace elements/attributes. |
22 |
|
|
23 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
24 |
|
as a hash. |
25 |
|
|
26 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
29 |
|
and |{next_char}| initializations are moved to initialization |
30 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
31 |
|
with |parse_char_stream|. |
32 |
|
|
33 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
36 |
|
invoke |manakai_read_until|, not only |read|, where |
37 |
|
possible, to decrease the number of |read| method calls. |
38 |
|
|
39 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
40 |
|
modification. |
41 |
|
|
42 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
45 |
|
would report character error from now. |
46 |
|
|
47 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
50 |
|
tokens in "before head insertion mode" was not |
51 |
|
correctly handled. |
52 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
53 |
|
class. Support for $get_wrapper argument. Support |
54 |
|
for |{read_until}| feature. |
55 |
|
|
56 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
* HTML.pm.src: Make a "bare ero" error for unknown |
* HTML.pm.src: Make a "bare ero" error for unknown |