mongodb

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

Improved mongodb interface for json/bson parsing: - rename function mongo::json to mongo::json::generate - introduce mongo::json::parse

- nsf mongodb: reduce verbosity - white-space changes

- upadte version numbers in README

- support building nsd from some other directory than the root directory - raise no error, when nsf is built with mongo + profile enabled

  1. … 4 more files in changeset.
- use same definition for ObjCmds as in tcl - prefer "const" over "CONST" unless in Tcl interface

  1. … 2 more files in changeset.
- fix all complaints from clang static analyzer 3.6

  1. … 1 more file in changeset.
- prefer boolean expression in tests over expressions of other types

  1. … 26 more files in changeset.
- make compilation clean with clang 3.6

  1. … 2 more files in changeset.
- add NsfArgumentError() to stub interface, since this might be used by c packages using the interface generator - add mong::json to the interface - bump version number for mongo interface to 0.4.

  1. … 5 more files in changeset.
- updated for mongo-c-driver 1.0.2 and MongoDB 2.6.5 - minor changes were necessary: MongogDB does not allow to delete a capped collection, one has to use drop

nx.tcl: pluralism reform part 3 - introduced simple plural form "mixins" and "filters" for introspection - moved differentiated interface into slot methods. the slot methods "get" stay symmetrically to "set", but additional methods "classes" or "methods" are used like "guard" to obtain partial results of the mixin and filter specs - changed info methods /cls/ info mixin classes -> /cls/ info mixins /cls/ info filter methods -> /cls/ info filters /obj/ info object mixin classes -> /obj/ info object mixins /obj/ info object filter methods -> /obj/ info object filters - dropped /cls/ info mixin guard /cls/ info filter guard /obj/ info object mixin guard /obj/ info object filter guard - added /cls/ mixin classes /cls/ filter methods /obj/ object filter methods /obj/ object mixin classes

  1. … 14 more files in changeset.
nx.tcl: pluralism reform part 2 - changed methods /cls/ info subclass -> /cls/ info subclasses /cls/ info superclass -> /cls/ info superclasses /cls/ mixin ... -> /cls/ mixins /cls/ filter ... -> /cls/ filters /cls/ object mixin ... -> /cls/ object mixins /cls/ object filter ... -> /cls/ object filters - changed configure parameters /cls/ configure -mixin -> /cls/ configure -mixins /cls/ configure -filter -> /cls/ configure -filters /obj/ configure -object-mixin -> /obj/ configure -object-mixins /obj/ configure -object-filter -> /obj/ configure -object-filters - added handling for calling relationslot with unknown sub method

  1. … 31 more files in changeset.