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