lang-message-procs.tcl

  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
prefer "ns_conn isconnected" over "ad_conn isconnected", since the latter might not notice changes in the connect state

  1. … 18 more files in changeset.
avoid repeated lookup for the same locale

- simplifying one more expression

- bump version number to 5.10.0d11

  1. … 1 more file in changeset.
reduced the number of mutex locks for message keys lookup by a factor of two by using naviserver commands

improve spelling

  1. … 11 more files in changeset.
Add 'lang::message::undelete', in order to provide an API for undeletion of messages deleted via 'lang::message::delete', and modify 'lang::message::edit' accordingly. Next step would be to provide a user interface for it.

Switch to a sql-only approach (fixes regression)

Replace ad_decode idioms

Bring files on oacs-5-10 in sync with HEAD

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

  1. … 19 more files in changeset.
Replace/remove deprecated proc 'db_null' and update doc accordingly

  1. … 33 more files in changeset.
don't load deleted messages into the cache and drop conceptually broken parameter

  1. … 1 more file in changeset.
Fix typo

Replace silent catch with something nicer

Fulfill Lars old dream by using a thread safe idiom

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

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.
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.
fix more typos

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

Reduce divergence between oracle and postgres codebase

  1. … 3 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 48 more files in changeset.
Get rid of strange construct: [lindex [array get $array $name] 1]

  1. … 5 more files in changeset.
- use for hex codes 2-digit notation \xHH to make it compatible for tcl8.6

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

- remove useless if-statement

- use ad_log for error reporting to ease debugging