• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- provide an error message for invalid locale values

- improve indentation

.xql-file reform of acs-lang

- remove unneeded sql queries

lang::catalog::reset_upgrade_status_message_keys.reset_status"

lang::catalog::import_from_file.reset_upgrade_status_messages

lang::catalog::import_from_file.mark_message_as_deleted

lang::catalog::import_from_file.mark_message_key_as_deleted

lang::message::register.message_exists_p

- add per-request caching of acs_translator_mode_p

- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

  1. … 8 more files in changeset.
- add dropped error message variable

- remove useless if-statement

- use ad_log for error reporting to ease debugging

- simplify regular expression code for message keys: use build in functionality of regexp

- fix type in documentation

- prefer ns_quotehtml over ad_quotehtml

  1. … 27 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

    • -0
    • +6
    ./test/acs-lang-localization-procs.tcl
  1. … 741 more files in changeset.
- remove globals for errorInfo and use namespace qualifiers instead

  1. … 14 more files in changeset.
- don't raise an error on missing substitution variables, but write an error to the error.log (otherwise, one can get recursive errors on missing variables)

- standardize url construction to protect against injection attacks

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

    • -0
    • +58
    ./test/acs-lang-localization-procs.tcl
  1. … 2538 more files in changeset.
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- fix api-doc variable @creation-date

- fix invalid @param declaration for API browser

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