library

Clone Tools
  • last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
serializer: fix allInstances to handle names with semicolons

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

- improving comments

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

  1. … 12 more files in changeset.
- nx::mongo: * replaced "arg" by "type" in spec for mongo attributes to make spec less stange

    • -2
    • +5
    ./mongodb/example-nx-reference-many.tcl
    • -2
    • +6
    ./mongodb/example-nx-reference-one.tcl
  1. … 1 more file in changeset.
- 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

    • -0
    • +144
    ./mongodb/example-nx-reference-many.tcl
    • -0
    • +122
    ./mongodb/example-nx-reference-one.tcl
  1. … 1 more file in changeset.
- nx::mongo: * added handling of bson types for timestamps and dates * provide setup based on mongo_db, mongo_collection and mongo_ns

  1. … 1 more file in changeset.
- nx::mongo: * handle fetch of embedded objects * added method count for mongo mapped classes * improve documentation

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

  1. … 1 more file in changeset.
- nsf:c: fix dispatch of setter without current method - extended regression tests

  1. … 6 more files in changeset.
- nx::mongo: * first step towards handling embedded objects * one more example script: example-nx-bi.tcl

    • -0
    • +74
    ./mongodb/example-nx-bi.tcl
  1. … 1 more file in changeset.
- nx.tcl: fix handling of arg in converter

- improve documentation

- nx::mongo: update of the README file

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

    • -0
    • +438
    ./mongodb/Makefile.in
    • -0
    • +8893
    ./mongodb/configure
    • -0
    • +314
    ./mongodb/configure.in
    • -0
    • +54
    ./mongodb/example-nsf-mongo.tcl
    • -0
    • +90
    ./mongodb/example-nx-mongo.tcl
    • -0
    • +56
    ./mongodb/mongoAPI.decls
    • -0
    • +230
    ./mongodb/mongoAPI.h
    • -0
    • +745
    ./mongodb/nsfmongo.c
    • -0
    • +261
    ./mongodb/nx-mongo.tcl
    • -0
    • +3997
    ./mongodb/tcl.m4
  1. … 1 more file in changeset.
- Let "info slot" return the slot object

  1. … 1 more file in changeset.
- added to "info slot /attName/"

  1. … 2 more files in changeset.
* added pattern to "info slots"

  1. … 1 more file in changeset.
- delete accessor when slot is destroyed

  1. … 1 more file in changeset.
* added flag ?-type ...? to "info slots"

  1. … 1 more file in changeset.
* nx: added flag ?-type ...? to "info lookup slots" * nsf: made all useful converters external symbols

  1. … 6 more files in changeset.
* some documentation/todo updates

  1. … 3 more files in changeset.
* fixed bad interaction between filter and parameter alias

  1. … 3 more files in changeset.
* Hopefully the last big naming change: Instead of writing "C class-object method foo {} {...}" one can write now "C class method foo {} {...}" to define a class method named "foo" for class "C". This naming change became possible by defining XOTcl's "class" (and "superclass") as object parameter only. To change a class of an object o, one has to use "o configure -class NEWCLASS". The term "object-class" looks alien to language beginners, the term "class" is much more straightforward. Changing classes or superclasses is seldomly used by typicall application programs.

For already existing nx scripts, changing "object-class" into

class should be straightforward.

* various documentation updates (migration guide, nx tutorial)

  1. … 16 more files in changeset.
* added methods ::nsf::methods::object::class and ::nsf::methods::class::superclass in order to make faster and nicer looking objectparameters (compared with forwarders) * nx: changed parameter -class to use ::nsf::methods::object::class * ns: fixed chicken egg problem of method objectparameter needing objectparameter by creating/destroying slot Class::slot::dummy; otherwise default values for slots would not be available * reduced verbosity of parameter forwarder

  1. … 6 more files in changeset.
* provided a fast path implementation for "defaultmethod" * provided default system methods for "init", "defaultmethod" and "unknown" * provided handles for system methods "alloc", "dealloc", "recreate", and "defaultmethod" * strip in dispatch invocations of "unknown" potental leading colons * removed c-level implementation of init again, since scripted one can be used now as well in registration of createobjectsystem * reduced verbosity * added defintions such that these methods can be loaded via ::nsf::method::require ::nx::Object unknown

  1. … 5 more files in changeset.
* added C-implemented method "init" for orthogonality * allow specification of system method handles in nsf::createobjectsystem * automatically register alias, when system-method handle was provided and a same-named method is defined

  1. … 5 more files in changeset.
* removed method residualargs from nx

  1. … 2 more files in changeset.
* reactivated "configure", since we plan to use it more prominently * added a configure flag for "class" * removed method "class" (should be used via "/obj/ configure -class ...")

  1. … 3 more files in changeset.