library

Clone Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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"

* nx-shell.tcl, *sh.in: Rename nx::shell2 to nx::shell and remove old nx::shell implemenetation. * makefile.vc: Use new shell object in shell target.

  1. … 3 more files in changeset.
* nx-callback.*, nx.tcl: Rename pkg "nx::traits::callback" to "nx::trait::callback".

- reduce implicit conversions

- allow specification of --enable-assertions on the parent nsf project

- fix testx (filterGuards); when compiled without assertions, a test case was skipped, that created an object "b"; the following test produced different results when b was created or recreated - avoid global

* gentclAPI.tcl (methodDefinition): Deactivate docstring generation for now, as they are not actively used.

  1. … 4 more files in changeset.
Merge branch 'master' into 2-1-0-rc

  1. … 1 more file in changeset.
Save code instrumentation to demonstrate the problem

  1. … 1 more file in changeset.
* nx.tcl (VariableSlot->setCheckInstVar): Use method parameter 'value' rather than object variable 'default'

* nx.tcl, parameters.test (Object->object variable): Support for substdefault has been entirely missing so far. Added basic tests

  1. … 1 more file in changeset.
* Updated copyright dates and copyright notices

  1. … 15 more files in changeset.
* Updated copyright dates and copyright notices

  1. … 15 more files in changeset.
*xotcl2.tcl (Class->unknown): Use ::nsf::current explicitly to avoid nx/xotcl self hickups

- remove useless expr statements

  1. … 1 more file in changeset.
xotcl2 unknown: fix regressions due to uplevel mambo-jumbo

xotcl2.tcl: Make sure that Class->unknown bypasses filter and mixin frames

nx::Class unknown: rewritte unknown message to include '?...?'

  1. … 5 more files in changeset.
Commit missing unknown message change

- make hint more explicit and verbose

  1. … 1 more file in changeset.
nx::shell2: extend the exit wrapper to include Tcl 8.6 try

nx::shell2: Make sure that the proper exit code is provided when leaving the -c stdin mode

nx::shell2: Rewrote in-shell exit support to avoid Tcl's native exit and to unwind gracefully to avoid NSF refcount leaks on exit; bumped package number

  1. … 3 more files in changeset.
nx::shell2: Provide complete errorinfo, not just top-level line

Substitute set for get, which is a tick faster