nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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

- 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