nsf

Clone Tools
  • last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve performance of mongo->tcl conversion by using predefined global strings

- updated TODO

nx-mongo: - updated documentation (switch back to mongo-c-driver, but comment usage of tagged version v0.8.1) - added support for rep types (allow for mappings between certain instance variables such as arrays or dicts to customizable representations in MongoDB) - added nx-serialize to test cases (simple state persistance for nx objects) - added nx-rep to test cases (rep types for "array" and "dict")

    • -17
    • +137
    /library/mongodb/nx-mongo.tcl
    • -0
    • +153
    /library/mongodb/tests/nx-rep.test
    • -0
    • +176
    /library/mongodb/tests/nx-serialize.test
- provide datarootdir to get rid of warning during configure

- 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