nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fix bug in interaction between uplevel method from tcl procs

-nsf.c: - fix bug in interaction between uplevel method and interceptor transparency - extend regression test

- in case of multiple inheritance, make sure that all supporting classes haver already a procedence order defined

- implement simple persistent handle management based on per-thread objects

- reduce verbosity for FreeUnsetTraceVariable - return TCL_OK, even when FreeUnsetTraceVariable() fails (warning stays)

- improve woring in comments

- fix stub provisioning for Tcl 8.6.*

- change macro name from XOTCL to NSF

nx: - allow copy of objects with required arguments - use ::nsf::object::alloc in "copy" method - don't depend on method "trace", use directdispatch instead - remove method "-noinit" (nsf::object::alloc makes it obsolete) - extend regression test

- restore traces after object-serialize

nsf.c: - when ::nsf::object::alloc is passed an empty name (2nd argument), behave like "new" method

- don't rely on the existence of a "trace" method

nsf.c: - new command ::nsf::object::alloc /class/ /obj/ ?/script/? alloc an object and execute script in the context. Can be used to regenerate an object in a old state.

serializer:

- fixed loading of objects with required data in the blueprint

(many thanks for david hopfmueller for reporting this)

- make use of nsf::object::alloc (1 command instead of 1 create + 2 evals)

- these changes imprived laading time of blueprint by about 25%

for OpenACS+xowiki

    • -13
    • +20
    /library/serialize/serializer.tcl
- make test for retrieving parsed parameters more safe

- update hint at end of build for NaviServer

- strip trailing spaces

- 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