• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file ext-auth-design.adp was initially added on branch oacs-5-9.

    • -0
    • +0
    ./www/doc/ext-auth-design.adp
file configure-batch-sync.adp was initially added on branch oacs-5-9.

    • -0
    • +0
    ./www/doc/configure-batch-sync.adp
file index.adp was initially added on branch oacs-5-9.

  1. … 1 more file in changeset.
- remove globals for errorInfo and use namespace qualifiers instead

  1. … 10 more files in changeset.

ad_proc reform:

- use nsf::proc for defining ad_procs, when nsf::proc is available

- nsf::proc is part of the environment of XOTcl2 and provides

an efficient, C-implemented argument parser that can replace

the scripted *__arg_parser of OpenACS.

- The benefits are performance and reduced memory consumption.

* Simple functions (where the calling overhead was a large

part of the execution times can become several times faster

(e.g. db_name is 3x faster, cookie handling is 2x faster),

for functions with much db-activities the percentage will

be less.

* The memory consumption (RSS) of a site like OpenACS.org

is reduced by about 15%.

NEW (with nsf::proc)

::ad_get_cookie x: 10.93 microseconds per iteration

::ad_get_cookie ad_session_id: 21.95 microseconds per iteration

::dt_systime: 24.89 microseconds per iteration

::db_name: 8.70 microseconds per iteration

::db_string dbqd.null.g "select version() from dual": 316.66 microseconds per iteration

::ad_convert_to_html "hello world": 102.29 microseconds per iteration

OLD (without nsf::proc)

::ad_get_cookie x: 19.42 microseconds per iteration

::ad_get_cookie ad_session_id: 30.10 microseconds per iteration

::dt_systime: 27.55 microseconds per iteration

::db_name: 32.28 microseconds per iteration

::db_string dbqd.null.g "select version() from dual": 366.69 microseconds per iteration

::ad_convert_to_html "hello world": 160.51 microseconds per iteration

======================================================================

proc mtime cmd {set c 5000

set t [time [list time $cmd $c]];

regexp {^(-?[0-9]+) +} $t _ mS1;

set ms [expr {$mS1*1.0/$c}];

return "[format %6.2f $ms] microseconds per iteration"

}

set tests {

{::ad_get_cookie x} {::ad_get_cookie ad_session_id} {::dt_systime}

{::db_name} {::db_string dbqd.null.g "select version() from dual"}

{::ad_convert_to_html "hello world"}

}

foreach t $tests {append ::_ $t ": " [mtime $t] \n}

set ::_

======================================================================

    • -18
    • +10
    ./tcl/test/acs-authentication-procs.tcl
  1. … 8 more files in changeset.
Bumping up core packages version to 5.10.0d1

  1. … 24 more files in changeset.
- standardize argument passing to adp-includes, don't perform double i18n and double quoting

  1. … 124 more files in changeset.
- update of russian catalog files for acs-authentication as contributed by v v (see issue #3258)

    • -0
    • +5
    ./catalog/acs-authentication.ru_RU.utf-8.xml
- hardening page contracts

  1. … 20 more files in changeset.
- imporve security of HTML

- fix for bug #3251 from Andrew Helsley

  1. … 4 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

    • -3
    • +3
    ./tcl/test/acs-authentication-procs.tcl
  1. … 520 more files in changeset.
    • -4
    • +4
    ./tcl/test/acs-authentication-procs.tcl
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

    • -0
    • +30
    ./tcl/authentication-procs-oracle.xql
    • -0
    • +28
    ./tcl/authentication-procs-postgresql.xql
    • -40
    • +126
    ./tcl/authentication-procs.tcl
    • -19
    • +23
    ./tcl/test/acs-authentication-procs.tcl
  1. … 2535 more files in changeset.
- bump version numbers to 5.8.1

  1. … 74 more files in changeset.
- bump version number to 5.8.1b2

  1. … 75 more files in changeset.
- bump version numbers for beta release

  1. … 74 more files in changeset.
- bump version numbers to [25].8.1a3

- update requirements for core components to newest version number in the branch

  1. … 74 more files in changeset.
- use expand operator rathen than "eval" when possible

  1. … 5 more files in changeset.
- simplify code

    • -2
    • +2
    ./tcl/test/acs-authentication-procs.tcl
  1. … 2 more files in changeset.
- bump version numbers

  1. … 11 more files in changeset.
- set maturity of core packages to 3

  1. … 11 more files in changeset.
- use util::http::get instead of deprecated proc

- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

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

  1. … 2 more files in changeset.
- flatten nested "lindex" structures

- use numeric comparison operator for truth value comparisons

- bump version numbers

  1. … 11 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)

    • -2
    • +2
    ./tcl/test/acs-authentication-procs.tcl
  1. … 10 more files in changeset.
- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

    • -3
    • +3
    ./tcl/test/acs-authentication-procs.tcl
  1. … 2 more files in changeset.
- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 1 more file in changeset.