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