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