tcl-documentation-procs.tcl

  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve wording

  1. … 7 more files in changeset.
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.
fix typos

  1. … 7 more files in changeset.
Fix typos

  1. … 31 more files in changeset.
Part 3 of scalability improvement: provide lock-free implementation of

ad_page_contract_filter_rules. If nothing bad shows up, the

underlaying nsv-arrays can be removed completely.

If one looks at the top 10 nsv mutex locks of a rather busy site

(nsd running for 3 days), one can see the ad_page_contract_filters

and ad_page_contract_filter_rules belong to the most frequent

mutex locks, which can be avoided at completely. These two

arrays make up of nearly 40% of the top 10 nsv locks.

ad_page_contract_filters 38042679

api_proc_doc 37717019

ad_page_contract_filter_rules 26036060

::xotcl::THREAD 18628540

OACS_FULLQUERIES 17771146

ds_properties 7855339

rp_extension_handlers 6837414

apm_subsite_packages_list 3524672

apm_reload_watch 3514474

apm_properties 3514472

Part 2 of scalability improvement: provide lock-free implementation of ad_page_contract_filters (*rules are still missing)

fix documentation

Improve scalability by reducing the number of locks on ad_page_contract_filters (this nsv receives the most locks on e.g. openacs.org)

clean up expression: no need to use backslashes in tcl expression

add oneof(red|green|blue) to page filters

  1. … 1 more file in changeset.
replace "catch" by "ad_try"

  1. … 1 more file in changeset.
Fix typos

  1. … 4 more files in changeset.
Fix broken cvs-id

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

    • -865
    • +1055
    ./tcl-documentation-procs.tcl
  1. … 7834 more files in changeset.
Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL, NaviServer)

  1. … 43 more files in changeset.
Fix spelling errors

  1. … 6 more files in changeset.
fix dirty editor buffer leftover

Fix spelling errors

  1. … 22 more files in changeset.
fix typo

Unify handling of tmp dir checking (see issue #3308)

  1. … 2 more files in changeset.
white space changes: remove tabs, remove trailing spaces and unneeded quotes

    • -713
    • +713
    ./tcl-documentation-procs.tcl
Fix bug in code for the validation of signed query variables, when no value was given (and notnull complaint has fired already)

Use "util::trim_leading_zeros" instead of ad-hoc code

- add ::template::csrf::validate to be used in page contracts. In difference to security::csrf::validate, this version checks, if csrf is enabled/disabled for this package

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.
- fix typos in documentation

- don't log errors on abort script operations

- add errorCode to reported context information