• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove unneeded "ns_conn close" operations (connections are already closed by prior commands).

remove obsolete files

rename deprecated-utility-procs.xql to deprecated-procs.xql

    • -0
    • +18
    ./tcl/deprecated-procs.xql
    • -18
    • +0
    ./tcl/deprecated-utilities-procs.xql
make loading of deprecated code optional

remove deprecated-utility-procs (was moved into deprecated-procs.tcl

    • -247
    • +0
    ./tcl/deprecated-utilities-procs.tcl
Move deprecated procs into deprecated-procs.tcl

add ad_script_abort

add comment

Whitespace changes and improve spelling

whitespace changes

Don't hard-code the SiteNodeCache sizes in the library file and bump version number

Backport from HEAD

Don't hard-code the SiteNodeCache sizes in the library file,

but allow configuration via the config-file.

Example:

#

# Provide tailored sizes for the site node cache in acs-tcl:

#

ns_section ns/server/${server}/acs/acs-tcl

ns_param SiteNodesCacheSize 2000000

ns_param SiteNodesIdCacheSize 100000

ns_param SiteNodesChildenCacheSize 100000

#

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