nsf

Clone Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

Conflicts:

library/mongodb/nx-mongo.tcl

    • -72
    • +186
    /library/mongodb/nx-mongo.tcl
- improving comments

- nsf: renamed nsf::isobject to nsf::object::exists - nsf: renamed nsf::qualify to nsf::object::qualify

  1. … 3 more files in changeset.
- nsf.c: made potentially unknown clientData more safe (error message, when something is passed via clientData to a method expecting an object/class as clientData). - renamed NsfNoDispatchObjectError() to NsfDispatchClientDataError(), extended interface - Makefile.in: fixed name methods.test

- nx::mongo: * replaced "arg" by "type" in spec for mongo attributes to make spec less stange

    • -10
    • +46
    /library/mongodb/example-nx-bi.tcl
- nx::mongo: * implemented type "reference" similar to "embedded" * all referenced objects are for the time being auto-dereferenced * new method "show" for mongo mapped classes * added two new example files example-nx-reference-many.tcl and example-nx-reference-one.tcl

    • -15
    • +3
    /library/mongodb/example-nx-mongo.tcl
    • -0
    • +144
    /library/mongodb/example-nx-reference-many.tcl
    • -0
    • +122
    /library/mongodb/example-nx-reference-one.tcl
    • -55
    • +137
    /library/mongodb/nx-mongo.tcl
- nx::mongo: * added handling of bson types for timestamps and dates * provide setup based on mongo_db, mongo_collection and mongo_ns

    • -1
    • +3
    /library/mongodb/example-nsf-mongo.tcl
    • -2
    • +15
    /library/mongodb/example-nx-mongo.tcl
- nx::mongo: * handle fetch of embedded objects * added method count for mongo mapped classes * improve documentation

    • -34
    • +67
    /library/mongodb/example-nx-bi.tcl
- nx::mongo: * added mongo::count * obtain _id from mongo::insert * added mongo::Object.delete method for embedded and non-embedded objects * handling of mongo-embedded objects when destroying objects * simple bson pretty print function * extended examples

    • -0
    • +3
    /library/mongodb/example-nsf-mongo.tcl
    • -14
    • +50
    /library/mongodb/example-nx-bi.tcl
- nsf.c: added nsf::var::unset (provided so far just var::set)

- nsf:c: fix dispatch of setter without current method - extended regression tests

    • -0
    • +423
    /tests/methods.test
- nx::mongo: * first step towards handling embedded objects * one more example script: example-nx-bi.tcl

    • -0
    • +74
    /library/mongodb/example-nx-bi.tcl
    • -210
    • +285
    /library/mongodb/nx-mongo.tcl
- improve debug message

- nx.tcl: fix handling of arg in converter

- added experimental flag INHERIT_CLASS_METHODS

- improve documentation

- nx::mongo: update of the README file

- nx::mongo: Initial commit of the experimental mongoDB interface for nx

    • -0
    • +438
    /library/mongodb/Makefile.in
    • -0
    • +66
    /library/mongodb/README
    • -0
    • +3
    /library/mongodb/aclocal.m4
    • -0
    • +8893
    /library/mongodb/configure
    • -0
    • +314
    /library/mongodb/configure.in
    • -0
    • +54
    /library/mongodb/example-nsf-mongo.tcl
    • -0
    • +90
    /library/mongodb/example-nx-mongo.tcl
    • -0
    • +56
    /library/mongodb/mongoAPI.decls
    • -0
    • +230
    /library/mongodb/mongoAPI.h
    • -0
    • +140
    /library/mongodb/nsf.m4
    • -0
    • +745
    /library/mongodb/nsfmongo.c
    • -0
    • +261
    /library/mongodb/nx-mongo.tcl
    • -0
    • +3997
    /library/mongodb/tcl.m4
- reduce verbosity

- Let "info slot" return the slot object

- Improve locality

- Fixed dispatch of defaultmethod for ensemble methods - Added compile flag DISPATCH_ALWAYS_DEFINED_METHODS (deactivated). So far, nx just uses dispatch on overloads or filters, but not on defines (possible to call e.g. "destroy" from a script, but internally the direct dispatch is used, as long there is no overload). The compileflag would force to use the slower dispatch always. - Extended regression test

- added to "info slot /attName/"

* added pattern to "info slots"

- delete accessor when slot is destroyed

* added flag ?-type ...? to "info slots"

* nx: added flag ?-type ...? to "info lookup slots" * nsf: made all useful converters external symbols

- gentclAPI.tcl: * renamed "nsfCmd" to simply "cmd", since the code can generate arbitrary tcl commands * allow type "int" in the .decls files - nsf.c * move several functions from "static" to "external" to make the code generator usable for submodules as well

- nsf.c: make sure, validCscPtr is always initialized - tested all regression tests with valgrind against tcl-trunk

- nsf.c: remove unnecessary test when compiled without NRE