• last updated 6 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Use ad_try to improve error handling

    • -3
    • +3
    • -5
    • +36
Update README file

    • -2
    • +5
- added call to subsite::page_plugin callback to blank-master

- standardize spellings

Improve variable names

Initial checkin

    • -0
    • +80
    • -0
    • +38
    • -0
    • +92
    • -0
    • +390
- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

- use "ad_try" instead of "with_catch"

- avoid overlong lines

whitespace changes

Fix typo in comment

white space changes

New callback: subsite::page_plugin:

- Execute pacakge-specfic code on every page. Callbacks of this type

typically call template::head::* functions to add application specific

code (CSS and JavaScript) to every page (e.g. like e.g. the cookie-consent-plugin).

This callback is a generalization of the callbacks "subsite::get_extra_headers"

and "subsite::header_onload".

- Bump version number to 5.10.0d2

Simplify call pattern

    • -6
    • +3
ensure that enough components are created

    • -4
    • +12
set object also for components of CompoundField

dotlrn_community::get_type_package_id was called in the wrong way (hanks to Felix Mödritscher)

Use consistently xo::library to ensure application specific subclassability

make sure \n isn't escaped twice

make ical-procs usable for ::xo::library require

treat location field as text field (many thanks to Markus Moser)

Add requred ad_script_abort to Form->after_submit and comment, how one could get rid of it for using e.g. xowiki-style continuations

Moderize commented out log messages

Improve debugging messages

Make reporting of errors more consistent; verbosity can be probably reduced in the future

Improve wording of notice in error log

Add ability to trace commands with full context (using ad_log instead of ns_log)

    • -0
    • +13
Fix integration with old-style error handling

Use plain tcl "try" instead of "ad_try"

Use "try" instead of "ad_try"

Exception handling reform (part 1)

- implement ad_try based on (byte-compiled) Tcl try to make exception

handling more Tcl compliant

- Replace several "catch" operations in request-processor by ad_try

- de-spaghetti "rp_handler" and factor out "rp_handle_request"

- Provide error context in log message in a more uniform way

- handle ds stub-procs in a more uniform way:

provide as well a stub for "ds_init" instead of

wrapping it into a "catch" operation.

- move deprecated procs "ad_return" and "rp_handle_adp_request"

from request-processor-procs to deprecated-utilities-procs.tcl

- bump version number of acs-tcl to 5.10.0d2

    • -2
    • +2
Make sure, the try command is available in your installation (requires Tcl 8.5 or newer)