• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Tolerate wrong locales from browsers by assuming our default one

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

Whitespace changes

  1. … 1 more file in changeset.
Harmonize parameter names in proc documentation removing unexistent ones

Delete thread cache variable as well when setting a new locale and use this corrected api to repair broken test

  1. … 1 more file in changeset.
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. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

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

remove parens

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

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
Performance improvements for rp_filter and parameter:

- improve performance of rp_filter (which is run on every

non-resources request) significantly (often a factor of 2)

- improve scalability by reducing number of required mutex locks

(e.g. for secret token handling)

  1. … 8 more files in changeset.
Implements TIP#137 Support for 3-chars language codes

  1. … 15 more files in changeset.
Fixes:

1. If user_id = 0, try to retrieve the locale from the cookie. If not, fallback to the system one

2. If the user locale is not set in her preferences, return the system one.

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
added user_id switch when setting locale

Fixed two bugs (in my opinion) as the procedure was doing two entirely different things when called with a user_id or without.

add proc doc to a bunch of procs, declare some things with explicit namespaces rather than in namespace eval, make some public things private

  1. … 25 more files in changeset.
remove the acs-lang procs which were deprecated/warn in 5.0; fix lingering references to deprecated procs

  1. … 32 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040712 and jcd-merge-5-1-20040724 to HEAD

  1. … 138 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
removing comment about package_id in lang::user::locale proc being preliminary

Added proc to get options-list of enabled locales

  1. … 1 more file in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
adding a validity check in proc lang::system::site_wide_locale. If the locale is invalid we log an informative error message and return en_US. The much preferable solution that we should look at is of course a mechanism for validity checks in the UI for changing parameter values.

moving code to toggle enable_p for locale into a Tcl proc

  1. … 1 more file in changeset.
memoize the user timezone

  1. … 1 more file in changeset.