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