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