/[suikacvs]/test/html-webhacc/cc.cgi
Suika

Log of /test/html-webhacc/cc.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Tag:

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Thu Dec 11 03:22:56 2008 UTC (17 years, 9 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.68: +5 -2 lines
Diff to previous 1.68 , to selected 1.2
++ ChangeLog	11 Dec 2008 03:20:10 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.en.xml: Added descriptions for errors
	from Regexp::Parser and Regexp::Parser::JavaScript modules.

	* cc.cgi: Added support for JavaScript regular expressions.

++ html/WebHACC/Language/ChangeLog	11 Dec 2008 03:18:54 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* RegExpJS.pm: New module.

++ html/WebHACC/ChangeLog	11 Dec 2008 03:22:42 -0000
2008-12-11  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (generate_input_section): Added support for JavaScript
	regular expressions.

2008-12-10  Wakaba  <wakaba@suika.fam.cx>

	* Result.pm: Added support for |valueref| parameter of an error.
	|pos_end| should point the (intercharacter) position where the
	highlighted substring ends, not the character before the position,
	otherwise empty substring cannot be represented well.


Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Wed Sep 17 03:56:43 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 , to selected 1.2
++ ChangeLog	17 Sep 2008 03:55:55 -0000
2008-09-17  Wakaba  <wakaba@suika.fam.cx>

	* cc.cgi: Support for |text/x-css-inline| type is added.

2008-09-17  Wakaba  <wakaba@suika.fam.cx>

	* standards.en.html: Updated.

++ html/WebHACC/Language/ChangeLog	17 Sep 2008 03:56:41 -0000
2008-09-17  Wakaba  <wakaba@suika.fam.cx>

	* CSSInline.pm: New module.

++ html/WebHACC/ChangeLog	17 Sep 2008 03:56:25 -0000
2008-09-17  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm: Support for the |text/x-css-inline| type is added.


Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 14:34:58 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.66: +3 -2 lines
Diff to previous 1.66 , to selected 1.2
++ html/WebHACC/Language/ChangeLog	15 Sep 2008 14:34:54 -0000
	* CSS.pm: Support for Firefox3's new 'width' values.

2008-09-15  Wakaba  <wakaba@suika.fam.cx>


Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Mon Sep 15 02:55:12 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.65: +2 -3 lines
Diff to previous 1.65 , to selected 1.2
++ html/WebHACC/ChangeLog	15 Sep 2008 02:54:58 -0000
2008-09-15  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm ($htescape, $htescape_value): Commented out
	redundant things for now.


Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Sep 14 14:36:12 2008 UTC (17 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 , to selected 1.2
++ html/WebHACC/Language/ChangeLog	14 Sep 2008 14:36:04 -0000
2008-09-14  Wakaba  <wakaba@suika.fam.cx>

	* Base.pm (generate_source_string_section): Use |read|
	instead of |getc|.


Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun Aug 17 05:06:21 2008 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 , to selected 1.2
++ ChangeLog	17 Aug 2008 05:05:13 -0000
2008-08-17  Wakaba  <wakaba@suika.fam.cx>

	* cc-about.en.html: Author section added.

	* cc.cgi: |text/x-h2h| added.

++ html/WebHACC/Language/ChangeLog	17 Aug 2008 05:06:18 -0000
2008-08-17  Wakaba  <wakaba@suika.fam.cx>

	* CacheManifest.pm (generate_structure_dump_section): Support
	for broken manifest.

	* H2H.pm: New module.

++ html/WebHACC/ChangeLog	17 Aug 2008 05:05:31 -0000
2008-08-17  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm: |text/x-h2h| added.


Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Fri Aug 15 16:44:03 2008 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.62: +3 -1 lines
Diff to previous 1.62 , to selected 1.2
++ ChangeLog	15 Aug 2008 16:43:11 -0000
	* cc-script.js (_showTab): Show the tab button of the selected
	tab.

	* cc-script.css (nav): Show scrollbar if there are too many
	tabs.

	* cc.cgi: Reset |$output->input| even if |$input->{s}| is undef (i.e.
	imlementation error case).

2008-08-16  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/ChangeLog	15 Aug 2008 16:43:58 -0000
	* Output.pm (start_section): Don't add item to the non-tab
	navigation menu if the item's rank is higher than 2.

2008-08-16  Wakaba  <wakaba@suika.fam.cx>


Revision 1.62 - (view) (download) (annotate) - [select for diffs]
Thu Aug 14 15:50:42 2008 UTC (18 years ago) by wakaba
Branch: MAIN
Changes since 1.61: +13 -9 lines
Diff to previous 1.61 , to selected 1.2
++ ChangeLog	14 Aug 2008 15:42:17 -0000
	* cc.cgi: Generate result summary sections for
	each subdocument.

	* error-description-source.xml: New entries to
	support localization of result sections.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

	* cc-style.css: Support for revised version of result summary
	section styling.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/Language/ChangeLog	14 Aug 2008 15:50:38 -0000
	* Base.pm, CSS.pm, CacheManifest.pm, DOM.pm, Default.pm,
	HTML.pm, WebIDL.pm, XML.pm: Set |layer_applicable|
	or |layer_uncertain| flag appropriately.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>

++ html/WebHACC/ChangeLog	14 Aug 2008 15:48:38 -0000
	* Input.pm: Methods |generate_transfer_sections|
	and |generate_http_header_section| are moved to HTTP
	subclass, since they are irrelevant to non-HTTP inputs.
	(_get_document): Forbidden host error was not represented
	by WebHACC::Input::Error subclass.
	(WebHACC::Input::Error generate_transfer_sections): Use
	role name for the section.
	(WebHACC::Input::HTTPError generate_transfer_sections): New method
	added, since the main superclass, i.e. WebHACC::Input::Error,
	no longer dumps HTTP headers due to the change mentioned above.

	* Output.pm (start_section): New roles "transfer-errors" and "result".

	* Result.pm (parent_result): New attribute.
	(layer_applicable, layer_uncertain): New methods to set flags.
	(add_error): Natural language strings are now handled
	by the catalog mechanism.  Use new scoring mechanism.
	(generate_result_section): Use catalog for all natural
	language strings.  Table generation is now much more sophiscated
	that it was.  Support for subdoc result summary.  Support
	for the column of the number of informational message.  Support
	for "N/A" status.

2008-08-14  Wakaba  <wakaba@suika.fam.cx>


Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Sun Jul 27 10:33:45 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.60: +10 -1 lines
Diff to previous 1.60 , to selected 1.2
++ ChangeLog	27 Jul 2008 10:33:38 -0000
2008-07-27  Wakaba  <wakaba@suika.fam.cx>

	* .htaccess: Files gone.

	* cc-interface.en.html, cc-todo.txt: Removed.

	* cc-about.en.html: New document.

	* cc.cgi: Insert document input section before anything.
	No check performed if no URL is specified and the
	input is empty.

	* error-description-source.xml (WebHACC:Heading): Link
	to cc-about in place of cc-interface.

++ html/WebHACC/Language/ChangeLog	27 Jul 2008 10:31:14 -0000
2008-07-27  Wakaba  <wakaba@suika.fam.cx>

	* CSS.pm (generate_structure_dump_section): Role name was wrong.

++ html/WebHACC/ChangeLog	27 Jul 2008 10:30:52 -0000
2008-07-27  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (new, input): |input| attribute should always have an input
	object, even though it might be an empty one.
	(add_source_to_parse_error_list): s/shift/shift ()/ to remove
	ambigiousness warning.
	(select): New method.
	(generate_input_section): New method.


Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sat Jul 26 11:27:25 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.59: +4 -191 lines
Diff to previous 1.59 , to selected 1.2
++ ChangeLog	26 Jul 2008 11:26:00 -0000
2008-07-26  Wakaba  <wakaba@suika.fam.cx>

	* cc.cgi: get_input_document function is now handled
	by WebHACC::Input classes.  |cc-script| reference
	is now generated by |html_header| in WebHACC::Output.

	* error-description-source.xml: Document URL and Request URL
	are now just "URLs".

++ html/WebHACC/ChangeLog	26 Jul 2008 11:27:20 -0000
2008-07-26  Wakaba  <wakaba@suika.fam.cx>

	* Input.pod: New.

	* Input.pm (urls, url, add_url): New.  Originally handled
	as |$input->{uri}| and |$input->{request_uri}|.
	(get_document and related methods/classes): New.  Originally
	part of |cc.cgi|.

	* Output.pm (html_header): Link to |cc-script.js|.


Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 12:56:33 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.58: +8 -62 lines
Diff to previous 1.58 , to selected 1.2
++ 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>


Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 09:40:59 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.57: +18 -31 lines
Diff to previous 1.57 , to selected 1.2
++ ChangeLog	21 Jul 2008 09:38:49 -0000
	* cc.cgi: Code clean-up.

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

++ html/WebHACC/Language/ChangeLog	21 Jul 2008 09:40:52 -0000
	* DOM.pm (generate_table_section): Use hierarhical table
	number for tables in subdocuments.

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

++ html/WebHACC/ChangeLog	21 Jul 2008 09:40:19 -0000
	* Input.pm (full_subdocument_index): New method, for the
	support of hierarchical subdocument numbers.
	(start_section): Use hierarhical subdocument numbers for
	section headings.

	* Output.pm (http_header, http_error, html_header): New methods.

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


Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 09:15:55 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.56: +1 -20 lines
Diff to previous 1.56 , to selected 1.2
++ ChangeLog	21 Jul 2008 09:13:35 -0000
	* cc.cgi: Old commented out code for additional
	information sections are removed.  They are now
	implemented as part of |generate_add_info_sections| method.

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

++ html/WebHACC/Language/ChangeLog	21 Jul 2008 09:15:45 -0000
	* DOM.pm (generate_additional_sections): Support
	for the other additional information sections are reintroduced.
	(generate_listing_section, generate_rdf_section): Reimplemented.

	* XML.pm: Typo fixed.

	* HTML.pm: Load DOMImplementation as late as possible, to
	save possiblity that another DOM implementation can be used
	where possible.

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


Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 08:39:12 2008 UTC (18 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.55: +1 -137 lines
Diff to previous 1.55 , to selected 1.2
++ ChangeLog	21 Jul 2008 08:33:17 -0000
	* cc.cgi (print_table_section): Removed (now part of
	WebHACC::Language::DOM).

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

++ html/WebHACC/Language/ChangeLog	21 Jul 2008 08:39:05 -0000
	* Base.pm (generate_source_string_section): Invoke
	|add_source_to_parse_error_list| method for generating a
	script fragment.

	* CSS.pm, CacheManifest.pm, DOM.pm, HTML.pm, WebIDL.pm,
	XML.pm: Use new methods for generating sections and error lists.

	* DOM.pm (generate_additional_sections, generate_table_section): New.

	* Default.pm: Pass |input| in place of |url| for unknown syntax
	error.

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

++ html/WebHACC/ChangeLog	21 Jul 2008 08:36:01 -0000
	* Output.pm (start_section, end_section): "role" option
	implemented.  Automatical rank setting implemented.
	(start_error_list, end_error_list): New.
	(add_source_to_parse_error_list): New.

	* Result.pm: "Unknown location" message text changed.

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


Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Mon Jul 21 05:24: