• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add a warning about loading old-style argument lists for ad_proc

- allow to upgrade basic startup files (openacs-4/tcl/*tcl)

to be upgraded via "install from repository" by adding

and after-upgrade callback to bootstrap-installer and

copying the files from there.

- move initialization of nsv_arrays for apm to -init file in acs-tcl

(as suggested by Peter Marklund, but never implemented)

- use double colon prefix rather than "global" statement

to denote global variables

- bump version number to 5.8.1d3

  1. … 3 more files in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 13 more files in changeset.
- use lock-free ::acs::rootdir variable instead of nsv variable

- reduce number of remaining "string equal" operations

- replace "eval" by expand operator

  1. … 11 more files in changeset.
- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 9 more files in changeset.
- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 2 more files in changeset.
- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 2 more files in changeset.
- use "in" operator instead of lsearch

- simply string comparisons

- use tcl 8.5 extended index format for "lindex" and "lrange"

  1. … 1 more file in changeset.
- use tcl 8.5 idioms to improve readability and performance

- modernize tcl

- remove unneeded "expr" in side if-expressions

  1. … 12 more files in changeset.
- get rid of empty_string_p

  1. … 19 more files in changeset.
- change deprecated message from "Debug" to "Notice" level

- apm_get_package_files: add flag "-all", otherwise .apm file generation on openacs.org leads to incomplete package files

Moving handling NaviServer deprecated ns_info subcommands to 0-acs-init.tcl.

  1. … 2 more files in changeset.
- turn on warning for using deprecated commands, at least during the release phase

apm_include_file_p wont ignore anymore the upgrade directory in case data_model_files flag is set.

apm_get_package_files has new boolean switch -include_data_model_files in order to allow including/excluding sql files when looking for files within a package.

Taking .sql out of the list of ignored file extensions. Otherwise create/upgrade sql scripts are not loaded while installing/upgrading.

- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 20 more files in changeset.
- add git to the list of ignored directories for apm loading

- use usual style non-poistional arguments in ad_proc

- use tcl 8.5 operations

- apm_file loader: ignore directories www/resources/, catalog/, upgrade/

- apm_file loader: ignore extensions .html .gif .png .jpg .ico .pdf .js .css .xsl .tgz .zip .gz .java .sql

- align implementation of apm_backup_file_p with documentation

- cleanup and minor performance improvements

    • -16
    • +13
    ./40-db-query-dispatcher-procs.tcl
  1. … 1 more file in changeset.
- abstract in check for existance of a command whether this is scripted or not

- use a more modern tcl command set

  1. … 10 more files in changeset.
- Fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command

"::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered

the few occurances. The fix works as well with Tcl 8.4. The proper

fix for 8.5 would be to use instead of the function the expand

operator {*}

  1. … 3 more files in changeset.
- Fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command

"::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered

the few occurances. The fix works as well with Tcl 8.4. The proper

fix for 8.5 would be to use instead of the function the expand

operator {*}

  1. … 3 more files in changeset.
- fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command "::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered the few occurances.

The fix works as well with Tcl 8.4. The proper fix for 8.5 would be to use instead of the function the expand operator {*}

  1. … 3 more files in changeset.