Permalink
Commits on Nov 4, 2010
  1. And this time added the release notes to the zip file too (details, d…

    …etails...).
    rstam committed Nov 4, 2010
  2. BUMP v0.7.0.3959 (again). Added release notes to setup and moved obso…

    …lete tutorial documents to Obsolete folder (new tutorial is online).
    rstam committed Nov 4, 2010
  3. BUMP 0.7.0.3959.

    rstam committed Nov 4, 2010
Commits on Nov 3, 2010
  1. Minor changes.

    rstam committed Nov 3, 2010
  2. Added unit tests for FetchDBRef.

    rstam committed Nov 3, 2010
  3. Restored maxMessageLength to 16MB.

    rstam committed Nov 3, 2010
  4. Turns out no initialization at all is needed before deserializing ins…

    …tances of Animal subclasses when attributes are used to set the root class and known types.
    rstam committed Nov 3, 2010
  5. Set AssemblyVersion to 0.7.0.*.

    rstam committed Nov 3, 2010
  6. Finished implementing HierarchicalDiscriminatorConvention. Added IsRo…

    …otClass and HasRootClass to BsonClassMap and added RootClass to BsonDiscriminatorAttribute. Changed DeserializeDocument in ObjectSerializer to look at the discriminator and delegate the deserialization to the serializer for the actual type. Changed the BsonKnownTypeAttribute to plural to allow specifying multiple known types in one attribute.
    rstam committed Nov 3, 2010
Commits on Nov 2, 2010
  1. Relax the restriction that a class must have a public default constru…

    …ctor in order to be deserialized (now a default constructor, public or private, will be used if it exists, otherwise FormatterServices.GetUninitializedObject will be used to create a zero filled instance).
    rstam committed Nov 2, 2010
  2. Added DiscriminatorConventions to allow more flexibility in how discr…

    …iminators are used. Includes partial support for hierarchical discriminators (but a little more work is required to know when hierarchical discriminators should be used and where the hierarchy should be rooted).
    rstam committed Nov 2, 2010
Commits on Nov 1, 2010
  1. Added support for serializing LinkedList<T>.

    rstam committed Nov 1, 2010
  2. Modified CollectionSerializerTests and CollectionSerializerGenericTes…

    …ts to be as similar as possible. Added unit tests for serializing HashSet<T>.
    rstam committed Nov 1, 2010
  3. Consolidated collection serializers in CollectionSerializers.cs and C…

    …ollectionSerializersGeneric.cs (and similarly for the unit tests). Added unit tests for more generic collection types.
    rstam committed Nov 1, 2010
  4. Split out generic version of EnumerableSerializer into its own file. …

    …Added unit tests for EnumerableSerializer<T>.
    rstam committed Nov 1, 2010
  5. Moved handling of generic serializers up from BsonDefaultSerializer t…

    …o BsonSerializer. It's a general enough mechanism that any serialization provider could choose to use it.
    rstam committed Nov 1, 2010
  6. Renamed BsonDefaultSerializationProvider to BsonDefaultSerializer (no…

    … change in design, just using a shorter name based on what it is rather than what interface it implements).
    rstam committed Nov 1, 2010
  7. Implemented StackSerializer.

    rstam committed Nov 1, 2010
  8. Implemented QueueSerializer. Added EnumerableSerializerRegistration a…

    …nd QueueSerializerRegistration and modified BsonDefaultSerializationProvider to find registration methods for generic serializer definitions.
    rstam committed Nov 1, 2010
  9. Added support for Guid primitive type to EnumerableSerializer. Change…

    …d EnumerableSerializerTests to test properties of type ArrayList, ICollection and IEnumerable as well as IList.
    rstam committed Nov 1, 2010
  10. Fixed CSHARP-83. Implemented new EnumerableSerializer<T> generic seri…

    …alizer definition. Created a way to register and lookup generic serializer definitions and to instantiate closed generic serializers at runtime.
    rstam committed Nov 1, 2010
  11. Implemented EnumerableSerializer (serializes ArrayList, IEnumerable, …

    …ICollection and IList). Factored out GetActualDocumentType and GetActualElementType as static methods that can be called as needed from anywhere. Use BsonType as implied discriminator for primitive types. Fixed references to deprecated BsonConstants.
    rstam committed Nov 1, 2010
Commits on Oct 31, 2010
  1. Fixed CSHARP-88. All methods in MongoDatabase take and return plain c…

    …ollection names (not full collection names prefixed with the database name). Moved RenameCollection method from MongoServer to MongoDatabase.
    rstam committed Oct 31, 2010
  2. Renamed Singleton to Value in BsonNull, BsonMaxKey and BsonMinKey (fo…

    …llow pattern set by DBNull.Value in .NET). Throw ArgumentNullException if Value of BsonElement is set to null. Added AsNullableBoolean, AsNullableDateTime, AsNullableDouble, AsNullableGuid, AsNullableInt32, AsNullableInt64 and AsNullableObjectId to BsonValue. Added implicit conversions from and explicit conversions to bool?, DateTime?, double?, Guid?, int?, long? and ObjectId?.
    rstam committed Oct 31, 2010
Commits on Oct 30, 2010
  1. Implemented NullableTypeSerializer.

    rstam committed Oct 30, 2010
  2. Added no-argument constructor to BsonDiscriminatorAttribute. Modified…

    … SerializePolymorphicClassTests to test [BsonDiscriminatorOptions(Required = true)].
    rstam committed Oct 30, 2010
  3. Minor reformatting to C# Driver coding standard. Removed extraneous P…

    …erformance folder and Class1.cs file.
    rstam committed Oct 30, 2010
  4. Merge branch 'largeinsert' of http://github.com/testn/mongo-csharp-dr…

    …iver into testn-largeinsert
    rstam committed Oct 30, 2010
  5. Minor formatting and tweaking changes.

    rstam committed Oct 30, 2010
  6. Merge branch 'perf2' of http://github.com/testn/mongo-csharp-driver i…

    …nto testn-perf2
    rstam committed Oct 30, 2010
  7. improve bson reader performance

    testn committed Oct 30, 2010
  8. Added new BsonSerializationOptionsAttribute which serves as the base …

    …class for the existing BsonRepresentationAttribute and the new BsonDateTimeOptionsAttribute. Added DateTimeSerializationOptions to allow control over how DateTime values are serialized (representation, local/utc, dateOnly). Refactored AutoMapMember to process attributes in a loop. WriteDateTime in BsonWriter now checks that the value is in UTC (it is the job of the serializer to perform any needed conversions).
    rstam committed Oct 30, 2010
  9. - fix large message

    - make the default message size compat with 1.6 branch
    testn committed Oct 30, 2010