• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
minor changes: fixed typo, ease debugging, ...

  1. … 3 more files in changeset.
Small improvements:

- use "string is space" instead of trimming the string and checking if empty, at least 2x faster on development, wherever we don't need the trimmed value

- modernize leftover foreach trick with lassign

  1. … 6 more files in changeset.
Deprecate template::adp_levels, found nowhere in the upstream codebase and superseded by template::adp_level

State additional proc coverage, improve documentation

  1. … 2 more files in changeset.
whitespace changes

reduce useless warnings for template::adp_parse_tags

The problem was that template::adp_compile_chunk produces no output, when the parsed chunk contains only whitespace,

causing an error message in this case. The changed method shortcuts the behavior.

reduce verbosity and inprove spelling

  1. … 1 more file in changeset.
Generalized ADP compilation caching, simplified handling of ad_init

Generalized adp-compilation caching

* since the result of ADP compilation can depend on the icon set

(and maybe more factors in the future), and the icon set

can be switched freely, either one needs more ADP compilation

at runtime (page rendering time) or caching had to be generalized.

* generalization of caching leads to better scalability, and

since the number of icon sets concurrently active at one

site is limited, this option seems favorable.

* The only potential incompatibility might be from installations

doing "manual" incantations of "template::adp_init" followed by

direct calls of the stub. The only packages (out of the 365

packages in CVS) effected by this are "diagram" and

"workflow". Both have been fixed in the repository. This

incantation can be simplified as followed.

Simplified handling of adp_init

* old:

template::adp_init adp $file_stub

template::code::adp::$file_stub

* new

[template::adp_init adp $file_stub]

Bumped version to 5.10.1d8

  1. … 3 more files in changeset.
Make 'template::adp_compile_chunk' public, as it is used by the new 'xowiki::adp_parse_tags'

separating naviserver and aolserver specific files

  1. … 2 more files in changeset.
Minor modernization

- use atomic stack operations to reduce locks and avoid race conditions

- improve spelling

- break overlong lines

- better align comments with actual code

  1. … 2 more files in changeset.
make template::adp_puts private again. removed some of the weirdness in calendar attachments

  1. … 3 more files in changeset.
Mark 'template::adp_puts' as public, as it is used in 'calendar'

Make 'template::adp_init' public, as it is used in other packages. Fixes 'callgraph__bad_library_calls' test case

remove protection "private", since function has to be called from other packages

  1. … 6 more files in changeset.
make end of options explicit

  1. … 42 more files in changeset.
Prefer 'namespace which' over 'info commands', as it is faster (on local tests, around 2x) and returns a single value. Many thanks to Nathan Coulter.

  1. … 58 more files in changeset.
improve spelling: move closer to the linux documentation recommendations

  1. … 34 more files in changeset.
improve wording and fix typos

  1. … 3 more files in changeset.
fix warning message (many thanks to Frank Bergmann for pointing this out)

generalize alnum handling

Deprecate ad_quotehtml. use ns_quotehtml instead.

  1. … 11 more files in changeset.
improve spelling

  1. … 13 more files in changeset.
improve spelling

  1. … 2 more files in changeset.
Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- @cvs_id -> @cvs-id

- @version -> @cvs-id

- @creation_date -> @creation-date

- @date -> @creation-date

- Different variations of $Id$

- Remove wrong @param entry

- Fix typos

  1. … 368 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
Fix typos + Whitespace changes

Performance: prefer lset over lreplace for modifying list values.

When a list element is modified, lset does it "in place", modifying the

variable itself, while lreplace works with values and returns a second copy

of the list with the modified elements, creating some unnecessary overhead.

On my local tests, this particular operation was around 30% faster.

More details: http://wiki.tcl.tk/1485 and http://wiki.tcl.tk/2556

Fix even more typos

  1. … 29 more files in changeset.
fix typos

  1. … 2 more files in changeset.