library

Clone Tools
  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- implement simple persistent handle management based on per-thread objects

  1. … 1 more file in changeset.
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

  1. … 7 more files in changeset.
- restore traces after object-serialize

- 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

  1. … 7 more files in changeset.
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

  1. … 1 more file in changeset.
- Tcl's "package present" raises an error if the package is not present

- make test more robust

- improve error message - remove trailing space

- 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)

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

  1. … 4 more files in changeset.
- nsf: added switch "-checkalways" to nsf::method::create - nx: added switch "checkalways" to "method" and "object method" - extended regression test

  1. … 7 more files in changeset.
- fix object mehtod serializeExportedMethod: targetName might have been uninitialized

- don't call postcondition, when the command/invariant have returned already an error

  1. … 2 more files in changeset.
- minor cleanup of configure script - bump version number of mongo support to 0.2

  1. … 1 more file in changeset.
mongodb: - integrated configuration of mongodb into toplevel configfile option: --with-mongodb=MONGO_INCLUDE_DIR,MONGO_LIB_DIR - added regression test files for mongodb support (lowlevel (tcl-only) and highlevel (nx based oo support)) - integrated mongodb-testfiles with "make test" - reduced verbosity of nx-mongo.tcl (added verbosty variable)

    • -118
    • +0
    ./mongodb/example-nsf-gridfs.tcl
    • -153
    • +0
    ./mongodb/example-nx-reference-many.tcl
    • -134
    • +0
    ./mongodb/example-nx-reference-one.tcl
    • -0
    • +119
    ./mongodb/tests/nsf-gridfs.test
    • -0
    • +134
    ./mongodb/tests/nsf-mongo.test
    • -0
    • +182
    ./mongodb/tests/nx-bi.test
    • -0
    • +125
    ./mongodb/tests/nx-mongo.test
  1. … 7 more files in changeset.
mongodob: - don't call NsfLog() in Nsfmongo_Exit, since interp-data might be already cleaned up

- added flag for verbosity

monogodb: - updated to most recent version of c-driver (0.7.1) - adapted to nx 2.0b5 (use everywhere cget interface) - tested with mongodb 2.4.5

    • -0
    • +314
    ./mongodb/configure.ac
    • -8
    • +8
    ./mongodb/example-nx-reference-many.tcl
    • -5
    • +5
    ./mongodb/example-nx-reference-one.tcl
- add URL query variables as arguments

- prepare for providing nx as a tcl module (.tm file). this is just a preparation, since for testing, one cannot set up a path that prefers a local copy over a global installed one (the global tcl-site is preferred over the one specified in e.g. TCL8_5_TM_PATH)

  1. … 1 more file in changeset.
- explore the usage of dict instead of anonymous array

- keep this single pkgIndex.tcl

- keep packages versions from 2.0 and 1.0 disjoint

  1. … 14 more files in changeset.
- make version management simpler and freeze XOTcl 1.* versions In order to avoid bad interactions between XOTcl 1.0 and XOTcl 2.0 the version dependency in 1.0 where changed to "package require -exact ... 1.0" where possible, and the provides where upgraded to 1.0 in most cases

  1. … 56 more files in changeset.
- make sure that packages from XOTcl 1 require XOTcl 1

  1. … 73 more files in changeset.
- more release work

    • -0
    • +23
    ./mongodb/mongoAPI.nxdocindex
  1. … 2 more files in changeset.
- fix typo

- use tcl8.5 commands instead of 8.4 idioms

  1. … 2 more files in changeset.