• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
part 2 of parameter reform

unify xo::parameter handling with classical parameter handling (parameter::get).

This change implements calls for "::xo::parameter get" by parameter::get

and outputs deprecated log entries. In addition, the initialization

of all parameters is deactivated, such that startup time is slightly faster.

so far, the full code is kept but deactivated to allow to change

quickly back, in case early adaptors run into troubles.

At least in cases, where new naviserver versions are used, the implementaton

of parameter::get became sufficiently fast to beat the xo::parameter

implementation, which was at time of its introduction ~30x faster.

  1. … 1 more file in changeset.
For Postgres, take advantage of exclusive database api to check for permissions more efficiently, improve doc

tighten checking on input parameters

  1. … 1 more file in changeset.
improve spelling

  1. … 1 more file in changeset.
reduce verbosity

provide warning about deprecated location

  1. … 1 more file in changeset.
Add missing parameter in doc

  1. … 1 more file in changeset.
improve comments and rise warning, when best-effort url is generated

refactor code and use caching to reduce (maybe overly cautious) flushes on site_nodes_id_cache-*

support folder instances as prototype pages

make "instantiate_forms" a method of packages

this reads better than the previous variant based on the Weblog class.

  1. … 14 more files in changeset.
form_usages: add revisions and full path to output

form_unify: use switch instead of boolean flag; iterate over single forms

use the same defaults for the "-forms" switch in form_usages and form_unify

move "unify_forms" to xotcl-core, rename it to "form_unify", added "form_usages"

  1. … 1 more file in changeset.
provide a helper to fix the package_id of site-wide pages which were moved to

the global instance from some other package

  1. … 1 more file in changeset.
use "ad_file" as a means to avoid unexpected tilde substitution in file names

  1. … 8 more files in changeset.
use dot instead of colon as separator between package name and cache key to ease readability

  1. … 10 more files in changeset.
acs::per_thread_cache: standardize per-thread caching

- added per-thread cache based on namespaced Tcl variables.

- use per-thread-cache on several occasions

- bump version number of acs-tcl to 5.10.0d34

  1. … 14 more files in changeset.
improve spelling

fix brain blackout

fix typo

- PackageMgr.require_site_wide_pages: add flag -refetch_if_modified

When the flag is used, site-wide pages are automatically updated,

when the file in the prototypes directory changes

- improved source code documentation

- bumped version number to 5.10.0d27

  1. … 1 more file in changeset.
get rid of two xowiki::* calls and improve handling of bootstapping issues via empty package_id

provide an xo::cc when needed (e.g. during bootstrap)

provide a default for "-pages" in require_site_wide_pages,

bump version to 5.10.0d26

  1. … 1 more file in changeset.
move "get_nls_language_from_lang" to metaclass to make it usable from packages different to xowiki as well

  1. … 1 more file in changeset.
xotcl-core

- move list of site_wide pages to meta-class,

such that every derived class might have different ones.

- bump version number to 5.10.0d25

xowiki

- provide explicit site_wide pages

- bump version number to 5.10.0d49

  1. … 3 more files in changeset.
reduce verbosity

Fix typos