• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add missing .xql file

- don't spit out messages of the form "Key 'package_key.message_key' does not exist in en_US" when viewing proc lang::util::replace_temporary_tags_with_lookups in api-browser

- use util::http::get instead of ns_httpget

  1. … 2 more files in changeset.
Fix lc_time_fmt_compile

- change 'util_memoize "..."' into 'util_memoize [list ...]' as pointe out by Frank for security reason and correctness

  1. … 6 more files in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 11 more files in changeset.
- reduce number of remaining "string equal" operations

- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 4 more files in changeset.
- extend localization test

    • -3
    • +11
    ./test/acs-lang-localization-procs.tcl
- drop function lc_monetary_currency (seems a leftover from long ago; required tables are not part of the datamodel since many years)

  1. … 2 more files in changeset.
- add test cases for lc_*

    • -0
    • +50
    ./test/acs-lang-localization-procs.tcl
file acs-lang-localization-procs.tcl was initially added on branch oacs-5-8.

    • -0
    • +0
    ./test/acs-lang-localization-procs.tcl
- modernize tcl

- compare only values in sanity check when they are either provided or they were earlier loaded. Otherwise we would compare with a fallback value.

- fix output of descriptions into catalog files

- replace deprecated "template::util::quote_html" by "ad_quotehtml"

Fix to the check check ensuring separators are not equal

Moved checks for semantic correctness of translation messages keys to the new proc lang::message::check,

introduced such proc into message edit form and in new regression test lang_messages_correct.

Added check to ensure localized separators for thousands and decimals are different. Equal separators

would have caused localized number parsing to fail.

  1. … 1 more file in changeset.
- added sanity check: decimal point must be different from the thousands

separators. This test should be really either in regression

testing or be formulated as constraint after changing the

message keys. However, since a violation can lead to incorrect

results, the safety check is here as well.

- get rid of empty_string_p in non-deprecated code

- make use of tcl byte-code compiler

  1. … 38 more files in changeset.
Completed work for getting rid of usage of deprecated "template::util::multirow_foreach". Reducing complexity of lang::catalog::all_messages_for_package_and_locale.

- work towards getting rid of deprecated "template::util::multirow_foreach"

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. … 7 more files in changeset.
Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 213 more files in changeset.
- Moves support for 3 chars language codes to ref-language

- Adds dependencies to ref-language and ref-countries

- Bumps version number

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

    • -0
    • +140
    ./apm-callback-procs.tcl
  1. … 12 more files in changeset.
Rolling back Jeff commit. Doesn't work well with template::multirow foreach when exporting catalogs

use template::multirow foreach rather that the deprecated version; fix template::multirow so it works when adp_level is undefined

  1. … 2 more files in changeset.
Added logic to handle display mode for locale_widget

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.