nsf

Clone Tools
  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Explored assertion support from an NX perspective, by reviewing the current implementation against Eiffel's RAC; along the way, I made ::nsf::current more robust when being used in assertions

- don't call postcondition, when the command/invariant have returned already an error

nsf.c - fixed a bug where turning on assertions could swallow result-codes - extended regression test

- fix potential crash when preconditions are empty

- fix typo

- added sample script doc/example-scripts/tk-geo.tcl

    • -0
    • +959
    /doc/example-scripts/tk-geo.html
    • -0
    • +158
    /doc/example-scripts/tk-geo.tcl
    • binary
    /doc/example-scripts/tk-geo1.png
    • binary
    /doc/example-scripts/tk-geo2.png
- minor cleanup of configure script - bump version number of mongo support to 0.2

mongodb: - integrated configuration of mongodb into toplevel configfile option: --with-mongodb=MONGO_INCLUDE_DIR,MONGO_LIB_DIR - added regression test files for mongodb support (lowlevel (tcl-only) and highlevel (nx based oo support)) - integrated mongodb-testfiles with "make test" - reduced verbosity of nx-mongo.tcl (added verbosty variable)

    • -107
    • +112
    /library/mongodb/configure
    • -118
    • +0
    /library/mongodb/example-nsf-gridfs.tcl
    • -111
    • +0
    /library/mongodb/example-nsf-mongo.tcl
    • -180
    • +0
    /library/mongodb/example-nx-bi.tcl
    • -124
    • +0
    /library/mongodb/example-nx-mongo.tcl
    • -153
    • +0
    /library/mongodb/example-nx-reference-many.tcl
    • -134
    • +0
    /library/mongodb/example-nx-reference-one.tcl
  1. … 7 more files in changeset.
- fix typo

- added example scripts rosetta-sudoku.{tcl,html} and tk-ludo.{tcl,html}

    • -0
    • +1099
    /doc/example-scripts/rosetta-sudoku.html
    • -0
    • +312
    /doc/example-scripts/rosetta-sudoku.tcl
    • -0
    • +1389
    /doc/example-scripts/tk-ludo.html
    • -0
    • +547
    /doc/example-scripts/tk-ludo.tcl
mongodob: - don't call NsfLog() in Nsfmongo_Exit, since interp-data might be already cleaned up

- improve robustness

- added flag for verbosity

monogodb: - updated to most recent version of c-driver (0.7.1) - adapted to nx 2.0b5 (use everywhere cget interface) - tested with mongodb 2.4.5

    • -0
    • +314
    /library/mongodb/configure.ac
- updated locomotive example to use nx::callback

    • -4
    • +7
    /doc/example-scripts/tk-locomotive.html
    • -3
    • +6
    /doc/example-scripts/tk-locomotive.tcl
- updated TODO

- prepare for providing nx as a tcl module (.tm file). this is just a preparation, since for testing, one cannot set up a path that prefers a local copy over a global installed one (the global tcl-site is preferred over the one specified in e.g. TCL8_5_TM_PATH)

- explore the usage of dict instead of anonymous array

nsf.c: - dont't use the default of a invocation parameter in "configure" when the object is already initialized. The default is in general only used when the parameter is not specified. We do not want e.g. superclass to be reset to ::nx::Object, when configure is called on a class without arguments. - extended regression test

- remove debug statement

- keep this single pkgIndex.tcl

- keep packages versions from 2.0 and 1.0 disjoint

    • -2
    • +2
    /library/xotcl/library/comm/Access.xotcl
    • -2
    • +2
    /library/xotcl/library/comm/Httpd.xotcl
    • -1
    • +1
    /library/xotcl/library/comm/Imap.xotcl
    • -1
    • +1
    /library/xotcl/library/comm/Ldap.xotcl
    • -1
    • +1
    /library/xotcl/library/comm/Mime.xotcl
    • -1
    • +1
    /library/xotcl/library/comm/PCache.xotcl
    • -9
    • +9
    /library/xotcl/library/comm/pkgIndex.tcl
  1. … 14 more files in changeset.
- release work

Minor correction in announcement

Fix the implementation of NsfInterpObjCmd() which crashed previously due to the broken resolution of the child interpreter

Proof-read announcement for a second time

- NsfDStringPrintf(): set the length of the resulting DString

Using the ANSI-compliant I/O operations such as vsnprintf() under MinGW and MinGW-w64 tool chains

Updated test suite to be executed in makefile.vc

tcl_platform(threaded) is not present as array element in non-threaded builts