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