• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- provide a tcl verison of which

- remove wierd code from spellcheck-init, trying to find aspell or ispell programs

  1. … 1 more file in changeset.
BSD "which" doesn't return -1 if no path for the given binary exists, therefore

"catch" didn't, therefore (sigh) "bin" was always set to aspell whether or not

it exists. Same result as the error I fixed long ago with this init file (see

comments) but for a different reason!

Fixed a couple of issues with date and spellchecking as they were fixed by Quest

  1. … 6 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
remove the acs-lang procs which were deprecated/warn in 5.0; fix lingering references to deprecated procs

  1. … 32 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
Handle instances where ad_locales does not contain the 2-letter language being

sought.

make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

  1. … 74 more files in changeset.
Replaced another 'Yes, please' with a 'Yes'

  1. … 1 more file in changeset.
Added URL to the aspell project at SF in the ns_log statement.

standardized list choices

Changed "ns_log Error" to "ns_log Notice" when "exec aspell dump dicts" is caught. Normally it's due to an old version of aspell and spell-checking will continue to work, but with one dictionary only ...

wrapping aspell code in catch so that startup doesn't fail if an error is thrown

I rewrote the check for aspell or ispell so it actually works.

1) Replaced the spell-check radio buttons with a pull-down menu of available dictionaries.

2) Added a SpellcheckDialectsP param to let the SWA choose between just 'en' and 'fr', as opposed to 'en_CA', 'en_GB', 'en_US', 'fr_CA' and 'fr_FR' ... for instance. (It is read from spellcheck-init.tcl so it demands a server restart.)

3) The init script auto-detects all of this according to the brand of the spell-check binary, its presence, etc.

4) There is currently support for: aspell, ispell or no spell-checking.

  1. … 5 more files in changeset.
1) Added auto-detection of the spell-checker binary on startup. Lars Pind bug 886 . Til suggested it the first time around (Thanks).

2) Optimized the code some.

3) Removed the SpellcheckerPath param and added explaining text to the other param.

    • -0
    • +20
    ./spellcheck-init.tcl
  1. … 2 more files in changeset.