• last updated 7 hours ago
Constraints: committers
Constraints: files
Constraints: dates
whitespace changes

    • -14
    • +14
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.
Prefer NaviServer API directly

allow to view workflow files via API browser

avoid subst in export_vars when not necessary

  1. … 1 more file in changeset.
reduce verbosity

Properly escape "<" and ">" in api-doc documentation.

Since all documentation is rendered via HTML, the characters

"<" and ">" have to be HTML-quoted, otherwise strange things

(omission, unintended renderings) might occur.

E.g. the sentence

Define an interface between a page and an

ADP <include> similar to the page_contract.

was rendered as

Define an interface between a page and an

ADP similar to the page_contract.

which is incorrect.

  1. … 13 more files in changeset.
improving rendering in api-doc

- fixed validity of HTML (missing <dd>)

- use


instead of


and other variants. This improves stylability.

    • -29
    • +29
Moved styling to site-master.css

  1. … 1 more file in changeset.
Fixed calling info in call-graph, marked verbose test as "stress"

generalize collection of compiled template artefacts

    • -5
    • +16
Fix typo

Make xotcl-core optional in the api-browser

include DB interface classes in API-doc

Display the actual smell in the test

New test to detect smells of hacking in the code, raising a warning when certain smelly keywords are found

    • -1
    • +39
fix broken regression test

VS: ----------------------------------------------------------------------

- improved tab handling

- revive api_proc_link, paramertize it properly

    • -9
    • +18
Inline trivial ns_set logics

Improve cmd detection semantics in "tclcode_to_html" to avoid

misintepretations from arguments lists. Make as well explicitly clear

that the results of the private function "api_called_proc_names" is

just based on heuristics, such it can only be used in cases, where

false positives do not matter.

    • -4
    • +30
remove indent as well on xotcl procs, handle also per-object methods the same way

    • -18
    • +18
  1. … 1 more file in changeset.
added support for "ns_trim -prefix".

The command is predefined in NaviServer; if not available, a comatibility version is added.

This change also mitigates a potential memory-leak problem in nsv_dict with certain

versions of NaviServer which might lead on busy sites to problems.

  1. … 2 more files in changeset.
prettify API browser rendering for nx methods

- remove redundant doc block

- remove indentation

    • -5
    • +36
  1. … 1 more file in changeset.
beautify labels of ensemble methods in object browser

added support for NX ensemble methods

  1. … 2 more files in changeset.