• last updated 13 hours ago
Constraints: committers
Constraints: files
Constraints: dates
- reduce usage of "eval"

  1. … 4 more files in changeset.
- replace "eval" by expand operator

  1. … 11 more files in changeset.
Getting right template-caches manipulation depending on wether we run on NaviServer or AOLServer.

lassign instead of lset was meant here.

deleted too much

The original code had at least two OpenACS caused memory leaks: it led

to an unbounded growth for __template_cache_value and did not unset

the nsv variables __template_*_timeout. This bug led openacs.org to a

broken state (forums posting lead to the message "Not enough memory to

allocate the list internal rep"). The new code makes use of the per

entry expire feature of ns_cache and emulates the behavior otherwise.

  1. … 1 more file in changeset.
use template::multirow foreach rather that the deprecated version; fix template::multirow so it works when adp_level is undefined

  1. … 2 more files in changeset.
template::multirow get failed if the -local switch was used and a row ref,

rather than a column value, was returned.

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
add template::multirow unset documentation

merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
- Added -unclobber switch to template::multirow

- Added local emacs code to set indent level to 2

Added multirow unset operation

Added doc string

Added exists command to template::multirow

Fixed bug in template::multirow sort - forgot to set the rownum attribute

Added a template::multirow sort command option

all TCL's clock clicks always with the -milliseconds option. The TCL manual

explicitly states that without this switch the return result is platform

dependant. The OpenACS code works at the millisecond granulartiy and silently

assumes that 1 millisecond equals 1000 clicks which is not necessarily true.

I used this shell script to automatize the replacing:


for file in `grep -lsr "\[clock clicks\]" /web/openacs-head/packages/ `; do

echo "repairing $file"

sed "s/\[clock clicks\]/\[clock clicks -milliseconds\]/g" $file > fout

mv fout $file


And then grepped for

grep -r "expr.*clock clicks" /web/openacs-head/packages/

to manually remove the divisions by 1000.

  1. … 10 more files in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
build a list to eval rather than eval ad_context_bar $args, bug 1265

  1. … 7 more files in changeset.
create the columns array in template::util::list_of_ns_sets_to_multirow so template::multirow foreach will work, fix typo in template::multirow procdoc

  1. … 1 more file in changeset.
make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
Started I18N work (Together with Lars)

Added namespace eval $namespace calls to each file in the tcl dir.

Rooted out some hardcoded text, replaced it with respective calls to

the i18n text catalog text function.

Shuffled around proc creation and calling, so that everything works properly.

  1. … 25 more files in changeset.
adds a multirow pop command Patch 282 Jerry Asher

adds a multirow pop command Patch 282 Jerry Asher

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
template::multirow extend mistakenly upvar'd only one level, not to the level of the multirow

merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
adds signed hidden vars. dont emit value on option list if value and label match

  1. … 3 more files in changeset.
adds a template::multirow columns commmand, multirow foreach simply return if an empty or columnless multirow passed in