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