• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make parsing of sql argument names more robust

Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL, NaviServer, tDOM)

  1. … 13 more files in changeset.
- Fix more spelling errors

- Use uniform spelling of "Tcl"

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

  1. … 24 more files in changeset.
Reduce verbosity

  1. … 1 more file in changeset.
Fix typo

- new method for ::xotcl::Object mset: set a series of instance

variables via the provided attribute value list (as e.g. returned by

[array get], [ns_set array], ...

- implement the prepared statement handling within the scope of

a "db_with_handle", to make sure, the prepare and the subsequent

command are using the same handle (and therefore session).

- use for prepared statement caching the result of [ns_db session_id]

when available

- bump version to 0.155

  1. … 2 more files in changeset.
- build prepared statements more eager - for the time being

- provide faster import of instance variables through the user of lassign

Pass dbn to subsequent calls

Added support for prepared statements to other ::xo::dc operations

- add support for providing max entry cache size (when used with NaviServer)

- use lower case name for prepared statements

- remove the need for providing a prepare name by using a md5 hash, which is also better scalable

- bump versin number to 0.154

  1. … 1 more file in changeset.
- first draft of prepared statements for xo::dc using the standard PostgreSQL handler

- bump version number to 0.153

  1. … 1 more file in changeset.
Don't use 'if not exists' idiom for postgres as present since version 9.5 only

Create stubs only when required and close to actual methods

- reduce verbosity

new procs must be created when util object exists!

Check for new require object's features explicitly by utility presence rather than oacs version. Do check only at file load time and define procs accordingly

new require method to create sequences

Use quoting on default value

Make the code more robust when people still hasn't run the upgrade script but have the latest code

Enhancement for the db abstraction interface: now the system is also able to specify

and reflect in the db table column properties and constraints as unique, foreign keys (as before),

not null, default value (as before) and index creation (directly as class attribute flag).

Such column properties will be added to the data model also after first table creation

without the need for an upgrade script. This should cover the most typical

"incremental upgrade" use cases. Change in column type and dropping of tables, indexes

or constraints still has to be performed manually.

Also, flag for require view allows one to rebuild it automatically.

Made all creation of fallback database utilities conditional to object existance

Move fallback utilities definitions after ones coming from database

function, so the latter have precedence.

This is needed upstream because create_all_functions here skips

function creation when it already exist (motivated in comment).

Fallback to datatype mapping based on acs_datatypes when no direct mapping is available

- add nonces to script tags

- add body handlers

  1. … 7 more files in changeset.
- revert this mornings change, since this leads to many warnings

- use same uplevel idiom everywhere (many thanks to antonio)

- fortify low-level db access methods: return errors when called with wrong argument types

  1. … 1 more file in changeset.