/[suikacvs]/test/html-webhacc/ChangeLog
Suika

Contents of /test/html-webhacc/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.79 - (show annotations) (download)
Mon Jul 21 12:56:33 2008 UTC (16 years, 4 months ago) by wakaba
Branch: MAIN
Changes since 1.78: +25 -0 lines
++ ChangeLog	21 Jul 2008 12:51:50 -0000
	* .htaccess: error-description-source.xml is in UTF-8
	actually.

	* Makefile: Rule to make Japanese language catalog file
	is added.

	* cc-script.js: Line and column numbers are now taken
	from data-* attributes, not from textContent.

	* cc.cgi: Tentative support for Japanese/English conneg.
	(load_text_catalog, get_text): Removed (catalog text selection
	is now handled by WebHACC::Output).

	* error-description-source.xml: Catalog entries in new
	format are added.  Old catalog element is removed.

	* mkcatalog.pl: Support for non-English languages.
	Drop support for old catalog element.  Add support
	for new cat element.

	* mkdescription.pl: Drop support for old catalog element.
	Add support for new cat element.

2008-07-21  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/Language/ChangeLog	21 Jul 2008 12:56:30 -0000
	* DOM.pm (generate_structure_dump_section): Use catalog
	for human-readable texts.
	(generate_table_section): Use catalog for human readable texts.

2008-07-21  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/ChangeLog	21 Jul 2008 12:55:41 -0000
	* Input.pm: Most human-readable texts are now handled by
	catalog.
	(id_prefix): Support for nested subdocuments.

	* Output.pm (start_section, dt, xref): Section/item names and
	link labels are now handled by catalog.
	(load_text_catalog, nl_text): New methods.
	(html_header): Application name is moved to catalog.

	* Result.pm (add_error): Important error properties are
	now exposed to client-side script as data-* attributes.
	Labels are now handled by catalog.  Error descriptions
	are now taken from catalog as it were.

2008-07-21  Wakaba  <wakaba@suika.fam.cx>

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24