• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Check if file exists or no file descriptor will be created

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 71 more files in changeset.
Rework variable assigning loops (set -> lassign)

  1. … 3 more files in changeset.
fix typo

  1. … 1 more file in changeset.
Move deprecated code in deprecated-procs.tcl.

Use ad_with_deprecated_code_p to control loading of deprecated code.

Bump version number to 5.10.0d3

  1. … 2 more files in changeset.
fix typos

  1. … 15 more files in changeset.
provide version of template::util::read_file, which makes sure, that the file is always closed

Whitespace changes

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.