nsf

Clone Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- adding "profiling" to feature list

- nsf.c: factor out ClassListAddPerClassMixins()

- nsf.c: * moved implementation of ::nsf::method::delete to C * produce same error messages when methods are delete via nsf::method::delete and nsf::method::create {} {} * Prohibit deletion of methods during shutdown. Otherwise when destructors delete methods, some other destructors depending on these methods will fail. Cleanup deletes all methods anyway. * Provided alternative (faster) way of dispatching nsf::procs (can be tured off with NSF_INVOKE_SHADOWED_TRADITIONAL) * renamed NsfMethodCmd() into NsfMethodCreateCmd() for consistency * nsf works with OpenACS again (requires new nstrace.tcl, aolserver-openacs.tcl, and 01-debug-procs.tcl).

- serializer: * prefix warnings to ease tracking of warnings * some cleanup for handling aliased methods

    • -16
    • +17
    /library/serialize/serializer.tcl
- extended migration guide (introduction, feature lists, etc.)

- nx-mango.tcl: * support for unique indices * support for query operators "in" and "all"

    • -2
    • +5
    /library/mongodb/example-nsf-mongo.tcl
    • -2
    • +13
    /library/mongodb/example-nx-mongo.tcl
- nsfmongo.c: * support attribute selection lists for ::mongo::query (positive and negative selection)

    • -1
    • +5
    /library/mongodb/example-nsf-mongo.tcl
- nsfmongo.c: * upgrade to newest c-driver (verison 0.3) from git. * support connection to replica sets

    • -1
    • +1
    /library/mongodb/example-nsf-mongo.tcl
- test.tcl: * don't export Test per-default * define Test as nx::Test * make Test parameter count 1 the default, change to higher numbers where needed

- some cleanup

- nx.tcl: added support for positional object parameter and removed special handling of the last argument for the init block; added attributes "position" and "positional" to ObjectParameterSlots, removed last argument of method "objectparameter" - nx.tcl: simplified createBootstrapAttributeSlots (second round of default value setting seems not necessary) - nx.tcl: some cleanup

serializer: fix allInstances to handle names with semicolons

- fix serializer in case the object name contains semicolons

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