Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 4, 2010
  1. BUMP v0.7.0.3959 (again). Added release notes to setup and moved obso…

    rstam authored
    …lete tutorial documents to Obsolete folder (new tutorial is online).
  2. BUMP 0.7.0.3959.

    rstam authored
Commits on Nov 3, 2010
  1. Minor changes.

    rstam authored
  2. Added unit tests for FetchDBRef.

    rstam authored
  3. Restored maxMessageLength to 16MB.

    rstam authored
  4. Turns out no initialization at all is needed before deserializing ins…

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

    rstam authored
  6. Finished implementing HierarchicalDiscriminatorConvention. Added IsRo…

    rstam authored
    …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.
Commits on Nov 2, 2010
  1. Relax the restriction that a class must have a public default constru…

    rstam authored
    …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).
  2. Added DiscriminatorConventions to allow more flexibility in how discr…

    rstam authored
    …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).
Commits on Nov 1, 2010
  1. Modified CollectionSerializerTests and CollectionSerializerGenericTes…

    rstam authored
    …ts to be as similar as possible. Added unit tests for serializing HashSet<T>.
  2. Consolidated collection serializers in CollectionSerializers.cs and C…

    rstam authored
    …ollectionSerializersGeneric.cs (and similarly for the unit tests). Added unit tests for more generic collection types.
  3. Split out generic version of EnumerableSerializer into its own file. …

    rstam authored
    …Added unit tests for EnumerableSerializer<T>.
  4. Moved handling of generic serializers up from BsonDefaultSerializer t…

    rstam authored
    …o BsonSerializer. It's a general enough mechanism that any serialization provider could choose to use it.
  5. Renamed BsonDefaultSerializationProvider to BsonDefaultSerializer (no…

    rstam authored
    … change in design, just using a shorter name based on what it is rather than what interface it implements).
  6. Implemented StackSerializer.

    rstam authored
  7. Implemented QueueSerializer. Added EnumerableSerializerRegistration a…

    rstam authored
    …nd QueueSerializerRegistration and modified BsonDefaultSerializationProvider to find registration methods for generic serializer definitions.
  8. Added support for Guid primitive type to EnumerableSerializer. Change…

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

    rstam authored
    …alizer definition. Created a way to register and lookup generic serializer definitions and to instantiate closed generic serializers at runtime.
  10. Implemented EnumerableSerializer (serializes ArrayList, IEnumerable, …

    rstam authored
    …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.
Commits on Oct 31, 2010
  1. Fixed CSHARP-88. All methods in MongoDatabase take and return plain c…

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

    rstam authored
    …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?.
Commits on Oct 30, 2010
  1. Implemented NullableTypeSerializer.

    rstam authored
  2. Added no-argument constructor to BsonDiscriminatorAttribute. Modified…

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

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

    rstam authored
    …iver into testn-largeinsert
  5. Minor formatting and tweaking changes.

    rstam authored
  6. Merge branch 'perf2' of http://github.com/testn/mongo-csharp-driver i…

    rstam authored
    …nto testn-perf2
  7. testn

    improve bson reader performance

    testn authored
  8. Added new BsonSerializationOptionsAttribute which serves as the base …

    rstam authored
    …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).
  9. testn

    - fix large message

    testn authored
    - make the default message size compat with 1.6 branch
Something went wrong with that request. Please try again.