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