Commits on Jun 16, 2011
  1. BUMP

    rstam committed Jun 16, 2011
  2. BsonBinarySubType enum no longer has a value Uuid (instead of just ch…

    …anging the value of Uuid from 3 to 4 we introduced two new names: UuidLegacy and UuidStandard). The reason is that it is better to get a compile time error if you have code that used the Uuid value than for it to compile correctly but with a new value of 4, which would almost certainly silently introduce bugs. If you used Uuid in the past you have to decide whether to use UuidLegacy or UuidStandard in the future.
    rstam committed Jun 16, 2011
  3. Changing setup project for version 1.1.

    rstam committed Jun 16, 2011
  4. Edits to the release notes.

    rstam committed Jun 16, 2011
Commits on Jun 15, 2011
  1. Some release note cleanup

    sridharn committed Jun 15, 2011
  2. First draft of version 1.1 release notes.

    rstam committed Jun 15, 2011
Commits on Jun 14, 2011
  1. Implemented CSHARP-251. Added support for custom type mappers to Bson…

    rstam committed Jun 14, 2011
  2. Implemented CSHARP-216. Added support for nolock option to MongoDatab…

    rstam committed Jun 14, 2011
Commits on Jun 13, 2011
  1. Added guidRepresentation parameter to WriteBinaryData. Most writers e…

    …nd up ignoring it (for example, the BsonBinaryWriter ignores it because BSON has no place to store it), but BsonDocumentWriter uses it to preserve the GuidRepresentation of the BsonBinaryData in the resulting BsonDocument.
    rstam committed Jun 13, 2011
  2. Implemented CSHARP-248. Added FindAllUsers and FindUser methods to Mo…

    …ngoDatabase. Added new MongoUser class. Found a bunch of unit tests that weren't being run because they were missing the [Test] attribute.
    rstam committed Jun 13, 2011
  3. Fixes CSHARP-246 Added an overload of MongoDatabase.CreateCollection(…

    …) that takes only the database name as a parameter
    zippy1981 committed with rstam Jun 11, 2011
  4. Replaced GuidByteOrder with GuidRepresentation. Binary sub type 3 is …

    …now called UuidLegacy, and a new sub type 4 called Uuid is introduced to represent UUIDs stored in a well defined network byte order. Sub type 3 represents legacy UUIDs stored in a driver dependent byte order. The lowest level at which the GuidRepresentation can be configured is the collection. This is a breaking change from some code because the value of BsonBinarySubType Uuid changed from 3 to 4.
    rstam committed Jun 13, 2011
Commits on Jun 10, 2011
  1. Fixed CSHARP-245. Added BuildInfo property to MongoServer and MongoSe…

    …rverInstance. The BuildInfo class contains a Version property that the failing unit tests use to check that the server being used supports the feature being tested (if not the test is skipped).
    rstam committed Jun 10, 2011
  2. Implemented CSHARP-243. Added support for mappping between new regex …

    …options and equivalent .NET Regex options.
    rstam committed Jun 10, 2011
Commits on Jun 9, 2011
  1. CSharp-199. Fixed broken test and added a new one

    sridharn committed Jun 9, 2011
  2. Fix for CSHARP-199. Chaining of updates

    sridharn committed Jun 9, 2011
  3. Only set SlaveOk to false in CommandCollectionSettings if ConnectionM…

    …ode is ReplicaSet. GetServerInstance just returns the one and only instance unless ConnectionMode is ReplicaSet.
    rstam committed Jun 9, 2011
Commits on Jun 8, 2011
  1. Minor fixes.

    rstam committed Jun 8, 2011
  2. Fixed CSHARP-225. ReplicaSetConnector.Connect now makes sure that the…

    … serverInstance it identifies as primary was connected to using the official replica set configured host name for that server. Also fixed a NullReferenceException in MongoServerInstance.Disconnet.
    rstam committed Jun 8, 2011
Commits on Jun 6, 2011
  1. Minor change related to CSHARP-225. Replaces a NullReferenceException…

    … (which is never a good exception) with a MongoConnectionException with the message "Primary server not found". Doesn't fix CSHARP-255, but gives a better exception.
    rstam committed Jun 6, 2011
  2. Fixed CSHARP-204. The patch supplied with the bug report made sense t…

    …o me. Thanks to Miguel Pilar for the patch.
    rstam committed Jun 6, 2011
  3. Delayed creation of default settings objects so that they are created…

    … with the latest lower level default values. Moved GuidByteOrder to its own file. MongoDefaults that have matching BsonDefaults are now aliases for the corresponding BsonDefaults (that way the values are always the same).
    rstam committed Jun 6, 2011
Commits on Jun 5, 2011
  1. Refactored how GuidByteOrder is configured and handled. Instead of al…

    …lowing it to be configured at the individual property level (which was a pain), it is now configured at the server, database and collection levels. This introduces the restriction that all Guids in the same collection must use the same GuidByteOrder, but this restriction should actually help keep things sane and manageable.
    rstam committed Jun 5, 2011
Commits on Jun 3, 2011
Commits on Jun 2, 2011
  1. Fixed CSHARP-238. Non-string Dictionary keys (and values) no longer h…

    …ave a redundant "_t" element (but will if they're needed of course).
    rstam committed Jun 2, 2011
  2. Implemented CSHARP-234. GenerateId now takes two parameters: containe…

    …r and document. When called from the C# driver the container argument will be a MongoCollection.
    rstam committed Jun 2, 2011
  3. Implemented CSHARP-235. MongoDatabase.DropCollection and MongoCollect…

    …ion.Drop no longer throw an exception if the collection does not exist. If the caller needs to know whether the collection actually existed they can examine the Ok property of the CommandResult (or call MongoDatabase.CollectionExists or MongoCollection.Exists beforehand).
    rstam committed Jun 2, 2011
Commits on Jun 1, 2011
  1. Worked on the wording of more exception messages, this time in the Dr…

    …iver project.
    rstam committed Jun 1, 2011