lib

Clone Tools
  • last updated 12 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

Remove any nxdoc artifacts from repo, to ease Debian packaging (incl. binary js is not accepted by lintian

    • -106
    • +0
    ./nxdoc-assets/@class.html.asciidoc
    • -289
    • +0
    ./nxdoc-assets/@class.html.yuidoc
    • -62
    • +0
    ./nxdoc-assets/@command.html.asciidoc
    • -117
    • +0
    ./nxdoc-assets/@command.html.yuidoc
    • -31
    • +0
    ./nxdoc-assets/@method.html.asciidoc
    • -20
    • +0
    ./nxdoc-assets/@object.html.asciidoc
    • -105
    • +0
    ./nxdoc-assets/@object.html.yuidoc
    • -45
    • +0
    ./nxdoc-assets/@package.html.asciidoc
    • -12
    • +0
    ./nxdoc-assets/@package.html.yuidoc
    • -102
    • +0
    ./nxdoc-assets/@project.html.asciidoc
    • -26
    • +0
    ./nxdoc-assets/@project.html.yuidoc
    • -388
    • +0
    ./nxdoc-assets/asciidoc/xhtml11.css
    • -52
    • +0
    ./nxdoc-assets/attributemethod.html.asciidoc
    • -131
    • +0
    ./nxdoc-assets/attributemethod.html.yuidoc
  1. … 37 more files in changeset.
- allow to configure verbosity in test sets

- omit warnings, when value of "expected" looks like a non-positional parameter

- handle ensembles in info nx::help

- provide a minimal nx::help