rstam
|
d7ce7f2ee5
|
Further work on CSHARP-257. Added Capacity property to BsonArray.
|
14 years ago |
rstam
|
ef3928b1bc
|
Implemented CSHARP-257 (at least partially?) by adding a new BsonArray constructor that lets the caller set the initial capacity of the BsonArray.
|
14 years ago |
rstam
|
2f4bfa6567
|
Implemented CSHARP-261 and CSHARP-262. JsonReader now supports more variants of Date constructors (with or without new). JsonWriter now writes "new" in front of Date as required by JavaScript.
|
14 years ago |
rstam
|
0a1371cfef
|
Implemented CSHARP-260. Modified JsonReader to support additional ways of representing regular expressions.
|
14 years ago |
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
|
444570736f
|
Further work on CSHARP-253 to allow CreateIndex to work with nested element names. CreateIndex calls Insert, so Insert has been modified to allow the caller to set CheckElementNames to false (see the new MongoInsertOptions class). While this was put in for CreateIndex, it also makes it possible for a developer to disable element name checking if necessary.
|
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
|
1738993e77
|
Implemented CSHARP-253. Check Insert, Update and FindAndModify documents for invalid element names. Added CheckElementNames and CheckUpdateDocument properties to BsonWriter. Consolidated BsonBaseWriter into BsonWriter. Added new base BsonWriterSettings to hold settings common to all BsonWriters. Added unit tests for CSHARP-253.
|
14 years ago |
rstam
|
0f330c1cc6
|
Implemented CSHARP-247. It is now possible to deserialize a document to an interface provided the document contains a discriminator indicating the actual type.
|
14 years ago |
rstam
|
215cd5b38b
|
Merge branch 'master' of github.com:mongodb/mongo-csharp-driver
|
14 years ago |
sridharn
|
87a5a5b825
|
CSHARP-250. 1.1 nuget spec
|
14 years ago |
rstam
|
5b002bc7cf
|
Changed AssemblyVersion to 1.2.0.*.
|
14 years ago |
rstam
|
29f3acdb38
|
BUMP 1.1.0.4184.
|
14 years ago |
rstam
|
f4826c06da
|
Update release notes with UuidStandard instead of Uuid.
|
14 years ago |
rstam
|
c9f9a9b235
|
BsonBinarySubType enum no longer has a value Uuid (instead of just changing the value of Uuid from 3 to 4 we introduced two new names: UuidLegacy and UuidStandard). The reason is that it is better to get a compile time error if you have code that used the Uuid value than for it to compile correctly but with a new value of 4, which would almost certainly silently introduce bugs. If you used Uuid in the past you have to decide whether to use UuidLegacy or UuidStandard in the future.
|
14 years ago |
rstam
|
896666bda2
|
Changing setup project for version 1.1.
|
14 years ago |
rstam
|
8284c37696
|
Edits to the release notes.
|
14 years ago |
rstam
|
76521bc9af
|
Partial implementation of ConvertGuids utility. Minor edits of release notes.
|
14 years ago |
sridharn
|
4dd056a2f8
|
Some release note cleanup
|
14 years ago |
rstam
|
f799b3a0b2
|
First draft of version 1.1 release notes.
|
14 years ago |
rstam
|
cc4dc19330
|
Added Bit Diffusion Limited to list of contributors.
|
14 years ago |
rstam
|
9397560010
|
Implemented CSHARP-251. Added support for custom type mappers to BsonTypeMapper.
|
14 years ago |
rstam
|
64aa1ba2ac
|
Implemented CSHARP-216. Added support for nolock option to MongoDatabase.Eval.
|
14 years ago |
rstam
|
ccc1726690
|
Added guidRepresentation parameter to WriteBinaryData. Most writers end up ignoring it (for example, the BsonBinaryWriter ignores it because BSON has no place to store it), but BsonDocumentWriter uses it to preserve the GuidRepresentation of the BsonBinaryData in the resulting BsonDocument.
|
14 years ago |
rstam
|
4f47b0a69f
|
Implemented CSHARP-248. Added FindAllUsers and FindUser methods to MongoDatabase. Added new MongoUser class. Found a bunch of unit tests that weren't being run because they were missing the [Test] attribute.
|
14 years ago |
Justin Dearing
|
870c9e52ba
|
Fixes CSHARP-246 Added an overload of MongoDatabase.CreateCollection() that takes only the database name as a parameter
|
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
|
c78f6b3390
|
Fixed CSHARP-245. Added BuildInfo property to MongoServer and MongoServerInstance. The BuildInfo class contains a Version property that the failing unit tests use to check that the server being used supports the feature being tested (if not the test is skipped).
|
14 years ago |
rstam
|
cac500ef1d
|
Implemented CSHARP-243. Added support for mappping between new regex options and equivalent .NET Regex options.
|
14 years ago |
sridharn
|
4b2aad8698
|
Fix for CSharp-244. Fixed typo in unit test expected value
|
14 years ago |
rstam
|
6b2bf91e69
|
Implemented CSHARP-242, serialization support for IPAddress and IPEndPoint.
|
14 years ago |
rstam
|
14b2c0aa80
|
Fixed formatting of CSHARP-199 fix. Standardized unit tests.
|
14 years ago |
sridharn
|
a8f890e363
|
CSharp-199. Fixed broken test and added a new one
|
14 years ago |
sridharn
|
0ca2436837
|
Fix for CSHARP-199. Chaining of updates
|
14 years ago |
rstam
|
3108b605a9
|
Only set SlaveOk to false in CommandCollectionSettings if ConnectionMode is ReplicaSet. GetServerInstance just returns the one and only instance unless ConnectionMode is ReplicaSet.
|
14 years ago |
rstam
|
15fb7bb3a7
|
Minor fixes.
|
14 years ago |
rstam
|
d66802746a
|
Fixed CSHARP-225. ReplicaSetConnector.Connect now makes sure that the serverInstance it identifies as primary was connected to using the official replica set configured host name for that server. Also fixed a NullReferenceException in MongoServerInstance.Disconnet.
|
14 years ago |
rstam
|
a987171606
|
Minor change related to CSHARP-225. Replaces a NullReferenceException (which is never a good exception) with a MongoConnectionException with the message "Primary server not found". Doesn't fix CSHARP-255, but gives a better exception.
|
14 years ago |
rstam
|
1d2b1b9d8f
|
Fixed CSHARP-204. The patch supplied with the bug report made sense to me. Thanks to Miguel Pilar for the patch.
|
14 years ago |
rstam
|
acab8e1ecc
|
Added unit test for CSHARP-239. Was unable to reproduce.
|
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
|
5d9d37bb49
|
Added support for new JavaHistorical GuidByteOrder.
|
14 years ago |
rstam
|
dc4454d4b4
|
Fixed CSHARP-238. Non-string Dictionary keys (and values) no longer have a redundant "_t" element (but will if they're needed of course).
|
14 years ago |
rstam
|
82ce5122d1
|
Implemented CSHARP-234. GenerateId now takes two parameters: container and document. When called from the C# driver the container argument will be a MongoCollection.
|
14 years ago |
rstam
|
654277eb7e
|
Implemented CSHARP-235. MongoDatabase.DropCollection and MongoCollection.Drop no longer throw an exception if the collection does not exist. If the caller needs to know whether the collection actually existed they can examine the Ok property of the CommandResult (or call MongoDatabase.CollectionExists or MongoCollection.Exists beforehand).
|
14 years ago |
rstam
|
89251fcf16
|
Worked on the wording of more exception messages, this time in the Driver project.
|
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
|
a32abf4cb8
|
Added MaxServerCount and ServerCount properties to MongoServer. Modified MongoServer.Create to throw an exception if more than MaxServerCount servers would be created. Added UnregisterServer method to MongoServer (would only be used if client program is talking to many servers but not all at once).
|
14 years ago |
rstam
|
03f61bb5e8
|
Since MongoCursorEnumerator is now public I moved it from the Internal folder to the Core folder.
|
14 years ago |