library

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix collateral damage of protection changes

nx-test.tcl (nx::test case): As (ensemble) methods are currently not covered by the auto-cleanup feature of "nx::test case", I took care of not cleaning up the per-class ensemble slots while the alias is still available. This led to dangling aliases in cases such as:

package req nx::test

nx::Class create ::A

nx::test case tmp {

::A public method "oo ps" {} {;}; # creates ::A::slot::__oo plus alias pointing to it.

}

A create a

a oo ps; # "target "::A::slot::__oo" of alias oo apparently disappeared"

Along the way, modernized nx::test case a little (apply).

- Don't assume that CallStackGetTopFrame0() reurns != NULL - reduce variable scopes - reduce number of returns before function end

  1. … 3 more files in changeset.
- Use more straightforward Tcl idiom to access first character of a string - Standardize spelling of names of products (Tcl, AOLserver, PostgreSQL)

  1. … 4 more files in changeset.
- Use uniform spelling of "Tcl" - Fix more spelling errors

  1. … 9 more files in changeset.
Use uniform spelling of "Tcl"

  1. … 3 more files in changeset.
Improve spelling

    • -1
    • +1
    ./mongodb/tests/nx-reference-many.test
    • -2
    • +2
    ./xotcl/apps/comm/get-regression-nb.xotcl
    • -1
    • +1
    ./xotcl/apps/comm/get-regression.xotcl
    • -2
    • +2
    ./xotcl/apps/comm/secure-webclient.xotcl
  1. … 29 more files in changeset.
* nx.tcl (VariableSlot): Fix value=delete to actually accept and implement "-nocomplain". Added tests (missing so far entirely) and updated the man pages accordingly.

  1. … 6 more files in changeset.
* nx.tcl, parameters.test (defineIncrementalOperations): Make sure value=add and value=delete actually run value checkers and, in case of "convert", pick up the conversion result. Added basic test.

  1. … 1 more file in changeset.
* nx.tcl (makeIncrementalOperations, defineIncrementalOperations): Avoid repeated slot= entries in options. Fix a typo.

* nx.tcl (makeIncrementalOperations, defineIncrementalOperations): Avoid repeated slot= entries in options. Fix a typo.

- extend test case (since people use this as example)

adjust programming style

Add test for regular expression matching

Make sure to initialize nsf object fetched from mongo

- Use more modern returnstate handling based on options - extend regression test

  1. … 1 more file in changeset.
fix bug in method "contains": Propergate errorCode on catch

mongodb interface - add regular expression queries to conditions in NX

- Copy changed structure

* nx-pp.tcl (State): Add "substdefault" to two property specs to fix markup generation for various token types (variables etc.).

Run spell checkers and fix typos, unify writing style

MongoDB driver: - added explicit calls to mongoc_init() and mongoc_cleanup(). - configure via "--disable-automatic-init-and-cleanup"

- white space change

- extending the README file requires a small adjustment on a test case, working on the README file

- update README for mongodb interface to avoid potential problems on Mac OS X

- bump version number of nx::mongo to 2.1

- bump version number of nsfmongo to 2.1 - bump tea to 3.10

- more white space changes (remove tabs, reformat whole file)

- white space change

MongoDB upgrade - Upgraded MongoDB and drivers to mongodb-c-driver 1.5.1, libbson 1.5.1 and MongoDB v3.4.0

- The upstream mongodb-c-driver has deprecated the old OP_QUERY syntax

with $-modifiers and old names like $orderby and $query, which will

be removed from the driver. The new interface is more in the mongodb

style, many former parameters (e.g. -limit, -skip, -project, -sort)

went to the new "-opts" argument.

mongo::collection::query /collection/ /filter/ ?-opts /opts/?

mongo::cursor::find /collection/ /filter/ ?-opts /opts/?

See the begin of nsf-mongo.test file for examples for queries

with the old and new interface. The high level interface

for nx::Object is unchanged.

- Support for new binary type "decimal128"