• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- make recreate method of THREAD more robust

- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 7 more files in changeset.
- add missing test for non-empty where clause in hstore case

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
next_row instead of this_row has to be unset at this point.

- make use of ::xo::db_list* functions

    • -4
    • +5
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -13
    • +17
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- add opimized versions of db_list and db_list_of_lists in the xo namespace

- use absolute name to avoid namespace confusions

- fix typo

- bump version number

- update dependency on xotcl-core

- use faster sql interface

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -5
    • +6
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -3
    • +2
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -9
    • +9
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- bump version number to 0.125

- provide optimized database interface for postgres (often, speed improvements of 25-30% for queries already in the code)

- prefer bindar emulation over dollar-substitution

    • -6
    • +6
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- use "unset -nocomplain ..." instead of exists test

- get rid of "global" statements

- use naviserver's urldecode when available (for speed and currectness)

Removing unneeded emptiness check against item_id. 'string is integer' w/out the -strict switch returns 1 in case variable is empty.

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Performance improvements for rp_filter and parameter:

- improve performance of rp_filter (which is run on every

non-resources request) significantly (often a factor of 2)

- improve scalability by reducing number of required mutex locks

(e.g. for secret token handling)

checking that item_id is a valid integer iff it has been provided.

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- fix fetch_entry_label for cr-item attributes

- add git to the list of ignored directories for apm loading

- use usual style non-poistional arguments in ad_proc

- use tcl 8.5 operations

- apm_file loader: ignore directories www/resources/, catalog/, upgrade/

- apm_file loader: ignore extensions .html .gif .png .jpg .ico .pdf .js .css .xsl .tgz .zip .gz .java .sql

- align implementation of apm_backup_file_p with documentation

- avoid duplicate load of acs-lang

Renaming parameters used on recursive query in order to avoid name clashing with function parameters ( seems to happen just in pg 8.4 ).

Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

Rewriting acs_permission__permission_p function to use recursive queries ( available in PG since 8.4 ) and modifiying

queries around core packages to avoid checking persmissions using a subquery on the acs_object_party_privilege_map view.

    • -1
    • +1
    /openacs-4/packages/acs-tcl/acs-tcl.info
- make test cases more robust

- beautify code

    • -34
    • +98
    /openacs-4/packages/xowiki/www/admin/test.tcl
- make cleanup code more robust with broken installations

- fix collateral damage