2007-11-18 Wakaba * cc-style.css: New rules for warnings. * cc-todo.en.txt: Updated. * cc.cgi: Default to |Windows-1252| instead of |ISO-8859-1| for |inner_html| with external source. Set |manakai_charset| attribute if possible. (load_text_catalog): Interpret catalog file as UTF-8. * error-description-source.en.xml: New errors for character encodings are added. 2007-11-18 Wakaba * error-description-source.xml: s/charset declaration/character encoding declaration/g, since HTML5 spec says so. 2007-11-18 Wakaba * cc.cgi (get_input_document): Use sniffer to determine media type of the entity. 2007-11-11 Wakaba * cc-style.css: Rules for "unsupported" parse errors. * cc.cgi (print_syntax_error_html_section): Use HTML parser for byte string. (print_result_unknown_type_section): Make output more consistent with other media types. 2007-11-11 Wakaba * parser.cgi: Use |Whatpm::HTML::Serializer| to serialize an HTML DOM. 2007-11-07 Wakaba * cc-style.css: Styling examples. 2007-11-07 Wakaba * error-description-source.xml (enumerated:invalid:http-equiv:content-type): New. 2007-11-05 Wakaba * cc.cgi (get_error_level_label): New. * cc-style.css: New rules for error level descriptions. * error-description-source.xml: Description for error levels is added. 2007-11-04 Wakaba * cc-interface.en.html (i): |text/cache-manifest| is added. * cc-style.css: New rules for manifest dump. * cc.cgi: Support for |text/cache-manifest|. * error-description-soruce.en.xml (#cache-manifest-errors): New section. 2007-09-10 Wakaba * cc.cgi, cc-style.css: Scoring support. 2007-09-03 Wakaba * error-description-source.xml: Updated. 2007-09-02 Wakaba * cc.cgi: Report document sections are now output by corresponding subroutines. 2007-08-26 Wakaba * cc.cgi: New catalog macros |local-name| and |element-local-name|. 2007-08-11 Wakaba * cc.cgi, parser-manakai.cgi, parser.cgi: Use |Message::CGI::HTTP| instead of |SuikaWiki::Input::HTTP|. 2007-08-05 Wakaba * cc-interface.en.html: IMT |application/atom+xml| is added. Link to |cc-todo| is added. 2007-07-24 Wakaba * error-description.xml: Description for "after body", "bare etago", and "bogus end tag" are added. 2007-07-21 Wakaba * cc-style.css: Don't remove bullet of the document node in the document tree. Don't collapse white space in the |code| elements. * cc.cgi: Put identifiers and class names into |code| element. (get_text): Template for attribute values are supported. * error-descriotion-source.en.xml: More error descriptions are included. Use |{@}| attribute value insertion macro for errors in which it should be useful. 2007-07-17 Wakaba * cc.cgi: Output HTTP and HTML header before try to fetch the specified resource for usability. Add tables, identifiers, and terms section to the TOC. Generate classes list. 2007-07-17 Wakaba * alert.png, error.png, info.png: New images. * LICENSE: New image file names are added. * cc-interface.en.html: Link to the style sheet is added. * cc-style.css: Duplicate identifiers and terms are decorated by icon. * cc.cgi: |h1| links to the interface page. (#identifiers): New section. * error-description-source.en.xml: More error types are added. 2007-07-16 Wakaba * cc.cgi: Set |STDOUT| encoding as |utf8|. (htescape): Escape some more invisible characters. * error-description-source.en.xml: More error data. 2007-07-16 Wakaba * cc.cgi (table stuff): Set |is_header| property of table cells explicitly since otherwise newer JSON.pm generates broken output. (get_text): Return the reduced type name as well. Use it as fragment of detail document. * error-description-source.en.xml: More error descriptions are added. * mkdescription.pl: Remove |catalog| element from the result description document. * table.cgi: Set |is_header| property of table cells explicitly since otherwise newer JSON.pm generates broken output. 2007-07-16 Wakaba * Makefile (all): |cc-msg.en.txt| is added to the list of dependency. (cc-msg.en.txt): New rule. * mkcatalog.pl: New Perl script. * cc-msg.en.txt: Now this file is generated by the rule described in |Makefile|. * cc.cgi (HTML mode): Set |charset| as |ISO-8859-1| if not specified, for now. (get_text): Replace |$/n/|, not just |$/n/|, to variable. * error-description-source.xml: All entries in |cc-msg.en.txt| are now described as XML data. * mkdescription.pl: Print the result by |inner_html| DOM attribute. Put |level| attribute value, if any, before |name| attribute value. Allow missing of |desc| attribute. Ignore any |catalog| element. 2007-07-16 Wakaba * cc-interface.en.html: Content-Type options are extended. Charset options are added. URI input box is added. * cc.cgi (get_input_document): New. Support for URI input. (#document-info): Present request URI, documen URI, base URI (HTTP-level), internet media type, and charset (if any). (print_http_header_section): New. (print_source_string_section): Renamed from |print_source_string| and it now generate entire section. Use charset information obtained by parsing (for this reason the section now follows the parse error section). (HTML parse mode): Support for charsets (alpha). (XML parse mode): Support for |application/xml| and |text/xml|. Support for charsets. (#result-summary): Show error message section, rather than simple HTTP error, for any input error. (print_document_tree): Present |xml_version|, |xml_encoding|, and |xml_standalone|. (get_node_path): Return |/| if the input is the |Document| node. (WDCC::LWPUA): New package. 2007-07-15 Wakaba * parser-manakai-interface.en.html: An option to parse as H2H is added. * parser-manakai.cgi: H2H parse mode is added. 2007-07-15 Wakaba * parser-manakai.cgi: Set |Document| as HTML if it is. Use |inner_html| attribute for inner HTML value. XML documents are now serializable via |inner_html|. 2007-07-01 Wakaba * Makefile: New. 2007-07-01 Wakaba * cc.cgi: Return 404 if |PATH_INFO| is different from |/|. Link to |error-description|. * error-description-source.xml: New. * mkdescription.pl: New. 2007-07-01 Wakaba * cc-style.css: New rules for empty error lists, error levels, and |code|. * cc.cgi: Support for error message catalog. Support for empty (zero-length) document. (print_source_string): Support for empty document. (print_document_tree): Element |has_child_nodes| test was incorrect. Output compat mode and is html flag for |Document| node. (load_text_catalog, get_text): New functions. * LICENSE, large-alert.png, large-info.png, large-stop.png: New files. 2007-06-30 Wakaba * cc.cgi: "Terms" section. "Tree" was sometimes non-conforming to HTML5. (get_node_link): New function. 2007-06-30 Wakaba * cc-style.css (img): New rule not to make border for img[usemap]. * cc.cgi: |table.cgi|-feature merged. Doctype token was serialized incorrectly. * table-script.js (tableToCanvas): Has second argument to specify the parent. Use image map to identify cells. * table.cgi: Minor fix to sync with the aforementioned change. 2007-06-25 Wakaba * parser-manakai.cgi, parser-manakai-interface.en.html: Fragment parse mode is implemented. 2007-06-21 Wakaba * parser-interface.en.html: |checked"| -> |checked| (it did work for Firefox 1.5 but not for WinIE6). 2007-06-21 Wakaba * parser-manakai.cgi: New. * parser-manakai-interface.en.html: New. * time-manakai.plt: New. 2007-05-28 Wakaba * parser.cgi: Log elapsed time to external files. * time.plt: New file. 2007-05-27 Wakaba * parser.cgi: Output how long each process takes. Document element testing is moved to the |Whatpm::ContentChecker| module. 2007-05-27 Wakaba * excanvas.js: New (from ). * table.cgi: Remove |$table->{caption}->{element}| for table with caption processed correctly. Support for WinIE via ExplorerCanvas; note that it does not draw path with fill and stroke correctly (stroke is hidden?). 2007-05-27 Wakaba * table.cgi, table-interface.en.html. table-script.js: New files. 2007-05-25 Wakaba * parser.cgi: Use CGI::Carp. 2007-05-19 Wakaba * parser-interface.en.html: A checkbox to enable DOM5 HTML conformance checking is added. * parser.cgi: Check DOM5 HTML conformance if |dom5| parameter is specified. 2007-05-01 Wakaba * parser.cgi: Module names are updated. * parser-interface.en.html: Link to Whatpm introduction is added. 2007-05-01 Wakaba * parser-interface.en.html: New document. * parser.cgi: Test-result-format mode is added. 2007-05-01 Wakaba * parser.cgi: New file. * .htaccess: New file. * ChangeLog: New file.