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