00-database-procs.tcl

  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove trailing .html from doc references (to allow e.g. .adp as well)

  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

  1. … 520 more files in changeset.
- whitespace change

Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- fix invalid @param declaration for API browser

  1. … 5 more files in changeset.
- The C-library function tmpnam() is deprecated since a while. Therefore naviserver has deprecated ns_tmpnam as well.

Therefore we introduce a new function "ad_tmpnam" which requires just a minimal change and uses ns_mktemp.

  1. … 27 more files in changeset.
- stick for database operations on the ms level, but use floating point numbers

  1. … 1 more file in changeset.
- report times from developer support below ms granularity

  1. … 3 more files in changeset.
- get rid of old-style parameter passing

- flatten nested "lindex" structures

- merge multiple "lappend" operations

- use "lassign" instead of multiple "lindex" operations

- improve performance util_convert_line_breaks_to_html by reducing

number of regsub operations and more precise regular expressions

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of multiple "lindex" operations

- reduce number of remaining "string equal" operations

  1. … 13 more files in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- use tcl 8.5 extended index format for "string range"

- modernize tcl

  1. … 6 more files in changeset.
- use tcl 8.5 extended index format for "lindex"

- use tcl 8.5 extended index format for "lrange"

- use tcl 8.5 expand operator instead of "eval lappend ..." idiom

  1. … 7 more files in changeset.
Removing extra ]'s.

- fix bug #2536

- modernize tcl

- modernize tcl

- remove unneeded "expr" in side if-expressions

  1. … 13 more files in changeset.
- we can't get rid of "cd", since sourced sql-files include as well files with relative paths

- windows changes

- use tcl 8.5 idioms

- db_flush_cache: do not retrieve all keys from the cache if not necessary. These array operation can cause long mutex lock times.

next_row instead of this_row has to be unset at this point.

- use absolute name to avoid namespace confusions

- use "unset -nocomplain ..." instead of exists test

- get rid of "global" statements

Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 214 more files in changeset.
Removing duplicated -private switch.

Changed db_flush to use the ns_cache names pattern construct to only return

the matching names, rather than return all names then flush those that match

the pattern (I was unaware that names took a pattern arg, how embarrasing!)

OCD repair of the hard coded @cvs-id strings

  1. … 14 more files in changeset.
Got rid of noisesome notice ...

CVS merge made a hash of the db_nextval code (gustaf's improved version,

my rollback, his improved improved version apparently confused it).