• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- mark more of the functions as deprecated which are not called

by the major 80 packages and for which popular alternatives exist

* pkg_home (-> acs_package_root_dir)

* ad_get_user_info (-> acs_user::get)

* exists_or_null (-> tcl builtins)

* lmap (danger, this function is a built-in of Tcl 8.6)

* template::util::server_root (-> $::acs::rootdir)

* template::util::display_value (-> ns_log)

* template::util::proper_noun (-> string totitle)

* template::util::string_range (-> string range)

* template::util::get_cookie (-> ad_get_cookie)

* template::util::set_cookie (-> ad_set_cookie)

* template::util::clear_cookie (-> ad_set_cookie)

- util_wrap_list: fix bug, when length of first word less then indent

(space was missing)

  1. … 5 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- improve indenting

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

  1. … 14 more files in changeset.
- use "... eq {} " instead of "template::util::is_nil" where it is clear that the variable exists

  1. … 1 more file in changeset.
- don't abbreviate subcommands of "file"

  1. … 2 more files in changeset.
- use tcl 8.5 extended index format for "lindex", "lrange" and "string range"

- use "in" operator instead of "lsearch"

  1. … 7 more files in changeset.
- need better glasses

- modernize tcl

- mark template::util::quote_html as deprecated as argued in bug #2736 and replace it by ad_quotehtml

  1. … 2 more files in changeset.
- 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.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
All templating procs now have at least minimal documentation.

  1. … 8 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
correcting poor formating for my recent changes to tcl_to_sql_list

fix for bug 2526, adding DoubleApos functionality to tcl_to_sql_list

  1. … 1 more file in changeset.
fix for bug 2526, adding DoubleApos/ns_dbquotevalue functionality

  1. … 1 more file in changeset.
doing a proper revert fix for bug 2526, due to bug 2593

reversing fix for bug 2526, due to bug 2593

resolves bug 2526, tcl_to_sql_list now uses db_ bind vars, includes tests requested by daveb

  1. … 1 more file in changeset.
Merge from HEAD fixed to variable regular expressions.

add recognizing array variables like @xx.y.z@ as xx(y.z). Note that the regexps show up in multiple places so any changes to the @ var regexps should be made carefully. In particular if @x@ defined and if @x@ nil handle variables special since they can't be derefrenced

  1. … 2 more files in changeset.
add recognizing array variables like @xx.y.z@ as xx(y.z). Note that the regexps show up in multiple places so any changes to the @ var regexps should be made carefully. In particular if @x@ defined and if @x@ nil handle variables special since they can't be derefrenced

  1. … 3 more files in changeset.
adds the function template::adp_include which is a public interface for generating strings from adp includes instead of the private template::adp_parse -string; also docs for template::util::multirow_foreach

  1. … 1 more file in changeset.
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.
fixing bug 1318

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

  1. … 598 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.
making proc util::array_to_vars do proper quoting partially fixing bug 810. Kudos to Lars for teaching me about the merits of the list command...

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.
Fixed bug #828: Typo