• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix typos

Remove private proc 'lang::message::translate', broken since 2002 and used nowhere.

Remove deprecated proc 'ad_locale_get_label', scheduled to be removed in 5.3, and used nowhere.

Whitespace changes

Harmonize parameter names in proc documentation removing unexistent ones

Fix parameter names in proc doc

rework test cases, make tested procs explicit

    • -5
    • +9
    ./test/acs-lang-localization-procs.tcl
    • -10
    • +16
    ./test/acs-lang-message-procs.tcl
    • -41
    • +115
    ./test/acs-lang-test-procs.tcl
Fix typo or this file would not load

improve testcases by removing useless expr commands

  1. … 17 more files in changeset.
Whitespace changes + add editor hints

  1. … 26 more files in changeset.
Remove superflous parentheses

  1. … 29 more files in changeset.
improve spelling

  1. … 11 more files in changeset.
improve spelling

  1. … 12 more files in changeset.
Delete thread cache variable as well when setting a new locale and use this corrected api to repair broken test

set lang::system::get_locales to per-thead cache as indicated

cache system locales in a per-thread cache

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. … 472 more files in changeset.
Rework variable assigning loops (set -> lassign) + Whitespace changes

  1. … 13 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 68 more files in changeset.
Rework variable assignment (set -> lassign)

  1. … 12 more files in changeset.
Fix typos

  1. … 31 more files in changeset.
Prefer lappend over concat for appending lists (lappend modifies the variable 'in place')

  1. … 5 more files in changeset.
remove conditions, which are always true

remove parens

  1. … 4 more files in changeset.
modernize code

simplify code and make it more consistent

  1. … 5 more files in changeset.
fix more typos

  1. … 5 more files in changeset.
make sure to log errors in the error.log

scalability improvement: keep result of lc_time_fmt_compile in (lock-free) per-thread cache rather than in the util_memoize cache

Reduce stress on util_memoize_cache by removing the - by far - most often reused

item in the cache (apm_package_installed_p_not_cached ref-timezones). Instead,

we fall back to the (per-thread) caching of apm_package_id_from_key.

Fix extra parenthesys