• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ad_form: allow multiple files in 'template::widget::file' by using the 'multiple' attribute of the input tag, new on HTML5.

- Pass the 'multiple' flag to 'template::element::create', so it can be used by widgets to modify their behavior.

- Update 'template::element::create' doc.

- This opens the door to reducing the number of widgets by combining single and multivalued ones into one (for instance, 'multiselect' and 'select' widgets), in the same way the 'file' widget does now.

  1. … 2 more files in changeset.
Quote the value of the "inform"-widget value before rendering it

Quote the value of the "inform"-widget value before rendering it

Replace ad_decode idiom

  1. … 1 more file in changeset.
improve wording

  1. … 7 more files in changeset.
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.
modernize Tcl, improve protection against XSS

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

  1. … 71 more files in changeset.
Rework variable assigning loops (set -> lassign)

  1. … 3 more files in changeset.
Fix typos

  1. … 6 more files in changeset.
Remove "catch {unset var}" idiom by "unset -nocomplain var"

  1. … 4 more files in changeset.
add support for editors requiring a different HTML tag for richtext (e.g. div)

bump version number to 5.10.0d2

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

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

  1. … 7834 more files in changeset.
Introduced missing ad_library statement. Normalized overall library description.

  1. … 21 more files in changeset.
- remove freshly introduced typo

- use subst for quoting to reduce backslashes

- fix contents of options (allow character entities)

- fix for bug #2737

- reduce verbosity

- prefer ns_quotehtml over ad_quotehtml

ad_form: completed support for -export parameter. Now the same syntax used

for "vars" argument in export_vars proc can be used. In particular

one can specify :multiple, :array and :sign flags on variables.

This change required modification to template::widget::hidden: now, when

specifying both -value and -values flags, if -values is non-empty this will

have the precedence over -value, and this widget will me multiple.

Commit on branch 5-9

  1. … 1 more file in changeset.
ad_form: completed support for -export parameter. Now the same syntax used

for "vars" argument in export_vars proc can be used. In particular

one can specify :multiple, :array and :sign flags on variables.

This change required modification to template::widget::hidden: now, when

specifying both -value and -values flags, if -values is non-empty this will

have the precedence over -value, and this widget will me multiple.

  1. … 1 more file in changeset.
- fixed html attribute quoting

  1. … 9 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.
- fix for bug #3234

this adresses as well issue #731

  1. … 2 more files in changeset.
- flatten nested lindex-structures

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

  1. … 4 more files in changeset.
- normalize string expressions

  1. … 12 more files in changeset.
- use tcl 8.5 extended index format for "lindex", "lrange" and "string range"

- use "in" operator instead of "lsearch"

  1. … 7 more files in changeset.
- mark template::util::quote_html as deprecated as argued in bug #2736 and replace it by ad_quotehtml

  1. … 2 more files in changeset.