12 Commits (9e15bfdab4700b80d8b27c14caeefbb2ce33e332)

Author SHA1 Message Date
rstam 9e15bfdab4 Fixed CSHARP-258. Added FixOldDateTimeMaxValueOnInput property to BsonBinaryReaderSettings and modified BsonBinaryReader to fix old DateTime.MaxValues on input if FixOldDateTimeMaxValueOnInput is true. 14 years ago
rstam 53dcc56e57 These changes mirror the changes made yesterday to the BsonWriters. Consolidated BsonBaseReader into BsonReader. Added abstract base class BsonReaderSettings to hold settings common to all readers. 14 years ago
rstam 5bf6b376b0 Replaced GuidByteOrder with GuidRepresentation. Binary sub type 3 is now called UuidLegacy, and a new sub type 4 called Uuid is introduced to represent UUIDs stored in a well defined network byte order. Sub type 3 represents legacy UUIDs stored in a driver dependent byte order. The lowest level at which the GuidRepresentation can be configured is the collection. This is a breaking change from some code because the value of BsonBinarySubType Uuid changed from 3 to 4. 14 years ago
rstam 99123333a1 Delayed creation of default settings objects so that they are created with the latest lower level default values. Moved GuidByteOrder to its own file. MongoDefaults that have matching BsonDefaults are now aliases for the corresponding BsonDefaults (that way the values are always the same). 14 years ago
rstam ddc1db0829 Refactored how GuidByteOrder is configured and handled. Instead of allowing it to be configured at the individual property level (which was a pain), it is now configured at the server, database and collection levels. This introduces the restriction that all Guids in the same collection must use the same GuidByteOrder, but this restriction should actually help keep things sane and manageable. 14 years ago
rstam fed330f5d4 Worked on the wording of hundreds of exception messages. Things like turning them into complete sentences that end in a period and adding relevant values when they are helpful. 14 years ago
rstam 194665c743 Added doc comments to BsonReader and related classes. 15 years ago
rstam 3c436366fb Added the remaining doc comments to the BsonDocument object model classes (as well as few more here and there). 15 years ago
rstam 0421ac4cb8 Added Clone method to classes that have Freeze. 15 years ago
rstam 1d6e9a9c0c Added Freeze method to BsonBinaryReaderSettings, BsonBinaryWriterSettings and JsonWriterSettings. Made small changes throughout so that Freeze method is used consistently. 15 years ago
rstam b552f5e394 Updated copyright notices. 15 years ago
rstam 3900d3f0db Renamed MongoDB.BsonLibrary namespace to MongoDB.Bson and MongoDB.CSharpDriver to MongoDB.Driver (Library was redundant and VB users might not want to see CSharp in the namespace). Renamed Bson static class BsonConstants (because it a class can't have the same name as the namespace it is in). 15 years ago
rstam 9bba46ecea Moved BsonLibrary and BsonLibraryUnitTests projects into the C# driver repository as suggested by Justin Dearing (it was awkward to have the C# driver split across two repositories). 15 years ago