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