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