1 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
4 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
5 |
|
commented out. |
6 |
|
|
7 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
10 |
|
added. It does not satisfy the definition that a forward |
11 |
|
interface declaration has an extended attribute. It seems that |
12 |
|
unless explicitly allowed multiple extended attributes with the |
13 |
|
same name is not allowed, though it is not explicitly mentioned in |
14 |
|
the spec. |
15 |
|
|
16 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
19 |
|
attribute identifiers. Preserve whether an extended attribute has |
20 |
|
an argument list of not. Support for extended attributes: |
21 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
22 |
|
NameGetter, NameSetter, and Null. |
23 |
|
(has_argument_list): New attribute. |
24 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
25 |
|
empty. |
26 |
|
|
27 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
30 |
|
|{s_kwd}| in DATA_STATE as default. |
31 |
|
|
32 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
35 |
|
by |{s_kwd}| in DATA_STATE. |
36 |
|
|
37 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
38 |
|
|
39 |
|
* HTML.pm.src: Shorten keys. |
40 |
|
|
41 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
42 |
|
|
43 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
44 |
|
pair, or noncharacter code points and non-Unicode code |
45 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
46 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
47 |
|
character stream error handlers. |
48 |
|
|
49 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
52 |
|
for null-namespace elements/attributes. |
53 |
|
|
54 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
55 |
|
as a hash. |
56 |
|
|
57 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
58 |
|
|
59 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
60 |
|
and |{next_char}| initializations are moved to initialization |
61 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
62 |
|
with |parse_char_stream|. |
63 |
|
|
64 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
67 |
|
invoke |manakai_read_until|, not only |read|, where |
68 |
|
possible, to decrease the number of |read| method calls. |
69 |
|
|
70 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
71 |
|
modification. |
72 |
|
|
73 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
76 |
|
would report character error from now. |
77 |
|
|
78 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
79 |
|
|
80 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
81 |
|
tokens in "before head insertion mode" was not |
82 |
|
correctly handled. |
83 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
84 |
|
class. Support for $get_wrapper argument. Support |
85 |
|
for |{read_until}| feature. |
86 |
|
|
87 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
88 |
|
|
89 |
* HTML.pm.src: Make a "bare ero" error for unknown |
* HTML.pm.src: Make a "bare ero" error for unknown |