• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
added icanuse handler for "ns_info meminfo"

new function: ad_unless_script_abort and bump version to 5.10.1b12

This convenience function eases handling of ad_script_abort exceptions

in cases, where the OpenACS request processor is not involved.

From the documentation:

Execute the provided body in the callers' environment. When the

body does not raise an "ad_script_abort" exception, the

"non_abort_action" is also executed. This pattern is useful when

handling client requests and where the "non_abort_action" is used

to return results to the client. When "ad_script_abort" is

executed, the connection is usually closed, and any attempt to

talk to the client over the closed connection will fail.

The handling of script_abort exceptions is done usually in the

request processor. The function is useful when registering own

request procs (e.g., via "ns_register_proc") where the OpenACS

request processor is not involved.

bumped version to 5.10.1b12

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
handle script abort in proc handler

include warnings and bugs in summary line

take out "nsstats" from the tests for page_contracts

fixed race condition and silence regression test

silence expected errors during regression test

silence regression test

promote warning message from ns_log to ad_log

reduce verbosity during regression test

reduce verbosity

do not complain about expected behavior

silence regression test

don't expect that invalid input becomes magically valid

reduce verbosity

use for includelets and web-callable parameters @query_param instead of @param

    • -110
    • +112
    /openacs-4/packages/xowiki/tcl/includelet-procs.tcl
align nameing with 'resource_info_procs'

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/resource-init.tcl
silence test cases

claim test coverage

fixed old bug via regression test in page contract filters

The binding variable for "min_length" and others was not passed correctly.

We saw unexpected warning of the following form during regression test:

Warning: Message contains a variable named 'min_length' which doesn't exist in the caller's environment:

handle cases in the page contract, when not connected (used this way in the regression test)

keep log file viewable (don't add too many entries)

remove leftover files after run, silence regression test run

whitespace changes

    • -4
    • +1
    /openacs-4/packages/xowiki/lib/view.tcl
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
    • -3
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
whitespace changes

    • -974
    • +974
    /openacs-4/packages/acs-tcl/tcl/xml-1-dom-procs.tcl
    • -69
    • +69
    /openacs-4/packages/acs-tcl/tcl/xml-2-procs.tcl
    • -10
    • +10
    /openacs-4/packages/acs-tcl/tcl/tdom-procs.tcl
silence test cases

removed progress bar from curl output

wget is not used anymore

silence regression test run