• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Whitespace cleanup

Streamline ns_set idiom

  1. … 1 more file in changeset.
Move deprecated api out of the way

Streamline ns_set idioms

Streamline ns_set idioms

Streamline ns_set idiom

Deprecate oacs_util::vars_to_ns_set: modern ns_set idioms make this proc obsolete

  1. … 6 more files in changeset.
Deprecate ad_tcl_vars_list_to_ns_set: modern ns_set idioms make this proc obsolete

Deprecate ad_tcl_vars_to_ns_set: modern ns_set idioms make it obsolete

Streamline ns_set idioms

Deprecate util_ns_set_to_list: ns_set array is an equivalent oneliner

  1. … 4 more files in changeset.
Streamline ns_set idioms

Deprecate util_list_to_ns_set: it can be replaced with a more efficient oneliner

  1. … 1 more file in changeset.
Test util::split_location and util::join_location

Make "util::split_location" more robust

This change fixes exceptions for util::split_location in

cases, where the URL could not be parsed at all. The function

should return the success indicator instead of raising an

exception. The problem showed up in connection with

attempted log4j attacks.

Stick to packages that are enabled

  1. … 1 more file in changeset.
Use the intended table to get packages that are known to the system

  1. … 1 more file in changeset.
Implement automated test for apm_package_load_libraries_order

file apm-procs.tcl was initially added on branch oacs-5-10.

Make api to retrieve the dependencies of a package public, as we use it in a test in another package, swith to the api that will retrieve the cached value instead of re-computing the result

  1. … 1 more file in changeset.
Use "ns_baseunit", when available for size calculation of parititoned caches

Generalize ::acs::try_cache (such it can be use not only for "...cache eval..."

get rid of pipe-open, when nsproxy exec is available

break overlong lines

modernize code

Close parenthesis in doc

fix broken util::word_diff and add regression test

The function was already broken before the change of today,

removing the needed for a pipe open.

added dropped "cd" command

reduce cases of tcl pipe open in acs-core

AFIKT, the semantics are the same.

For background, see: https://openacs.org/forums/message-view?message_id=5539060

reduce further redundancy

reduce frequent small SQL queries and streamline code