nsf

Clone Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve code documentation - add some more tests to the regression test suite

- generic/nsf.c: Avoiding excessive allocation/deallocation of temporary hash tables when invalidating per-class objparam caches in NsfParameterInvalidateClassCacheCmd().

- extend regression test

- generic/nsf.c: Use GetAllClassMixinsOf() instead of TransitiveSubClasses() when invalidating per-class caches. Added two tests.

- remove obsolete code

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

nsf.c: - invalidate paramter caches of subclasses on NsfParameterInvalidateClassCacheCmd unless during shutdown. Otherwise some classes might not become aware of properties added later to superclasses. - extended regression test

Fix patch

Adding to Object.man: cget, configure, move, copy, ...

nx-mongo: - added command "::mongo::status /mongoConn/" - extended regression test

nsf.c: - fix case, where NsfDStringPrintf() failed (when print llength including \0 was 1 byte longer than print buffer) - make sure, that the list kept for the cached parameter is just built from unshared objects; otherwise Tcl append will abort

nx.tcl:

- new package "nx::volatile"

- don't define configure parameter "-volatile" per default;

use "package req nx::volatile" instead

- don't define per method "volatile" per default;

use "::nsf::method::require ::nx::Object volatile" instead

- get rid of -volatile in nx.tcl and serializer

- update/extend regression test

    • -0
    • +31
    /library/lib/nx-volatile.tcl
- fix case, where NsfDStringPrintf() failed (when print llength including \0 was 1 byte longer than print buffer)

- added mongo::cursor::aggregate

- added mongo::collection::stats - extended regression test

    • -2
    • +12
    /library/mongodb/tests/nsf-mongo.test
nx-mongo: - fixed suprising compiler message "alignment of array elements is greater than element size" when using e.g. "bson_iter_t i[1]" - some c-code cleanup - tested with mongodb-c-driver 0.92.3

Some additions to Object.man

Started working on an authoritative man page for nx::Object, still cleaning up and still tweaking the doctools markup

- mongodb's c-driver changed version number from 0.93.0 to 0.92.1; followed the change in README

- tested with mongodb-c-driver 0.93.0

- since mongoc_gridfs_get_files is supported since today by the mongo-c-driver, we do not need it private implementation any more. all dependencies on private header files are removed by now.

- adjust to newest version of mongo-c-driver - remove one dependency for private header file

- move close of the pseudo comment for syntax highlighter out of quoted block

xotcl2: - prevent strange error messages, when "abstract" is called with quotes in the argument list.

- represent BSON_TYPE_REGEX as pairs (regex + options) in the Tcl representation to preserve regular expression options - update to newest version of mongo-c-driver and libbson from github

nx-mongo: - optional support for mongodb connection pools (compile time macro USE_CLIENT_POOL controls this, per default, this is on) - allow to pass "-metadata" to gridfile::create to ease metadata attachment to gridfiles - some conveniance improvements in nx-mongo.tcl (ability to ignore attributes in "bson encode", ability to unset attributes in gridfs, ...) - bump version numbers of nsfmongo to 0.3 and nx-monogo to 0.5

- minor cleanup

nsf.c: - let [current methodpath] return full path (similar to -path option in "info methods" - handle collateral damage in regression test due to changed result of "current methodpath"

- add traits.test to the regression tests

nx::traits: - handle ensemble methods correctly (use full method path for resolution) - add new regression tests for traits

nsf.c: - fix small memory leak in multiple inheritance code. - all regression tests reun cleanly with --enable-memcount=yes