• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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 lock-free ::acs::rootdir variable instead of nsv variable

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

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

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

  1. … 2 more files in changeset.
- simply string comparisons

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

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

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

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. … 21 more files in changeset.
- add git to the list of ignored directories for apm loading

- 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

- abstract in check for existance of a command whether this is scripted or not

- use a more modern tcl command set

  1. … 12 more files in changeset.
change all core proc_doc calls to ad_proc calls

  1. … 7 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.
add -public and -private for some procs, minor bug in acs_object::get some @see notes

  1. … 12 more files in changeset.
Recognize files in lib as include_pages

fixing typo in tcl file loading printout

requiring tcl files (of type tcl_procs, tcl_init, test_procs, test_init, or tcl_util) to reside under package-key/tcl

bug 335 - making sure it's possible to install from .apm files again. The UI needs improvement. Robustness could also be improved. May need to handle the case when there is a later version of a package in the packages directory than in the apm_workspace dir

  1. … 6 more files in changeset.
making proc apm_bootstrap_load_libraries duplicate less of the logic in apm_load_libraries by making use of apm_get_package_files. To make this refactoring I had to move apm_backup_file_p, apm_include_file_p, and apm_ignore_file_p to 30-apm-load-procs.tcl

  1. … 1 more file in changeset.
install.xml would be loaded on install index page but no longer be in memory on package install page. Fixed by loading document again on package page. See discussion here: http://openacs.org/forums/message-view?message_id=122266

  1. … 2 more files in changeset.
Implemented much faster and simpler DB compatibility check

Decided that assuming SQL data files are CSV-formatted files is a bad idea

after running into a package that embeds comments in its data! Changed

from .csv to .dat and all that implies. Still more testing to do...

  1. … 33 more files in changeset.
Another oh-so-inevitable typo.

Oops tyop crept in.

Had to make SQL data load control files be db-specific (duh)

Added code to allow loading of data for packages like ref-timezones with

SQL*Loader or PostgreSQL's COPY command.

  1. … 8 more files in changeset.