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