mongodb

Clone Tools
  • last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
More code cleanup

- make nsf compilable with tcl 8.7.2 and TCL_NO_DEPRECATED turned on

- prefer bool over int

- reduce nr of returns before end of function

- line bread overlong function definitions

  1. … 12 more files in changeset.
Improve alignment of prototypes with function definitions improve regularity of variable names

  1. … 10 more files in changeset.
Use snprintf() instead of sprintf() to protect better against potential buffer overflows

  1. … 8 more files in changeset.
* nx.tcl, nx-mongo.tcl (parseParamSpec): Render target parameter non-positional, so that MetaSlot.parseParamSpec() becomes backward compatible. Adjusted callsites of parseParamSpec.

  1. … 1 more file in changeset.
Add missing argument to parseParameterSpec

Fix typos

  1. … 60 more files in changeset.
Fix collateral damage of protection changes

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

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

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

  1. … 11 more files in changeset.
Improve spelling

  1. … 41 more files in changeset.
- extend test case (since people use this as example)

Add test for regular expression matching

Make sure to initialize nsf object fetched from mongo

mongodb interface - add regular expression queries to conditions in NX

- Copy changed structure

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"

- reduce implicit conversions

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

code generator changes: - create enum types instead of enum values for nsf API - use enum types in code

  1. … 5 more files in changeset.
- return the result of ::mongo::run