• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Streamline ns_set idiom

Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
improve spelling

  1. … 17 more files in changeset.
Fix typos

  1. … 1 more file in changeset.
Fix proc metadata + Whitespace

Rework variable assigning loops (set -> lassign) + Whitespace changes

  1. … 13 more files in changeset.
improve list handling

Prefer 'in' and 'ni' operators over lsearch for testing list containment

  1. … 3 more files in changeset.
Prefer lappend over concat for appending lists (lappend modifies the variable 'in place')

  1. … 5 more files in changeset.
Fix typos

  1. … 62 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

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

  1. … 49 more files in changeset.
Improve robustness of "file delete" operations

  1. … 19 more files in changeset.
.xql-file reform of acs-content-repository

- 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

cr_check_orphaned_files.fetch_path

content::item::upload_file.get_parent_existing_filenames

content::revision::new.update_lob_attribute

content::init_all.get_template_url

content::init.get_live_revision

content::init_all.get_live_revision

cr::keyword::item_unassign.item_unassign

cr::keyword::get_keyword_id.select_keyword_id

cr::keyword::item_unassign_children.item_unassign_children

cr::keyword::item_get_assigned.get_keywords

cr::keyword::item_get_assigned.get_child_keywords

cr::keyword::get_options_flat.select_keyword_options

publish::write_content.get_revision_id

  1. … 15 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).

  1. … 2547 more files in changeset.
cleanup in item::* namespace

most functions were already moved into the content::item namespace,

but a few were left.

- marked the following function as deprecated

* item::get_content

* item::content_is_null

* item::get_revision_content

* item::content_methods_by_type

* item::publish

* item::unpublish

- added new functions:

* content::item::content_is_null

* content::item::content_methods_by_type

* content::item::get_content

* content::item::get_revision_content

* content::item::publish

* content::item::unpublish

- updated regression test

  1. … 5 more files in changeset.
- replace calls to the deprecated functions

- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- use expand operator rathen than "eval" when possible

  1. … 5 more files in changeset.
- use "![info exists]" instead of "template::util::is_nil" on scalars

  1. … 6 more files in changeset.
- use "in" operator instead of "lsearch"

- use numeric comparison operator for truth value comparisons

  1. … 3 more files in changeset.
- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

- use "eq" instead of "string equal"

  1. … 3 more files in changeset.
- modernize tcl

  1. … 9 more files in changeset.
- 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. … 21 more files in changeset.
- 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.
some more cleanup of the item-procs.tcl, and calls to item:: in packages/acs-content-repository

  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.
Implemnted changes to make the <relation ...> tag work.