• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
harden page contracts

  1. … 24 more files in changeset.
Whitespace changes

Revert massive replacement of empty list creation sentences. The use of '[list]' instead of '{}' adds semantics that could be used for performance improvements in the future, such as using a different internal representation. There is already work in this direction, avoiding the generation of the string representation during comparison of empty strings (huge thanks to Stefan Sobernig for the pointer: https://core.tcl.tk/tcl/info/44527c632ed609c2).

  1. … 475 more files in changeset.
Prefer '{}' to '[list]' when creating empty lists

  1. … 225 more files in changeset.
Use consistently ad_script_abort after ad_return_warning

  1. … 5 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- handle source_p set to empty via client property in all cases the same way

  1. … 1 more file in changeset.
- fix trim operation

- handle leading / returned by the hardened apidoc::sanitize_path function

  1. … 1 more file in changeset.
- hardening page contracts

  1. … 2 more files 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

  1. … 7 more files in changeset.
- fix typos

  1. … 2 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
- add "path" to page contract filters to improve security, used e.g. by api-doc in procs-file-view

  1. … 1 more file in changeset.
- strengthen page contracts

  1. … 1 more file in changeset.
- standardize url construction to protect against injection attacks

  1. … 3 more files in changeset.
- fix validity of HTML

  1. … 7 more files in changeset.
- use type checking for boolean parameters in page_contracts to improve security

  1. … 29 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

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

  1. … 2 more files in changeset.
- make procs-view more robust against invalid paths

  1. … 1 more file 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")

  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

  1. … 8 more files in changeset.
- 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

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

  1. … 103 more files in changeset.
- validate version_ids in page-contract

  1. … 3 more files in changeset.
- improve rebustness against stale links for uninstaled packages

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
remove superfluous package local masters and use sitewide master by default

  1. … 701 more files in changeset.
Initial revision

    • -0
    • +81
    ./procs-file-view.tcl
  1. … 1321 more files in changeset.