localization-procs.tcl

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- change 'util_memoize "..."' into 'util_memoize [list ...]' as pointe out by Frank for security reason and correctness

  1. … 6 more files in changeset.
- brace expressions to allow for tcl compilation

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

  1. … 9 more files in changeset.
- drop function lc_monetary_currency (seems a leftover from long ago; required tables are not part of the datamodel since many years)

  1. … 3 more files 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. … 42 more files in changeset.
Rollingback (OACS-5-4 Branch) implementation of TIP 113 and bugfixes committed after that.

Removing this functionality was decided by OCT on April 16 2008.

Commits removed on HEAD:

http://xarg.net/tools/cvs/change-set-details?key=29129

http://xarg.net/tools/cvs/change-set-details?key=28264

http://xarg.net/tools/cvs/change-set-details?key=28219

http://xarg.net/tools/cvs/change-set-details?key=28218

This needs to be correctly implemented in the future.

  1. … 14 more files in changeset.
Rollingback (HEAD) implementation of TIP 113 and bugfixes committed after that.

Removing this functionality was decided by OCT on April 16 2008.

Commits removed on HEAD:

http://xarg.net/tools/cvs/change-set-details?key=28264

http://xarg.net/tools/cvs/change-set-details?key=28219

http://xarg.net/tools/cvs/change-set-details?key=28218

This needs to be correctly implemented in the future.

  1. … 14 more files in changeset.
Minor bugfix to make sure that the parameter is found even when upgrading the packages

  1. … 1 more file in changeset.
Introduced (from AIMS product by Quest) the KeepLocalTranslations Parameter which allows anyone to keep their local changes even if the merge function believes the local change should be overwritten. A conflict is raised in this case. Additionally made sure we cannot register a message to a non existent package_key. Also be a little bit more conservative when deleting message keys (so they can only be deleted from the main locale, otherwise only unregistered

  1. … 14 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
First round of oacs-5-3 merge to HEAD commits

  1. … 96 more files in changeset.
Merged oacs-5-2 -> oacs-5-3 branches.

  1. … 66 more files in changeset.
Fixed bug #2952:   as thousands separator

fixing bug #2905

fixing 2905

remove the acs-lang procs which were deprecated/warn in 5.0; fix lingering references to deprecated procs

  1. … 32 more files in changeset.
don't use en_US in lc_numeric if lookup fails since when acs-lang totally borked even en_US might not be there and the admin page won't display

commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
An attempt to speed up the lc_time_fmt call, which gets hit 10+ times per page in calendar applications. We're now memoizing the compilation of % codes to tcl procs and vars. Also, we're no longer rebuilding the hash array of percent codes each time, instead using a namespace var that gets initialized in localization-data-init.tcl

  1. … 1 more file in changeset.
make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
adding syntax check of acs-lang.localization-grouping value and falling back on en_US locale in case of invalid syntax (to avoid broken pages)

Don't dress localization data up as links to translate when in translator mode

Clarifying commments on lc_time_fmt ; implementing %Z for lc_time_fmt ; prevent variable interpolation for lc_get

Added procs lc_time_conn_to_system and lc_time_system_to_conn

  1. … 2 more files in changeset.
changing localization data to be stored in the message catalog instead of in an nsv array so that those values can be set via a web interface instead of having to update a file

  1. … 23 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 43 more files in changeset.
A variety of changes that add up to making outlook synchronization work

with PostgreSQL (at all) and Oracle (better).

1. Changed calendar to read SystemTimezone rather than hardwire it to

US/Eastern.

2. Made calendar depend on acs-lang since that's where the param lives.

3. Fixed the query on the acs-lang page that lets you set the timezone

(used the Oracle-ism UNIQUE rather than the standard DISTINCT)

4. Saw that the test stuff doesn't work and got rid of the links on the

index page - people can live without testing it for this release (we

should fix it for 4.7)

5. Fixed timezone__local_to_utc so it works with calendar, though it's

very whacky (shifted so the timezone'd date part is the UTC date, would

be much much better to use timestamp without timezone but PG doesn't

accept that syntax for function returns and we're not ready to drop

PG 7.2 support yet so I can't take advantage of the timestamp/timestamptz

type names, sigh)

  1. … 6 more files in changeset.
if lc_time_fmt is given the empty string, don't crash, but rather, return the empty string

adding timezone support, adding auditing of edited messages, adding package scoped locale preference and package scoped locale

  1. … 40 more files in changeset.
Date/time/number localization

  1. … 85 more files in changeset.