Skip to content
Commits on Mar 27, 2012
  1. BUMP 1.4.0.4468.

    rstam committed
  2. Tweaks to the setup project and the makepackages.bat file to change t…

    rstam committed
    …he extension of the Release Notes from .md to .txt so that it will open in Notepad.
  3. Minor edits of the 1.4 Release Notes.

    rstam committed
  4. First draft of the Release Notes for 1.4. Changed to .md format so th…

    rstam committed
    …at it will display nicely when viewed in github.
Commits on Mar 26, 2012
  1. Changing version numbers in preparation for the 1.4 build. This is no…

    rstam committed
    …t the final 1.4 commit.
Commits on Mar 23, 2012
  1. Added more unit tests for C# ! (the not operator) in LINQ queries. On…

    rstam committed
    …e principle is that for a given predicate p then a given document always matches either p or !p but never both. This required being a little less aggressive in simplifying expressions containing the not operator when constructing queries to send to the server (e.g. can't turn not $lt into $gte).
  2. Cleaned up using statements in new LINQ code.

    rstam committed
  3. Fixed a couple copyrights.

    rstam committed
  4. Added a few missing doc comments (found by checking the SandCastle He…

    rstam committed
    …lp File Builder log files).
Commits on Mar 22, 2012
  1. Worked on CSHARP-256. Replaced Debug with Release as necessary. Chang…

    rstam committed
    …ed Release config of project files to build XML documentation.
  2. Untabify change logs.

    rstam committed
  3. Added a unit test to make sure that LINQ queries comparing a property…

    rstam committed
    … that is stored as an embeded document work. Implemented ToString method in MongoDBRef.
Commits on Mar 21, 2012
  1. Changed EndPoint property of MongoServerInstance to a method because …

    rstam committed
    …it sometimes does a DNS lookup and it is bad practice for properties to block.
  2. Added a way for client code to see what MongoDB query would be sent t…

    rstam committed
    …o a server when a LINQ query is executed.
  3. Added an overload of RequestStart that lets the caller specify which …

    rstam committed
    …server instance they want the request tied to. This allows client code to direct queries to a specific member of a replica set.
Commits on Mar 20, 2012
  1. Disabled a warning that should be ignored. Ran unit tests against Rel…

    rstam committed
    …ease builds. Note that the changes to run unit tests against Release builds are in user local files (so not in github). See the updated instructions at http://www.mongodb.org/display/DOCS/CSharp+Driver+Tutorial#CSharpDriverTutorial-Runningunittests (look for the new /config command line option to nunit.exe).
  2. Fixed CSHARP-412. When looking for a replica set member to send slave…

    rstam committed
    …Ok queries to it is sufficient to look for IsSecondary members. It is not necessary to check IsPassive because IsSecondary will also be true for passive members. And most importantly, IsSecondary will temporarily change to false if a passive member is in recovering mode (and IsPassive remains true), and we don't want to send slaveOk queries to passive members that are in recovering mode.
  3. Fixed CSHARP-370 and CSHARP-411. The C# driver now detects whether re…

    rstam committed
    …plica set members are added or removed while it is connected. CSHARP-370 required some changes to the timing of DNS lookups that ended up fixing CSHARP-411 also.
Commits on Mar 19, 2012
  1. Removed partially implemented support for Enumerable.Any with predica…

    rstam committed
    …te. It wasn't using $elemMatch and full support requires lots more development and testing and most likely support in the server for new forms of $elemMatch (for example support $and and $or inside an $elemMatch). This will be reimplemented in a future release. See CSHARP-413.
Commits on Mar 16, 2012
  1. Implemented CSHARP-395. ExtraElements property or field can now be of…

    rstam committed
    … type IDictionary<string, object> in addition to BsonDocument. Using IDictionary keeps your data model free of dependencies on the driver, and BSON values are mapped to equivalent .NET types when possible.
Commits on Mar 15, 2012
  1. Finished work on CSHARP-284/308. Added support for itemSerializationO…

    rstam committed
    …ptions to legacy and generic versions of EnumerableSerializer, QueueSerializer and StackSerializer.
  2. Implemented CSHARP-408. Default value for WaitQueueMultiple is now 5.…

    rstam committed
    …0 and default value for WaitQueueTimeout is now 2 minutes (same values as the Java driver).
Commits on Mar 14, 2012
  1. Minor renaming and doc comment fixes.

    rstam committed
  2. New approach to CSHARP-284 and CSHARP-308. Serialization attributes a…

    rstam committed
    …re just another way of setting serialization options and are now processed by the options themselves in the new ApplyAttribute method. Serialization options now have a few new methods: ApplyAttribute, Clone and Freeze. Removed IsItemsOption and ItemSerializationOptionsWrapper; whether an attribute is for the container or for the items is determined by context. Introduced new BsonBaseSerializationOptions class to make implementing serialization options easier. All serializers that use serialization options now return the default serialization options from the new GetDefaultSerializationOptions method. There are minute changes to the unit tests; that is a good thing as it implies these changes are not breaking changes.
  3. remove chm file from nuget package. CSHARP-410

    sridharn committed
Commits on Mar 13, 2012
  1. Initial implementation of CSHARP-284 and CSHARP-308. Added IsItemOpti…

    rstam committed
    …ons named parameter to BsonSerializationOptionsAttribute base class to indicate whether an attribute is intended for the items of a collection instead of for the collection itself. The problem with the current implementation using the new ItemSerializationOptionsWrapper class is that you can have attributes for the collection or for the items but not both.
Commits on Mar 10, 2012
  1. Modified some unit tests that were failing on Mono because Mono words…

    rstam committed
    … some error messages differently.
Commits on Mar 9, 2012
  1. Corrected a bunch of InvalidOperationExceptions to NotSupportedExcept…

    rstam committed
    …ions in the LINQ implementation because InvalidOperationException implies the operation could be valid in some other state.
Something went wrong with that request. Please try again.