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