mongodb

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
white space changes

- added class names into serialization syntax (__class). This change allows us to make better use of polymorphism with (e.g. embedded) class structures. Previously, it was necessary, that the called had to know the class of the serialized object, now it is as well possible to use as well specializations. - fix bug, where default value for properties lead to errors, when no propery options where given.

update version numbers of mongo's c-driver (older versions stopped working on MacOS High Sierra)

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