/[suikacvs]/test/html-webhacc/WebHACC/ChangeLog
Suika

Contents of /test/html-webhacc/WebHACC/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.29 - (show annotations) (download)
Wed Sep 10 10:22:59 2008 UTC (16 years, 2 months ago) by wakaba
Branch: MAIN
Changes since 1.28: +11 -0 lines
++ ChangeLog	10 Sep 2008 10:21:38 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* error-description-source.xml: Encoding layer errors added.

++ html/WebHACC/ChangeLog	10 Sep 2008 10:22:56 -0000
2008-09-10  Wakaba  <wakaba@suika.fam.cx>

	* Output.pm (nl_text): Support for |<var>{octets}</var>|,
	|<var>{char}</var>|, and |<var>{char:hexref}</var>|
	macros.
	(generate_input_section): More charsets are added
	to the list of charsets.

	* Result.pm: Pass |char| and |octets| arguments
	to |nl_text|.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24