• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 44 more files in changeset.
Some more Tcl cleanup

- use curly brackes to enable byte code compilation

- don't use "[expr ...]" when not needed

- prefer "incr i -1" over "set i [expr {$i - 1}] "

  1. … 15 more files in changeset.
Introduced missing ad_library statement. Normalized overall library description.

  1. … 21 more files in changeset.
- improved robustness and emit warnings when ResourceDir does not point to an existing directory

- use more byte-compiled tcl functions in generated adp code

- use "string is true" instead of home-cooked version

  1. … 1 more file in changeset.
- fix incorrect type of package parameter for "StreamingHead"

- provide default at package lookup for StreamingHead to be on the safe side

  1. … 1 more file in changeset.
- perform theming not for every url-to-file call, but just for the <include* tags

  1. … 1 more file in changeset.
- make <include ...> themeable

- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- fix typo

- new api call [template::streaming_template] to make streaming template better theme-able

- adjust all calls to use [template::streaming_template]

  1. … 6 more files in changeset.
- 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.