794 Commits (90cadbe7f85814e49159493cea5e3f0d9d447edd)
 

Author SHA1 Message Date
rstam 90cadbe7f8 Added RawDocument property to the IndexInfo class. 14 years ago
rstam 1ef39f050e Implemented CSHARP-249. GetIndexes now returns GetIndexesResult. Use GetIndexes().RawDocuments if you still want the raw IEnumerable<BsonDocument> result. 14 years ago
rstam 4ba580c931 Implemented CSHARP-318. Added GetProfilingLevelResult, ProfilingLevel and SystemProfileInfo types. Added GetProfilingInfo, GetProfilingLevel and SetProfilingLevel to MongoDatabase. 14 years ago
rstam 4c152582c7 Implemented CSHARP-334. Added support for GeoHaystackSearch. 14 years ago
rstam 8c37a3c8fc Fixed CSHARP-333. Clear needs to set poolSize to 0. 14 years ago
rstam 21c50c17e3 Implemented CSHARP-313. Give a more useful error message when attempting to write a scalar value to the root of a BSON document. 14 years ago
rstam 09a18d657c Fixed CSHARP-325. Database names cannot contain any of the characters in Path.GetInvalidPathChars or Path.GetInvalidFileNameChars because database names end up being used as directory or file names. 14 years ago
rstam 87031acdc2 Implemented CSHARP-332. Optimized SkipCString to not bother with UTF8 decoding since the string value is going to be ignored anyway. 14 years ago
rstam 0a93c888c7 Finished work on CSHARP-311. Added more unit tests. 14 years ago
rstam 548201f8de Fixed CSHARP-330. MongoGridFSSettings now inherits SafeMode settings from MongoDatabase. 14 years ago
rstam 134fb59d22 Partial work on CSHARP-311. Added new types BsonDictionaryOptionsAttribute, DictionaryRepresentation and DictionarySerializationOptions. Modified DictionaryGenericSerializer and DictionarySerializer to support new DictionarySerializationOptions and the new ArrayOfDocuments representation. 14 years ago
rstam f0ee7a46ec Finished implementing CSHARP-320. Added support for jsMode option for MapReduce. 14 years ago
rstam c7849e6300 Partially implemented CSHARP-320. Added support for sharded output collections to MapReduce. 14 years ago
rstam bce82165ad Fixed CSHARP-328. Update now supports Query.Null (treated as equivalent to an empty QueryDocument, which is the same as {} in the mongo shell). 14 years ago
rstam 7793abf6e4 Implemented CSHARP-319. Added support for within polygon queries. 14 years ago
rstam dea4b67d8c Implemented CSHARP-312. Added ToDictionary and ToHashtable to BsonDocument. 14 years ago
rstam ee99b3f299 Implemented CSHARP-316. Added support for ContinueOnError to InsertBatch. 14 years ago
rstam 85b0d3d4c5 Implemented CSHARP-317 (support j=true and w=mode SafeModes). SafeMode now has too many properties to be immutable, so it now only becomes immutable after Freeze is called, allowing easier initialization of SafeMode values. Added J and WMode properties to SafeMode. Replaced most calls to Freeze with calls to the new method FrozenCopy, which calls Freeze on a Copy instead of the original. Added new constructors to MongoDatabaseSettings and MongoCollectionSettings that allow inheriting values from the containing server and database (using a constructor instead of CreateDatabaseSettings and CreateCollectionSettings allows use of object initialization syntax). Added support for j=true and w=mode to MongoConnectionStringBuilder and MongoUrlBuilder. Added support for j=true and w=mode to GetLastError command created in MongoConnection.SendMessage. Added unit tests. 14 years ago
sridharn 6ec33b99d3 Changed Assembly version to 1.3.* 14 years ago
sridharn 303b9bd570 BUMP 1.2.0.4274 14 years ago
sridharn 9058fe7f63 Minor edits for 1.2 driver release 14 years ago
sridharn 23293491d9 Minor release notes 14 years ago
rstam f330084b9b Ignore exceptions when closing a connection. 14 years ago
rstam 9b7bf22947 Work around a bug in Mono. 14 years ago
rstam 154ad5cc9e Revised release notes. 14 years ago
rstam 868309d18a Fixed CSHARP-324. If server refuses to return buildInfo information when auth is on, the driver just sets it's BuildInfo property to null. See comments in the JIRA ticket for more information. 14 years ago
rstam 833b894a4b Further work on CSHARP-323. Don't let unhandled exceptions leave EnsureMinConnectionPoolSizeWorkItem. 14 years ago
rstam 8453358b46 Fixed CSHARP-323. Don't let unhandled exceptions leave TimerCallback. 14 years ago
rstam 64648f20bc Visual Studio didn't save everything when told to Save All. This minor change was missing. 14 years ago
rstam a70942fb51 Changed setup project for 1.2 release. 14 years ago
sridharn c673a0e9c8 Change nuget package spec for 1.2 release 14 years ago
sridharn e719095adb Merge branch 'master' of github.com:mongodb/mongo-csharp-driver 14 years ago
sridharn c216cdcd46 Fix problem with hashtable reordering on unit tests. CSHARP-322 14 years ago
rstam 932ec8ecd0 Minor release note edits. 14 years ago
sridharn be715ac14d Cleanup. Removed warning and fixed MonoDevelop compile issue 14 years ago
rstam 3c513a588a New draft of 1.2 release notes. Fixed a couple of unit tests for capped collections. 14 years ago
sridharn 9cfdcb76f0 Added custom serializer for System.Drawing.Size CSHARP-277 14 years ago
rstam fdd64387db Partial draft of v1.2 release notes (covers Bson library). 14 years ago
rstam 5778f994d4 More work on CSHARP-183, CSHARP-201, CSHARP-302, CSHARP-303. Added SequentialId 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. 14 years ago
rstam c9ce8c1f16 Mostly completed work on CSHARP-183, CSHARP-201, CSHARP-302, CSHARP-303: 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. 14 years ago
rstam f1554daa79 Implemented CSHARP-307. Insert, InsertBatch and Save now throw a more appropriate exception when passed a null document. 14 years ago
rstam 673b2bdfd2 Fixed CSHARP-306. Index on fs.chunks is now unique. 14 years ago
rstam e1f5a61473 Forgot to add two new files before previous commit. 14 years ago
rstam efee416eb8 New implementation for CSHARP-216 that avoids ambiguities between overloads. 14 years ago
rstam b5a3ef9bc1 When Ping is called and MongoServer is connected to a replica set, Ping 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. 14 years ago
rstam 72ee5e8c79 Partial fix for CSHARP-302. The default action now when there is an exception 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. 14 years ago
rstam 428ef0aa55 Fixed CSHARP-263. Changed BsonBaseSerializer to require that all subclasses 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). 14 years ago
rstam 186e2e7a1c Implemented CSHARP-292. The static method Update.Combine combines a variable number of UpdateBuilders into one single new UpdateBuilder. The instance method UpdateBuilder.Combine combines one other UpdateBuilder into an existing UpdateBuilder. 14 years ago
rstam bdc8a07a41 Implemented CSHARP-299. Added QueryResult property to MongoQueryException. Couldn't figure out an easy way to unit test this (how do you make a query fail?). 14 years ago
rstam 3b872aeeb9 Implemented CSHARP-295. SetMaxDocuments now takes a long. Added some unit tests. 14 years ago