acs-automated-testing

  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- prepare documentation for release

  1. … 221 more files in changeset.
- no need to use backslash for continuation between curly brackets

- improve readability of code

- modernize tcl

  1. … 12 more files in changeset.
- bump version numbers

  1. … 75 more files in changeset.
*** empty log message ***

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

    • -1
    • +7
    ./tcl/test/acs-automated-testing-procs.tcl
  1. … 740 more files in changeset.
- remove trailing .html from doc references (to allow e.g. .adp as well)

  1. … 4 more files in changeset.
- use templating for navigation in doc files

- add adp-files /packages/acs-core-docs/lib/navheader and

/packages/acs-core-docs/lib/navfooter

  1. … 214 more files in changeset.
- make pretty-naming of acs-core packages more consistent

- bump verision numbers

  1. … 16 more files in changeset.
- removing cvs-log entries, add bug-tracker references

  1. … 19 more files in changeset.
- let all package doc files start with H1

  1. … 51 more files in changeset.
- documentation update

  1. … 64 more files in changeset.
- remove unneeded global statement

- remove globals for errorInfo/errorCode and use namespace qualifiers instead

  1. … 1 more file 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 ::_

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

  1. … 9 more files in changeset.
- fix page contracts, improve saftey of argument passing via URLs

Bumping up core packages version to 5.10.0d1

  1. … 24 more files in changeset.
- fix and standardize quoting in template properties

  1. … 391 more files in changeset.
- standardize url construction to protect against injection attacks

  1. … 2 more files in changeset.
- hardening page contracts

  1. … 17 more files in changeset.
- ensure proper encoding of hrefs

  1. … 13 more files in changeset.
- fix spelling of "center"

- quote HTML attributes

- quote & in hrefs

- fix validation of HTML

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

  1. … 2533 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.
- prettify documentation (use master templates)

file usage.adp was initially added on branch oacs-5-8.

file requirements.adp was initially added on branch oacs-5-8.

    • -0
    • +0
    ./www/doc/requirements.adp
file install.adp was initially added on branch oacs-5-8.