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

Update README file

- added call to subsite::page_plugin callback to blank-master

- standardize spellings

    • -2
    • +2
    ./acs-bootstrap-installer/acs-bootstrap-installer.info
    • -10
    • +10
    ./acs-bootstrap-installer/installer.tcl
Improve variable names

    • -4
    • +4
    ./acs-bootstrap-installer/tcl/00-proc-procs.tcl
Initial checkin

    • -0
    • +80
    ./cookie-consent/README
    • -0
    • +38
    ./cookie-consent/cookie-consent.info
    • -0
    • +7
    ./cookie-consent/catalog/cookie-consent.en_US.ISO-8859-1.xml
    • -0
    • +92
    ./cookie-consent/tcl/callback-procs.tcl
    • -0
    • +390
    ./cookie-consent/tcl/cookie-consent-procs.tcl
    • -0
    • +20
    ./cookie-consent/www/sitewide-admin/index.adp
    • -0
    • +24
    ./cookie-consent/www/sitewide-admin/index.tcl
- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

- use "ad_try" instead of "with_catch"

- avoid overlong lines

    • -31
    • +45
    ./acs-subsite/www/admin/users/new.tcl
whitespace changes

    • -73
    • +73
    ./acs-subsite/www/admin/users/new.tcl
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

    • -5
    • +15
    ./acs-subsite/tcl/callback-procs.tcl
Simplify call pattern

ensure that enough components are created

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

    • -2
    • +6
    ./xotcl-core/tcl/10-recreation-procs.tcl
    • -2
    • +6
    ./xotcl-core/tcl/20-Ordered-Composite-procs.tcl
    • -3
    • +7
    ./xotcl-core/tcl/40-thread-mod-procs.tcl
    • -2
    • +3
    ./xotcl-core/tcl/http-client-procs.tcl
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

    • -8
    • +11
    ./acs-tcl/tcl/request-processor-procs.tcl
Improve wording of notice in error log

    • -2
    • +2
    ./acs-tcl/tcl/acs-permissions-procs.tcl
Add ability to trace commands with full context (using ad_log instead of ns_log)

Fix integration with old-style error handling

    • -2
    • +2
    ./acs-tcl/tcl/request-processor-procs.tcl
Use plain tcl "try" instead of "ad_try"

    • -3
    • +3
    ./richtext-ckeditor5/richtext-ckeditor5.info
    • -2
    • +10
    ./richtext-ckeditor5/tcl/ckfinder-init.tcl
Use "try" instead of "ad_try"

    • -3
    • +3
    ./richtext-ckeditor4/richtext-ckeditor4.info
    • -2
    • +10
    ./richtext-ckeditor4/tcl/ckfinder-init.tcl
    • -2
    • +8
    ./richtext-ckeditor4/tcl/ckfinder-procs.tcl
    • -2
    • +2
    ./richtext-ckeditor4/tcl/richtext-procs.tcl
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

    • -1
    • +63
    ./acs-tcl/tcl/deprecated-utilities-procs.tcl
    • -36
    • +107
    ./acs-tcl/tcl/exception-procs.tcl
    • -295
    • +263
    ./acs-tcl/tcl/request-processor-procs.tcl
Make sure, the try command is available in your installation (requires Tcl 8.5 or newer)