1 |
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
3 |
* Input.pm (generate_transfer_sections): Use standard |
4 |
error list methods for transfer errors. Typos fixed. |
5 |
|
6 |
* Output.pm (has_error): New attribute. |
7 |
(start_error_list, end_error_list): Support for role "transfer-errors". |
8 |
(end_error_list): Generate "no error found" paragraph if it should be. |
9 |
(generate_input_section): Decode parameters as UTF-8. |
10 |
|
11 |
* Result.pm (add_error): Set |has_error| flag. Use catalog |
12 |
for "Unknown location" message. |
13 |
(generate_result_section): Use different text for |
14 |
result table rows than normal messages, to avoid collision |
15 |
with other messages (such as "Charset"). |
16 |
|
17 |
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
18 |
|
19 |
* Input.pm: Methods |generate_transfer_sections| |
20 |
and |generate_http_header_section| are moved to HTTP |
21 |
subclass, since they are irrelevant to non-HTTP inputs. |
22 |
(_get_document): Forbidden host error was not represented |
23 |
by WebHACC::Input::Error subclass. |
24 |
(WebHACC::Input::Error generate_transfer_sections): Use |
25 |
role name for the section. |
26 |
(WebHACC::Input::HTTPError generate_transfer_sections): New method |
27 |
added, since the main superclass, i.e. WebHACC::Input::Error, |
28 |
no longer dumps HTTP headers due to the change mentioned above. |
29 |
|
30 |
* Output.pm (start_section): New roles "transfer-errors" and "result". |
31 |
|
32 |
* Result.pm (parent_result): New attribute. |
33 |
(layer_applicable, layer_uncertain): New methods to set flags. |
34 |
(add_error): Natural language strings are now handled |
35 |
by the catalog mechanism. Use new scoring mechanism. |
36 |
(generate_result_section): Use catalog for all natural |
37 |
language strings. Table generation is now much more sophiscated |
38 |
that it was. Support for subdoc result summary. Support |
39 |
for the column of the number of informational message. Support |
40 |
for "N/A" status. |
41 |
|
42 |
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
43 |
|
44 |
* Output.pm (start_section): Roles set class="", too. New "source" |
45 |
role for source code sections. |
46 |
|
47 |
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
48 |
|
49 |
* Input.pm (id_prefix): Use the parent subdoc's id_prefix |
50 |
as the prefix of the subdoc id_prefix (e.g. subdoc-1-subdoc-1- |
51 |
for subdoc #1.1). |
52 |
(start_section): Set the role of the section element as subdoc. |
53 |
|
54 |
* Output.pm (start_section): Support for "subdoc" role. |
55 |
Use parent input's id_prefix as parent_id. |
56 |
|
57 |
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
58 |
|
59 |
* Output.pm: Support for inner tabs for "input" subsections. |
60 |
Improved support for "details" widget. |
61 |
|
62 |
2008-08-10 Wakaba <wakaba@suika.fam.cx> |
63 |
|
64 |
* Output.pm (html_header, start_section): Generate |
65 |
script elements for tab styling. |
66 |
|
67 |
* Result.pm: Link to error list section of transfer-protocol-level |
68 |
errors. |
69 |
|
70 |
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
71 |
|
72 |
* Output.pm ($htescape_value): New code. Some methods should |
73 |
invoke this code instead of original $htescape, since that |
74 |
code will convert invisible characters into HTML tags |
75 |
such that that code is not suitable for attribute values |
76 |
and CDATA/PCDATA element contents. |
77 |
($get_object_path): New. Future revision of this code should |
78 |
support real "path" to the node object. The current version |
79 |
only dumps the type and the name of the node itself. |
80 |
(node_link): Support for non-DOM nodes. |
81 |
|
82 |
* Result.pm (add_error): Support for non-DOM nodes. |
83 |
|
84 |
2008-07-27 Wakaba <wakaba@suika.fam.cx> |
85 |
|
86 |
* Output.pm (new, input): |input| attribute should always have an input |
87 |
object, even though it might be an empty one. |
88 |
(add_source_to_parse_error_list): s/shift/shift ()/ to remove |
89 |
ambigiousness warning. |
90 |
(select): New method. |
91 |
(generate_input_section): New method. |
92 |
|
93 |
2008-07-26 Wakaba <wakaba@suika.fam.cx> |
94 |
|
95 |
* Input.pod: New. |
96 |
|
97 |
* Input.pm (urls, url, add_url): New. Originally handled |
98 |
as |$input->{uri}| and |$input->{request_uri}|. |
99 |
(get_document and related methods/classes): New. Originally |
100 |
part of |cc.cgi|. |
101 |
|
102 |
* Output.pm (html_header): Link to |cc-script.js|. |
103 |
|
104 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
105 |
|
106 |
* Input.pm: Most human-readable texts are now handled by |
107 |
catalog. |
108 |
(id_prefix): Support for nested subdocuments. |
109 |
|
110 |
* Output.pm (start_section, dt, xref): Section/item names and |
111 |
link labels are now handled by catalog. |
112 |
(load_text_catalog, nl_text): New methods. |
113 |
(html_header): Application name is moved to catalog. |
114 |
|
115 |
* Result.pm (add_error): Important error properties are |
116 |
now exposed to client-side script as data-* attributes. |
117 |
Labels are now handled by catalog. Error descriptions |
118 |
are now taken from catalog as it were. |
119 |
|
120 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
121 |
|
122 |
* Output.pm (html_header): Application name changed. |
123 |
|
124 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
125 |
|
126 |
* Input.pm (full_subdocument_index): New method, for the |
127 |
support of hierarchical subdocument numbers. |
128 |
(start_section): Use hierarhical subdocument numbers for |
129 |
section headings. |
130 |
|
131 |
* Output.pm (http_header, http_error, html_header): New methods. |
132 |
|
133 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
134 |
|
135 |
* Output.pm (start_section, end_section): "role" option |
136 |
implemented. Automatical rank setting implemented. |
137 |
(start_error_list, end_error_list): New. |
138 |
(add_source_to_parse_error_list): New. |
139 |
|
140 |
* Result.pm: "Unknown location" message text changed. |
141 |
|
142 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
143 |
|
144 |
* Result.pm (add_label): Output error-level description |
145 |
text before the description of the error itself, which |
146 |
is originally coded in get_error_level_label, which in turn |
147 |
comes from cc.cgi at first. |
148 |
(get_error_level_label): Removed. |
149 |
|
150 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
151 |
|
152 |
* Input.pm: A new subclass for subdocuments are added. |
153 |
Methods for information sections are added (from cc.cgi). |
154 |
|
155 |
* Output.pm (code): Support for attributes. |
156 |
(script, dt): New methods. |
157 |
(node_link): New method (from get_node_link in WebHACC::Result, |
158 |
which comes from cc.cgi). |
159 |
|
160 |
* Result.pm (add_error): Show some text even if no location |
161 |
infomration is available. Use input object, if available, |
162 |
as fallback for location information. |
163 |
(get_error_label, get_node_path, get_node_link): Removed. |
164 |
The first method is no longer used. The latters are now |
165 |
supported as |node_link| method in WebHACC::Output. |
166 |
|
167 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
168 |
|
169 |
* Input.pm (generate_transfer_sections, generate_http_header_section): |
170 |
New (partially comes from cc.cgi). |
171 |
|
172 |
* Output.pm (link): Call |start_tag| such that attributes |
173 |
can be set. |
174 |
(link_to_webhacc): New. |
175 |
(encode_url_component): From WebHACC::Language::Base. |
176 |
|
177 |
* Result.pm: Support for error outputting and result table |
178 |
generation. |
179 |
|
180 |
2008-07-20 Wakaba <wakaba@suika.fam.cx> |
181 |
|
182 |
* ChangeLog: New file. |
183 |
|
184 |
* Input.pm, Output.pm, Result.pm: New modules. |
185 |
|
186 |
* Langauge/: New directory. |
187 |
|
188 |
|