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