category-trees-procs.tcl

  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- used expand operator instead of "eval"

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

- no need to use "expr" inside an "if" or "for" condition

- brace expressions to allow for tcl compilation

- bump version number

  1. … 7 more files in changeset.
- use "lassign" instead of "util_unlist"

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

- remove unneeded "expr" in side if-expressions

  1. … 13 more files in changeset.
remove deprecated calls to ad_parameter

  1. … 9 more files in changeset.
- standardize expressions and comparison operations

  1. … 14 more files in changeset.
Merged oacs-5-3 branch to HEAD

  1. … 187 more files in changeset.
fix cvs IDs

  1. … 5 more files in changeset.
Added capability to define the widget upon mapping a category tree, effectively allowing single and multiple choice

  1. … 10 more files in changeset.
Adding more categories helper procedures

  1. … 3 more files in changeset.
added tree_id_from_object title

  1. … 3 more files in changeset.
enhancement procedures for categories written by Peter Kreuzinger

  1. … 3 more files in changeset.
fixing various locale bugs in category_trees (see http://www.openacs.org/forums/message-view?message_id=541095)

First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
merged version from cvs 5-2, conflicts resolved (2x white space, 1x .info file)

  1. … 20 more files in changeset.
Added append switch to the multirow procedure.

Added append switch to the multirow procedure.

Fixed bug: parent's sibling is considered a child when the subtree category has no siblings.

fixing proc get_multirow

fixing proc get_multirow

added tree-import-proc

Added tree_id

  1. … 1 more file in changeset.
added proc to find a tree_id by name

  1. … 1 more file in changeset.
added proc to import category tree (taken from cop-package)

Apparently lars-blogger in oacs-5-1 relies on this category_tree::get_multirow which only existed on HEAD so far

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
Commit changes original made on the oacs-5-1 branch: adds a proc,

get_mapped_trees_from_object_list, which is much more efficient than

making many calls to get_mapped_trees. Once again, I'm reminded of the

importance of not untabifying files.

    • -341
    • +358
    ./category-trees-procs.tcl
  1. … 1 more file in changeset.
Adds a proc that returns category trees when given a list of object_ids.

This is used to greatly speed up logger.

(Note: I used untabify on tcl/category-tree-procs.tcl Sorry, won't do it

again -- did it before I realized what a pain it was!)

    • -336
    • +353
    ./category-trees-procs.tcl
  1. … 1 more file in changeset.
add child_sum to the datasource from category_tree::get_multirow, add example adp for presentation of the tree, document a few of the fields in the datasource

add a noflush flag to category::add to facilitate bulk loading larger trees

  1. … 1 more file in changeset.
add a help_text arg to category::ad_form::add_widgets, add a category_tree::get_multirow function to return a datasource, bump version to 1.0d4 (api change)

  1. … 2 more files in changeset.