Permalink
Commits on Jan 25, 2011
  1. BUMP v0.11.0.4042.

    rstam committed Jan 25, 2011
  2. Changed ToBsonDocument in BsonExtensionMethods to use the new BsonDoc…

    rstam committed Jan 25, 2011
    …umentWriter. Added unit tests for BsonExtensionMethods. Fixed maxDistance value for spherical WithinCircle unit test.
  3. A few more geo unit tests.

    rstam committed Jan 25, 2011
  4. Added unit tests for Find using Query.Near and Query.WithinCircle (wi…

    rstam committed Jan 25, 2011
    …th spherical false or true).
  5. Added unit tests for GeoNear with Spherical set to false and true and…

    rstam committed Jan 25, 2011
    … showing that spherical true alters the results correctly.
  6. Added DecimalSerializer unit tests.

    rstam committed Jan 25, 2011
  7. Implemented representing decimal values as BsonType Double, Int32 or …

    rstam committed Jan 25, 2011
    …Int64 (using AllowOverflow and AllowTruncation RepresentationSerializationOptions). Unit tests to follow come daylight.
  8. Added release notes to the solution

    zippy1981 committed with rstam Jan 12, 2011
  9. Added PDBs to the setup project.

    zippy1981 committed with rstam Jan 12, 2011
  10. Implemented Update.Rename.

    rstam committed Jan 25, 2011
  11. Moved TruncationException.cs from "bson" to "Bson" (the lower case "b…

    rstam committed Jan 25, 2011
    …son" directory name had been introduced by mistake).
  12. Minor refactoring.

    rstam committed Jan 25, 2011
Commits on Jan 24, 2011
  1. Added SetSpherical and missing unit tests to GeoNearOptions builder. …

    rstam committed Jan 24, 2011
    …Added Near, WithinCircle and WithinRectangle to QueryBuilder.
Commits on Jan 21, 2011
  1. Added BsonExtraElementsAttribute and ExtraElementsMemberConvention cl…

    rstam committed Jan 21, 2011
    …asses. Added ExtraElementMemberMap property and several ExtraElements related methods to BsonClassMap. Modified BsonClassMapSerializer to handle extra elements.
  2. Added more unit tests and fixed some bugs in BsonRepresentationAttrib…

    rstam committed Jan 21, 2011
    …ute and RepresentationSerializationOptions. Added TruncationException.
  3. Implemented CSHARP-113. Added AllowOverflow and AllowTruncation prope…

    rstam committed Jan 21, 2011
    …rties to RepresentationSerializationOptions and BsonRepresentationAttribute. Changed Double-, Single- and [U]Int16/32/64Serializer to use new RepresentationSerializationOptions conversion routines that respect AllowOverflow and AllowTruncation properties.
Commits on Jan 20, 2011
  1. Some minor refactoring of Andrew's contribution to match existing cod…

    rstam committed Jan 20, 2011
    …ing standard and to naming conventions (also improved exception error messages).
  2. Merge branch 'master' of git://github.com/GWBasic/mongo-csharp-driver…

    rstam committed Jan 20, 2011
    … into GWBasic-master
  3. Implemented parsing of Date(ms) and ObjectId("hex") extended JSON val…

    rstam committed Jan 20, 2011
    …ues in JsonScanner. Moved some value parsing logic down from JsonReader to JsonScanner. Added DateTime and ObjectId to JsonTokenTypes. Added subclasses of JsonToken for various value types (Int32, Int64, String, etc...).
Commits on Jan 19, 2011
  1. Implemented CSHARP-145. Provide support for creating BsonArrays from …

    rstam committed Jan 19, 2011
    …IEnumerable<ObjectId>. Added some new unit tests.
  2. Implemented CSHARP-89. Made public properties and methods of MongoSer…

    rstam committed Jan 19, 2011
    …ver, MongoDatabase, MongoCollection and MongoCursor virtual to enable the use of mock object unit testing frameworks.
  3. Fixed CSHARP-151. Allow deserialization of type decimal from actual v…

    rstam committed Jan 19, 2011
    …alues of type double, Int32 and Int64.
  4. Made SlaveOk configurable at all levels (server, database, collection…

    rstam committed Jan 19, 2011
    … and cursor). Moved MongoCursorEnumerator from a nested class in MongoCursor to the Internal folder. CommandCollection now uses SlaveOk set to false to route commands to the primary instead of creating a new instance of MongoServer.
Commits on Jan 18, 2011
  1. Updated copyright notices.

    rstam committed Jan 18, 2011
  2. More BsonDocumentWriter unit tests.

    rstam committed Jan 18, 2011
  3. Initial implementation of BsonDocumentWriter.

    rstam committed Jan 18, 2011
Commits on Jan 14, 2011
  1. Fixed CSHARP-147. It was not reading the closing "}" of the extended …

    rstam committed Jan 14, 2011
    …JSON representation for binary data.
  2. Fixed CSHARP-146. This fix doesn't just apply to Hashtables with enum…

    rstam committed Jan 14, 2011
    … values; it applies whenever an enum is serialized with a nominalType of object. Since the enum is serialized as an int the type information is lost, so when this value is read back in it results in an instance of int, not of the original enum. This might be considered a bug in its own right, but would require writing type information to the serialized form to do anything different (and would not be cross platform).
Commits on Jan 13, 2011
  1. Added MongoServerSettings, MongoDatabaseSettings and MongoCollectionS…

    rstam committed Jan 13, 2011
    …ettings. Not only does this unify how settings are handled at the various levels, it also finally made MongoCollection thread safe as claimed (by incorporating AssignIdOnInsert into the settings) and paves the way for making SlaveOk configurable at all 4 levels soon.
Commits on Jan 12, 2011
  1. Renamed many Singleton properties to Instance. This is more in line w…

    rstam committed Jan 12, 2011
    …ith typical .NET names, and many of these classes didn't need to be singletons anyway, we just want a handy precreated instance available for sharing.
Commits on Jan 11, 2011
  1. Removed UnregisterClassMap. Unregistering a class map should not be a…

    rstam committed Jan 11, 2011
    …llowed for the same reason that a class map can't be replaced (because subclasses might already be referring to it).