1 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Output.pm (nl_text): We can finally get rid of a quirk. |
4 |
|
|
5 |
|
2008-08-16 Wakaba <wakaba@suika.fam.cx> |
6 |
|
|
7 |
|
* 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 |
|
* 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 |
|
* Result.pm (add_error): Pass |value| argument, if any, |
23 |
|
to the |nl_text| for error type texts. |
24 |
|
|
25 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
26 |
|
|
27 |
|
* 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 |
|
* Output.pm (nl_text): New rule, <var>{value}</var>, |
34 |
|
is implemented. |
35 |
|
|
36 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
37 |
|
|
38 |
|
* 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 |
|
* 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 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* 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 |
|
* 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 |
|
* 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 |
|
* Output.pm: Support for inner tabs for "input" subsections. |
102 |
|
Improved support for "details" widget. |
103 |
|
|
104 |
|
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 |
|
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 |
|
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 |
|
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 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
147 |
|
|
148 |
|
* 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 |
|
* Output.pm (html_header): Application name changed. |
165 |
|
|
166 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
167 |
|
|
168 |
|
* 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> |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
176 |
|
|
177 |
* Output.pm (start_section, end_section): "role" option |
* Output.pm (start_section, end_section): "role" option |