acs-api-documentation-procs.tcl

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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
    ./acs-api-documentation-procs.tcl
  1. … 6 more files in changeset.
- strip optional body prefix from nsf::procs

- 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
    ./acs-api-documentation-procs.tcl
  1. … 6 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
    ./acs-api-documentation-procs.tcl
  1. … 1 more file in changeset.
- cleanup, support nsf-procs

  1. … 1 more file in changeset.
- fix bug, when api-browser is called with ad_proc stub (like e.g api-doc/proc-view?proc=form&source_p=1)

- fix quoting of xql files (fixes bug #2302)

- fix syntax

- moderize tcl

    • -15
    • +15
    ./acs-api-documentation-procs.tcl
- modernize tcl

- modernize tcl

- remove unneeded "expr" in side if-expressions

  1. … 13 more files in changeset.
- fix api-browser to allow returnredirect to aolserver documentation

- factor out api_tclcode_to_html from api_tcl_to_html to improve reusability

    • -13
    • +26
    ./acs-api-documentation-procs.tcl
  1. … 1 more file in changeset.
- cleanup: reduce usage of deprecated functions (ad_parameter)

  1. … 8 more files in changeset.
HTML strict cleanup: removed trailing slash of HR and BR tags

  1. … 25 more files in changeset.
ensure that the tcl-proc-view script of /api-doc/ is called (does not work perfectly for ns_* commands either)

ensure that the tcl-proc-view script of /api-doc/ is called (does not work perfectly for ns_* commands either)

changing <br/> to <br> to meet html transitional validation requirements

  1. … 12 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

    • -41
    • +41
    ./acs-api-documentation-procs.tcl
  1. … 367 more files in changeset.
add serialization of objects/classes through the link generated by /api-doc/proc-browse

adding sopport for xotcl methods to api browser (most of the implementation is in xotcl-core).

    • -22
    • +136
    ./acs-api-documentation-procs.tcl
fix markup, make @see /file/path/foo.tcl, @see /doc/db-api.html @see http://openacs.org/foo work

    • -14
    • +26
    ./acs-api-documentation-procs.tcl
  1. … 1 more file in changeset.
add proc doc to a bunch of procs, declare some things with explicit namespaces rather than in namespace eval, make some public things private

  1. … 25 more files in changeset.
tweak markup so log lists of switch docs are readable

merge changes on oacs-5-1 branch to head, changes between jcd-merge-20040420 and jcd-merge-5-1-20040517 were merged, head pre changes is jcd-merge-pre-20040517 and post is jcd-merge-post-20040517

  1. … 834 more files in changeset.
Bugfix: Documentation for parameters weren't shown, if there was a newline right after the '@param foo', a space or tab character was required in that place

Moved my previous fix to 5.1

Fix bug#1562.

Fixed bug 1516 ... though there are other regexps that bear inspection, it's

clear that some of them at least won't fail for legal Tcl source. So I just

fixed this one regexp looking for spaces where spaces might not be in the

source.

Patch#448 from Benjamin Bytheway. Fixed bug#1562. Change order of arguments

in string match command.