acs-service-contract-procs.tcl

  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
.xql-file reform of acs-service-contract

- remove sql statements from the code, where these are provided via .xql

- prefer empty sql statements over various forms of *SQL*

- remove unneeded sql queries

acs_sc::msg_type::delete.delete_by_id

-remove unneeded files

tcl/acs-service-contract-init-oracle.xql

tcl/acs-service-contract-init-postgresql.xql

www/binding-uninstall-postgresql.xql

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

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

    • -28
    • +26
    ./acs-service-contract-procs.tcl
  1. … 2547 more files in changeset.
- use list instead of quoted strings in util_memoize to avoid surprises with empty strings etc.

  1. … 2 more files in changeset.
- use "lassign" instead of "foreach ... break" idiom

  1. … 5 more files in changeset.
- document the non-deprecated functions, not the deprecated ones

  1. … 4 more files in changeset.
- get rid of deprecated calls to acs_sc_call in regression test

    • -20
    • +16
    ./acs-service-contract-procs.tcl
- abstract in check for existance of a command whether this is scripted or not

- use a more modern tcl command set

  1. … 12 more files in changeset.
- Fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command

"::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered

the few occurances. The fix works as well with Tcl 8.4. The proper

fix for 8.5 would be to use instead of the function the expand

operator {*}

  1. … 3 more files in changeset.
- Fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command

"::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered

the few occurances. The fix works as well with Tcl 8.4. The proper

fix for 8.5 would be to use instead of the function the expand

operator {*}

  1. … 3 more files in changeset.
- fix for Tcl 8.5: OpenACS did overwrite the Tcl built-in command "::apply" and broke therefore all scripts/libraries using it.

Changed the name of the OpenACS function to "ad_apply" and altered the few occurances.

The fix works as well with Tcl 8.4. The proper fix for 8.5 would be to use instead of the function the expand operator {*}

  1. … 3 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.
merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
Pass in impl_alias and impl_pl directly to acs_sc_proc, which avoids calling the expensive acs_sc_get_alias proc

  1. … 1 more file in changeset.
merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.
add -public and -private for some procs, minor bug in acs_object::get some @see notes

  1. … 12 more files in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

    • -42
    • +10
    ./acs-service-contract-procs.tcl
  1. … 598 more files in changeset.
fix a few more missing rdbms stanzas

  1. … 12 more files in changeset.
added doc link

added support for pretty_names to acs sc impls

  1. … 9 more files in changeset.
Make sure auto-generated proc names do not contain spaces

Bug: acs_sc::invoke accidentally required contract even though you had impl_id

Added option to verify that the implementation implements the contract you think

Allow service contracts to be invoked with impl_id

    • -11
    • +26
    ./acs-service-contract-procs.tcl
1. removed some errant log statemets previously inserted when debugging

2. sql/common/*sql files weren't being displayed by the APM, are now

3. added index on start_date in timespan-create after user reported

very slow calendar queries in .LRN

  1. … 7 more files in changeset.
Fixed some minor acs-lang stuff and a few noquote things.

  1. … 6 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
Upgrade to 4.6.2: Added Tcl API for definining contracts and implementations

    • -18
    • +41
    ./acs-service-contract-procs.tcl
  1. … 12 more files in changeset.
various Oracle bug fixes (such as missing queries), bumping up version and provides to 4.7d2 as the new Bug Tracker and Workflow will rely on these fixes

  1. … 10 more files in changeset.
Added Tcl API for defining contracts and registering implementations

    • -17
    • +38
    ./acs-service-contract-procs.tcl
  1. … 10 more files in changeset.