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