• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
minor improvements (actually no need for ad_try, if all we do is a dom command)

replace "catch" by "ad_try"

Remove useless "catch" since template::util::is_true will not raise an error

replace "catch" by "ad_try"

Move deprecated procs into deprecated-procs.tcl

Remove "catch {unset var}" idiom by "unset -nocomplain var"

  1. … 3 more files in changeset.
make sure to call ad_script_abort after ad_return

  1. … 13 more files in changeset.
Add TODO item

Fix typos

  1. … 3 more files in changeset.
Fix more typos

Fix typos

  1. … 1 more file in changeset.
Move deprecated commands to a separate file

    • -0
    • +750
    ./tcl/deprecated-procs.tcl
extend lost of frequently used Tcl cmds for tracing

Improve error message

Handle Tcl verisons newer than 8.6

Improve documentation

- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

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)

Fix integration with old-style error handling

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
    ./tcl/deprecated-utilities-procs.tcl
    • -295
    • +263
    ./tcl/request-processor-procs.tcl
Make sure, the try command is available in your installation (requires Tcl 8.5 or newer)

Backport from HEAD

  1. … 2 more files in changeset.
Fix typo in debug line

Make behind_secure_proxy_p more robust against unexpected values in X-SSL-Request

Fix broken cvs-id

Improve scalability of site-node caches

Some sites have site-node caches with more than 200k site-node entries.

Wild card operations for flushing in these caches can take a while (2-digit ms),

locks on the site-node cache can lock everything. This change separates

the caches with wild-card operations from the parts not requiring these.

improving vor sample data the scalability at least by a factor of 4.

Reduce divergency between oracle and postgres codebase

    • -73
    • +0
    ./tcl/community-core-procs-oracle.xql
    • -73
    • +0
    ./tcl/community-core-procs-postgresql.xql
Reduce divergency between oracke and postgres codebase

    • -26
    • +1
    ./tcl/security-procs-postgresql.xql