• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed runtime error, when "ns_cache" is viewed over the API browser

The problem was the method "flush", which is implemented via

alias to ::ns_cache__flush. In this case, "ns_cache info lookup syntax flush"

fails, because "info parameter" fails on the alias in command:

"::nsf::cmd::info parameter -context ::ns_cache ::ns_cache::flush"

    • -1
    • +30
    ./tcl/acs-api-documentation-procs.tcl
  1. … 1 more file in changeset.
finetuning object descriptions

- adding links to per-object methods

- make sure that leading colons are used for object names in procdoc index

  1. … 1 more file in changeset.
moved xo::getObjectProperty to ::apidoc::get_object_property

    • -32
    • +187
    ./tcl/acs-api-documentation-procs.tcl
  1. … 6 more files in changeset.
fixed braces

Added listing of application specific methods to object viewer in api-doc/proc-view

This improves documentation of the caches via api-doc

    • -5
    • +27
    ./tcl/acs-api-documentation-procs.tcl
  1. … 2 more files in changeset.
fixed collateral damage of whitespace trimming

added support for @see pointing to objects

    • -3
    • +12
    ./tcl/acs-api-documentation-procs.tcl
Improvded API browser documentation for NX methods

- Include NX content from acs* packages in online documentation

- determining source files where classes are defined

- extending type information for postional an non-positional arguments in API browser

    • -11
    • +9
    ./tcl/acs-api-documentation-procs.tcl
  1. … 3 more files in changeset.
improved robustness (when fno flags for a parameter are present in the nsc)

provide more type information, factor out common code

    • -29
    • +44
    ./tcl/acs-api-documentation-procs.tcl
prettify rednderung for underspecified parameters

fixed broken HTML and make rendering more compact

ease future use of styling by introducing api-doc-parameter-list

    • -19
    • +25
    ./tcl/acs-api-documentation-procs.tcl
merge with missing files

  1. … 1452 more files in changeset.
merge from oacs-5-10

    • -182
    • +303
    ./tcl/acs-api-documentation-procs.tcl
    • -1
    • +699
    ./tcl/test/acs-api-browser-procs.tcl
  1. … 8085 more files in changeset.
bumped version number from development version to release version

  1. … 93 more files in changeset.
removed indirect recurive dependencies

  1. … 1 more file in changeset.
silence log entries during regression test

    • -15
    • +29
    ./tcl/test/acs-api-browser-procs.tcl
improved variable naming

    • -12
    • +13
    ./tcl/test/acs-api-browser-procs.tcl
claim indirect proc coverage

improved header on index page

Always use "--" in "dom parse" when document is interpolated

This is a safety measure to make sure that the document parsed is

never confused with an option, when the document starts with a "-". In

the best case, the error message provided by "dom parse" might be

misleading. This might be a problem for user contributed documents

(passed as variables, or return values from functions).

The double dash is supported in tdom since version 0.9.0.

  1. … 18 more files in changeset.
reduce verbosity

  1. … 1 more file in changeset.
improved Tcl9 compatibility

avoid redirect

whitespace changes

    • -14
    • +14
    ./tcl/acs-api-documentation-procs.tcl
Fixed potential infinie loop when source code looks like an regexp call

The api-code prettifier contains several heuristics for prettifying

source code without being a proper parser. It contains a

"Hack for nasty regexp stuff" which could run potentially into an infinite

parsing loop. This change fixes an acutal bug on openacs.org for file [1]

which is site-local.

[1] https://openacs.org/api-doc/procs-file-view?path=packages/xowf/tcl/openacs-procs.tcl&version_id=5526548&source_p=1

harden page contracts

  1. … 23 more files in changeset.
fixed typo

  1. … 4 more files in changeset.
do not abbreviate tcl command names (file root -> file rootname)

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.