• last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- change spelling of TCL to Tcl

- change requirements to Tcl 8.5

  1. … 64 more files in changeset.
- moved util_link_responding_p and util_get_http_status to

http-client-procs and based it on util::http::*.

- marked util_link_responding_p and util_get_http_status as

deprecated, moved a new version into the util::* namespace

and turned positional arguments into non-positional

  1. … 1 more file in changeset.
- add new utility-function for en/decoding the "path" part using the url-encding scheme as define in RFC 3986. The functions are defined as stubs for backward compatibility for aolserver, since aolserver uses always the same encoding

- use ad_urlencode_path in file-storage where necessary

- some cleanup

  1. … 1 more file in changeset.
- include pid of child process as well in error message

- with_finally: include exit code in error message in case we have a CHILDSTATUS error

- don't call deprecated util_ReturnMetaRefresh which does not seem necessary, at least for internal redirects

- Sanitize URL to avoid potential injection attack (many thanks to Frank for reporting it)

- add "nsudp" to the list of known socket drivers

Committed new API for HTTP client functionality, moved old HTTP client procs to the new file and set them as deprecated.

  1. … 1 more file in changeset.
- reduce verbosity

- Provide a mechanism, that util_user_messages are not swallowed in

return redirects. When ad_returnredirect sets a util_user_messages

it is now safely provided at the target page.

- make sure to use the configured tmp directory in case no template is specified

- The C-library function tmpnam() is deprecated since a while. Therefore naviserver has deprecated ns_tmpnam as well.

Therefore we introduce a new function "ad_tmpnam" which requires just a minimal change and uses ns_mktemp.

  1. … 27 more files in changeset.
- fix typo in variable name (many thanks to jim for reporting)

acs-content-repository:

- new public function "cr_cleanup_orphaned_files" to clean up orphaned

files incrementally based on cr-file creation log

- added "cr_cleanup_orphaned_files" to "cr_delete_scheduled_files"

to perform cleanup automatically

- new function to handle cr-file creation log, which is used to

removed orphaned files (created by aborted transactions)

- the function "cr_check_orphaned_files" can still be used

for cleaning up orphaned files from times before the

cr-file creation log was in place (that is from the birth of

OpenACS until now).

acs-tcl:

- new function "ad_mutex_eval" for safely executing

tcl commands under a mutex lock

  1. … 5 more files in changeset.
- get rid of old-style parameter passing

- provide hint that one should use the tcl-builtin command "lassign" instead of "util_unlist"

- use "lassign" instead of multiple "lindex" operations

  1. … 5 more files in changeset.
- remove needless quotes from numeric comparison

  1. … 1 more file in changeset.
- flatten nested "lindex" structures

- merge multiple "lappend" operations

- use "lassign" instead of multiple "lindex" operations

- improve performance util_convert_line_breaks_to_html by reducing

number of regsub operations and more precise regular expressions

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of multiple "lindex" operations

- reduce number of remaining "string equal" operations

  1. … 13 more files in changeset.
- brace while expressions

- don't use expr within while expression

- use numeric comparison for truth values

- normalize string expressions

  1. … 9 more files in changeset.
- added author for blaming

- ad_job: Added convenience wrapper for simple usages of ns_job with timeout

- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- use tcl 8.5 extended index format for "string range"

- modernize tcl

  1. … 6 more files in changeset.
- use tcl 8.5 extended index format for "lindex"

- use tcl 8.5 extended index format for "lrange"

- use tcl 8.5 expand operator instead of "eval lappend ..." idiom

  1. … 7 more files in changeset.
- modernize tcl

  1. … 9 more files in changeset.
- fix function for multiserver and global driver configurations

- mark "util_unlist" as depreacted, since it is superceded by the tcl-builtin lassign

- use "lassign" instead of "foreach ... break" idiom

- modernize tcl