1 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* LangTag.pm (check_rfc4646_langtag): Check if a tag is in the |
4 |
|
recommended case as per RFC 4646. |
5 |
|
|
6 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* LangTag.pm (check_rfc4646_langtag): New method. |
9 |
|
|
10 |
|
2008-09-18 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* mklangreg.pl: New script. |
13 |
|
|
14 |
|
* Makefile: Updated for creation of the module for language subtag |
15 |
|
registry. |
16 |
|
|
17 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
18 |
|
|
19 |
|
* Makefile: WebIDL.html added. |
20 |
|
|
21 |
|
* WebIDL.pod: New documentation. |
22 |
|
|
23 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
24 |
|
|
25 |
|
* WebIDL.pm: Checker's error types are redefined. |
26 |
|
|
27 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* WebIDL.pm: Parser's error types are redefined. Some forward |
30 |
|
compatible parsing bugs are fixed. Some unreachable codes are |
31 |
|
commented out. |
32 |
|
|
33 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
34 |
|
|
35 |
|
* WebIDL.pm: Support for the reminding extended attributes are |
36 |
|
added. It does not satisfy the definition that a forward |
37 |
|
interface declaration has an extended attribute. It seems that |
38 |
|
unless explicitly allowed multiple extended attributes with the |
39 |
|
same name is not allowed, though it is not explicitly mentioned in |
40 |
|
the spec. |
41 |
|
|
42 |
|
2008-09-16 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* WebIDL.pm: Unescapes extended attribute names and extended |
45 |
|
attribute identifiers. Preserve whether an extended attribute has |
46 |
|
an argument list of not. Support for extended attributes: |
47 |
|
Constructor, ExceptionConsts, IndexGetter, IndexSetter, |
48 |
|
NameGetter, NameSetter, and Null. |
49 |
|
(has_argument_list): New attribute. |
50 |
|
(idl_text): Stringifies argument lists, if any, even if it is |
51 |
|
empty. |
52 |
|
|
53 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
54 |
|
|
55 |
|
* HTML.pm.src: New state |PCDATA_STATE|. Use an empty string for |
56 |
|
|{s_kwd}| in DATA_STATE as default. |
57 |
|
|
58 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
59 |
|
|
60 |
|
* HTML.pm.src, mkhtmlparser.pl: Replace |{prev_char}| |
61 |
|
by |{s_kwd}| in DATA_STATE. |
62 |
|
|
63 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
64 |
|
|
65 |
|
* HTML.pm.src: Shorten keys. |
66 |
|
|
67 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
68 |
|
|
69 |
|
* HTML.pm.src: Remove checking for control character, surrogate |
70 |
|
pair, or noncharacter code points and non-Unicode code |
71 |
|
points (they should be handled by Whatpm::Charset::UnicodeChecker). |
72 |
|
(parse_char_stream): Support for the |$get_wrapper| argument and |
73 |
|
character stream error handlers. |
74 |
|
|
75 |
|
2008-09-15 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* ContentChecker.pm: Don't call |loda_ns_module| |
78 |
|
for null-namespace elements/attributes. |
79 |
|
|
80 |
|
* HTML.pm.src: Fact out $disallowed_control_chars |
81 |
|
as a hash. |
82 |
|
|
83 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
84 |
|
|
85 |
|
* HTML.pm.src: Regexp typo fixed. |{prev_char}| |
86 |
|
and |{next_char}| initializations are moved to initialization |
87 |
|
method. |{read_until}| now supports buffering. Sync |set_inner_html| |
88 |
|
with |parse_char_stream|. |
89 |
|
|
90 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* HTML.pm.src (parse_char_stream): Make |set_next_char| |
93 |
|
invoke |manakai_read_until|, not only |read|, where |
94 |
|
possible, to decrease the number of |read| method calls. |
95 |
|
|
96 |
|
* mkhtmlparser.pl: Related changes to the aforementioned |
97 |
|
modification. |
98 |
|
|
99 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* HTML.pm.src: Use |read| instead of |getc|. |set_inner_html| |
102 |
|
would report character error from now. |
103 |
|
|
104 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
105 |
|
|
106 |
|
* HTML.pm.src: White-space-leaded non-white-space character |
107 |
|
tokens in "before head insertion mode" was not |
108 |
|
correctly handled. |
109 |
|
(set_inner_html): Reimplemented using CharString decodehandle |
110 |
|
class. Support for $get_wrapper argument. Support |
111 |
|
for |{read_until}| feature. |
112 |
|
|
113 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
116 |
|
entities point the "&" character. |
117 |
|
|
118 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
121 |
|
be added to the list of excluded characters. |
122 |
|
|
123 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
124 |
|
|
125 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
126 |
|
and |column| a higher priority than the one set by the |
127 |
|
tokenizer's input handler. |
128 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
129 |
|
not be necessary, since now we do line/column fixup in |
130 |
|
the character decode handle). |
131 |
|
|
132 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
135 |
|
|
136 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |