Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git] / mcs / class / System / System.Collections.Specialized / ChangeLog
1 2008-09-09  Scott Peterson  <lunchtimemama@gmail.com>
2
3         * BitVector32.cs: Minor fixes. Simplified Section.ToString and
4         GetHashCode, and BitVector32.Equals.
5
6 2008-08-06  Scott Peterson  <lunchtimemama@gmail.com>
7
8         * BitVector32.cs: Fixed a bug which allowed for invalid sections
9         to be created with CreateSection. Also simplified HighestSetBit
10         algorithm and got rid ofNumberOfSetBits (using HighestSetBit
11         works just fine).
12
13 2008-07-31  Jb Evain  <jbevain@novell.com>
14
15         * StringDictionary.cs: remove ComponentModel bits for NET_2_1.
16
17 2008-04-13  Jb Evain  <jbevain@novell.com>
18
19         * CollectionsUtil.cs: internalize for the 2.1 profile.
20         Merged from the Moonlight 2 branch.
21
22 2008-01-07  Juraj Skripsky <js@hotfeet.ch>
23
24         * NameObjectCollectionBase.cs: Add argument checking in CopyTo,
25         replace use of enumerator by for-loop. Check IsReadOnly in BaseSet()
26         only on the 2.0 profile.
27
28 2007-04-29  Ilya Kharmatsky <ilyak@mainsoft.com>
29
30         * NameValueCollection.cs: Proper exception handling in several
31         constructors and CopyTo method, under NET_2_0 target.
32
33 2007-04-15  Marek Safar  <marek.safar@gmail.com>
34
35         * ListDictionary: Removed not used variable.
36
37 2007-03-27  Alan McGovern  <alan.mcgovern@gmail.com>
38
39         * BitVector32.cs: Bugfix for op_inequality.
40
41 2007-01-18  Konstantin Triger  <kostat@mainsoft.com>
42
43         * OrderedDictionary.cs: use IEqualityComparer for key comparison.
44
45 2006-10-03  Andrew Skiba  <andrews@mainsoft.com>
46
47         * ListDictionary.cs: remove unnecessary out parameter
48
49 2006-10-02  Gert Driesen  <drieseng@users.sourceforge.net>
50
51         * CollectionsUtil.cs: Set eol-style to CRLF.
52         * StringDictionary.cs: Fixed line endings. Set eol-style to CRLF.
53         * StringEnumerator.cs: Set eol-style to CRLF.
54         * OrderDictionary.cs: Set eol-style to CRLF.
55
56 2006-09-30  Gert Driesen  <drieseng@users.sourceforge.net>
57
58         * OrderedDictionary.cs: IsReadOnly, indexers, Keys and Values should
59         not be virtual.
60
61 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
62
63         * BitVector32.cs : oops those operators are for BitVector32.Section,
64           not BitVector32 itself.
65
66 2006-04-04  Atsushi Enomoto  <atsushi@ximian.com>
67
68         * BitVector32.cs : added operator== and != in 2.0.
69
70 2006-03-11  Miguel de Icaza  <miguel@novell.com>
71
72         * IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
73         avoid warning.
74
75 2005-11-30  Sebastien Pouliot  <sebastien@ximian.com> 
76  
77         * OrderedDictionary.cs: OnDeserialization is protected virtual (not 
78         private).
79
80 2005-11-30  Sebastien Pouliot  <sebastien@ximian.com>
81
82         * BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
83         * HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
84         * IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
85         * NameObjectCollectionBase.cs: Fixed 2.0 API changes and 
86         serialization.
87         * NameValueCollection.cs: Fixed 2.0 API changes.
88         * OrderedDictionary.cs: Fixed API changes, serialization and this[int]
89         setter.
90         * StringDictionary.cs: Added missing null checks.
91
92 2005-10-26  Raja R Harinath  <rharinath@novell.com>
93
94         * HybridDictionary.cs (is_list): Remove.
95         (inner): Remove 'set' accessor.
96         (HybridDictionary, Switch): Initialize 'list' and 'hashtable' directly.
97
98 2005-10-26  Svetlana Zholkovsky  <svetlanaz@mainsoft.com>
99
100         * NameObjectCollectionBase.cs
101       ListDictionary.cs
102       HybridDictionary.cs
103       Fix serialization compatibility with .NET
104
105 2005-09-01  Raja R Harinath  <rharinath@novell.com>
106
107         * NameValueCollection.cs (Add): Add a key from the other
108         collection even if its associated value list is empty.
109         Fix regression introduced by last change.
110
111 2005-08-30  Jackson Harper  <jackson@ximian.com>
112
113         * NameValueCollection.cs: Don't crash when we have empty
114         collections.
115
116 2005-08-19  Jb Evain  <jbevain@gmail.com>
117
118         * NameObjectCollectionBase (GetEnumerator):
119                 Use the virtual modifier only in 2.0 profile.
120
121 2005-08-03  Raja R Harinath  <rharinath@novell.com>
122
123         * ListDictionary.cs: Rewrite to reduce key comparison overhead.
124         Unify all list traversals into FindEntry.
125         (AreEqual): Remove.
126         (FindEntry): Split into two duplicate loops, one when comparer ==
127         null, the other when it isn't.  Add new out parameter that points
128         to the entry preceding the result.
129         (Add, AddImpl, this []): Update.
130         (Remove): Use FindEntry for traversal.
131         (CopyTo): Add more tests.
132         (ListEntryEnumerator): Simplify.
133         (ListEntryCollection, ListEntryCollectionEnumerator): Likewise.
134
135         * HybridDictionary.cs: Rewrite to avoid a test on each operation.
136         (list, hashtable): Remove.
137         (inner): New IDictionary field that can hold either a list
138         dictionary or a hashtable.
139         (is_list): New.  Notes whether 'inner' holds a list dictionary or not.
140         (Clear): Don't change a hashtable to a list dictionary.
141
142 2005-07-25  Lluis Sanchez Gual <lluis@novell.com>
143
144         * NameObjectCollectionBase.cs: Don't throw an exception in
145         OnDeserialization if infoCopy has not been set, which means that
146         the serialization constructor has not been called, because
147         a subclass may completely override that constructor.
148         This fixes bug #75607.
149
150 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
151
152         * ProcessStringDictionary.cs: PlatformID for 2.0.
153
154 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
155
156         * NameObjectCollectionBase.cs: after 1.0, this uses DefaultInvariant for
157         the hash code provider and comparer, as Ben said.
158
159 2005-05-05  Lluis Sanchez Gual <lluis@novell.com>
160
161         * OrderedDictionary.cs: Don't crash when removing an item
162         that is not in the dictionary.
163
164 2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
165
166         * ProcessStringDictionary.cs: on non-windows system, don't make the
167         hashtable case-insensitive. Fixes bug #74796.
168
169 2005-03-23  Lluis Sanchez Gual <lluis@novell.com>
170
171         * OrderedDictionary.cs: Fix bug in item setter.
172
173 2005-03-04  Lluis Sanchez Gual <lluis@novell.com>
174
175         * OrderedDictionary.cs: Implemented.
176
177 2004-08-16  Duncan Mak  <duncan@ximian.com>
178
179         * NameObjectCollectionBase.cs: Fix line endings. It's mostly in
180         DOS endings, so I left it at that.
181         (GetEnumerator): Made virtual.
182
183 2004-06-14  Sebastien Pouliot  <sebastien@ximian.com>
184
185         * HybridDictionary.cs: Fixed Contains for null argument (again). Return
186         false when dictionary is empty or else throw an ArgumentNullException.
187         * NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
188         completes a TODO and fix Remove in NameValueCollection.
189         * NameValueCollection.cs: Added missing Rank check in CopyTo (Array,
190         int).
191
192 2004-06-05  Sebastien Pouliot  <sebastien@ximian.com>
193
194         * HybridDictionary.cs: Fixed Contains for null argument.
195         * NameValueCollection.cs: Fixed Set to remove existing values. Fixed
196         Add(NVC) to throw same exception as MS implementation.
197
198 2004-05-24  Lluis Sanchez Gual  <lluis@ximian.com>
199
200         * StringCollection.cs: Renamed internal variable to make serialization
201           compatible with MS.NET.
202
203 2004-03-23  Gonzalo Paniagua Javier <gonzalo@ximian.com>
204
205         * ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
206         Jaros.
207
208 2004-03-15  Gonzalo Paniagua Javier <gonzalo@ximian.com>
209
210         * ProcessStringDictionary.cs: the same as StringDictionary, but
211         doesn't turn keys into lowercase.
212
213 2003-11-18  Todd Berman <tberman@gentoo.org>
214
215         * IOrderedDictionary.cs: new v2 interface
216
217 2003-10-21  Gonzalo Paniagua Javier <gonzalo@ximian.com>
218
219         * NameObjectCollectionBase.cs: added serialization support.
220
221 2003-09-04  Duncan Mak  <duncan@ximian.com>
222
223         Patches from Alon Gazit <along@mainsoft.com>.
224
225         * BitVector32.cs (CreateSection): Check that the new
226         calculated offset isn't more than 32 and not that the sum of the
227         new offset and the number of set bits is more than 32.
228         (this): Perform bitwise and with the complement of the mask
229         shifted version (~(section.Mask << section.Offset)) and not with
230         the shifted version of the mask's complement (~section.Mask <<
231         section.Offset).
232         (this): Currently doesn't return the correct value when the data
233         in the BitVector32 instance is negative.
234         
235         * ListDictionary.cs (CopyTo): If the array is null, it should
236         throw ArgumentNullException. If the index is less than 0, it
237         should throw ArgumentOutOfRangeException.
238         (Remove): Throw ArgumentNullException when the parameter is null.
239
240 2003-07-17  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
241
242         * StringDictionary.cs: Reworked attributes based on the new Consts scheme
243
244 2003-07-10  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
245
246         * NameObjectCollectionBase.cs: Implemented a few missing methods, fixed public signatures
247
248 2003-07-09  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
249
250         * NameObjectCollectionBase.cs: Fixed signature to be CLSCompliant, changed/corrected header
251         * StringCollection.cs: Improved implementation (should perform better)
252
253 2003-07-02  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
254
255         * BitVector32.cs: Implemented missing method
256         * NameValueCollection.cs: Fixed public signature, Styleguidelined header
257         * StringDictionary.cs: Added missing attribute, fixed visibilities
258
259 2003-06-08  Ben Maurer <bmaurer@users.sourceforge.net>
260         * StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
261         a few Rotor bugs.
262
263 2003-03-03  Miguel de Icaza  <miguel@ximian.com>
264
265         * NameValueCollection.cs: Uncoment constructor, an old MCS bug
266         prevented this from working.  Removed test for nullitude of col,
267         as it would have aborted anyways on the dereference in the base
268         constructor call. 
269
270 2003-01-12  Gonzalo Paniagua Javier <gonzalo@ximian.com>
271
272         * StringCollection.cs: fixed range checks in CopyTo.
273
274 2002-11-06  Daniel Stodden <stodden@in.tum.de>
275
276         * ListDictionary.cs:
277                 - Filled in missing CopyTo()s.
278                 - No, overwriting an entry should not change the Count <:)
279
280 2002-10-31  Gonzalo Paniagua Javier <gonzalo@ximian.com>
281
282         * NameValueCollection.cs: fixed Add (NameValueCollection).
283
284 2002-09-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
285
286         * StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
287         (mathpup@mylinuxisp.com).
288
289 2002-07-22  Tim Coleman <tim@timcoleman.com>
290         * NameObjectCollectionBase.cs: added iterator stubb to 
291                 NameObjectCollectionBase.KeysCollection
292
293 2002-07-05  Gonzalo Paniagua Javier <gonzalo@ximian.com>
294
295         * HybridDictionary.cs:
296         (Remove): fixed. The value is either in the list or in the hash.
297
298 2002-06-24  Andrew Birkett <adb@tardis.ed.ac.uk>
299
300         * BitVector32.cs: Implemented 'set' section indexer.  Check for
301         overly large sections.  Factored out some helper methods. 
302
303 2002-05-11  Lawrence Pit <loz@cable.a2000.nl>
304
305         * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
306
307 2002-05-10  Lawrence Pit <loz@cable.a2000.nl>
308
309         * HybridDictionary.cs: implemented
310         * CollectionsUtil.cs: implemented
311         * BitVector32.cs: implemeneted
312         * Modified signature of method ListDictionary.GetEnumerator 
313
314 Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <lupus@ximian.com>
315
316         * NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
317         it compile and provide the constructor needed by nunitcore.
318
319 2002-01-05  Ravi Pratap  <ravi@ximian.com>
320
321         * BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!
322
323         * NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.
324
325 2001-08-24  Nick Drochak  <ndrochak@gol.com>
326         * NameObjectCollectionBase.cs: Add stub implementation
327         * common.src: Add NameObjectCollectionBase to the build
328         * NameValueCollection.cs: add 'override' to CopyTo().  Maybe
329                 this code actually belongs in the superclass.
330
331 2001-08-24  Miguel de Icaza  <miguel@ximian.com>
332
333         * common.src: Add NameValueCollection.cs to the build
334
335 2001-08-22      John Barnette   <jbarn@httcb.net>
336         * StringDictionary.cs:
337                 Initial working implementation.
338         * ListDictionary.cs:
339                 Initial working implementation.
340
341 2001-07-17      John Barnette   <jbarn@httcb.net>
342         * StringCollection.cs:
343                 Implemented and working according to spec.
344         * StringIterator.cs:
345                 (ADDED) Implemented and working according to spec.
346         * StringCollectionTest.cs:
347                 (ADDED) Initial revision contains 17 tests; all of 'em
348                 run correctly.  More complicated tests to follow.
349
350 2001-07-15  Sean MacIsaac  <macisaac@ximian.com>
351
352         * StringCollection.cs: Added so that CodeDom.* would compile.
353