• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- make input more robust to leading/trailing spaces

- add special handling for expand operator to tcl code beautifier

- improve spelling in comments and string

- show relevant XQL code instead of all XQL code

- provide links to full XQL code

- fix handling of absolute vs. relative command names

- show SQL code (and Tcl code not defined via apidoc) in sam style

- provide tooltips for Tcl commands, NaviServer/AOLserver commands and

API calls

    • -30
    • +58
    ./tcl/acs-api-documentation-procs.tcl
- modernize Tcl

- generalize handling of util_memoize a little

    • -7
    • +10
    ./tcl/acs-api-documentation-procs.tcl
- handle namespaced variables in pretty-printer

- handle regular cases of util_memoize: insert link for cached function

- beautify tcl-pretty-print

    • -6
    • +25
    ./tcl/acs-api-documentation-procs.tcl
- allow abbreviated man poges, document case

- remove unneeded loop

- move out configuration stuff

- generalizing code

- fix potential bug, when passed-in proc name contains wild-card

character * ("info procs|commands" return multiple results, "info

args" raises an error)

- enable proc-view to work with tcl-comands and naviserver/aolserver

commands as well

- fix outdated URLs

- overhaul of prettty-printer:

* use CSS styles instead of hard-coded values

* get rid of FONT tag

* update tcl command list for tcl 8.5

* reactivate links to tcl-commands (of matching version) in pretty

printed procs

- move configuration variables for external documentation servers to

apidoc namespace (reduce redundancy of information)

- keep for aolserver user documentation link as they were before, just

naviserver users see the naviserver documentation

    • -46
    • +111
    ./tcl/acs-api-documentation-procs.tcl
- replace global statement by namespace qualifiers

- improve performance of syntax highligher significantly (for large sites with many namespaces/procs by an order of magnitude, taks e.g. 100ms instead of 5secs)

- move private functions into a namespace

- replace nested proc-defintions by namespaced procs

- use thread-persistent dict instead of per-call array for formatting information

    • -842
    • +840
    ./tcl/acs-api-documentation-procs.tcl
- make sure, safe_p is always set

- check ids in page contracts

- use util::http::get instead of ns_httpget

  1. … 2 more files in changeset.
- point to naviserver doc

- use util::http::get instead of ns_httpget

- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 101 more files in changeset.
- use consistently "naturalnum" instead of "integer" when accepting just positive values

  1. … 13 more files in changeset.
- better checking on version_id

- change 'util_memoize "..."' into 'util_memoize [list ...]' as pointe out by Frank for security reason and correctness

  1. … 5 more files in changeset.
- strip optional body prefix from nsf::procs

- validate version_ids in page-contract

- don't rise "internal server errors" (500) for invalid urls

  1. … 1 more file in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

- mark deprected functions as such in browser

- flatten nested "lindex" structures

    • -24
    • +36
    ./tcl/acs-api-documentation-procs.tcl
- bump version numbers

  1. … 11 more files in changeset.
- brace expressions to allow for tcl compilation

- use "in" or not in (ni) operator instead of lsearch (for readability and performance)

  1. … 10 more files in changeset.
- don't abbreviate "info" subcommands

- no need for "\" in continuation lines of expression

    • -13
    • +13
    ./tcl/acs-api-documentation-procs.tcl
- cleanup, support nsf-procs