1 |
|
2008-08-02 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Output.pm ($htescape_value): New code. Some methods should |
4 |
|
invoke this code instead of original $htescape, since that |
5 |
|
code will convert invisible characters into HTML tags |
6 |
|
such that that code is not suitable for attribute values |
7 |
|
and CDATA/PCDATA element contents. |
8 |
|
($get_object_path): New. Future revision of this code should |
9 |
|
support real "path" to the node object. The current version |
10 |
|
only dumps the type and the name of the node itself. |
11 |
|
(node_link): Support for non-DOM nodes. |
12 |
|
|
13 |
|
* Result.pm (add_error): Support for non-DOM nodes. |
14 |
|
|
15 |
|
2008-07-27 Wakaba <wakaba@suika.fam.cx> |
16 |
|
|
17 |
|
* Output.pm (new, input): |input| attribute should always have an input |
18 |
|
object, even though it might be an empty one. |
19 |
|
(add_source_to_parse_error_list): s/shift/shift ()/ to remove |
20 |
|
ambigiousness warning. |
21 |
|
(select): New method. |
22 |
|
(generate_input_section): New method. |
23 |
|
|
24 |
|
2008-07-26 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* Input.pod: New. |
27 |
|
|
28 |
|
* Input.pm (urls, url, add_url): New. Originally handled |
29 |
|
as |$input->{uri}| and |$input->{request_uri}|. |
30 |
|
(get_document and related methods/classes): New. Originally |
31 |
|
part of |cc.cgi|. |
32 |
|
|
33 |
|
* Output.pm (html_header): Link to |cc-script.js|. |
34 |
|
|
35 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
36 |
|
|
37 |
|
* Input.pm: Most human-readable texts are now handled by |
38 |
|
catalog. |
39 |
|
(id_prefix): Support for nested subdocuments. |
40 |
|
|
41 |
|
* Output.pm (start_section, dt, xref): Section/item names and |
42 |
|
link labels are now handled by catalog. |
43 |
|
(load_text_catalog, nl_text): New methods. |
44 |
|
(html_header): Application name is moved to catalog. |
45 |
|
|
46 |
|
* Result.pm (add_error): Important error properties are |
47 |
|
now exposed to client-side script as data-* attributes. |
48 |
|
Labels are now handled by catalog. Error descriptions |
49 |
|
are now taken from catalog as it were. |
50 |
|
|
51 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
52 |
|
|
53 |
|
* Output.pm (html_header): Application name changed. |
54 |
|
|
55 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
56 |
|
|
57 |
|
* Input.pm (full_subdocument_index): New method, for the |
58 |
|
support of hierarchical subdocument numbers. |
59 |
|
(start_section): Use hierarhical subdocument numbers for |
60 |
|
section headings. |
61 |
|
|
62 |
|
* Output.pm (http_header, http_error, html_header): New methods. |
63 |
|
|
64 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
65 |
|
|
66 |
|
* Output.pm (start_section, end_section): "role" option |
67 |
|
implemented. Automatical rank setting implemented. |
68 |
|
(start_error_list, end_error_list): New. |
69 |
|
(add_source_to_parse_error_list): New. |
70 |
|
|
71 |
|
* Result.pm: "Unknown location" message text changed. |
72 |
|
|
73 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
74 |
|
|
75 |
|
* Result.pm (add_label): Output error-level description |
76 |
|
text before the description of the error itself, which |
77 |
|
is originally coded in get_error_level_label, which in turn |
78 |
|
comes from cc.cgi at first. |
79 |
|
(get_error_level_label): Removed. |
80 |
|
|
81 |
|
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
82 |
|
|
83 |
|
* Input.pm: A new subclass for subdocuments are added. |
84 |
|
Methods for information sections are added (from cc.cgi). |
85 |
|
|
86 |
|
* Output.pm (code): Support for attributes. |
87 |
|
(script, dt): New methods. |
88 |
|
(node_link): New method (from get_node_link in WebHACC::Result, |
89 |
|
which comes from cc.cgi). |
90 |
|
|
91 |
|
* Result.pm (add_error): Show some text even if no location |
92 |
|
infomration is available. Use input object, if available, |
93 |
|
as fallback for location information. |
94 |
|
(get_error_label, get_node_path, get_node_link): Removed. |
95 |
|
The first method is no longer used. The latters are now |
96 |
|
supported as |node_link| method in WebHACC::Output. |
97 |
|
|
98 |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
2008-07-21 Wakaba <wakaba@suika.fam.cx> |
99 |
|
|
100 |
* Input.pm (generate_transfer_sections, generate_http_header_section): |
* Input.pm (generate_transfer_sections, generate_http_header_section): |