1 2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
2 * Stack.cs: Contains (null) works correctly.
4 2003-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
6 * Stack.cs: fixed Clone ().
8 2003-06-04 Ben Maurer <bmaurer@users.sourceforge.net>
9 * DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
12 2003-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
14 * ArrayList.cs: nullify the array in Clear ().
15 * Queue.cs: nullify the array in Dequeue ().
16 * Stack.cs: nullify the array in Pop ().
18 2003-06-02 Ben Maurer <bmaurer@users.sourceforge.net>
19 * Queue.cs: Added argument checking in constructors according to
20 specs. Also changed default size to 32 as required by the specs.
22 2003-05-31 Ben Maurer <bmaurer@users.sourceforge.net>
23 * BitArray.cs: Rewrote, as it was failing most of the Rotor
24 tests. It now passes them 100%. Also fixes bug #43667.
26 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
28 Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.
30 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
32 Added methods to support IList wrappers
34 2003-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
36 * ArrayList.cs: patch from bernard@ugsolutions.com (Bernie Solomon)
37 that fixes bug #41684.
39 2003-04-15 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
41 * CaseInsensitiveComparerTest.cs: Fixed Compare Method (now works
42 like MS.NET) and implemented the
43 CaseInsensitiveComparerTest(culture) constructor.
45 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
47 * Queue.cs: fixed bug #39046.
49 2003-02-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
51 * Hashtable.cs: Make hashtable serializable (at least with binary
52 formatter). This process was started by the Hashtable maintainer.
54 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
56 * ArrayList.cs: fixed setSize (!).
58 2003-01-31 Zoltan Varga <vargaz@freemail.hu>
60 * ArrayList.cs (RemoveAt): duplicated the the code from RemoveRange
61 here, since RemoveAt raises a different exception than RemoveRange
62 when the index is out-of-range. Fixes the ArrayList unit tests.
64 * ArrayList.cs (RemoveRange): fixed indentation.
66 2003-01-12 Varga Zoltan <vargaz@freemail.hu>
68 * ArrayList.cs (RemoveRange): Patch for allowing zero-size
69 removal at the end of a list. It also cleans up the argument
70 checking code so the raised exceptions have the same message as
73 2003-01-10 Duncan Mak <duncan@ximian.com>
75 * ArrayList.cs (Insert): Patch from Zoltan
76 (Zoltan.2.Varga@nokia.com).
78 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
80 * Hashtable.cs: add the key to the error message when
83 2002-10-15 Vladimir Vukicevic <vladimir@pobox.com>
85 * Queue.cs: update new capacity in grow(), preventing queue from
86 constantly looping over old elements in Dequeue(). Also use
87 capacity instead of contents.Length in Enqueue().
89 2002-09-24 Nick Drochak <ndrochak@gol.com>
91 * ArrayList.cs: Make enumerator throw exception if the ArrayList is
92 mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
93 this was passed as parameter.
95 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
97 * ArrayList.cs: fixed bug #29658.
99 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * CaseInsensitiveComparer.cs:
104 * CaseInsensitiveHashCodeProvider.cs:
106 * Queue.cs: misc. fixes based on class status page.
108 2002-07-22 Tim Coleman <tim@timcoleman.com>
109 * CaseInsensitiveHashCodeProvider.cs: Added missing constructor
110 which was breaking System.Web build on linux
112 2002-07-05 Sergey Chaban <serge@wildwestsoftware.com>
114 * SortedList.cs: Implemented thread-safe wrapper. Changed some
117 2002-07-02 Nick Drochak <ndrochak@gol.com>
119 * SortedList.cs: Constructors should use the capacity given regardless
120 how small. After a Clear() the Capacit should be 16. Since a Dictionary
121 might be used in the constructor, make sure we trap exceptions thrown
122 by the Comparer, like in Add().
124 2002-06-30 Nick Drochak <ndrochak@gol.com>
126 * SortedList.cs: Many fixed. A lot of checking for null and throwing
127 exceptions. A few logic bugs fixed as well
129 2002-06-25 Nick Drochak <ndrochak@gol.com>
131 * Queue.cs (CopyTo): Fix logic for copying the circular array.
132 (Enqueue): Use actual length of array to determine when to grow
133 (QueueEnumerator) Fixed Current to use array length, not capacity, and
134 fixed off-by-one errror in MoveNext().
136 Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
138 * ArrayList.cs: fixed RemoveAt() implementation.
140 2002-05-27 Nick Drochak <ndrochak@gol.com>
142 * ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
143 fix check of parameters sent to make sure we don't search beyond the
144 beginning of the list.
145 (ListWrapper): Throw exception if called with null.
146 We now pass all unit tests.
148 2002-05-23 Duncan Mak <duncan@ximian.com>
150 * ArrayList.cs (Wrapper): Preliminary implementation of
151 ArrayList.Wrapper (IList).
153 2002-05-22 Martin Baulig <martin@gnome.org>
155 * ArrayList.cs: Made count, capacity and dataArray the first three
156 fields in the class. They're read by the reflection library.
158 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
160 * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
161 thereby causing problems when trying to add elements.
163 2002-05-06 Duncan Mak <duncan@ximian.com>
165 * Queue.cs (TrimToSize): Implemented.
167 2002-05-05 Nick Drochak <ndrochak@gol.com>
169 * ArrayList.cs: Throw RankException when constructing from a
170 multi-dimensional array. Confirmed behavior from MS.NET
172 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
174 * ArrayList.cs: make mcs compile again: it's allowed to
175 call arraylist.CopyTo(array, 0) when the length of the array
178 Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
180 * SortedList.cs: fix RemoveAt () to use the correct length in
183 2002-05-01 Nick Drochak <ndrochak@gol.com>
185 * ArrayList.cs (Add & AddRange) : Throw exceptions where needed.
187 2002/05/01 Nick Drochak <ndrochak@gol.com>
189 * ArrayList.cs (CopyTo) : Check parameters and throw exceptions
192 2002/04/30 Nick Drochak <ndrochak@gol.com>
194 * ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
195 (InsertRange) : Implement.
196 (SetRange) : Implement.
198 2002-04-30 Nick Drochak <ndrochak@gol.com>
200 * ArrayList.cs (TrimToSize) : Implement.
202 2002-04-28 Duncan Mak <duncan@ximian.com>
204 * ArrayList.cs (InsertRange):
207 (TrimToSize): Throw exceptions where needed.
209 2002-04-29 Nick Drochak <ndrochak@gol.com>
211 * Hashtable.cs (CopyTo): Throw exceptions where needed.
213 2002-04-28 Duncan Mak <duncan@ximian.com>
215 * ArrayList.cs (ReadOnly):
216 (IList.ReadOnly): Implemented.
219 (IList.Synchronized): Implemented.
222 (IList.FixedSize): Implemented.
224 2002-03-24 Duncan Mak <duncan@ximian.com>
226 * SortedList.cs (Synchronized): Stubbed out a missing method
227 pointed out by Jakk Simm's test suite.
229 2002-03-14 Nick Drochak <ndrochak@gol.com>
231 * ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
232 other FixedSize() methods returns an IList.
234 2002-03-13 Duncan Mak <duncan@ximian.com>
236 * ArrayList.cs (FixedSize): Changed the return type to IList if
237 the argument is an IList.
238 (Synchronized): Ditto here.
240 2002-03-08 Sergey Chaban <serge@wildwestsoftware.com>
242 * Hashtable.cs: Fixed ToPrime () bug. Removed ALLOC_GRAIN.
243 Removed unused code from static constructor.
244 GetObjectData () - Version is the same as modificationCount.
246 2002-02-20 Nick Drochak <ndrochak@gol.com>
248 * ArrayList.cs: Add MonoTODO's where necessary. Fix bugs discovered
249 by Bucky's tests. Implement a couple of things that were left undone.
251 Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <lupus@ximian.com>
253 * ArrayList.cs: Dick's fix to contructor.
255 2002-02-07 Duncan Mak <duncan@ximian.com>
257 * Hashtable.cs: Implemented parts of the ISerializable
258 interface. GetObjectData () is good, but serialization constructor
259 needs some more love.
261 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <lupus@ximian.com>
263 * Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.
265 2002-01-04 Ravi Pratap <ravi@ximian.com>
267 * Correct name to MonoTODO everywhere.
269 2002-01-04 Ravi Pratap <ravi@ximian.com>
271 * ArrayList.cs : Setting an index does not implicitly
272 extend the arraylist : remove FIXME.
274 Decorate incomplete elements with the TODO attribute.
276 * BitArray.cs : Insert TODO attributes where appropriate.
278 * CaseInsensitiveHashcodeProvider.cs: Ditto.
280 * Hashtable.cs, SortedList.cs : Ditto.
282 Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <lupus@ximian.com>
284 * ArrayList.cs: implemented AddRange(), CopyTo().
286 2001-11-19 Miguel de Icaza <miguel@ximian.com>
288 * DictionaryBase.cs: Implemented.
290 Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <lupus@ximian.com>
292 * ArrayList.cs: implement ArrayListEnumerator.
293 * Hashtable.cs: hardcode the prime number table.
295 2001-11-06 Nick Drochak <ndrochak@gol.com>
296 * Queue.cs: Fixes from Ricardardo. QueueTest also updated.
298 2001-11-04 Nick Drochak <ndrochak@gol.com>
299 * Queue.cs: Fixed small syntax errors that were preventing the compile.
300 I changed the build file to include Queue.cs as well.
302 2001-11-04 Nick Drochak <ndrochak@gol.com>
303 * ArrayList.cs: Fixed "off by one" error when shifting left the array when
306 * CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
307 hook methods to the RemoveAt() method.
309 2001-11-04 Nick Drochak <ndrochak@gol.com>
310 * ArrayList.cs: Added private enumerator class and make GetEnumerator()
311 methods return an instance of it.
313 Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
315 * ArrayList.cs: fix Insert () to check capacity, not count.
317 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
319 * DictionaryEntry.cs: added.
321 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
323 * common.src: removed duplicate entries
325 2001-08-08 Nick Drochak <ndrochak@gol.com>
327 * ReadOnlyCollectionBase.cs: Initialized private member.
328 * CollectionBase.cs: Initialized private member.
329 * common.src : Added ReadOnlyCollectionBase.cs and CollectionBase.cs
330 * /mcs/class/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
331 * /mcs/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
333 2001-08-08 Nick Drochak <nick@jobdragon.com>
335 * CollectionBase.cs: Add
336 * ReadOnlyCollectionBase.cs: Add
337 * CollectionBaseTest.cs: Add
338 * ReadOnlyCollectionBaseTest.cs: Add
340 2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>
342 * StackTest.cs: Add Test case for System.Collections.Stack.
343 Contributed by Chris Hynes <chrish@assistedsolutions.com>
345 2001-07-30 Garrett Rooney <rooneg@electricjellyfish.net>
347 * Stack.cs: Clone() doesn't need to check if it's synchronized, since
348 we override it in SyncStack anyway...
350 * Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
351 avoid using massive amounts of memory that are not necessary. We only
352 drop to half the current size, which I hope will avoid the 'ping-pong'
355 * Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
356 instead of just returning false, since we may have a ReadOnly wrapper
357 in the future (although i can't imagine why). Thanks to David
358 Menestrina <dmenest@yahoo.com> for pointing this out.
360 2001-07-23 Sergey Chaban <serge@wildwestsoftware.com>
362 * Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
363 From now, Clear() increases modification count.
364 Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
365 instead of hcp.GetHashCode(key). This was resulted in the
366 insanely long lookup times when HashCodeProvider was used to
367 construct Hashtable. Added thread-safe wrapper.
369 2001-07-16 David Menestrina <dmenest@yahoo.com>
372 * BitArrayTest.cs: Add
374 2001-07-18 Miguel de Icaza <miguel@ximian.com>
376 * IDictionary.cs (Collections): IDictionary implements ICollection
377 as well. Thanks Sergey!
379 2001-07-18 Garrett Rooney <rooneg@electricjellyfish.net>
381 * Stack.cs Removed unnecessary locking from many methods of
382 SyncStack, removed SyncEnumerator because it was unnecessary,
383 added a modCount member to Stack and Stack.Enumerator, to
384 ensure that the Stack has not been modified out form under the
385 Enumerator, and changed the Enumerator to use a reference to the
386 stack rather than copying over the contents array.
388 2001-07-17 David Menestrina <dmenest@yahoo.com>
390 * Added implementation of BitArray.
392 2001-07-17 Miguel de Icaza <miguel@ximian.com>
394 * Hashtable.cs: Removed call to d.Count in the Hashtable
395 constructor that takes an IDictionary as IDictionary does not
396 provide a Count field.
398 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
400 * IDictionary.cs: Clear was clear.
402 2001-07-13 Miguel de Icaza <miguel@ximian.com>
404 * All files: Renamespace things to System.
406 2001-07-05 Vladimir Vukicevic <vladimir@ximian.com>
408 * ArrayList.cs: initial checkin and implementation
410 * ICollection.cs, IComprarer.cs, IDictionary.cs,
411 IDictionaryEnumerator.cs, IEnumerable.cs, IHashCodeProvider.cs,
412 IList.cs: initial checkin