Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Apr 4, 2012
  1. Partial work on CSHARP-431. Allow constant to appear on either side o…

    Robert Stam authored
    …f comparison operator in LINQ queries.
  2. Fixed CSHARP-429. List, Queue and Stack and now be serialized/deseria…

    Robert Stam authored
    …lized when the nominal type is object.
Commits on Apr 3, 2012
  1. Implemented CSHARP-428. Added IsDatabaseNameValid to MongoServer and …

    Robert Stam authored
    …IsCollectionNameValid to MongoDatabase.
Commits on Apr 1, 2012
  1. Merged the DriverOnlineTests and DriverUnitTests projects into a sing…

    Robert Stam authored
    …le project called DriverUnitTests. Experience has shown that there was no benefit to having the offline tests separate. If anything it added extra steps to testing because we would invariably want to run both sets of tests.
  2. Implemented CSHARP-424. Circular references now throw a BsonSerializa…

    Robert Stam authored
    …tionException which can be caught instead of a StackOverflowException. Default maximum serialization depth is 100, but can be set higher if required.
Commits on Mar 30, 2012
  1. Added lots of unit tests for BsonArray.

    rstam authored
  2. Added a link to the online documentation.

    rstam authored
  3. Fixed CSHARP-419 and CSHARP-420 (they were duplicates of each other).…

    rstam authored
    … A LINQ query consisting of AsQueryable<T> and nothing else now works.
Commits on Mar 29, 2012
  1. Initial work on CSHARP-415 and CSHARP-417. BsonTypeMapper is now bidi…

    Robert Stam authored
    …rectional with the introduction of the new MapToDotNetValue method. More careful analysis of when C# null means to ignore an item (as in functional construction) and when C# null maps to BsonNull.Value. Also looked carefully at when values cross the .NET to BsonDocument object model boundary and invoke MapToBsonValue or MapToDotNetValue as appropriate. BsonArray and BsonDocument now throw an exception on any attempt to set a value to C# null. Simplified GetDocumentId in BsonDocument to return the BsonValue unchanged. Added new BsonBinaryDataGuidGenerator for use with BsonDocument when the _id is a BsonBinaryData value holding a Guid. Changed BsonClassMapSerializer to use the new MapToDotNetValue method in the BsonTypeMapper instead of its own (now removed) version.
Commits on Mar 28, 2012
  1. Better fix for CSHARP-418. Replaced MemberMaps property with AllMembe…

    rstam authored
    …rMaps and DeclaredMemberMaps to remove ambiguity.
  2. Fixed CSHARP-418. The GetMemberSerializationInfo method of BsonClassM…

    rstam authored
    …apSerializer was not working if the memberName was for an inherited member.
Commits on Mar 27, 2012
  1. Deleted the .vssettings files because we now use the default Visual S…

    rstam authored
    …tudio settings for code formatting.
  2. BUMP

    rstam authored
  3. Tweaks to the setup project and the makepackages.bat file to change t…

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

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

    rstam authored
    …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 authored
    …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 authored
    …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 authored
  3. Fixed a couple copyrights.

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

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

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

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

    rstam authored
    … 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 authored
    …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 authored
    …o a server when a LINQ query is executed.
  3. Added an overload of RequestStart that lets the caller specify which …

    rstam authored
    …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 authored
    …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 (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 authored
    …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.
Something went wrong with that request. Please try again.