| 1 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* Input.pm (Subdocument new): Invoke superclass's new method |
| 4 |
|
such that |urls| attribute is initialized. |
| 5 |
|
|
| 6 |
|
* Result.pm (add_error): Use ->url attribute to obtain |
| 7 |
|
the URL of the document. No longer output |text| argument, |
| 8 |
|
since all error types except for those used in the WebIDL module |
| 9 |
|
are now defined in the catalog. |
| 10 |
|
|
| 11 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 12 |
|
|
| 13 |
|
* Output.pm (start_section): Don't add item to the non-tab |
| 14 |
|
navigation menu if the item's rank is higher than 2. |
| 15 |
|
|
| 16 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
| 17 |
|
|
| 18 |
|
* Result.pm (add_error): Pass |value| argument, if any, |
| 19 |
|
to the |nl_text| for error type texts. |
| 20 |
|
|
| 21 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 22 |
|
|
| 23 |
|
* Output.pm (xref_text): New method. |
| 24 |
|
(node_link): Don't make node path consumed by catalog |
| 25 |
|
engine. |
| 26 |
|
|
| 27 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 28 |
|
|
| 29 |
|
* Output.pm (nl_text): New rule, <var>{value}</var>, |
| 30 |
|
is implemented. |
| 31 |
|
|
| 32 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 33 |
|
|
| 34 |
|
* Output.pm: |fieldset| end tag no longer necessary. |
| 35 |
|
|
| 36 |
|
* Result.pm: Link to "#parse-errors" if there are |
| 37 |
|
encoding layer errors. |
| 38 |
|
|
| 39 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
| 40 |
|
|
| 41 |
|
* Input.pm (generate_transfer_sections): Use standard |
| 42 |
|
error list methods for transfer errors. Typos fixed. |
| 43 |
|
|
| 44 |
|
* Output.pm (has_error): New attribute. |
| 45 |
|
(start_error_list, end_error_list): Support for role "transfer-errors". |
| 46 |
|
(end_error_list): Generate "no error found" paragraph if it should be. |
| 47 |
|
(generate_input_section): Decode parameters as UTF-8. |
| 48 |
|
|
| 49 |
|
* Result.pm (add_error): Set |has_error| flag. Use catalog |
| 50 |
|
for "Unknown location" message. |
| 51 |
|
(generate_result_section): Use different text for |
| 52 |
|
result table rows than normal messages, to avoid collision |
| 53 |
|
with other messages (such as "Charset"). |
| 54 |
|
|
| 55 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
| 56 |
|
|
| 57 |
|
* Input.pm: Methods |generate_transfer_sections| |
| 58 |
|
and |generate_http_header_section| are moved to HTTP |
| 59 |
|
subclass, since they are irrelevant to non-HTTP inputs. |
| 60 |
|
(_get_document): Forbidden host error was not represented |
| 61 |
|
by WebHACC::Input::Error subclass. |
| 62 |
|
(WebHACC::Input::Error generate_transfer_sections): Use |
| 63 |
|
role name for the section. |
| 64 |
|
(WebHACC::Input::HTTPError generate_transfer_sections): New method |
| 65 |
|
added, since the main superclass, i.e. WebHACC::Input::Error, |
| 66 |
|
no longer dumps HTTP headers due to the change mentioned above. |
| 67 |
|
|
| 68 |
|
* Output.pm (start_section): New roles "transfer-errors" and "result". |
| 69 |
|
|
| 70 |
|
* Result.pm (parent_result): New attribute. |
| 71 |
|
(layer_applicable, layer_uncertain): New methods to set flags. |
| 72 |
|
(add_error): Natural language strings are now handled |
| 73 |
|
by the catalog mechanism. Use new scoring mechanism. |
| 74 |
|
(generate_result_section): Use catalog for all natural |
| 75 |
|
language strings. Table generation is now much more sophiscated |
| 76 |
|
that it was. Support for subdoc result summary. Support |
| 77 |
|
for the column of the number of informational message. Support |
| 78 |
|
for "N/A" status. |
| 79 |
|
|
| 80 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
| 81 |
|
|
| 82 |
|
* Output.pm (start_section): Roles set class="", too. New "source" |
| 83 |
|
role for source code sections. |
| 84 |
|
|
| 85 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
| 86 |
|
|
| 87 |
|
* Input.pm (id_prefix): Use the parent subdoc's id_prefix |
| 88 |
|
as the prefix of the subdoc id_prefix (e.g. subdoc-1-subdoc-1- |
| 89 |
|
for subdoc #1.1). |
| 90 |
|
(start_section): Set the role of the section element as subdoc. |
| 91 |
|
|
| 92 |
|
* Output.pm (start_section): Support for "subdoc" role. |
| 93 |
|
Use parent input's id_prefix as parent_id. |
| 94 |
|
|
| 95 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
| 96 |
|
|
| 97 |
|
* Output.pm: Support for inner tabs for "input" subsections. |
| 98 |
|
Improved support for "details" widget. |
| 99 |
|
|
| 100 |
|
2008-08-10 Wakaba <wakaba@suika.fam.cx> |
| 101 |
|
|
| 102 |
|
* Output.pm (html_header, start_section): Generate |
| 103 |
|
script elements for tab styling. |
| 104 |
|
|
| 105 |
|
* Result.pm: Link to error list section of transfer-protocol-level |
| 106 |
|
errors. |
| 107 |
|
|
| 108 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
| 109 |
|
|
| 110 |
|
* Output.pm ($htescape_value): New code. Some methods should |
| 111 |
|
invoke this code instead of original $htescape, since that |
| 112 |
|
code will convert invisible characters into HTML tags |
| 113 |
|
such that that code is not suitable for attribute values |
| 114 |
|
and CDATA/PCDATA element contents. |
| 115 |
|
($get_object_path): New. Future revision of this code should |
| 116 |
|
support real "path" to the node object. The current version |
| 117 |
|
only dumps the type and the name of the node itself. |
| 118 |
|
(node_link): Support for non-DOM nodes. |
| 119 |
|
|
| 120 |
|
* Result.pm (add_error): Support for non-DOM nodes. |
| 121 |
|
|
| 122 |
|
2008-07-27 Wakaba <wakaba@suika.fam.cx> |
| 123 |
|
|
| 124 |
|
* Output.pm (new, input): |input| attribute should always have an input |
| 125 |
|
object, even though it might be an empty one. |
| 126 |
|
(add_source_to_parse_error_list): s/shift/shift ()/ to remove |
| 127 |
|
ambigiousness warning. |
| 128 |
|
(select): New method. |
| 129 |
|
(generate_input_section): New method. |
| 130 |
|
|
| 131 |
|
2008-07-26 Wakaba <wakaba@suika.fam.cx> |
| 132 |
|
|
| 133 |
|
* Input.pod: New. |
| 134 |
|
|
| 135 |
|
* Input.pm (urls, url, add_url): New. Originally handled |
| 136 |
|
as |$input->{uri}| and |$input->{request_uri}|. |
| 137 |
|
(get_document and related methods/classes): New. Originally |
| 138 |
|
part of |cc.cgi|. |
| 139 |
|
|
| 140 |
|
* Output.pm (html_header): Link to |cc-script.js|. |
| 141 |
|
|
| 142 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
| 143 |
|
|
| 144 |
* Input.pm: Most human-readable texts are now handled by |
* Input.pm: Most human-readable texts are now handled by |