library

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 3 more files in changeset.
nx::shell2: Provide complete errorinfo, not just top-level line

Substitute set for get, which is a tick faster

Harden nx::shell against inlined return statements

code generator changes: - create enum types instead of enum values for nsf API - use enum types in code

  1. … 5 more files in changeset.
- add test for the global cmd literal sharing - keep experimental code for disassembling methods

  1. … 2 more files in changeset.
- return the result of ::mongo::run

Some cleanup and adding basic test cases

  1. … 3 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. … 2 more files in changeset.
Improved mongodb interface for json/bson parsing: - rename function mongo::json to mongo::json::generate - introduce mongo::json::parse

Some verbosity for tracing issue

  1. … 1 more file in changeset.
xotcl2: - added "-returns" flag to XOTcl's instprocs/procs and methods, very similar to "-returns" in nx - extended serializer to handle "-returns" flag - extended regression test

  1. … 1 more file in changeset.
- fix one case in interaction between get-trace and default value

  1. … 1 more file in changeset.
Make XOTcl tests runnable again from plain tarball/git checkout

- Allow combination of "-trace get" with default value (was previously disallowed) - Extend regression test

  1. … 2 more files in changeset.
- fix serializing of info internals for XOTcl

  1. … 1 more file in changeset.
- nsf mongodb: reduce verbosity - white-space changes

- improve robustness of serializer, otherwise "::nx::Object::slot::__info" triggers an exception

- bump version number of XOTcl to 2.1

- turned all for-loops controlled over a nonnull value into while loops - updated TODO, copyright notices, version number

  1. … 9 more files in changeset.
- upadte version numbers in README

Slot trace reform: - redesign of slot interface of traces from * variables contains cmds and variable references to * slot specific methods with the same interface as slot-setters - new: * specify flag "-trace" with a list of values "get", "set", "default" * when flag is set, a trace will be registered calling methods value=get obj variable value=set obj variable value value=default obj variable on the slot (actually the first two are identical with the methods used for slot-defined accessors) - updated regression test * new flag "-notrace" for "nsf::var::set" and "nsf::var::get"

  1. … 7 more files in changeset.
xotclsh, xowish: Make sure minor versions >2.1 are accepted

nx::shell: Have xotclsh and xowish use nx::shell

  1. … 2 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)

- added flags "-debug" and "-deprecated" to XOTcl 2 "instproc", "proc", "instforward" and "forward" methods

  1. … 1 more file in changeset.
- generalize method serialization of forwarders

    • -100
    • +120
    ./serialize/serializer.tcl
- provide backward compatibility in method-serializer