acs-api-documentation-procs.tcl

  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve backward compatibility

  1. … 1 more file in changeset.
- replace table-based layout by div-based layout

- remove empty sections to improve layout and HTML validty

(e.g. empty blockquotes)

- improve configuratbility of api_proc_pretty_name

- prepare for improved XOTcl 2 handling and improved debug support

(e.g. private/protected/public)

- bump version number to 5.9.1d1

    • -89
    • +112
    ./acs-api-documentation-procs.tcl
  1. … 7 more files in changeset.
- show class of object and provide link to class browser

- support listing of objects and classes

- make api_read_script_documentation less eager

- add info from ad_include_contract in api-browser

- add information, where a page/include contract was violated to error message

  1. … 3 more files in changeset.
- remove trailing .html from doc references (to allow e.g. .adp as well)

  1. … 4 more files in changeset.
- provide nicer and more complete documentation

- add documentation for public procs (fix for issue #3246)

- fix validity of HTML

    • -81
    • +103
    ./acs-api-documentation-procs.tcl
  1. … 7 more files in changeset.
- improve validity and security of HTML of admin pages

- improve page_contracts

    • -24
    • +25
    ./acs-api-documentation-procs.tcl
  1. … 38 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

    • -858
    • +1019
    ./acs-api-documentation-procs.tcl
  1. … 2547 more files in changeset.
- avoid namespace code when namespace is empty

- add preview for images

- deactivate source view for images

  1. … 2 more files in changeset.
- improve handling of erroneous and malicious paths provided to the api browser

  1. … 2 more files in changeset.
- allow source view also for www/procs-file-view

- trim path for www/content-page-view and www/procs-file-view

- render not only objects with absolute names as xotcl-objects

- improve integration with xotcl code (especially for "content pages")

    • -13
    • +16
    ./acs-api-documentation-procs.tcl
  1. … 4 more files in changeset.
- render www-files with syntax highligher (adding links)

- improve rendering of package-view calls (left column was to small)

- improve validity of HTML markup

- don't treat "@" as API command in syntax highlighter

- remove "api" prefix from functions in the "::apidoc::*" namespace

- mark externally called functions as public

    • -30
    • +30
    ./acs-api-documentation-procs.tcl
  1. … 8 more files in changeset.
-fix bug when first word is shorter than indent spacing

- add special handling for expand operator to tcl code beautifier

- improve spelling in comments and string

  1. … 1 more file in changeset.
- 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
    ./acs-api-documentation-procs.tcl
  1. … 1 more file in changeset.
- generalize handling of util_memoize a little

- handle namespaced variables in pretty-printer

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

- beautify tcl-pretty-print

- 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
    ./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
    ./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.