Commits on Sep 14, 2011
  1. BUMP

    sridharn committed Sep 14, 2011
  2. Minor edits for 1.2 driver release

    sridharn committed Sep 14, 2011
  3. Minor release notes

    sridharn committed Sep 13, 2011
  4. Ignore exceptions when closing a connection.

    rstam committed Sep 14, 2011
  5. Work around a bug in Mono.

    rstam committed Sep 14, 2011
  6. Revised release notes.

    rstam committed Sep 14, 2011
  7. Fixed CSHARP-324. If server refuses to return buildInfo information w…

    …hen auth is on, the driver just sets it's BuildInfo property to null. See comments in the JIRA ticket for more information.
    rstam committed Sep 14, 2011
  8. Further work on CSHARP-323. Don't let unhandled exceptions leave Ensu…

    rstam committed Sep 14, 2011
Commits on Sep 13, 2011
  1. Visual Studio didn't save everything when told to Save All. This mino…

    …r change was missing.
    rstam committed Sep 13, 2011
  2. Changed setup project for 1.2 release.

    rstam committed Sep 13, 2011
Commits on Sep 12, 2011
  1. Change nuget package spec for 1.2 release

    sridharn committed Sep 12, 2011
  2. Minor release note edits.

    rstam committed Sep 12, 2011
  3. New draft of 1.2 release notes. Fixed a couple of unit tests for capp…

    …ed collections.
    rstam committed Sep 12, 2011
Commits on Sep 9, 2011
Commits on Sep 7, 2011
  1. More work on CSHARP-183, CSHARP-201, CSHARP-302, CSHARP-303. Added Se…

    …quentialId property to MongoServer and MongoServerInstance to use in logging. Added new Disconnect*ing* MongoServerState. Changed ChooseServerInstance to make first attempt to find an instance using current state, and only call VerifyUnknownStates or Connect if first attempt fails. Changed InstanceStateChanged to handle new Disconnecting state. No longer try to start and stop the connection pool timer (there are too many edge cases); instead let the timer fire continuously but do nothing when Disconnected.
    rstam committed Sep 7, 2011
Commits on Sep 2, 2011
  1. Mostly completed work on CSHARP-183, CSHARP-201, CSHARP-302, CSHARP-3…

    …03: improvements to replica set failover. In MongoServer: added VerifyState and VerifyUnknownStates, ChooseServerInstance now calls VerifyUnknownStates when server state is Unknown, InstanceStateChanged now knows about Unknown and handles starting and stopping the connection pool timer. In MongoServerInstance: now creates a single instance of connectionPool at constructor time (so it's never null and never replaced), added VerifyState, Connect now uses VerifyState. In MongoServerState: added Unknown state. In MongoConnection: removed Damaged from MongoConnectionState, added generationId. In MongoConnectionPool: removed closed and added generationId, added inTimerCallback, timer is now started and stopped by MongoServer, Clear closes all connections and increments the generationId, renamed CreateInitialConnectionsWorkItem to EnsureMinConnectionPoolSizeWorkItem and now queue it from the timer rather than from the constructor, TimerCallback now calls VerifyState to discover when offline replica set members come back online. Initial testing looks good but more testing is required.
    rstam committed Sep 2, 2011
Commits on Aug 29, 2011
  1. Implemented CSHARP-307. Insert, InsertBatch and Save now throw a more…

    … appropriate exception when passed a null document.
    rstam committed Aug 29, 2011
Commits on Aug 26, 2011
Commits on Aug 25, 2011
  1. When Ping is called and MongoServer is connected to a replica set, Pi…

    …ng now pings all members of the replica set one at a time, instead of just the Primary. Also added a Ping method to MongoServerInstance, so individual instances can be pinged if desired.
    rstam committed Aug 25, 2011
Commits on Aug 10, 2011
  1. Partial fix for CSHARP-302. The default action now when there is an e…

    …xception on a connection is to discard only that connection instead of the whole connection pool, preventing a Connect/Disconnect storm. Also made Disconnect synchronous so it should no longer be possible to open new connections faster than old ones are being closed.
    rstam committed Aug 10, 2011
Commits on Aug 9, 2011
  1. Fixed CSHARP-263. Changed BsonBaseSerializer to require that all subc…

    …lasses implement the overload of Deserialize that inludes an actualType parameter. When an array is serialized and nominalType is object it now wraps the array in a document that includes type information ("_t" and "_v" elements).
    rstam committed Aug 9, 2011
Commits on Aug 5, 2011
  1. Implemented CSHARP-292. The static method Update.Combine combines a v…

    …ariable number of UpdateBuilders into one single new UpdateBuilder. The instance method UpdateBuilder.Combine combines one other UpdateBuilder into an existing UpdateBuilder.
    rstam committed Aug 5, 2011
  2. Implemented CSHARP-299. Added QueryResult property to MongoQueryExcep…

    …tion. Couldn't figure out an easy way to unit test this (how do you make a query fail?).
    rstam committed Aug 5, 2011
  3. Implemented CSHARP-295. SetMaxDocuments now takes a long. Added some …

    …unit tests.
    rstam committed Aug 5, 2011
  4. Further work on CSHARP-283. Added BsonArray overloads to resolve ambi…

    …guity of BsonArray arguments with IEnumerable<BsonValue> and params BsonValue[] overloads. Improved doc comments for Query and Update builders.
    rstam committed Aug 5, 2011
Commits on Aug 4, 2011
  1. Fixed CSHARP-290. Added back the IDictionary<string, object> overload…

    …s, but also added Dictionary<string, object> overloads to resolve the ambiguity when passing a Dictionary<string, object> value as an argument. Less common ambiguities (with classes like SortedDictionary and SortedList) still have to be resolved by the user with a cast.
    rstam committed Aug 4, 2011
  2. Merged CSHARP-297 pull request from Brian Knight with minor tweak. Ad…

    …ded additional unit test.
    rstam committed Aug 4, 2011
  3. Fixed CSHARP-297. Implemented IsCapped method on MongoDB.Driver.Mongo…

    …Collection and added Capped property to MongoDB.Driver.CollectionStatsResult. MongoCollectionTests updated with an online test.
    brianknight10 committed Aug 4, 2011