1 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Output.pm (nl_text): New rule, <var>{value}</var>, |
4 |
|
is implemented. |
5 |
|
|
6 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* Output.pm: |fieldset| end tag no longer necessary. |
9 |
|
|
10 |
|
* Result.pm: Link to "#parse-errors" if there are |
11 |
|
encoding layer errors. |
12 |
|
|
13 |
|
2008-08-15 Wakaba <wakaba@suika.fam.cx> |
14 |
|
|
15 |
|
* Input.pm (generate_transfer_sections): Use standard |
16 |
|
error list methods for transfer errors. Typos fixed. |
17 |
|
|
18 |
|
* Output.pm (has_error): New attribute. |
19 |
|
(start_error_list, end_error_list): Support for role "transfer-errors". |
20 |
|
(end_error_list): Generate "no error found" paragraph if it should be. |
21 |
|
(generate_input_section): Decode parameters as UTF-8. |
22 |
|
|
23 |
|
* Result.pm (add_error): Set |has_error| flag. Use catalog |
24 |
|
for "Unknown location" message. |
25 |
|
(generate_result_section): Use different text for |
26 |
|
result table rows than normal messages, to avoid collision |
27 |
|
with other messages (such as "Charset"). |
28 |
|
|
29 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
30 |
|
|
31 |
|
* Input.pm: Methods |generate_transfer_sections| |
32 |
|
and |generate_http_header_section| are moved to HTTP |
33 |
|
subclass, since they are irrelevant to non-HTTP inputs. |
34 |
|
(_get_document): Forbidden host error was not represented |
35 |
|
by WebHACC::Input::Error subclass. |
36 |
|
(WebHACC::Input::Error generate_transfer_sections): Use |
37 |
|
role name for the section. |
38 |
|
(WebHACC::Input::HTTPError generate_transfer_sections): New method |
39 |
|
added, since the main superclass, i.e. WebHACC::Input::Error, |
40 |
|
no longer dumps HTTP headers due to the change mentioned above. |
41 |
|
|
42 |
|
* Output.pm (start_section): New roles "transfer-errors" and "result". |
43 |
|
|
44 |
|
* Result.pm (parent_result): New attribute. |
45 |
|
(layer_applicable, layer_uncertain): New methods to set flags. |
46 |
|
(add_error): Natural language strings are now handled |
47 |
|
by the catalog mechanism. Use new scoring mechanism. |
48 |
|
(generate_result_section): Use catalog for all natural |
49 |
|
language strings. Table generation is now much more sophiscated |
50 |
|
that it was. Support for subdoc result summary. Support |
51 |
|
for the column of the number of informational message. Support |
52 |
|
for "N/A" status. |
53 |
|
|
54 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* Output.pm (start_section): Roles set class="", too. New "source" |
57 |
|
role for source code sections. |
58 |
|
|
59 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* Input.pm (id_prefix): Use the parent subdoc's id_prefix |
62 |
|
as the prefix of the subdoc id_prefix (e.g. subdoc-1-subdoc-1- |
63 |
|
for subdoc #1.1). |
64 |
|
(start_section): Set the role of the section element as subdoc. |
65 |
|
|
66 |
|
* Output.pm (start_section): Support for "subdoc" role. |
67 |
|
Use parent input's id_prefix as parent_id. |
68 |
|
|
69 |
|
2008-08-14 Wakaba <wakaba@suika.fam.cx> |
70 |
|
|
71 |
|
* Output.pm: Support for inner tabs for "input" subsections. |
72 |
|
Improved support for "details" widget. |
73 |
|
|
74 |
|
2008-08-10 Wakaba <wakaba@suika.fam.cx> |
75 |
|
|
76 |
|
* Output.pm (html_header, start_section): Generate |
77 |
|
script elements for tab styling. |
78 |
|
|
79 |
|
* Result.pm: Link to error list section of transfer-protocol-level |
80 |
|
errors. |
81 |
|
|
82 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
83 |
|
|
84 |
|
* Output.pm ($htescape_value): New code. Some methods should |
85 |
|
invoke this code instead of original $htescape, since that |
86 |
|
code will convert invisible characters into HTML tags |
87 |
|
such that that code is not suitable for attribute values |
88 |
|
and CDATA/PCDATA element contents. |
89 |
|
($get_object_path): New. Future revision of this code should |
90 |
|
support real "path" to the node object. The current version |
91 |
|
only dumps the type and the name of the node itself. |
92 |
|
(node_link): Support for non-DOM nodes. |
93 |
|
|
94 |
|
* Result.pm (add_error): Support for non-DOM nodes. |
95 |
|
|
96 |
|
2008-07-27 Wakaba <wakaba@suika.fam.cx> |
97 |
|
|
98 |
|
* Output.pm (new, input): |input| attribute should always have an input |
99 |
|
object, even though it might be an empty one. |
100 |
|
(add_source_to_parse_error_list): s/shift/shift ()/ to remove |
101 |
|
ambigiousness warning. |
102 |
|
(select): New method. |
103 |
|
(generate_input_section): New method. |
104 |
|
|
105 |
|
2008-07-26 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* Input.pod: New. |
108 |
|
|
109 |
|
* Input.pm (urls, url, add_url): New. Originally handled |
110 |
|
as |$input->{uri}| and |$input->{request_uri}|. |
111 |
|
(get_document and related methods/classes): New. Originally |
112 |
|
part of |cc.cgi|. |
113 |
|
|
114 |
|
* Output.pm (html_header): Link to |cc-script.js|. |
115 |
|
|
116 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
117 |
|
|
118 |
|
* Input.pm: Most human-readable texts are now handled by |
119 |
|
catalog. |
120 |
|
(id_prefix): Support for nested subdocuments. |
121 |
|
|
122 |
|
* Output.pm (start_section, dt, xref): Section/item names and |
123 |
|
link labels are now handled by catalog. |
124 |
|
(load_text_catalog, nl_text): New methods. |
125 |
|
(html_header): Application name is moved to catalog. |
126 |
|
|
127 |
|
* Result.pm (add_error): Important error properties are |
128 |
|
now exposed to client-side script as data-* attributes. |
129 |
|
Labels are now handled by catalog. Error descriptions |
130 |
|
are now taken from catalog as it were. |
131 |
|
|
132 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
133 |
|
|
134 |
|
* Output.pm (html_header): Application name changed. |
135 |
|
|
136 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
137 |
|
|
138 |
|
* Input.pm (full_subdocument_index): New method, for the |
139 |
|
support of hierarchical subdocument numbers. |
140 |
|
(start_section): Use hierarhical subdocument numbers for |
141 |
|
section headings. |
142 |
|
|
143 |
|
* Output.pm (http_header, http_error, html_header): New methods. |
144 |
|
|
145 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
* Output.pm (start_section, end_section): "role" option |
* Output.pm (start_section, end_section): "role" option |