nsf

Clone Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding doc fragment on 'method'

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

- doc/Object.man: Adding documentation on alias (doc/alias.man.inc) and delete (doc/delete.man.inc)

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

small introspection reform: - Introspection for commands and arguments did not work for cmds defined in subpackages (such as mongodb). We keep now this information in hashtables and maintain a slim interface for this. - fix generation of pkgIndex.tcl for mongodb

    • -0
    • +155
    /generic/nsfCmdDefinitions.c
    • -0
    • +161
    /generic/nsfEnumerationType.c
Some more refactoring

Refactor the include file slightly, so that Object/Class-specific parameters etc. of a shared method documentation can be provided in the respective Object.man/Class.man files

Continue working in man pages, introducing a first shared section using [include] and [vset]

    • -0
    • +93
    /doc/property.man.inc
- tested with MongoDB v2.4.10 and J mongodb-c-driver 0.94.1

- moving .m4 files to subdirectory as recommended

    • -0
    • +140
    /library/mongodb/m4/nsf.m4
    • -0
    • +4168
    /library/mongodb/m4/tcl.m4
- update generated configure files

    • -438
    • +1424
    /library/mongodb/configure
- replace obsolete autoconf macros

- replace obsolete autoconf macros

- update to must recent build files (tcl.m4 and install-sh) from tcl source repository

build-process: - replace make.tcl by the much simpler mkIndex.tcl: * Does not use pkg_mkIndex * Does not load binary files (problem for cross compiling) * Requires package provide with constant in one line.

    • -0
    • +81
    /library/lib/mkIndex.tcl
    • -0
    • +1
    /library/mongodb/pkgIndex.add.in
    • -2
    • +2
    /library/xotcl/library/comm/Access.xotcl
    • -2
    • +2
    /library/xotcl/library/comm/Httpd.xotcl
    • -10
    • +0
    /library/xotcl/library/comm/pkgIndex.tcl
    • -10
    • +0
    /library/xotcl/library/pkgIndex.tcl
- reduce variable scope

- remove redundant NULL tests - improve safety mof macro ObjStr()

- 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