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