library

Clone Tools
  • last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- nsf.c: Since the method "objectparameter" is just based on the class (and object parameters are invalidates as well over the class), we moved the method from obj to class to avoid potential confusions

  1. … 5 more files in changeset.
- added: "info slot handle /name/" "info slot parameter /name/"

  1. … 1 more file in changeset.
- added: "info slot handle /name/" "info slot parameter /name/"

  1. … 1 more file in changeset.
- nx.tcl, xotcl2.tcl: removed unsafe {*}$pattern

  1. … 1 more file in changeset.
- nsf.c * added "pattern" to "info lookup slots" * added "pattern" to "info slots" * extended regression test

  1. … 7 more files in changeset.
* base objectparameter on "info slots -closure"

  1. … 2 more files in changeset.
* added switch "-source" to "info slots -closure" and "info lookup slots" (similar to "info lookup methods") * extended regression test

  1. … 5 more files in changeset.
- nsf.c * first version of c-bases "info slots" for classes * switch "-closure" just for class info method

  1. … 5 more files in changeset.
- nsf.c: * renamed old flag "-order" of "info mixin classes" to "-heritage" since it computes same heritage as in "info heritage" (but potentially for a list of classes) * added compatibility layer for xotcl2 * added lost option "-heritage" to "/cls/ info mixin classes" (was only there for "/obj/ info mixin classes") * extended regression test

  1. … 7 more files in changeset.
- nsf.c: * ensure that explicit per-object-mixins are kept at the front in "info heritage" order and in "info precedence" when classes are added as POMs and PCMs * extended regression test

  1. … 3 more files in changeset.
- nsf.c: * added NsfClassListNoDup() to allow just single inserts * added NsfClassListPrint() for debugging * info heritage returns no duplicates * added prototype for NsfNoCurrentObjectError() * report "no current object" when no object is passed to a method. * code cleanup - extended regression test

  1. … 6 more files in changeset.
- nx.tcl: replace loops ::nsf::methods::[object|class]::* by explict command registrations

  1. … 1 more file in changeset.
- Adjusted nxdoc for the latest changes in the nsf/nx core: - library/lib/doc-tools.tcl: Reflected the renaming of class-object to final; substituted the new positioning declaration for the old-style objectparameter shadowing on Entity (for @doc); some minor cleanup - tests/doc.test: A number of tests did not survive the continued renaming from object -> class-object -> class; fixed them.

  1. … 1 more file in changeset.
- library/nx/nx.tcl: Added the default procs for the init, defaultmethod, and unknown hooks to the ignore list for the ::nx::Object standard method set. Otherwise, upon a resourcing of nx.tcl (e.g., package forget nx;package req nx), they get registered as alias methods no matter what (due to residing in ::nsf::methods::object::*).

- be more precise on return value of alloc and create

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

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

    • -2
    • +2
    ./mongodb/example-nx-reference-many.tcl
    • -2
    • +2
    ./mongodb/example-nx-reference-one.tcl
- nsfmongo.c: * support attribute selection lists for ::mongo::query (positive and negative selection)

  1. … 1 more file in changeset.
- nsfmongo.c: * upgrade to newest c-driver (verison 0.3) from git. * support connection to replica sets

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

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

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