• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
reduce verbosity

added example line to ease spotting of the creation of unnamed mutexes

provide name for mutexes to ease spotting potential locks

avoid burst cache hits by using nsvs instead of ns_cache for secret token caching

The problem with the prevision version was that ns_cache has no equivalent

to nsv_array to get in an atomic fashion all key value pairs from the cache.

thefore, for the per-thread caching, a tight loop was used processing

the result of ns_cache_keys. If this was necessary in a high number of

threads, higher lock times were possible (~100ms). The new version

should not face this problem.

Important, although very simple reform in the page-contract filters: do not kill the case in the filter specs, or filters such as "w:oneof(One|Two)" or "locale:oneof(en_US|de_DE)" would not have a chance to match

Note that this makes the contracts stricter with respect to case, which might break obscure use cases...

avoid to try to return an error to client in request processor when connection was already closed

add hook to write changed blueprints

fix typo

report changes in blueprint size when reloading files

improve spelling

whitespace changes

Fix test category misplacement

Take care of string values when these are longer than the randomized length

Whitespace changes

Set tests as 'production_safe'

add i-can-use rule for "ns_urlencode -part oauth1"

revert escaped change

make proxy exec more compatible with tcl exec: support flags "-ignorestderr" and "--"

Do rollback after test run

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 44 more files in changeset.
Fix for issue #3446

This fixes a bug, where the ordering of the site-nodes in the answer

set of the select_child_site_nodes query in site_node::update_cache

led to disappearing entries in the site map, when additional

items were added. This bug happened in the old-style

(nsv-based) site-node impementation, which is used, when no

xotcl is available.

Many thanks to Keith Paskett for debugging and the fix.

    • -16
    • +19
    ./tcl/site-nodes-procs-postgresql.xql
Rework of the 'test_apm_parameter__register' and 'test_apm_package_instance__new' test cases.

Ignored disabled packages in both tests.

Check all enabled packages in 'test_apm_package_instance__new', instead of picking just one randomly, so all issues instantiating packages are found at once.

Indentation changes.

    • -22
    • +40
    ./tcl/test/acs-tcl-apm-procs.tcl
Ignore singleton packages that are already instantiated on 'apm_package_instance_new', preventing the execution of the after-instantiate callbacks

Convert content of host header field to lower case, since domain names are case insensitive

Keep tolerating parameter_id specified as unnamed argument in legacy code and warn about deprecation

Adapt tests to the new behaviour of 'apm_parameter_unregister'

    • -3
    • +3
    ./tcl/test/apm-parameter-test-procs.tcl
Do not add admin_node to the component bars if it is empty

Reduce error level to warning in the nullchat test case, as the issue is driver related

Allow in testing mode always a "form" tag, independent of the antispam parameter settings

This addresses an issue, when one is running the regression test for xowiki on installations

with plain dotlrn, where otherwise the validator complains about the form tag in a form.

There should be a nicer way of doing this...

allow calling apm_parameter_unregister without "parameter_id"

previously, it was allowed to call it with an empty parameter_id, but not without it