• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Point out why these two procs are not currently in use around

- Remove duplicate processing of tags (was duplicated since 16 (!!) years, many thanks to Franz Penz for noticing)

- remove unneeded variable

Fix spelling errors

  1. … 22 more files in changeset.
Fix test cases for text conversion

  1. … 1 more file in changeset.
Move requirement of packages into proc.

Fix typo, allow to resuse tDOM object built when fixing markup instead of parsing again

- new utility to try 'fixing' invalid HTML

- fixed recognition of protocol agnostic urls

- use location from connection context and configurations to determine whether full urls are local

- optionally use new utility when plain parsing fails to try accepting a broader kind of invalid markup

- some update in test cases

- rename of the utilities with the 'dom' prefix, to make clear that this is the dom approach for sanitizing markup.

As it is sometimes prone to format and content loss, its use should be carefully considered.

  1. … 1 more file in changeset.