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