• last updated 51 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make function usable in situations without an active connection

make function usable in situations, where a location based on ad_url is incorrect (e.g. host-node mapped subsites)

fix indentation and regular expression

Whitespace cleanup

Fix typo

improve spelling

  1. … 6 more files in changeset.
Make string_truncate behave as before (looking for spaces at end_position + 1) and therefore not breaking tests for ad_html_text_convert. Update docs so this property of being less or equal than len is clearly specified

Add '-equal' parameter to 'string_truncate', which allows to truncate a string to a length shorter or *equal* than a specified length.

The fact that 'string_truncate' was producing strings strictly shorter than the specified length, was making the behavior of 'ad_html_text_convert' inconsistent, and breaking automated tests.

This small addition fixes both the behavior and the tests, while retaining compatibility.

Support also the other kinds of whitespace

Update documentation, as no mention to tag closing is made in the code and reimplement procedure exploiting builting tcl idioms (passes automated tests)

Mark procs explicitly as public

Exploit ns_parseurl to streamline some tricky (and broken) protocol check (fixes automated tests)

fix typo

New utility ad_pad emulating both lpad and rpad tipically available in DBMSs

  1. … 1 more file in changeset.
improve spelling

  1. … 12 more files in changeset.
make spelling of names more consistent

  1. … 5 more files in changeset.
Fix typos

  1. … 31 more files in changeset.
- provide test case for html-to-text conversion

- provide a version of html-to-text based on ns_reflow_text

  1. … 2 more files in changeset.
fix for backwards compatibility test for ns_reflow_text

Replace "wrap_string" by "ns_reflow_text", where the latter is a

builtin of newer versions of NaviServer. When "ns_reflow_text" is not

available, provide a scripted version for it.

wrap_string is marked as deprecated, since it has no proper prefix,

and is less powerful than ns_reflow_text

  1. … 15 more files in changeset.
provide more feedback when tdom parsing fails

add text/markdown to the accepted text formats of the richtext widget and ad_html_text_convert

  1. … 5 more files in changeset.
Move deprecated procs into deprecated-procs.tcl

  1. … 10 more files in changeset.
minor improvements (actually no need for ad_try, if all we do is a dom command)

replace "catch" by "ad_try"

Fix more typos

  1. … 11 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
Bug fix: avoid confusion between text argument and option, when text starts with "-"

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

  1. … 7834 more files in changeset.
Improve explaination

Fix typo