• last updated 11 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.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- reimplementation of util_memoize cache for NaviServer. The original

implementation of the util-memoize functions was based on "manual expirations"

(every cached entry was a pair of value + timestamp). This is not needed

on naviserver, since NaviServer allows us to specify for every entry

directly an expire time, which is implemented internally. The new

has the advantage that (a) it is faster, (b) more secure (no race conditions),

(c) smaller memory footprint (not only storing the timestamp is not needed;

furthermore invalidation of timed-out entries happend in the old version only,

when the entry was fetched; in practice (openacs.org) many dead entries

where kept, the size wen down by 90%), (d) due to small number of entries

the search in the keys is much faster.

- revert escaped change

- provide fallback values for ad_conn in cases, requests fail early, but templated results are provided

- add ds_init call

  1. … 1 more file in changeset.
- added util_memoize_flush_pattern, which works exactly like util_memoize_flush_regexp, execpt

a) it accepts a glob style pattern instead of a regular expression

b) it does not retrieve all memoize keys from the cache, but only the matching keys (via ns_cache names glob parameter)

c) it is much faster

OCD repair of the hard coded @cvs-id strings

  1. … 14 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.
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.
Moving definition of util_memoize_flush from memoize-procs.tcl

to 20-memoize-init.tcl. server_cluster_httpget_from_peers proc

was not defined when loading memoize procs. This issue is related

to bug #2396.

  1. … 1 more file in changeset.
changed notice to debug

Marking procs public/private

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.
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.
1. Took out my earlier kludge to get around the AOLserver 4 ns_eval problem.

2. bracketed "if" exprs to avoid unnecessary recompilations of exprs

  1. … 15 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
Upgrade to 4.6.2

  1. … 30 more files in changeset.
caching the proc apm_package_installed_p with util_memoize

  1. … 3 more files in changeset.
added util_memoize_flush_regexp

cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.

Moved the bootstrap and installer stuff into their own mini-package, which

let me clean up the loading of acs-tcl a bit and isolate all the bits of

APM-knowledge required in the pre-acs-tcl bootstrapping process into a single

apm file. In general, bootstrap.tcl is cleaner and easier to read.

  1. … 37 more files in changeset.
OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +261
    ./memoize-procs.tcl
  1. … 1321 more files in changeset.