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