lib

Clone Tools
  • last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* nx-test.tcl (run): Avoid use of [try], to render the test suite independent from the presence of 8.6 or tcllib's try. This may be reverted, once 8.5 support is dropped.

improve comments

  1. … 13 more files in changeset.
improve tcl idioms

fix duplicated words in code documentation

  1. … 2 more files in changeset.
nx-test.tcl (exit): Fix the return trampoline for [exit] during test runs

Make test suite working under 8.5, again.

  1. … 8 more files in changeset.
- make it possible to use error code for cmd result comparison - add some NSF specifc error code

  1. … 3 more files in changeset.
Fix typos

  1. … 62 more files in changeset.
nx-test.tcl (nx::test case): As (ensemble) methods are currently not covered by the auto-cleanup feature of "nx::test case", I took care of not cleaning up the per-class ensemble slots while the alias is still available. This led to dangling aliases in cases such as:

package req nx::test

nx::Class create ::A

nx::test case tmp {

::A public method "oo ps" {} {;}; # creates ::A::slot::__oo plus alias pointing to it.

}

A create a

a oo ps; # "target "::A::slot::__oo" of alias oo apparently disappeared"

Along the way, modernized nx::test case a little (apply).

- Use more straightforward Tcl idiom to access first character of a string - Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL)

  1. … 7 more files in changeset.
- Use uniform spelling of "Tcl" - Fix more spelling errors

  1. … 14 more files in changeset.
Use uniform spelling of "Tcl"

  1. … 7 more files in changeset.
Improve spelling

  1. … 43 more files in changeset.
* nx-pp.tcl (State): Add "substdefault" to two property specs to fix markup generation for various token types (variables etc.).

* nx-shell.tcl, *sh.in: Rename nx::shell2 to nx::shell and remove old nx::shell implemenetation. * makefile.vc: Use new shell object in shell target.

  1. … 5 more files in changeset.
* nx-callback.*, nx.tcl: Rename pkg "nx::traits::callback" to "nx::trait::callback".

  1. … 1 more file in changeset.
* Updated copyright dates and copyright notices

  1. … 17 more files in changeset.
* Updated copyright dates and copyright notices

  1. … 17 more files in changeset.
- remove useless expr statements

  1. … 1 more file in changeset.
nx::shell2: extend the exit wrapper to include Tcl 8.6 try

nx::shell2: Make sure that the proper exit code is provided when leaving the -c stdin mode

nx::shell2: Rewrote in-shell exit support to avoid Tcl's native exit and to unwind gracefully to avoid NSF refcount leaks on exit; bumped package number

  1. … 5 more files in changeset.
nx::shell2: Provide complete errorinfo, not just top-level line

Harden nx::shell against inlined return statements

Some cleanup and adding basic test cases

  1. … 5 more files in changeset.
nx::shell reform: Provide an alternative nx::shell impl (nx::shell2), used by all four shell scripts. nx::shell2 builds on Tcl's event loop, rather than while + update. This avoids blocking the Tk main window (update). In addition, nx::shell2 is closer to Tcl's native shells (e.g., no extra lines on enter, catches EOF).

  1. … 4 more files in changeset.
nx::shell: Have xotclsh and xowish use nx::shell

  1. … 4 more files in changeset.
nx::shell: Avoid poluting global namespace

Started refactoring scripted shell environment into a single, package location (nx::shell) to ease sharing between nxsh & friends, as well as to facilitate implementingNX/XOTcl shells in wrapped applications (tclkits)

In certain build situations, we might still run under Tcl 8.4 (because it comes as a legacy OS battery). Tcl modules are >= 8.5 only.