1 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src (parse_byte_string): Redefined to invoke |
4 |
|
|parse_byte_stream|. |
5 |
|
(parse_byte_stream): New method. |
6 |
|
|
7 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* HTML.pm.src (parse_byte_string): Fix the column number reported |
10 |
|
by encoding layer error reporter. |
11 |
|
|
12 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
13 |
|
|
14 |
|
* HTML.pm.src (parse_byte_string): Use streaming decoder |
15 |
|
rather than converting the whole byte string and then parsing. |
16 |
|
Propagate errors in character encoding layer. |
17 |
|
(get_next_token): Precise error reporting for |bare stago| error. |
18 |
|
|
19 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
20 |
|
|
21 |
|
* HTML.pm.src (parse_char_stream): New method. |
22 |
|
(parse_char_string): This method is now defined as an invocation |
23 |
|
of the |parse_char_stream| method. |
24 |
|
|
25 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* HTML.pm.src (parse_byte_string): Report various status |
28 |
|
of the sniffing as info-level errors. Support for new |
29 |
|
decoding framework in parser resestting. |
30 |
|
(new): Various default error levels were not set. |
31 |
|
|
32 |
|
2008-05-17 Wakaba <wakaba@suika.fam.cx> |
33 |
|
|
34 |
|
* HTML.pm.src (parse_byte_string): HTML5 encoding siniffing |
35 |
|
algorithm, except for the actual sniffing, is implemented |
36 |
|
with new framework with Message::Charset::Info. |
37 |
|
|
38 |
|
2008-05-16 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* CacheManifest.pm (_parse): Drop fragment identifiers from |
41 |
|
URIs in fallback section (HTML5 revision 1596). |
42 |
|
|
43 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
44 |
|
|
45 |
|
* Makefile (Entities.html): URI has changed. |
46 |
|
|
47 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
48 |
|
|
49 |
|
* CacheManifest.pm: Don't replace U+0000 NULL (HTML5 revision |
50 |
|
1553). |
51 |
|
|
52 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
53 |
|
|
54 |
|
* ContentChecker.pm: Noted that those returned in |table| are |
55 |
|
no longer table elements, but table objects returned |
56 |
|
by Whatpm::HTMLTable. |
57 |
|
|
58 |
|
* HTMLTable.pm (form_table): Return table element node |
59 |
|
as |$table->{element}|. |
60 |
|
(assign_header): Support for the |headers=""| attribute. |
61 |
|
|
62 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* HTMLTable.pm (assign_header): New function; first version |
65 |
|
with no support for headers="". |
66 |
|
(form_table): Include table width and height to the returned |
67 |
|
table object for covenience. Indexing in column assignement was wrong. |
68 |
|
Set whether a data cell is empty or not for convenience. |
69 |
|
|
70 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
71 |
|
|
72 |
|
* HTMLTable.pm: Robuster caption support (HTML5 revision 1393). |
73 |
|
|
74 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* HTMLTable.pm: How table model errors are detected is |
77 |
|
changed (HTML5 revision 1387). |
78 |
|
|
79 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
80 |
|
|
81 |
|
* HTMLTable.pm: The algorithm now moves |tfoot| elements |
82 |
|
to the end of the table (HTML5 revision 1380). |
83 |
|
|
84 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
85 |
|
|
86 |
|
* HTMLTable.pm: The algorithm is now 0-based indexing, instead |
87 |
|
of 1-based (HTML5 revision 1376). |
88 |
|
|
89 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
90 |
|
|
91 |
|
* ContentType.pm: "Content-Type: text/plain; charset=UTF-8" |
92 |
|
and "Content-Encoding" no longer prevent sniffing (HTML5 |
93 |
|
revision 1288). |
94 |
|
|
95 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
96 |
|
|
97 |
|
* ContentType.pm: Skip BOMs n feed or HTML algorithm (HTML5 revision |
98 |
|
1282). |
99 |
|
|
100 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
101 |
|
|
102 |
|
* ContentChecker.pm: Support for global attributes. |
103 |
|
Status of XML specs are added. |
104 |
|
|
105 |
|
2008-05-03 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* ContentChecker.pm (check_element): Support for |template=""| |
108 |
|
and |ref=""| attribute (referent element type checking). |
109 |
|
|
110 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
111 |
|
|
112 |
|
* CacheManifest.pm (_parse): New same origin definition (HTML5 revision |
113 |
|
1500) is implemented (except for IDNA part and URI-scheme-specific |
114 |
|
knowledge). Line number counting was wrong for LF-only |
115 |
|
documents. |
116 |
|
|
117 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
118 |
|
|
119 |
|
* HTML.pm.src: Raise an parse error for any disallowed |
120 |
|
character (HTML5 revision 1263). |
121 |
|
|
122 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* mkentitylist.pl: Support for new HTML5 entity table format (the |
125 |
|
definition for |AElig;| was missing). |
126 |
|
|
127 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
128 |
|
|
129 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for element/attribute |
130 |
|
name/namespace fixup (HTML5 revisions 1413, 1415, 1416, and 1417). |
131 |
|
|
132 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* HTML.pm.src: List of element names that close foreign content |
135 |
|
insertion mode is added (HTML5 revisions 1412 and 1418). |
136 |
|
|
137 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* HTML.pm.src: Support for |mglyph| and |malignmark| |
140 |
|
elements (HTML5 revision 1410). |
141 |
|
|
142 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* HTML.pm.src: Support for new long MathML entities (HTML5 |
145 |
|
revision 1406). |
146 |
|
|
147 |
|
2008-04-13 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* HTML.pm.src: CDATA section support for MathML and SVG |
150 |
|
elements (HTML5 revision 1404 and 1420). |
151 |
|
|
152 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
153 |
|
|
154 |
|
* HTML.pm.src, mkhtmlparser.pl: Support for MathML and SVG |
155 |
|
elements (HTML5 revision 1404). Unused !!!macro definitions |
156 |
|
are removed. |
157 |
|
|
158 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* HTML.pm.src, mkhtmlparser.pl: The way permitted slash errors |
161 |
|
are raised is changed (HTML5 revision 1404). |
162 |
|
|
163 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
164 |
|
|
165 |
|
* HTML.pm.src: Category sets that are no longer used are removed. |
166 |
|
|
167 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
168 |
|
|
169 |
|
* HTML.pm.src: The ->[1] property of stack entries are now |
170 |
|
replaced by constants representing element category. |
171 |
|
|
172 |
|
2008-04-06 Wakaba <wakaba@suika.fam.cx> |
173 |
|
|
174 |
|
* HTML.pm.src: Don't use local name stored in stack (i.e. ->[1]) |
175 |
|
for error reporting. (This is a preparation for using constant |
176 |
|
value for ->[1].) |
177 |
|
|
178 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
179 |
|
|
180 |
|
* RDFXML.pm: Typo fixed. |
181 |
|
|
182 |
|
2008-03-22 Wakaba <wakaba@suika.fam.cx> |
183 |
|
|
184 |
|
* ContentChecker.pm: |fact_level| is now treated |
185 |
|
as same as |must_level|, i.e. level = |m|. |
186 |
|
(check_element): Make list of URIs in the DOM. |
187 |
|
|
188 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
189 |
|
|
190 |
|
* RDFXML.pm: Language accessor implemented. |
191 |
|
Local (null-namespace) attribute support. |
192 |
|
|
193 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* RDFXML.pm: Factored out ID checking code. |
196 |
|
|
197 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
198 |
|
|
199 |
|
* RDFXML.pm: TODO items noted. Validation of ID |
200 |
|
and URI attributes is implemented. Warn if unknown |
201 |
|
value is used in rdf:parseType="" attribute. |
202 |
|
|
203 |
|
* URIChecker.pm (check_rdf_uri_reference): New function. |
204 |
|
|
205 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
206 |
|
|
207 |
|
* RDFXML.pm: bnodeid implemented. Relative references |
208 |
|
are now resolved. |
209 |
|
|
210 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* ContentChecker.pm: RDF reification implemented. |
213 |
|
|
214 |
|
* RDFXML.pm: undef vs false bug fixed. |
215 |
|
Reification implemented. |
216 |
|
|
217 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
218 |
|
|
219 |
|
* RDFXML.pm: s/id/ID/ for attribute name. |
220 |
|
The |node| arguments are added for |ontriple| calls. |
221 |
|
Too many "attribute not allowed" errors were raised. |
222 |
|
|
223 |
|
* ContentChecker.pm: Initial experimental support for rdf:RDF |
224 |
|
element. |
225 |
|
|
226 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
227 |
|
|
228 |
|
* RDFXML.pm: New module. |
229 |
|
|
230 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
231 |
|
|
232 |
|
* HTML.pm.src (set_inner_html): Line/column number |
233 |
|
code was old one yet. |
234 |
|
|
235 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* HTML.pm.src: Better line/column reporting for "duplicate attribute" |
238 |
|
errors. Line/column markings for DOCTYPE, comment, and |
239 |
|
character tokens are reintroduced; otherwise, |
240 |
|
error location for "not HTML5" error and errors |
241 |
|
for implied elements are not attached. |
242 |
|
|
243 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
244 |
|
|
245 |
|
* HTML.pm.src: Set line/column numbers to attributes. |
246 |
|
|
247 |
|
* NanoDOM.pm (create_attribute_ns, set_attribute_node_ns): Added. |
248 |
|
(value): Setter implemented. |
249 |
|
|
250 |
|
* mkhtmlparser.pl: Set line/column numbers to Attr nodes. |
251 |
|
|
252 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
253 |
|
|
254 |
|
* HTML.pm.src: Unused line/column markings are removed. |
255 |
|
|
256 |
|
2008-03-20 Wakaba <wakaba@suika.fam.cx> |
257 |
|
|
258 |
|
* HTML.pm.src (_get_next_token): Remove |first_start_tag| |
259 |
|
flag, which is no longer used. |
260 |
|
|
261 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* HTML.pm.src: Set line/column information to element nodes. |
264 |
|
|
265 |
|
* mkhtmlparser.pl (!!!create-element, !!!insert-element, |
266 |
|
and !!!insert-element-t): Set line/column information to |
267 |
|
element nodes. |
268 |
|
|
269 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
270 |
|
|
271 |
|
* HTML.pm.src (_get_next_token): The first "<" character |
272 |
|
in "<?", "<>", or "</>" should be the error point. |
273 |
|
|
274 |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
* HTML.pm.src: Some more fixes on error position reporting. |
* HTML.pm.src: Some more fixes on error position reporting. |