• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Prefer unset to array unset when no pattern matching is needed

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

No need to fiddle in the ad_conn array if we just reset it

Prefer unset to array unset when the whole array should be deleted

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

  1. … 3 more files in changeset.
Prefer unset to array unset when the whole array should be deleted, rework array idioms into dict idioms to avoid unsetting the array, where appropriate

See https://wiki.tcl-lang.org/page/Dict+VS+Array+Speed

Limit files__tcl_file_common_errors test to installed packages

Unmaintained packages may ship files with invalid encodings, which tcl9 won't tolerate anymore.

Improve test

- skip packages that are not installed before we check the info file

- ensure all installed packages have an info file

This fixes the test for tcl9, where some unmaintained packages may fail the file parsing because of invalid encoding.

Tcl9 regression test: deactivated case broken in tcl9 with unclear semantics

whitespace change

tcl9 changes: "string bytelength" does not exist in tcl9

  1. … 1 more file in changeset.
removed file deleted in branch oacs-5-10

Ensure we fail the check and complain when a localurl is invalid

Fix passing complaints info to the complain template

merge with missing files

  1. … 1450 more files in changeset.
merge from oacs-5-10

    • -21
    • +0
    ./00-database-procs-postgresql-postgresql.xql
    • -0
    • +21
    ./01-database-procs-postgresql-postgresql.xql
  1. … 8085 more files in changeset.
small fix, when cookie times out and dotlrn is active

improved test case

- load first mime package before loading it

- provide version of the mime package in the test log

- don't provide ns_set id as "error"

documented command result

Use "ns_mkdtemp" when available to create temporary directories

cleanup tmp directories created by the acs-tcl regression test

whitespace changes

  1. … 7 more files in changeset.
improve source code documentation

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

  1. … 1 more file in changeset.
take out "nsstats" from the tests for page_contracts

silence regression test

reduce verbosity during regression test

do not complain about expected behavior

silence regression test

don't expect that invalid input becomes magically valid

reduce verbosity