2008-08-14 Wakaba * Output.pm (start_section): Roles set class="", too. New "source" role for source code sections. 2008-08-14 Wakaba * Input.pm (id_prefix): Use the parent subdoc's id_prefix as the prefix of the subdoc id_prefix (e.g. subdoc-1-subdoc-1- for subdoc #1.1). (start_section): Set the role of the section element as subdoc. * Output.pm (start_section): Support for "subdoc" role. Use parent input's id_prefix as parent_id. 2008-08-14 Wakaba * Output.pm: Support for inner tabs for "input" subsections. Improved support for "details" widget. 2008-08-10 Wakaba * Output.pm (html_header, start_section): Generate script elements for tab styling. * Result.pm: Link to error list section of transfer-protocol-level errors. 2008-08-02 Wakaba * Output.pm ($htescape_value): New code. Some methods should invoke this code instead of original $htescape, since that code will convert invisible characters into HTML tags such that that code is not suitable for attribute values and CDATA/PCDATA element contents. ($get_object_path): New. Future revision of this code should support real "path" to the node object. The current version only dumps the type and the name of the node itself. (node_link): Support for non-DOM nodes. * Result.pm (add_error): Support for non-DOM nodes. 2008-07-27 Wakaba * Output.pm (new, input): |input| attribute should always have an input object, even though it might be an empty one. (add_source_to_parse_error_list): s/shift/shift ()/ to remove ambigiousness warning. (select): New method. (generate_input_section): New method. 2008-07-26 Wakaba * Input.pod: New. * Input.pm (urls, url, add_url): New. Originally handled as |$input->{uri}| and |$input->{request_uri}|. (get_document and related methods/classes): New. Originally part of |cc.cgi|. * Output.pm (html_header): Link to |cc-script.js|. 2008-07-21 Wakaba * Input.pm: Most human-readable texts are now handled by catalog. (id_prefix): Support for nested subdocuments. * Output.pm (start_section, dt, xref): Section/item names and link labels are now handled by catalog. (load_text_catalog, nl_text): New methods. (html_header): Application name is moved to catalog. * Result.pm (add_error): Important error properties are now exposed to client-side script as data-* attributes. Labels are now handled by catalog. Error descriptions are now taken from catalog as it were. 2008-07-21 Wakaba * Output.pm (html_header): Application name changed. 2008-07-21 Wakaba * Input.pm (full_subdocument_index): New method, for the support of hierarchical subdocument numbers. (start_section): Use hierarhical subdocument numbers for section headings. * Output.pm (http_header, http_error, html_header): New methods. 2008-07-21 Wakaba * Output.pm (start_section, end_section): "role" option implemented. Automatical rank setting implemented. (start_error_list, end_error_list): New. (add_source_to_parse_error_list): New. * Result.pm: "Unknown location" message text changed. 2008-07-21 Wakaba * Result.pm (add_label): Output error-level description text before the description of the error itself, which is originally coded in get_error_level_label, which in turn comes from cc.cgi at first. (get_error_level_label): Removed. 2008-07-21 Wakaba * Input.pm: A new subclass for subdocuments are added. Methods for information sections are added (from cc.cgi). * Output.pm (code): Support for attributes. (script, dt): New methods. (node_link): New method (from get_node_link in WebHACC::Result, which comes from cc.cgi). * Result.pm (add_error): Show some text even if no location infomration is available. Use input object, if available, as fallback for location information. (get_error_label, get_node_path, get_node_link): Removed. The first method is no longer used. The latters are now supported as |node_link| method in WebHACC::Output. 2008-07-21 Wakaba * Input.pm (generate_transfer_sections, generate_http_header_section): New (partially comes from cc.cgi). * Output.pm (link): Call |start_tag| such that attributes can be set. (link_to_webhacc): New. (encode_url_component): From WebHACC::Language::Base. * Result.pm: Support for error outputting and result table generation. 2008-07-20 Wakaba * ChangeLog: New file. * Input.pm, Output.pm, Result.pm: New modules. * Langauge/: New directory.