• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use tcl 8.5 lindex features

  1. … 1 more file in changeset.
- modernize tcl

- remove deprecated calls

  1. … 2 more files in changeset.
- modernize tcl

- fix for bug #3065.

- change broken logic for obtaining results from the spell checker in order to distinguish between empty results and errors

- in case aspell is configured incorrectly return the error message only once

- need better glasses

- modernize tcl

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

- fix bug #3179

- modernize tcl

  1. … 2 more files in changeset.
don't qoute boolean vars when initializing tinymce init params

- get rid of empty_string_p

  1. … 2 more files in changeset.
- add a fix for broken ns_quotehtml in some aolserver implementations

avoiding using deprecated command : ns_register_adptag , using ns_adp_registerscript instead.

  1. … 1 more file 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. … 18 more files in changeset.
- replace deprecated command "ns_unlink" with native tcl command "file delete"

  1. … 7 more files in changeset.
- added "@var;literal@" notation: such variables are neither quoted nor localized. This leads to more sane code in case of comparison in .adp files

- remove "magic" eval construct, since nobody seems to know, what this is for... (see old comment)

- abstract in check for existance of a command whether this is scripted or not

Getting right template-caches manipulation depending on wether we run on NaviServer or AOLServer.

lassign instead of lset was meant here.

deleted too much

define templating caches

    • -0
    • +7
    ./template-cache-init.tcl
The original code had at least two OpenACS caused memory leaks: it led

to an unbounded growth for __template_cache_value and did not unset

the nsv variables __template_*_timeout. This bug led openacs.org to a

broken state (forums posting lead to the message "Not enough memory to

allocate the list internal rep"). The new code makes use of the per

entry expire feature of ns_cache and emulates the behavior otherwise.

produce more efficient code from the adp-compiler (using byte compiled functions, using local vars)

- fix syntax of regex (many thanks to Stefan Sobernig)

fix bug 2807 security issue during enhanced text/html edit.

In display mode, minute and second fragments should be the same size as the hidden widget value (usually 2).

fix for bug in tinymce init code regarding booleans

Had to add the bleeping time_of_day acs datatype to the templating code.