nsf

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- silence cppcheck

mongodb: - add flag "-puts" to method "show" of nx::mongo::Class to turnoff output to stdout - handle empty find operations for "find first" - added method pretty_variables to output available variables of a class in a similar style as in the definition - added low-level method "close" to nx::mongo

- Tcl's "package present" raises an error if the package is not present

- add more assertions - ensure computation of requires orders for recursive merges

- make test more robust

    • -1
    • +1
    /library/mongodb/tests/nsf-gridfs.test
- strip trailing spaces

- get rid of potentially uninitialized variables

- make compiplation more clean - add assertion for validity checking of precedence lists

- improve error message - remove trailing space

Fixing a mini-typo in nsf.c: unlinkely -> unlikely

- made linearization monotonic (for multiple inheritance) via single-inheritance linearization merging while preserving overall linearization rules - added flag NSF_LINEARIZER_TRACE - extended regression test

    • -0
    • +127
    /tests/linearization.test
- upgrade to mongo-c-driver to 0.8.1 - added new flag "-ttl" to mongo::index - there seems to be now a differen mongo-c-driver to be the preferred one, the old one is renamed to mongo-c-driver-legacy - link against nsf-stublib - bump version number to 0.2

- don't try to load nx when building pkgindex for a binary package (.so or dylib)

generic/nsfPointer.c: - add reference counter to avoid double-inits and double-frees in case the table of converters is used from multiple interpreters

- change base stub table from XOTcl to NSF. - improve wording of error messages.

- add parameter parser and converter to stub tables

- make converter usable from c-based packages compiled with subs activated

xotcl2: - fixed "... info defaults ..." and "... info instdefaults ..." emulation in XOTcl 2 - fixed error message - extended regression test - bumped revision of nsf/xotcl/nx to 2.0b6

    • -13
    • +30
    /library/xotcl/library/xotcl2.tcl
    • -0
    • +21
    /library/xotcl/tests/slottest.xotcl
- nsf: added switch "-checkalways" to nsf::method::create - nx: added switch "checkalways" to "method" and "object method" - extended regression test

- minor cleanup: * reduce variable scope * remove uncalled static function

-added flag -checkalways to nsf::proc and nsf::asm::proc (for the latter just a placeholder for now). If the flag is used, it will cause argument testing independently from the "configure checkarguments" setting. To force argument checking always is useful e.g. for checking external values (e.g. in a web server)

- fix object mehtod serializeExportedMethod: targetName might have been uninitialized

Realized enter traces for method procs; leave traces remain TBD

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