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