1 2002-10-15 Vladimir Vukicevic <vladimir@pobox.com>
3 * Queue.cs: update new capacity in grow(), preventing queue from
4 constantly looping over old elements in Dequeue(). Also use
5 capacity instead of contents.Length in Enqueue().
7 2002-09-24 Nick Drochak <ndrochak@gol.com>
9 * ArrayList.cs: Make enumerator throw exception if the ArrayList is
10 mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
11 this was passed as parameter.
13 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
15 * ArrayList.cs: fixed bug #29658.
17 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
21 * CaseInsensitiveComparer.cs:
22 * CaseInsensitiveHashCodeProvider.cs:
24 * Queue.cs: misc. fixes based on class status page.
26 2002-07-22 Tim Coleman <tim@timcoleman.com>
27 * CaseInsensitiveHashCodeProvider.cs: Added missing constructor
28 which was breaking System.Web build on linux
30 2002-07-05 Sergey Chaban <serge@wildwestsoftware.com>
32 * SortedList.cs: Implemented thread-safe wrapper. Changed some
35 2002-07-02 Nick Drochak <ndrochak@gol.com>
37 * SortedList.cs: Constructors should use the capacity given regardless
38 how small. After a Clear() the Capacit should be 16. Since a Dictionary
39 might be used in the constructor, make sure we trap exceptions thrown
40 by the Comparer, like in Add().
42 2002-06-30 Nick Drochak <ndrochak@gol.com>
44 * SortedList.cs: Many fixed. A lot of checking for null and throwing
45 exceptions. A few logic bugs fixed as well
47 2002-06-25 Nick Drochak <ndrochak@gol.com>
49 * Queue.cs (CopyTo): Fix logic for copying the circular array.
50 (Enqueue): Use actual length of array to determine when to grow
51 (QueueEnumerator) Fixed Current to use array length, not capacity, and
52 fixed off-by-one errror in MoveNext().
54 Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
56 * ArrayList.cs: fixed RemoveAt() implementation.
58 2002-05-27 Nick Drochak <ndrochak@gol.com>
60 * ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
61 fix check of parameters sent to make sure we don't search beyond the
62 beginning of the list.
63 (ListWrapper): Throw exception if called with null.
64 We now pass all unit tests.
66 2002-05-23 Duncan Mak <duncan@ximian.com>
68 * ArrayList.cs (Wrapper): Preliminary implementation of
69 ArrayList.Wrapper (IList).
71 2002-05-22 Martin Baulig <martin@gnome.org>
73 * ArrayList.cs: Made count, capacity and dataArray the first three
74 fields in the class. They're read by the reflection library.
76 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
78 * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
79 thereby causing problems when trying to add elements.
81 2002-05-06 Duncan Mak <duncan@ximian.com>
83 * Queue.cs (TrimToSize): Implemented.
85 2002-05-05 Nick Drochak <ndrochak@gol.com>
87 * ArrayList.cs: Throw RankException when constructing from a
88 multi-dimensional array. Confirmed behavior from MS.NET
90 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
92 * ArrayList.cs: make mcs compile again: it's allowed to
93 call arraylist.CopyTo(array, 0) when the length of the array
96 Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
98 * SortedList.cs: fix RemoveAt () to use the correct length in
101 2002-05-01 Nick Drochak <ndrochak@gol.com>
103 * ArrayList.cs (Add & AddRange) : Throw exceptions where needed.
105 2002/05/01 Nick Drochak <ndrochak@gol.com>
107 * ArrayList.cs (CopyTo) : Check parameters and throw exceptions
110 2002/04/30 Nick Drochak <ndrochak@gol.com>
112 * ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
113 (InsertRange) : Implement.
114 (SetRange) : Implement.
116 2002-04-30 Nick Drochak <ndrochak@gol.com>
118 * ArrayList.cs (TrimToSize) : Implement.
120 2002-04-28 Duncan Mak <duncan@ximian.com>
122 * ArrayList.cs (InsertRange):
125 (TrimToSize): Throw exceptions where needed.
127 2002-04-29 Nick Drochak <ndrochak@gol.com>
129 * Hashtable.cs (CopyTo): Throw exceptions where needed.
131 2002-04-28 Duncan Mak <duncan@ximian.com>
133 * ArrayList.cs (ReadOnly):
134 (IList.ReadOnly): Implemented.
137 (IList.Synchronized): Implemented.
140 (IList.FixedSize): Implemented.
142 2002-03-24 Duncan Mak <duncan@ximian.com>
144 * SortedList.cs (Synchronized): Stubbed out a missing method
145 pointed out by Jakk Simm's test suite.
147 2002-03-14 Nick Drochak <ndrochak@gol.com>
149 * ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
150 other FixedSize() methods returns an IList.
152 2002-03-13 Duncan Mak <duncan@ximian.com>
154 * ArrayList.cs (FixedSize): Changed the return type to IList if
155 the argument is an IList.
156 (Synchronized): Ditto here.
158 2002-03-08 Sergey Chaban <serge@wildwestsoftware.com>
160 * Hashtable.cs: Fixed ToPrime () bug. Removed ALLOC_GRAIN.
161 Removed unused code from static constructor.
162 GetObjectData () - Version is the same as modificationCount.
164 2002-02-20 Nick Drochak <ndrochak@gol.com>
166 * ArrayList.cs: Add MonoTODO's where necessary. Fix bugs discovered
167 by Bucky's tests. Implement a couple of things that were left undone.
169 Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <lupus@ximian.com>
171 * ArrayList.cs: Dick's fix to contructor.
173 2002-02-07 Duncan Mak <duncan@ximian.com>
175 * Hashtable.cs: Implemented parts of the ISerializable
176 interface. GetObjectData () is good, but serialization constructor
177 needs some more love.
179 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <lupus@ximian.com>
181 * Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.
183 2002-01-04 Ravi Pratap <ravi@ximian.com>
185 * Correct name to MonoTODO everywhere.
187 2002-01-04 Ravi Pratap <ravi@ximian.com>
189 * ArrayList.cs : Setting an index does not implicitly
190 extend the arraylist : remove FIXME.
192 Decorate incomplete elements with the TODO attribute.
194 * BitArray.cs : Insert TODO attributes where appropriate.
196 * CaseInsensitiveHashcodeProvider.cs: Ditto.
198 * Hashtable.cs, SortedList.cs : Ditto.
200 Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <lupus@ximian.com>
202 * ArrayList.cs: implemented AddRange(), CopyTo().
204 2001-11-19 Miguel de Icaza <miguel@ximian.com>
206 * DictionaryBase.cs: Implemented.
208 Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <lupus@ximian.com>
210 * ArrayList.cs: implement ArrayListEnumerator.
211 * Hashtable.cs: hardcode the prime number table.
213 2001-11-06 Nick Drochak <ndrochak@gol.com>
214 * Queue.cs: Fixes from Ricardardo. QueueTest also updated.
216 2001-11-04 Nick Drochak <ndrochak@gol.com>
217 * Queue.cs: Fixed small syntax errors that were preventing the compile.
218 I changed the build file to include Queue.cs as well.
220 2001-11-04 Nick Drochak <ndrochak@gol.com>
221 * ArrayList.cs: Fixed "off by one" error when shifting left the array when
224 * CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
225 hook methods to the RemoveAt() method.
227 2001-11-04 Nick Drochak <ndrochak@gol.com>
228 * ArrayList.cs: Added private enumerator class and make GetEnumerator()
229 methods return an instance of it.
231 Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
233 * ArrayList.cs: fix Insert () to check capacity, not count.
235 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
237 * DictionaryEntry.cs: added.
239 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
241 * common.src: removed duplicate entries
243 2001-08-08 Nick Drochak <ndrochak@gol.com>
245 * ReadOnlyCollectionBase.cs: Initialized private member.
246 * CollectionBase.cs: Initialized private member.
247 * common.src : Added ReadOnlyCollectionBase.cs and CollectionBase.cs
248 * /mcs/class/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
249 * /mcs/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
251 2001-08-08 Nick Drochak <nick@jobdragon.com>
253 * CollectionBase.cs: Add
254 * ReadOnlyCollectionBase.cs: Add
255 * CollectionBaseTest.cs: Add
256 * ReadOnlyCollectionBaseTest.cs: Add
258 2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>
260 * StackTest.cs: Add Test case for System.Collections.Stack.
261 Contributed by Chris Hynes <chrish@assistedsolutions.com>
263 2001-07-30 Garrett Rooney <rooneg@electricjellyfish.net>
265 * Stack.cs: Clone() doesn't need to check if it's synchronized, since
266 we override it in SyncStack anyway...
268 * Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
269 avoid using massive amounts of memory that are not necessary. We only
270 drop to half the current size, which I hope will avoid the 'ping-pong'
273 * Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
274 instead of just returning false, since we may have a ReadOnly wrapper
275 in the future (although i can't imagine why). Thanks to David
276 Menestrina <dmenest@yahoo.com> for pointing this out.
278 2001-07-23 Sergey Chaban <serge@wildwestsoftware.com>
280 * Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
281 From now, Clear() increases modification count.
282 Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
283 instead of hcp.GetHashCode(key). This was resulted in the
284 insanely long lookup times when HashCodeProvider was used to
285 construct Hashtable. Added thread-safe wrapper.
287 2001-07-16 David Menestrina <dmenest@yahoo.com>
290 * BitArrayTest.cs: Add
292 2001-07-18 Miguel de Icaza <miguel@ximian.com>
294 * IDictionary.cs (Collections): IDictionary implements ICollection
295 as well. Thanks Sergey!
297 2001-07-18 Garrett Rooney <rooneg@electricjellyfish.net>
299 * Stack.cs Removed unnecessary locking from many methods of
300 SyncStack, removed SyncEnumerator because it was unnecessary,
301 added a modCount member to Stack and Stack.Enumerator, to
302 ensure that the Stack has not been modified out form under the
303 Enumerator, and changed the Enumerator to use a reference to the
304 stack rather than copying over the contents array.
306 2001-07-17 David Menestrina <dmenest@yahoo.com>
308 * Added implementation of BitArray.
310 2001-07-17 Miguel de Icaza <miguel@ximian.com>
312 * Hashtable.cs: Removed call to d.Count in the Hashtable
313 constructor that takes an IDictionary as IDictionary does not
314 provide a Count field.
316 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
318 * IDictionary.cs: Clear was clear.
320 2001-07-13 Miguel de Icaza <miguel@ximian.com>
322 * All files: Renamespace things to System.
324 2001-07-05 Vladimir Vukicevic <vladimir@ximian.com>
326 * ArrayList.cs: initial checkin and implementation
328 * ICollection.cs, IComprarer.cs, IDictionary.cs,
329 IDictionaryEnumerator.cs, IEnumerable.cs, IHashCodeProvider.cs,
330 IList.cs: initial checkin