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