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