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