• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- new api call template::themed_template to obtain a template

optionally from the resource dir of a theme

- use call for themed apm package lists in acs-admin/tcl/apm-admin-procs.tcl

  1. … 1 more file in changeset.
- add support for multiple themed masters (defaults in acs-templating/resources/masters, similar to lists etc.)

  1. … 2 more files in changeset.
- template::resource_path: new function to generalize access to

acs-templating's resource files

- add resource_dir (db) / ResourceDir (package parameter of subsite)

to allow for usage of them specific (adp) resources while preserving

existing semantics

  1. … 14 more files in changeset.
Quickfixing strange code in template::util::nvl

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- set reminiscent of .ini-files deprecated

- 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.