Parent Directory
|
Revision Log
++ ChangeLog 17 Mar 2008 13:25:16 -0000 2008-03-17 Wakaba <wakaba@suika.fam.cx> * cc-script.js: The ID of the list is now given as an argument. * cc.cgi: List of document errors now also expanded by source code fragment generated by scripting. (get_error_label): Use line/column information from the error context node, if any.
| 1 | wakaba | 1.58 | 2008-03-17 Wakaba <[email protected]> |
| 2 | |||
| 3 | * cc-script.js: The ID of the list is now given as an argument. | ||
| 4 | |||
| 5 | * cc.cgi: List of document errors now also expanded by source | ||
| 6 | code fragment generated by scripting. | ||
| 7 | (get_error_label): Use line/column information from the error | ||
| 8 | context node, if any. | ||
| 9 | |||
| 10 | wakaba | 1.53 | 2008-03-16 Wakaba <[email protected]> |
| 11 | |||
| 12 | wakaba | 1.57 | * cc.cgi: Line break treatment was different from |
| 13 | that of HTML and CSS parsers. | ||
| 14 | |||
| 15 | 2008-03-16 Wakaba <[email protected]> | ||
| 16 | |||
| 17 | wakaba | 1.56 | * cc-script.js: Unquote U+hhhh escapes. |
| 18 | |||
| 19 | 2008-03-16 Wakaba <[email protected]> | ||
| 20 | |||
| 21 | wakaba | 1.55 | * cc.cgi (get_error_label): Use token's line and column |
| 22 | if available. | ||
| 23 | |||
| 24 | 2008-03-16 Wakaba <[email protected]> | ||
| 25 | |||
| 26 | wakaba | 1.54 | * cc-script.js: Character was not marked if the line |
| 27 | is less than 50 characters. | ||
| 28 | |||
| 29 | 2008-03-16 Wakaba <[email protected]> | ||
| 30 | |||
| 31 | wakaba | 1.53 | * cc.cgi: Link to the script added. |
| 32 | |||
| 33 | * cc-style.css (mark): Added. | ||
| 34 | |||
| 35 | * cc-script.js: New script. | ||
| 36 | |||
| 37 | wakaba | 1.52 | 2008-03-11 Wakaba <[email protected]> |
| 38 | |||
| 39 | * cc.cgi: |value| should be output in |dt| in Parse Errors | ||
| 40 | section. | ||
| 41 | |||
| 42 | wakaba | 1.51 | 2008-02-24 Wakaba <[email protected]> |
| 43 | |||
| 44 | * cc.cgi: Support for level-i (informational). | ||
| 45 | |||
| 46 | * cc-style.css: New style rules for informational messages added. | ||
| 47 | |||
| 48 | * error-description-source.xml (#information, #level-i): Added. | ||
| 49 | |||
| 50 | wakaba | 1.45 | 2008-02-10 Wakaba <[email protected]> |
| 51 | |||
| 52 | wakaba | 1.50 | * cc.cgi: In CSS mode, add 'u' error for 'structure' category (until |
| 53 | it is actually implemented). Support for '-moz-pre-wrap'. | ||
| 54 | Typo in 'collapse' value fixed. | ||
| 55 | |||
| 56 | 2008-02-10 Wakaba <[email protected]> | ||
| 57 | |||
| 58 | wakaba | 1.49 | * cc.cgi: |text/css| support. |id_prefix| support was |
| 59 | partially broken. | ||
| 60 | |||
| 61 | 2008-02-10 Wakaba <[email protected]> | ||
| 62 | |||
| 63 | wakaba | 1.48 | * cc.cgi: Subdocument validation framework implemented. |
| 64 | |||
| 65 | 2008-02-10 Wakaba <[email protected]> | ||
| 66 | |||
| 67 | wakaba | 1.47 | * cc.cgi (print_listing_section): ID, class, and term |
| 68 | section functions are merged. | ||
| 69 | |||
| 70 | 2008-02-10 Wakaba <[email protected]> | ||
| 71 | |||
| 72 | wakaba | 1.46 | * table-interface.en.html: Typo fixed. |
| 73 | |||
| 74 | * cc.cgi: Use |$input->{id_prefix}| as the prefix for the | ||
| 75 | identifiers in report sections. Don't add headings | ||
| 76 | if the |$input->{nested}| flag is set. | ||
| 77 | |||
| 78 | * table-script.js (tableToCanvas): Now it aceepts third | ||
| 79 | argument, |idPrefix|, for setting ID prefix. | ||
| 80 | |||
| 81 | * table.cgi: Set the third argument to |tableToCanvas| as an | ||
| 82 | empty string. | ||
| 83 | |||
| 84 | 2008-02-10 Wakaba <[email protected]> | ||
| 85 | |||
| 86 | wakaba | 1.45 | * cc.cgi (check_and_print): Now this is a subroutine. |
| 87 | |||
| 88 | wakaba | 1.43 | 2008-02-09 Wakaba <[email protected]> |
| 89 | |||
| 90 | wakaba | 1.44 | * cc-style.css: Rules for s/unsupported/u/'ed version added. |
| 91 | |||
| 92 | * cc.cgi: Support for 'u' level. | ||
| 93 | |||
| 94 | * error-description-source.en.xml: s/unsupported/u/; | ||
| 95 | |||
| 96 | * standards.en.html: CSS added. | ||
| 97 | |||
| 98 | 2008-02-09 Wakaba <[email protected]> | ||
| 99 | |||
| 100 | wakaba | 1.43 | * standards.en.html: New document. |
| 101 | |||
| 102 | * cc-interface.en.html: Linking to |standards.en.html|. | ||
| 103 | |||
| 104 | wakaba | 1.42 | 2007-11-23 Wakaba <[email protected]> |
| 105 | |||
| 106 | * error-description-source.xml: New error descriptions. | ||
| 107 | |||
| 108 | * cc.cgi: |Accept-Encoding: *; q=0| is a request for server to send | ||
| 109 | a 406 page! |identity| encoding is added. | ||
| 110 | |||
| 111 | wakaba | 1.41 | 2007-11-19 Wakaba <[email protected]> |
| 112 | |||
| 113 | * cc.cgi (#document-tree Document): Output |inputEncoding|, | ||
| 114 | |manakaiCharset|, and |manakaiHasBOM| attributes. | ||
| 115 | |||
| 116 | wakaba | 1.39 | 2007-11-18 Wakaba <[email protected]> |
| 117 | |||
| 118 | wakaba | 1.40 | * cc-style.css: New rules for warnings. |
| 119 | |||
| 120 | * cc-todo.en.txt: Updated. | ||
| 121 | |||
| 122 | * cc.cgi: Default to |Windows-1252| instead of |ISO-8859-1| | ||
| 123 | for |inner_html| with external source. Set |manakai_charset| | ||
| 124 | attribute if possible. | ||
| 125 | (load_text_catalog): Interpret catalog file as UTF-8. | ||
| 126 | |||
| 127 | * error-description-source.en.xml: New errors for character | ||
| 128 | encodings are added. | ||
| 129 | |||
| 130 | 2007-11-18 Wakaba <[email protected]> | ||
| 131 | |||
| 132 | * error-description-source.xml: s/charset declaration/character | ||
| 133 | encoding declaration/g, since HTML5 spec says so. | ||
| 134 | |||
| 135 | 2007-11-18 Wakaba <[email protected]> | ||
| 136 | |||
| 137 | wakaba | 1.39 | * cc.cgi (get_input_document): Use sniffer to determine |
| 138 | media type of the entity. | ||
| 139 | |||
| 140 | wakaba | 1.37 | 2007-11-11 Wakaba <[email protected]> |
| 141 | |||
| 142 | wakaba | 1.38 | * cc-style.css: Rules for "unsupported" parse errors. |
| 143 | |||
| 144 | * cc.cgi (print_syntax_error_html_section): Use HTML | ||
| 145 | parser for byte string. | ||
| 146 | (print_result_unknown_type_section): Make output | ||
| 147 | more consistent with other media types. | ||
| 148 | |||
| 149 | 2007-11-11 Wakaba <[email protected]> | ||
| 150 | |||
| 151 | wakaba | 1.37 | * parser.cgi: Use |Whatpm::HTML::Serializer| to serialize |
| 152 | an HTML DOM. | ||
| 153 | |||
| 154 | wakaba | 1.35 | 2007-11-07 Wakaba <[email protected]> |
| 155 | |||
| 156 | wakaba | 1.36 | * cc-style.css: Styling examples. |
| 157 | |||
| 158 | 2007-11-07 Wakaba <[email protected]> | ||
| 159 | |||
| 160 | wakaba | 1.35 | * error-description-source.xml (enumerated:invalid:http-equiv:content-type): |
| 161 | New. | ||
| 162 | |||
| 163 | wakaba | 1.34 | 2007-11-05 Wakaba <[email protected]> |
| 164 | |||
| 165 | * cc.cgi (get_error_level_label): New. | ||
| 166 | |||
| 167 | * cc-style.css: New rules for error level descriptions. | ||
| 168 | |||
| 169 | * error-description-source.xml: Description for error | ||
| 170 | levels is added. | ||
| 171 | |||
| 172 | wakaba | 1.33 | 2007-11-04 Wakaba <[email protected]> |
| 173 | |||
| 174 | * cc-interface.en.html (i): |text/cache-manifest| is added. | ||
| 175 | |||
| 176 | * cc-style.css: New rules for manifest dump. | ||
| 177 | |||
| 178 | * cc.cgi: Support for |text/cache-manifest|. | ||
| 179 | |||
| 180 | * error-description-soruce.en.xml (#cache-manifest-errors): New | ||
| 181 | section. | ||
| 182 | |||
| 183 | wakaba | 1.32 | 2007-09-10 Wakaba <[email protected]> |
| 184 | |||
| 185 | * cc.cgi, cc-style.css: Scoring support. | ||
| 186 | |||
| 187 | wakaba | 1.31 | 2007-09-03 Wakaba <[email protected]> |
| 188 | |||
| 189 | * error-description-source.xml: Updated. | ||
| 190 | |||
| 191 | wakaba | 1.30 | 2007-09-02 Wakaba <[email protected]> |
| 192 | |||
| 193 | * cc.cgi: Report document sections are now output by | ||
| 194 | corresponding subroutines. | ||
| 195 | |||
| 196 | wakaba | 1.29 | 2007-08-26 Wakaba <[email protected]> |
| 197 | |||
| 198 | * cc.cgi: New catalog macros |local-name| and |element-local-name|. | ||
| 199 | |||
| 200 | wakaba | 1.28 | 2007-08-11 Wakaba <[email protected]> |
| 201 | |||
| 202 | * cc.cgi, parser-manakai.cgi, parser.cgi: Use |Message::CGI::HTTP| | ||
| 203 | instead of |SuikaWiki::Input::HTTP|. | ||
| 204 | |||
| 205 | 2007-08-05 Wakaba <[email protected]> | ||
| 206 | |||
| 207 | * cc-interface.en.html: IMT |application/atom+xml| is added. | ||
| 208 | Link to |cc-todo| is added. | ||
| 209 | |||
| 210 | 2007-07-24 Wakaba <[email protected]> | ||
| 211 | |||
| 212 | * error-description.xml: Description for "after body", "bare etago", | ||
| 213 | and "bogus end tag" are added. | ||
| 214 | |||
| 215 | wakaba | 1.27 | 2007-07-21 Wakaba <[email protected]> |
| 216 | |||
| 217 | * cc-style.css: Don't remove bullet of the document node | ||
| 218 | in the document tree. Don't collapse white space | ||
| 219 | in the |code| elements. | ||
| 220 | |||
| 221 | * cc.cgi: Put identifiers and class names into |code| | ||
| 222 | element. | ||
| 223 | (get_text): Template for attribute values are supported. | ||
| 224 | |||
| 225 | * error-descriotion-source.en.xml: More error descriptions | ||
| 226 | are included. Use |{@}| attribute value insertion macro | ||
| 227 | for errors in which it should be useful. | ||
| 228 | |||
| 229 | wakaba | 1.25 | 2007-07-17 Wakaba <[email protected]> |
| 230 | |||
| 231 | wakaba | 1.26 | * cc.cgi: Output HTTP and HTML header before try to |
| 232 | fetch the specified resource for usability. Add | ||
| 233 | tables, identifiers, and terms section to the TOC. | ||
| 234 | Generate classes list. | ||
| 235 | |||
| 236 | 2007-07-17 Wakaba <[email protected]> | ||
| 237 | |||
| 238 | wakaba | 1.25 | * alert.png, error.png, info.png: New images. |
| 239 | |||
| 240 | * LICENSE: New image file names are added. | ||
| 241 | |||
| 242 | * cc-interface.en.html: Link to the style sheet is added. | ||
| 243 | |||
| 244 | * cc-style.css: Duplicate identifiers and terms | ||
| 245 | are decorated by icon. | ||
| 246 | |||
| 247 | * cc.cgi: |h1| links to the interface page. | ||
| 248 | (#identifiers): New section. | ||
| 249 | |||
| 250 | * error-description-source.en.xml: More error types are | ||
| 251 | added. | ||
| 252 | |||
| 253 | wakaba | 1.21 | 2007-07-16 Wakaba <[email protected]> |
| 254 | |||
| 255 | wakaba | 1.24 | * cc.cgi: Set |STDOUT| encoding as |utf8|. |
| 256 | (htescape): Escape some more invisible characters. | ||
| 257 | |||
| 258 | * error-description-source.en.xml: More error data. | ||
| 259 | |||
| 260 | 2007-07-16 Wakaba <[email protected]> | ||
| 261 | |||
| 262 | wakaba | 1.23 | * cc.cgi (table stuff): Set |is_header| property |
| 263 | of table cells explicitly since otherwise newer JSON.pm | ||
| 264 | generates broken output. | ||
| 265 | (get_text): Return the reduced type name as well. Use | ||
| 266 | it as fragment of detail document. | ||
| 267 | |||
| 268 | wakaba | 1.24 | * error-description-source.en.xml: More error descriptions |
| 269 | wakaba | 1.23 | are added. |
| 270 | |||
| 271 | * mkdescription.pl: Remove |catalog| element from | ||
| 272 | the result description document. | ||
| 273 | |||
| 274 | * table.cgi: Set |is_header| property | ||
| 275 | of table cells explicitly since otherwise newer JSON.pm | ||
| 276 | generates broken output. | ||
| 277 | |||
| 278 | 2007-07-16 Wakaba <[email protected]> | ||
| 279 | |||
| 280 | wakaba | 1.22 | * Makefile (all): |cc-msg.en.txt| is added to the list of |
| 281 | dependency. | ||
| 282 | (cc-msg.en.txt): New rule. | ||
| 283 | |||
| 284 | * mkcatalog.pl: New Perl script. | ||
| 285 | |||
| 286 | * cc-msg.en.txt: Now this file is generated by | ||
| 287 | the rule described in |Makefile|. | ||
| 288 | |||
| 289 | * cc.cgi (HTML mode): Set |charset| as |ISO-8859-1| | ||
| 290 | if not specified, for now. | ||
| 291 | (get_text): Replace |<var>$/n/</var>|, not just |$/n/|, | ||
| 292 | to variable. | ||
| 293 | |||
| 294 | * error-description-source.xml: All entries | ||
| 295 | in |cc-msg.en.txt| are now described as XML data. | ||
| 296 | |||
| 297 | * mkdescription.pl: Print the result by |inner_html| DOM | ||
| 298 | attribute. Put |level| attribute value, if any, before |name| | ||
| 299 | attribute value. Allow missing of |desc| attribute. | ||
| 300 | Ignore any |catalog| element. | ||
| 301 | |||
| 302 | 2007-07-16 Wakaba <[email protected]> | ||
| 303 | |||
| 304 | wakaba | 1.21 | * cc-interface.en.html: Content-Type options are extended. |
| 305 | Charset options are added. URI input box is added. | ||
| 306 | |||
| 307 | * cc.cgi (get_input_document): New. Support for URI input. | ||
| 308 | (#document-info): Present request URI, documen URI, | ||
| 309 | base URI (HTTP-level), internet media type, and | ||
| 310 | charset (if any). | ||
| 311 | (print_http_header_section): New. | ||
| 312 | (print_source_string_section): Renamed from |print_source_string| | ||
| 313 | and it now generate entire section. Use charset | ||
| 314 | information obtained by parsing (for this reason the section | ||
| 315 | now follows the parse error section). | ||
| 316 | (HTML parse mode): Support for charsets (alpha). | ||
| 317 | (XML parse mode): Support for |application/xml| | ||
| 318 | and |text/xml|. Support for charsets. | ||
| 319 | (#result-summary): Show error message section, | ||
| 320 | rather than simple HTTP error, for any input error. | ||
| 321 | (print_document_tree): Present |xml_version|, |xml_encoding|, | ||
| 322 | and |xml_standalone|. | ||
| 323 | (get_node_path): Return |/| if the input is the |Document| node. | ||
| 324 | (WDCC::LWPUA): New package. | ||
| 325 | |||
| 326 | wakaba | 1.19 | 2007-07-15 Wakaba <[email protected]> |
| 327 | |||
| 328 | wakaba | 1.20 | * parser-manakai-interface.en.html: An option |
| 329 | to parse as H2H is added. | ||
| 330 | |||
| 331 | * parser-manakai.cgi: H2H parse mode is added. | ||
| 332 | |||
| 333 | 2007-07-15 Wakaba <[email protected]> | ||
| 334 | |||
| 335 | wakaba | 1.19 | * parser-manakai.cgi: Set |Document| as HTML if it is. |
| 336 | Use |inner_html| attribute for inner HTML value. | ||
| 337 | XML documents are now serializable via |inner_html|. | ||
| 338 | |||
| 339 | wakaba | 1.16 | 2007-07-01 Wakaba <[email protected]> |
| 340 | |||
| 341 | wakaba | 1.18 | * Makefile: New. |
| 342 | |||
| 343 | 2007-07-01 Wakaba <[email protected]> | ||
| 344 | |||
| 345 | wakaba | 1.17 | * cc.cgi: Return 404 if |PATH_INFO| is different from |/|. |
| 346 | Link to |error-description|. | ||
| 347 | |||
| 348 | * error-description-source.xml: New. | ||
| 349 | |||
| 350 | * mkdescription.pl: New. | ||
| 351 | |||
| 352 | 2007-07-01 Wakaba <[email protected]> | ||
| 353 | |||
| 354 | wakaba | 1.16 | * cc-style.css: New rules for empty error lists, |
| 355 | error levels, and |code|. | ||
| 356 | |||
| 357 | * cc.cgi: Support for error message catalog. | ||
| 358 | Support for empty (zero-length) document. | ||
| 359 | (print_source_string): Support for empty document. | ||
| 360 | (print_document_tree): Element |has_child_nodes| test | ||
| 361 | was incorrect. Output compat mode and is html flag | ||
| 362 | for |Document| node. | ||
| 363 | (load_text_catalog, get_text): New functions. | ||
| 364 | |||
| 365 | * LICENSE, large-alert.png, large-info.png, large-stop.png: | ||
| 366 | New files. | ||
| 367 | |||
| 368 | wakaba | 1.14 | 2007-06-30 Wakaba <[email protected]> |
| 369 | |||
| 370 | wakaba | 1.15 | * cc.cgi: "Terms" section. "Tree" was sometimes |
| 371 | non-conforming to HTML5. | ||
| 372 | (get_node_link): New function. | ||
| 373 | |||
| 374 | 2007-06-30 Wakaba <[email protected]> | ||
| 375 | |||
| 376 | wakaba | 1.14 | * cc-style.css (img): New rule not to make border |
| 377 | for img[usemap]. | ||