1 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* cc.cgi: Errors and results are now handled by WebHACC::Result. |
4 |
|
Decode |uri| parameter as UTF-8. HTTP header dump and |
5 |
|
input error are now handled by WebHACC::Input. |
6 |
|
|
7 |
|
2008-07-20 Wakaba <wakaba@suika.fam.cx> |
8 |
|
|
9 |
|
* cc.cgi: Modularized. |
10 |
|
|
11 |
|
* WebHACC/: New directory. |
12 |
|
|
13 |
|
2008-07-18 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* cc.cgi (print_structure_dump_webidl_section): Use ->idl_text |
16 |
|
for dummping (Data::Dumper::Dumper no longer used). |
17 |
|
|
18 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* LICENSE: Note on icons/*.png are added. |
21 |
|
|
22 |
|
* icons/: New directory. |
23 |
|
|
24 |
|
* cc-style.css: Rules for background images on error category |
25 |
|
are added. |
26 |
|
|
27 |
|
2008-05-18 Wakaba <wakaba@suika.fam.cx> |
28 |
|
|
29 |
|
* cc.cgi (print_source_string_section): Use new Message::Charset::Info |
30 |
|
interface to decode source code, otherwise the Perl native Encode |
31 |
|
module might decode the source code into different character |
32 |
|
string with the Info's. |
33 |
|
|
34 |
|
2008-05-10 Wakaba <wakaba@suika.fam.cx> |
35 |
|
|
36 |
|
* standards.en.html (requirements): Remove a requirement |
37 |
|
for an HTML element's allowed context (it is covered by HTML5 |
38 |
|
spec since r1583). |
39 |
|
|
40 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
41 |
|
|
42 |
|
* cc.cgi: Use table object returned by the checker; don't |
43 |
|
form a table by itself. |
44 |
|
|
45 |
|
* table-script.js: Use different coloring for empty data cells. |
46 |
|
|
47 |
|
* cc.cgi, table.cgi: Remove table reference for JSON convertion. |
48 |
|
|
49 |
|
2008-05-06 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* table-script.js: Support for header cell highlighting. |
52 |
|
|
53 |
|
* table.cgi: Set |id| to cells; it enables the cell highlighting |
54 |
|
feature. |
55 |
|
|
56 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
57 |
|
|
58 |
|
* table-script.js: Table header/footer fill started at a |
59 |
|
wrong point. |
60 |
|
|
61 |
|
2008-05-05 Wakaba <wakaba@suika.fam.cx> |
62 |
|
|
63 |
|
* table-script.js: It is now 0-indexed stead |
64 |
|
of 1-indexed (HTML5 revision 1376). |
65 |
|
|
66 |
|
2008-04-29 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* cc-style.css: Duplicate terms are no longer disallowed (HTML5 |
69 |
|
revision 1467). |
70 |
|
|
71 |
|
2008-04-12 Wakaba <wakaba@suika.fam.cx> |
72 |
|
|
73 |
|
* parser-manakai.cgi, parser-manakai-interface.en.html: The |innerHTML| |
74 |
|
output mode is split into "|innerHTML| (HTML)" and "|innerHTML| (XML)" |
75 |
|
output modes. |
76 |
|
|
77 |
|
2008-03-29 Wakaba <wakaba@suika.fam.cx> |
78 |
|
|
79 |
|
* cc.cgi: New "URI" section is implemented. |
80 |
|
|
81 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* cc.cgi (get_node_path): Use qualified name, not just |
84 |
|
local name. |
85 |
|
|
86 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* cc.cgi (get_rdf_resource_html): undef vs false bug fixed. |
89 |
|
|
90 |
|
2008-03-21 Wakaba <wakaba@suika.fam.cx> |
91 |
|
|
92 |
|
* cc.cgi: Experimental support for application/rdf+xml type. |
93 |
|
Generate section on RDF triples extracted from the document. |
94 |
|
(print_rdf_section): New function. |
95 |
|
(get_rdf_resource_html): New function. |
96 |
|
|
97 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* cc.cgi (get_error_label): No-parent case was not considered. |
100 |
|
|
101 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* cc.cgi (get_error_label): Use the error location |
104 |
|
of the parent node, if the node does not have one. |
105 |
|
|
106 |
|
2008-03-17 Wakaba <wakaba@suika.fam.cx> |
107 |
|
|
108 |
|
* cc-script.js: The ID of the list is now given as an argument. |
109 |
|
|
110 |
|
* cc.cgi: List of document errors now also expanded by source |
111 |
|
code fragment generated by scripting. |
112 |
|
(get_error_label): Use line/column information from the error |
113 |
|
context node, if any. |
114 |
|
|
115 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
116 |
|
|
117 |
|
* cc.cgi: Line break treatment was different from |
118 |
|
that of HTML and CSS parsers. |
119 |
|
|
120 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
121 |
|
|
122 |
|
* cc-script.js: Unquote U+hhhh escapes. |
123 |
|
|
124 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
125 |
|
|
126 |
|
* cc.cgi (get_error_label): Use token's line and column |
127 |
|
if available. |
128 |
|
|
129 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
130 |
|
|
131 |
|
* cc-script.js: Character was not marked if the line |
132 |
|
is less than 50 characters. |
133 |
|
|
134 |
|
2008-03-16 Wakaba <wakaba@suika.fam.cx> |
135 |
|
|
136 |
|
* cc.cgi: Link to the script added. |
137 |
|
|
138 |
|
* cc-style.css (mark): Added. |
139 |
|
|
140 |
|
* cc-script.js: New script. |
141 |
|
|
142 |
|
2008-03-11 Wakaba <wakaba@suika.fam.cx> |
143 |
|
|
144 |
|
* cc.cgi: |value| should be output in |dt| in Parse Errors |
145 |
|
section. |
146 |
|
|
147 |
|
2008-02-24 Wakaba <wakaba@suika.fam.cx> |
148 |
|
|
149 |
|
* cc.cgi: Support for level-i (informational). |
150 |
|
|
151 |
|
* cc-style.css: New style rules for informational messages added. |
152 |
|
|
153 |
|
* error-description-source.xml (#information, #level-i): Added. |
154 |
|
|
155 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
156 |
|
|
157 |
|
* cc.cgi: In CSS mode, add 'u' error for 'structure' category (until |
158 |
|
it is actually implemented). Support for '-moz-pre-wrap'. |
159 |
|
Typo in 'collapse' value fixed. |
160 |
|
|
161 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
162 |
|
|
163 |
|
* cc.cgi: |text/css| support. |id_prefix| support was |
164 |
|
partially broken. |
165 |
|
|
166 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* cc.cgi: Subdocument validation framework implemented. |
169 |
|
|
170 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* cc.cgi (print_listing_section): ID, class, and term |
173 |
|
section functions are merged. |
174 |
|
|
175 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
|
* table-interface.en.html: Typo fixed. |
178 |
|
|
179 |
|
* cc.cgi: Use |$input->{id_prefix}| as the prefix for the |
180 |
|
identifiers in report sections. Don't add headings |
181 |
|
if the |$input->{nested}| flag is set. |
182 |
|
|
183 |
|
* table-script.js (tableToCanvas): Now it aceepts third |
184 |
|
argument, |idPrefix|, for setting ID prefix. |
185 |
|
|
186 |
|
* table.cgi: Set the third argument to |tableToCanvas| as an |
187 |
|
empty string. |
188 |
|
|
189 |
|
2008-02-10 Wakaba <wakaba@suika.fam.cx> |
190 |
|
|
191 |
|
* cc.cgi (check_and_print): Now this is a subroutine. |
192 |
|
|
193 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
194 |
|
|
195 |
|
* cc-style.css: Rules for s/unsupported/u/'ed version added. |
196 |
|
|
197 |
|
* cc.cgi: Support for 'u' level. |
198 |
|
|
199 |
|
* error-description-source.en.xml: s/unsupported/u/; |
200 |
|
|
201 |
|
* standards.en.html: CSS added. |
202 |
|
|
203 |
|
2008-02-09 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* standards.en.html: New document. |
206 |
|
|
207 |
|
* cc-interface.en.html: Linking to |standards.en.html|. |
208 |
|
|
209 |
|
2007-11-23 Wakaba <wakaba@suika.fam.cx> |
210 |
|
|
211 |
|
* error-description-source.xml: New error descriptions. |
212 |
|
|
213 |
|
* cc.cgi: |Accept-Encoding: *; q=0| is a request for server to send |
214 |
|
a 406 page! |identity| encoding is added. |
215 |
|
|
216 |
|
2007-11-19 Wakaba <wakaba@suika.fam.cx> |
217 |
|
|
218 |
|
* cc.cgi (#document-tree Document): Output |inputEncoding|, |
219 |
|
|manakaiCharset|, and |manakaiHasBOM| attributes. |
220 |
|
|
221 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
222 |
|
|
223 |
|
* cc-style.css: New rules for warnings. |
224 |
|
|
225 |
|
* cc-todo.en.txt: Updated. |
226 |
|
|
227 |
|
* cc.cgi: Default to |Windows-1252| instead of |ISO-8859-1| |
228 |
|
for |inner_html| with external source. Set |manakai_charset| |
229 |
|
attribute if possible. |
230 |
|
(load_text_catalog): Interpret catalog file as UTF-8. |
231 |
|
|
232 |
|
* error-description-source.en.xml: New errors for character |
233 |
|
encodings are added. |
234 |
|
|
235 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
236 |
|
|
237 |
|
* error-description-source.xml: s/charset declaration/character |
238 |
|
encoding declaration/g, since HTML5 spec says so. |
239 |
|
|
240 |
|
2007-11-18 Wakaba <wakaba@suika.fam.cx> |
241 |
|
|
242 |
|
* cc.cgi (get_input_document): Use sniffer to determine |
243 |
|
media type of the entity. |
244 |
|
|
245 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
246 |
|
|
247 |
|
* cc-style.css: Rules for "unsupported" parse errors. |
248 |
|
|
249 |
|
* cc.cgi (print_syntax_error_html_section): Use HTML |
250 |
|
parser for byte string. |
251 |
|
(print_result_unknown_type_section): Make output |
252 |
|
more consistent with other media types. |
253 |
|
|
254 |
|
2007-11-11 Wakaba <wakaba@suika.fam.cx> |
255 |
|
|
256 |
|
* parser.cgi: Use |Whatpm::HTML::Serializer| to serialize |
257 |
|
an HTML DOM. |
258 |
|
|
259 |
|
2007-11-07 Wakaba <wakaba@suika.fam.cx> |
260 |
|
|
261 |
|
* cc-style.css: Styling examples. |
262 |
|
|
263 |
|
2007-11-07 Wakaba <wakaba@suika.fam.cx> |
264 |
|
|
265 |
|
* error-description-source.xml (enumerated:invalid:http-equiv:content-type): |
266 |
|
New. |
267 |
|
|
268 |
|
2007-11-05 Wakaba <wakaba@suika.fam.cx> |
269 |
|
|
270 |
|
* cc.cgi (get_error_level_label): New. |
271 |
|
|
272 |
|
* cc-style.css: New rules for error level descriptions. |
273 |
|
|
274 |
|
* error-description-source.xml: Description for error |
275 |
|
levels is added. |
276 |
|
|
277 |
|
2007-11-04 Wakaba <wakaba@suika.fam.cx> |
278 |
|
|
279 |
|
* cc-interface.en.html (i): |text/cache-manifest| is added. |
280 |
|
|
281 |
|
* cc-style.css: New rules for manifest dump. |
282 |
|
|
283 |
|
* cc.cgi: Support for |text/cache-manifest|. |
284 |
|
|
285 |
|
* error-description-soruce.en.xml (#cache-manifest-errors): New |
286 |
|
section. |
287 |
|
|
288 |
|
2007-09-10 Wakaba <wakaba@suika.fam.cx> |
289 |
|
|
290 |
|
* cc.cgi, cc-style.css: Scoring support. |
291 |
|
|
292 |
|
2007-09-03 Wakaba <wakaba@suika.fam.cx> |
293 |
|
|
294 |
|
* error-description-source.xml: Updated. |
295 |
|
|
296 |
|
2007-09-02 Wakaba <wakaba@suika.fam.cx> |
297 |
|
|
298 |
|
* cc.cgi: Report document sections are now output by |
299 |
|
corresponding subroutines. |
300 |
|
|
301 |
|
2007-08-26 Wakaba <wakaba@suika.fam.cx> |
302 |
|
|
303 |
|
* cc.cgi: New catalog macros |local-name| and |element-local-name|. |
304 |
|
|
305 |
|
2007-08-11 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* cc.cgi, parser-manakai.cgi, parser.cgi: Use |Message::CGI::HTTP| |
308 |
|
instead of |SuikaWiki::Input::HTTP|. |
309 |
|
|
310 |
|
2007-08-05 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* cc-interface.en.html: IMT |application/atom+xml| is added. |
313 |
|
Link to |cc-todo| is added. |
314 |
|
|
315 |
|
2007-07-24 Wakaba <wakaba@suika.fam.cx> |
316 |
|
|
317 |
|
* error-description.xml: Description for "after body", "bare etago", |
318 |
|
and "bogus end tag" are added. |
319 |
|
|
320 |
|
2007-07-21 Wakaba <wakaba@suika.fam.cx> |
321 |
|
|
322 |
|
* cc-style.css: Don't remove bullet of the document node |
323 |
|
in the document tree. Don't collapse white space |
324 |
|
in the |code| elements. |
325 |
|
|
326 |
|
* cc.cgi: Put identifiers and class names into |code| |
327 |
|
element. |
328 |
|
(get_text): Template for attribute values are supported. |
329 |
|
|
330 |
|
* error-descriotion-source.en.xml: More error descriptions |
331 |
|
are included. Use |{@}| attribute value insertion macro |
332 |
|
for errors in which it should be useful. |
333 |
|
|
334 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* cc.cgi: Output HTTP and HTML header before try to |
337 |
|
fetch the specified resource for usability. Add |
338 |
|
tables, identifiers, and terms section to the TOC. |
339 |
|
Generate classes list. |
340 |
|
|
341 |
|
2007-07-17 Wakaba <wakaba@suika.fam.cx> |
342 |
|
|
343 |
|
* alert.png, error.png, info.png: New images. |
344 |
|
|
345 |
|
* LICENSE: New image file names are added. |
346 |
|
|
347 |
|
* cc-interface.en.html: Link to the style sheet is added. |
348 |
|
|
349 |
|
* cc-style.css: Duplicate identifiers and terms |
350 |
|
are decorated by icon. |
351 |
|
|
352 |
|
* cc.cgi: |h1| links to the interface page. |
353 |
|
(#identifiers): New section. |
354 |
|
|
355 |
|
* error-description-source.en.xml: More error types are |
356 |
|
added. |
357 |
|
|
358 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
359 |
|
|
360 |
|
* cc.cgi: Set |STDOUT| encoding as |utf8|. |
361 |
|
(htescape): Escape some more invisible characters. |
362 |
|
|
363 |
|
* error-description-source.en.xml: More error data. |
364 |
|
|
365 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* cc.cgi (table stuff): Set |is_header| property |
368 |
|
of table cells explicitly since otherwise newer JSON.pm |
369 |
|
generates broken output. |
370 |
|
(get_text): Return the reduced type name as well. Use |
371 |
|
it as fragment of detail document. |
372 |
|
|
373 |
|
* error-description-source.en.xml: More error descriptions |
374 |
|
are added. |
375 |
|
|
376 |
|
* mkdescription.pl: Remove |catalog| element from |
377 |
|
the result description document. |
378 |
|
|
379 |
|
* table.cgi: Set |is_header| property |
380 |
|
of table cells explicitly since otherwise newer JSON.pm |
381 |
|
generates broken output. |
382 |
|
|
383 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
384 |
|
|
385 |
|
* Makefile (all): |cc-msg.en.txt| is added to the list of |
386 |
|
dependency. |
387 |
|
(cc-msg.en.txt): New rule. |
388 |
|
|
389 |
|
* mkcatalog.pl: New Perl script. |
390 |
|
|
391 |
|
* cc-msg.en.txt: Now this file is generated by |
392 |
|
the rule described in |Makefile|. |
393 |
|
|
394 |
|
* cc.cgi (HTML mode): Set |charset| as |ISO-8859-1| |
395 |
|
if not specified, for now. |
396 |
|
(get_text): Replace |<var>$/n/</var>|, not just |$/n/|, |
397 |
|
to variable. |
398 |
|
|
399 |
|
* error-description-source.xml: All entries |
400 |
|
in |cc-msg.en.txt| are now described as XML data. |
401 |
|
|
402 |
|
* mkdescription.pl: Print the result by |inner_html| DOM |
403 |
|
attribute. Put |level| attribute value, if any, before |name| |
404 |
|
attribute value. Allow missing of |desc| attribute. |
405 |
|
Ignore any |catalog| element. |
406 |
|
|
407 |
|
2007-07-16 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
409 |
|
* cc-interface.en.html: Content-Type options are extended. |
410 |
|
Charset options are added. URI input box is added. |
411 |
|
|
412 |
|
* cc.cgi (get_input_document): New. Support for URI input. |
413 |
|
(#document-info): Present request URI, documen URI, |
414 |
|
base URI (HTTP-level), internet media type, and |
415 |
|
charset (if any). |
416 |
|
(print_http_header_section): New. |
417 |
|
(print_source_string_section): Renamed from |print_source_string| |
418 |
|
and it now generate entire section. Use charset |
419 |
|
information obtained by parsing (for this reason the section |
420 |
|
now follows the parse error section). |
421 |
|
(HTML parse mode): Support for charsets (alpha). |
422 |
|
(XML parse mode): Support for |application/xml| |
423 |
|
and |text/xml|. Support for charsets. |
424 |
|
(#result-summary): Show error message section, |
425 |
|
rather than simple HTTP error, for any input error. |
426 |
|
(print_document_tree): Present |xml_version|, |xml_encoding|, |
427 |
|
and |xml_standalone|. |
428 |
|
(get_node_path): Return |/| if the input is the |Document| node. |
429 |
|
(WDCC::LWPUA): New package. |
430 |
|
|
431 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
432 |
|
|
433 |
|
* parser-manakai-interface.en.html: An option |
434 |
|
to parse as H2H is added. |
435 |
|
|
436 |
|
* parser-manakai.cgi: H2H parse mode is added. |
437 |
|
|
438 |
|
2007-07-15 Wakaba <wakaba@suika.fam.cx> |
439 |
|
|
440 |
|
* parser-manakai.cgi: Set |Document| as HTML if it is. |
441 |
|
Use |inner_html| attribute for inner HTML value. |
442 |
|
XML documents are now serializable via |inner_html|. |
443 |
|
|
444 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
445 |
|
|
446 |
|
* Makefile: New. |
447 |
|
|
448 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
449 |
|
|
450 |
|
* cc.cgi: Return 404 if |PATH_INFO| is different from |/|. |
451 |
|
Link to |error-description|. |
452 |
|
|
453 |
|
* error-description-source.xml: New. |
454 |
|
|
455 |
|
* mkdescription.pl: New. |
456 |
|
|
457 |
|
2007-07-01 Wakaba <wakaba@suika.fam.cx> |
458 |
|
|
459 |
|
* cc-style.css: New rules for empty error lists, |
460 |
|
error levels, and |code|. |
461 |
|
|
462 |
|
* cc.cgi: Support for error message catalog. |
463 |
|
Support for empty (zero-length) document. |
464 |
|
(print_source_string): Support for empty document. |
465 |
|
(print_document_tree): Element |has_child_nodes| test |
466 |
|
was incorrect. Output compat mode and is html flag |
467 |
|
for |Document| node. |
468 |
|
(load_text_catalog, get_text): New functions. |
469 |
|
|
470 |
|
* LICENSE, large-alert.png, large-info.png, large-stop.png: |
471 |
|
New files. |
472 |
|
|
473 |
|
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
474 |
|
|
475 |
|
* cc.cgi: "Terms" section. "Tree" was sometimes |
476 |
|
non-conforming to HTML5. |
477 |
|
(get_node_link): New function. |
478 |
|
|
479 |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
2007-06-30 Wakaba <wakaba@suika.fam.cx> |
480 |
|
|
481 |
* cc-style.css (img): New rule not to make border |
* cc-style.css (img): New rule not to make border |