• last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add '-delete' flag to 'ad_parameter_cache' in 'parameter::set_value', to delete the value from cache before setting, making the value coherent amongst threads (thanks Antonio for the fix).

parameter::get_from_package_key: check as well in "global" package parameter

and make clear, that lookup from non-singleton packages does not make

sense.

allow parameter::get_from_package_key to be called before acs-tcl/tcl/utilities-procs.tcl are called

improve comments

  1. … 10 more files in changeset.
Whitespace changes

Fix typos

Remove useless "catch" since template::util::is_true will not raise an error

- use "ad_try" instead of "with_catch"

- use "ad_try" instead of "with_finally"

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

  1. … 7834 more files in changeset.
add "see also" references to parameter::get and "parameter::get_global_value"

- improve comment

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- remove globals for errorInfo/errorCode and use namespace qualifiers instead

  1. … 12 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.
Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

  1. … 7 more files in changeset.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 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.
add param docs for localize and boolean for parameter;:get

add a parameter::set_default function used by teh set-parameter-default install action

  1. … 1 more file in changeset.
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.
Adding functionality for autosubmition of errors into de the bug-tracker.

Sending an email to the system owner when an error have occurred, detailling info

like user_id, browser's user, error details, etc.

  1. … 5 more files in changeset.
adding new boolean switch to parameter::get for parsing of boolean parameter values

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
Clarified documentation on parameter::get

documenting the new string trim behaviour of the parameter::get proc

String trimming all parameter values returned by parameter::get. Was motivated to do this after I was contacted by Gregor Obernoster who couldn't get acs_community_member_link to work because of an accidental trailing slash in the CommunityMemberURL param.

Peter: adding the localize switch to parameter::get that will replace any #message_key# occurencies in the parameter value with the corresponding messages from the message catalog using the locale of the request

Enable parameter::get to check the parameter file bug 1715/patch 427

cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
moved ad_parameter_from_file call from parameter::get to

parameter::get_from_package_key since you would only use a package_key to get

a value from the configuration file anyway.