1 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
3 * Hashtable.cs: Add net 2.0 ReliabilityContractAttributes.
5 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
7 * SortedList.cs, Stack.cs: Reverse the order in the Equals calls.
9 2004-12-21 Ben Maurer <bmaurer@ximian.com>
11 * Hashtable.cs (get_Item): duplicate Find here, as we can
12 specialize a few things. This gives me 7% back.
13 (Find) Use break rather than return -1. Saves a bit of code.
15 * Hashtable.cs (GetHash): Avoid a method call. Also, don't store
16 the this.hcpRef in a variable. This will create another register
17 which must be pushed on the stack. It is better to just reference
18 the variable again. hcpRef.GetHashCode (key) is the slow path
19 anyways, so an extra variable reference here doesn't hurt
22 This gives me a few % back in a raw benchmark.
24 2004-12-20 Ben Maurer <bmaurer@ximian.com>
26 * Hashtable.cs (Find): Some minor optimizations here.
28 * Hashtable.cs: Remove GetImpl and inline it.
30 * Hashtable.cs (Find): Before calling KeyEquals, check to see if k
31 == key (ie, they are the same pointer). In many cases, this will
32 avoid two virtual calls. This gives me 1% on mcs bootstrap (!!!!)
34 * Hashtable.cs (Find): Make `i' a uint rather than an int. This
35 avoids having a long compare.
37 2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
39 * Hashtable.cs: Check for null serialization info in OnDeserialization.
40 A hashtable subclass can fully override the constructor, so
41 serializationInfo would be null in this case. Fixes bug #70698.
43 2004-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
45 * ArrayList.cs: don't initialize _items twice. Closes bug #70620.
47 2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
49 * Hashtable.cs: Add deserialized elements in OnDeserialization, since
50 when the serialization constructor is called, some of the elements
51 may not yet be fully deserialized. This fixes bug #70570.
53 2004-10-08 Raja R Harinath <rharinath@novell.com>
55 * CaseInsensitiveHashCodeProvider.cs (GetHashCode): When culture
56 is not invariant, avoid an icall on every character.
58 2004-07-21 Geoff Norton <gnorton@customerdna.com>
60 * Hashtable.cs: lock the SyncRoot when Cloning a Synchronized hashtable to avoid
61 a snapshot out of sync error.
63 2004-07-21 Duncan Mak <duncan@ximian.com>
65 * DictionaryBase.cs: Rename the dictionary field to hashtable,
66 which causes a serialization interop bug. Fixes bug #61721.
68 2004-06-18 Ben Maurer <bmaurer@ximian.com>
70 * IKeyComparer.cs: v2 class
72 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
74 * CaseInsensitiveComparer.cs: added TODO for serialization
75 * CaseInsensitiveHashCodeProvider.cs: added TODO for serialization
76 * SortedList.cs: added TODO for serialization
77 * Stack.cs: added TODO for serialization
79 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
81 * Hashtable.cs: Compare index and length in CopyTo only when length > 0.
83 2004-06-14 Lluis Sanchez Gual <lluis@ximian.com>
85 * ArrayList.cs: Avoid endless loop in Insert when the current size is 0.
87 2004-06-08 Lluis Sanchez Gual <lluis@ximian.com>
89 * ReadOnlyCollectionBase.cs: Renamed internal variable to make serialization
90 compatible with MS.NET.
92 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
94 * SortedList.cs: Fixed case where the initial capacity was set to 0.
96 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
98 * Hashtable.cs: Added ArgumentNullException in GetObjectData.
100 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
103 * Comparer.cs: reverted last 2 patches from Gert Driesen. Totally wrong.
106 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
108 * Compare.cs: ISerializable should only be implemented
111 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
113 * Compare.cs: Implemented ISerializable, fixes public API
115 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
117 * Hashtable.cs: Cloned synchronized Hashtables are now synchronized.
118 * Queue.cs: Fixed case where we could still get Current after the last
119 MoveNext. Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).
120 * SortedList.cs: Added missing ICloneable support to internal
121 enumerator. Added Capacity to the synchronized version of SortedList.
122 Setting Capacity to 0 returns it to it's default value (16).
124 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
126 * ArrayList.cs: Fixed possible integer overflows.
128 2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
130 * Hashtable.cs: Renamed internal class to make serialization compatible
133 2004-05-10 Gert Driesen (drieseng@users.sourceforge.net)
134 * Hashtable.cs: marked EnumeratorMode private
135 * SortedList.cs: marked EnumeratorMode private
137 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
139 * Comparer.cs: ensure culture is set to null , removed
140 static constructor, removed unneccesary checks
142 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
144 * CaseInsensitiveComparer.cs: Fix the default constructor (needs to
145 set CurrentCulture, ensure culture is set to null for invariant case,
147 * Comparer.cs: Restyle, change lineendings
149 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
151 * CaseInsensitiveHashCodeProvider.cs
152 * CaseInsensitiveComparer.cs: Change lineendings
153 * CaseInsensitiveComparer.cs: Restyle
155 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
157 * BitArray.cs: Fix parameter names
158 * CaseInsensitiveHashCodeProvider.cs: Fix signature
159 * DictionaryEntry.cs: Fix parameter names
160 * Hashtable.cs: Fix signatures
161 * SortedList.cs: Fix signatures
163 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
165 * CaseInsensitiveHashCodeProvider.cs: Fix the default constructor (needs to
166 set CurrentCulture, Add null check to other constructor, Call correct function
167 for invariant case, ensure culture is set to null for invariant case, removed
168 static constructor, made invariant version available as internal in .Net 1.0
170 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
172 * CaseInsensitiveHashCodeProvider.cs: If the culture is null, don't use
173 Char.ToLower(c,culture), since it does not accept null as culture.
175 2004-04-20 Lluis Sanchez Gual <lluis@ximian.com>
177 * Queue.cs: Renamed internal membesr to match MS.NET (to allow serialization
178 interoperability). I also had to make some changes in the implementation:
179 I added a field _tail that points at the first free position in the array, and
180 changed the type of growFactor, which is now an int (its value is the old
183 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
185 * Comparer.cs: Made constructor public.
187 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
189 * CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
190 thread, not the one of the thread that created the instance.
191 * Comparer.cs: Added DefaultInvariant property and missing constructor.
192 Use the specified culture info to compare strings.
194 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
196 * CaseInsensitiveHashCodeProvider.cs: Added support for CultureInfo.
197 Implemented property DefaultInvariant.
199 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
201 * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
202 (to allow serialization interoperability).
204 2004-03-18 David Sheldon <dave-mono@earth.li>
206 * Hashtable.cs: Serialise/Deserialise to two arrays of
207 keys/values. This will match what MS.NET appears to be
210 2004-02-12 Jackson Harper <jackson@ximian.com>
212 * SortedList.cs: Only .et 1.0 sets the capacity to a min of
215 2004-01-13 Lluis Sanchez Gual <lluis@ximian.com>
217 * Hashtable.cs: Added serialization support to SynchedHashtable. This
220 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * Hashtable.cs: fix Clone. Closes bug #52740. Patch by Benjamin Jemlich
225 2003-12-26 Ben Maurer <bmaurer@users.sourceforge.net>
227 * ArrayList.cs: Add class `SimpleEnumerator' this handles the
228 .GetEnumerator We are able to remove fields by doing this, the
229 sizeof the simple version is 75% of that of the complex one, so we
230 get a pretty nice saving.
232 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
234 * ArrayList.cs: Renamed private fields m_Count, m_Data and
235 m_StateChanges to _size, _items and _version, to make it compatible with
236 MS.NET (needed for remoting interoperability). This fixes bug #52438.
238 2003-12-01 Dick Porter <dick@ximian.com>
240 * CaseInsensitiveComparer.cs: Construct the default comparers when
241 they're needed, to avoid a dependency loop with CultureInfo's
244 2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
246 * Queue.cs: patch from Carlos Barcenilla.
248 - method: ICollection.Clone()
249 - Optimized. Removed unneeded instructions.
250 - method: public static Queue Synchronized (Queue queue)
251 - ArgumentNullException.ParamName must be "queue", not null.
252 - method: public virtual void TrimToSize()
253 - Must increment modCount.
255 private class SyncQueue
256 - method: public override object Clone ()
257 - Must return a synchronized (SyncStack) instance.
258 - method: public override void TrimToSize ()
261 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
263 * IEnumerator.cs: Added missing attribute
265 2003-11-12 Miguel de Icaza <miguel@ximian.com>
267 * CaseInsensitiveComparer.cs: Add missing method.
269 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
271 * Stack.cs: Applied patch from Carlos A. Barcenilla to fix minor
274 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
276 * SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
278 2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
280 * System.Collections/Hashtable.cs: patch from Carlos A.
281 Barcenilla (barce@frlp.utn.edu.ar) that includes some fixes for
282 Hashtable + NUnit2 tests.
284 2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * Queue.cs: nullify the array in Clear.
288 2003-09-26 Zoltan Varga <vargaz@freemail.hu>
290 * Hashtable.cs: Remove empty static constructor since it prevents this
291 class from being beforefieldinit.
293 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * CaseInsensitiveHashCodeProvider.cs: small speed improvement.
297 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
299 * Stack.cs: patch by JoergR@voelcker.com (Joerg Rosenkranz) that fixes
302 2003-08-20 Duncan Mak <duncan@ximian.com>
304 * Hashtable.cs (PutImpl): Fix my previous checkin, see details
305 posted on bug #47692.
307 I really hope I don't mess up this time, because, if I do again,
308 it will be really embarrassing.
310 2003-08-17 Duncan Mak <duncan@ximian.com>
312 * Hashtable.cs (PutImpl): Patch from Luca Barbieri <lb@lb.ods.org>.
313 Currently Hashtable.PutImpl has an incorrect test which causes the
314 key chain search to terminate as soon as a free slot is found,
315 causing key duplication.
317 This fixes bug #47692.
319 2003-08-11 Duncan Mak <duncan@ximian.com>
321 * DictionaryBase.cs: Applied patch from Carlos Barcenilla
322 (barce@frlp.utn.edu.ar).
324 (Idictionary.Add): Added OnValidate, and undo the transaction if
325 OnInsertCompleteFails.
327 (Indexer set): MS Implementation does not call OnInsert and undoes
328 if OnSetComplete throws an exception
329 (Indexer get): return value is obtained after calling OnGet.
331 (IDictionary.Remove): Call to OnValidate added. If key does not
332 exists calls OnValidate, OnRemove and OnRemoveComplete.
334 (protected IDictionary Dictionary get): Should return itself, not
337 This fixes bug #47460.
339 2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
341 * CollectionBase.cs: applied patch from Carlos Barcenilla
342 (barce@frlp.utn.edu.ar).
344 2003-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * ArrayList.cs: added / so that gvim syntax highlight doesn't go crazy.
347 * CollectionBase.cs: fixed several bugs reported by Carlos Barcenilla
348 (barce@frlp.utn.edu.ar). Most of the patch is also his.
350 2003-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
352 * ArrayList.cs: fixed EnsureCapacity when m_Data.Length is 0.
354 2003-07-29 Miguel de Icaza <miguel@ximian.com>
356 * ArrayList.cs: Deployed ArrayList from Tum; Fixed iterator to
357 allow nulls, and inline a few calls to make profiling more useful.
359 2003-07-24 Miguel de Icaza <miguel@ximian.com>
361 * ArrayList.cs: Removed MonoTODO.
363 2003-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
365 * Hashtable.cs: made SynchedHashtable serializable. Fixes bug #45918.
366 Thanks to JoergR@voelcker.com (Joerg Rosenkranz).
368 2003-06-27 Duncan Mak <duncan@ximian.com>
370 * Hashtable.cs: Patch from PAF@design.ru, GetEnumerator should be
371 returning DictionaryEntrys, instead of just the Key of the table.
373 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
375 * Hashtable.cs: Fixed bug when serializing and deserializing
376 a hashtable from which one element has been deleted. The Object instance
377 used as a removed marker is not detected as a such, since the
378 serializer creates a different instace.
380 2003-06-13 Herve Poussineau <hpoussineau@fr.st>
382 * SortedList.cs: Can enumerate on DictionaryEntries, not only on
383 keys on values. Enumerate by default on DictionaryEntries.
385 2003-06-12 Duncan Mak <duncan@ximian.com>
387 * Hashtable.cs (constructor):
388 if loadFactor equals Single.NaN, then throw an
389 ArgumentOutOfRangeException.
391 if we set capacity to be too big (ie. capacity / loadFactor is
392 greater than Int32.MaxValue), then we throw an ArgumentException.
394 2003-06-11 Duncan Mak <duncan@ximian.com>
396 * SortedList.cs: Oi! What a mess.
398 If the list was constructed using the null-param constructor, and
399 it tries to set it to a size lower than the default, let it do so.
401 If the list was constructed with a specific size, and it tries to
402 set it to a size lower than the specified size, set it to the
405 (IndexOfValue): Clean up the code somewhat, make it allow for
408 2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
409 * ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
412 2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
413 * Stack.cs: Contains (null) works correctly. We never have the
414 array sized less than 16, so that the doubling logic works no
415 matter what. The enumerator is IClonable, like in ms. The
416 Enumerator correctly throws an exception if Current is called
417 before the enumerator is started. We now pass all the Rotor tests
420 2003-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
422 * Stack.cs: fixed Clone ().
424 2003-06-04 Ben Maurer <bmaurer@users.sourceforge.net>
425 * DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
428 2003-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
430 * ArrayList.cs: nullify the array in Clear ().
431 * Queue.cs: nullify the array in Dequeue ().
432 * Stack.cs: nullify the array in Pop ().
434 2003-06-02 Ben Maurer <bmaurer@users.sourceforge.net>
435 * Queue.cs: Added argument checking in constructors according to
436 specs. Also changed default size to 32 as required by the specs.
438 2003-05-31 Ben Maurer <bmaurer@users.sourceforge.net>
439 * BitArray.cs: Rewrote, as it was failing most of the Rotor
440 tests. It now passes them 100%. Also fixes bug #43667.
442 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
444 Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.
446 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
448 Added methods to support IList wrappers
450 2003-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452 * ArrayList.cs: patch from bernard@ugsolutions.com (Bernie Solomon)
453 that fixes bug #41684.
455 2003-04-15 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
457 * CaseInsensitiveComparerTest.cs: Fixed Compare Method (now works
458 like MS.NET) and implemented the
459 CaseInsensitiveComparerTest(culture) constructor.
461 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
463 * Queue.cs: fixed bug #39046.
465 2003-02-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
467 * Hashtable.cs: Make hashtable serializable (at least with binary
468 formatter). This process was started by the Hashtable maintainer.
470 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
472 * ArrayList.cs: fixed setSize (!).
474 2003-01-31 Zoltan Varga <vargaz@freemail.hu>
476 * ArrayList.cs (RemoveAt): duplicated the the code from RemoveRange
477 here, since RemoveAt raises a different exception than RemoveRange
478 when the index is out-of-range. Fixes the ArrayList unit tests.
480 * ArrayList.cs (RemoveRange): fixed indentation.
482 2003-01-12 Varga Zoltan <vargaz@freemail.hu>
484 * ArrayList.cs (RemoveRange): Patch for allowing zero-size
485 removal at the end of a list. It also cleans up the argument
486 checking code so the raised exceptions have the same message as
489 2003-01-10 Duncan Mak <duncan@ximian.com>
491 * ArrayList.cs (Insert): Patch from Zoltan
492 (Zoltan.2.Varga@nokia.com).
494 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496 * Hashtable.cs: add the key to the error message when
499 2002-10-15 Vladimir Vukicevic <vladimir@pobox.com>
501 * Queue.cs: update new capacity in grow(), preventing queue from
502 constantly looping over old elements in Dequeue(). Also use
503 capacity instead of contents.Length in Enqueue().
505 2002-09-24 Nick Drochak <ndrochak@gol.com>
507 * ArrayList.cs: Make enumerator throw exception if the ArrayList is
508 mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
509 this was passed as parameter.
511 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
513 * ArrayList.cs: fixed bug #29658.
515 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
519 * CaseInsensitiveComparer.cs:
520 * CaseInsensitiveHashCodeProvider.cs:
522 * Queue.cs: misc. fixes based on class status page.
524 2002-07-22 Tim Coleman <tim@timcoleman.com>
525 * CaseInsensitiveHashCodeProvider.cs: Added missing constructor
526 which was breaking System.Web build on linux
528 2002-07-05 Sergey Chaban <serge@wildwestsoftware.com>
530 * SortedList.cs: Implemented thread-safe wrapper. Changed some
533 2002-07-02 Nick Drochak <ndrochak@gol.com>
535 * SortedList.cs: Constructors should use the capacity given regardless
536 how small. After a Clear() the Capacit should be 16. Since a Dictionary
537 might be used in the constructor, make sure we trap exceptions thrown
538 by the Comparer, like in Add().
540 2002-06-30 Nick Drochak <ndrochak@gol.com>
542 * SortedList.cs: Many fixed. A lot of checking for null and throwing
543 exceptions. A few logic bugs fixed as well
545 2002-06-25 Nick Drochak <ndrochak@gol.com>
547 * Queue.cs (CopyTo): Fix logic for copying the circular array.
548 (Enqueue): Use actual length of array to determine when to grow
549 (QueueEnumerator) Fixed Current to use array length, not capacity, and
550 fixed off-by-one errror in MoveNext().
552 Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
554 * ArrayList.cs: fixed RemoveAt() implementation.
556 2002-05-27 Nick Drochak <ndrochak@gol.com>
558 * ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
559 fix check of parameters sent to make sure we don't search beyond the
560 beginning of the list.
561 (ListWrapper): Throw exception if called with null.
562 We now pass all unit tests.
564 2002-05-23 Duncan Mak <duncan@ximian.com>
566 * ArrayList.cs (Wrapper): Preliminary implementation of
567 ArrayList.Wrapper (IList).
569 2002-05-22 Martin Baulig <martin@gnome.org>
571 * ArrayList.cs: Made count, capacity and dataArray the first three
572 fields in the class. They're read by the reflection library.
574 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
576 * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
577 thereby causing problems when trying to add elements.
579 2002-05-06 Duncan Mak <duncan@ximian.com>
581 * Queue.cs (TrimToSize): Implemented.
583 2002-05-05 Nick Drochak <ndrochak@gol.com>
585 * ArrayList.cs: Throw RankException when constructing from a
586 multi-dimensional array. Confirmed behavior from MS.NET
588 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
590 * ArrayList.cs: make mcs compile again: it's allowed to
591 call arraylist.CopyTo(array, 0) when the length of the array
594 Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
596 * SortedList.cs: fix RemoveAt () to use the correct length in
599 2002-05-01 Nick Drochak <ndrochak@gol.com>
601 * ArrayList.cs (Add & AddRange) : Throw exceptions where needed.
603 2002/05/01 Nick Drochak <ndrochak@gol.com>
605 * ArrayList.cs (CopyTo) : Check parameters and throw exceptions
608 2002/04/30 Nick Drochak <ndrochak@gol.com>
610 * ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
611 (InsertRange) : Implement.
612 (SetRange) : Implement.
614 2002-04-30 Nick Drochak <ndrochak@gol.com>
616 * ArrayList.cs (TrimToSize) : Implement.
618 2002-04-28 Duncan Mak <duncan@ximian.com>
620 * ArrayList.cs (InsertRange):
623 (TrimToSize): Throw exceptions where needed.
625 2002-04-29 Nick Drochak <ndrochak@gol.com>
627 * Hashtable.cs (CopyTo): Throw exceptions where needed.
629 2002-04-28 Duncan Mak <duncan@ximian.com>
631 * ArrayList.cs (ReadOnly):
632 (IList.ReadOnly): Implemented.
635 (IList.Synchronized): Implemented.
638 (IList.FixedSize): Implemented.
640 2002-03-24 Duncan Mak <duncan@ximian.com>
642 * SortedList.cs (Synchronized): Stubbed out a missing method
643 pointed out by Jakk Simm's test suite.
645 2002-03-14 Nick Drochak <ndrochak@gol.com>
647 * ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
648 other FixedSize() methods returns an IList.
650 2002-03-13 Duncan Mak <duncan@ximian.com>
652 * ArrayList.cs (FixedSize): Changed the return type to IList if
653 the argument is an IList.
654 (Synchronized): Ditto here.
656 2002-03-08 Sergey Chaban <serge@wildwestsoftware.com>
658 * Hashtable.cs: Fixed ToPrime () bug. Removed ALLOC_GRAIN.
659 Removed unused code from static constructor.
660 GetObjectData () - Version is the same as modificationCount.
662 2002-02-20 Nick Drochak <ndrochak@gol.com>
664 * ArrayList.cs: Add MonoTODO's where necessary. Fix bugs discovered
665 by Bucky's tests. Implement a couple of things that were left undone.
667 Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <lupus@ximian.com>
669 * ArrayList.cs: Dick's fix to contructor.
671 2002-02-07 Duncan Mak <duncan@ximian.com>
673 * Hashtable.cs: Implemented parts of the ISerializable
674 interface. GetObjectData () is good, but serialization constructor
675 needs some more love.
677 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <lupus@ximian.com>
679 * Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.
681 2002-01-04 Ravi Pratap <ravi@ximian.com>
683 * Correct name to MonoTODO everywhere.
685 2002-01-04 Ravi Pratap <ravi@ximian.com>
687 * ArrayList.cs : Setting an index does not implicitly
688 extend the arraylist : remove FIXME.
690 Decorate incomplete elements with the TODO attribute.
692 * BitArray.cs : Insert TODO attributes where appropriate.
694 * CaseInsensitiveHashcodeProvider.cs: Ditto.
696 * Hashtable.cs, SortedList.cs : Ditto.
698 Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <lupus@ximian.com>
700 * ArrayList.cs: implemented AddRange(), CopyTo().
702 2001-11-19 Miguel de Icaza <miguel@ximian.com>
704 * DictionaryBase.cs: Implemented.
706 Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <lupus@ximian.com>
708 * ArrayList.cs: implement ArrayListEnumerator.
709 * Hashtable.cs: hardcode the prime number table.
711 2001-11-06 Nick Drochak <ndrochak@gol.com>
712 * Queue.cs: Fixes from Ricardardo. QueueTest also updated.
714 2001-11-04 Nick Drochak <ndrochak@gol.com>
715 * Queue.cs: Fixed small syntax errors that were preventing the compile.
716 I changed the build file to include Queue.cs as well.
718 2001-11-04 Nick Drochak <ndrochak@gol.com>
719 * ArrayList.cs: Fixed "off by one" error when shifting left the array when
722 * CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
723 hook methods to the RemoveAt() method.
725 2001-11-04 Nick Drochak <ndrochak@gol.com>
726 * ArrayList.cs: Added private enumerator class and make GetEnumerator()
727 methods return an instance of it.
729 Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
731 * ArrayList.cs: fix Insert () to check capacity, not count.
733 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
735 * DictionaryEntry.cs: added.
737 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
739 * common.src: removed duplicate entries
741 2001-08-08 Nick Drochak <ndrochak@gol.com>
743 * ReadOnlyCollectionBase.cs: Initialized private member.
744 * CollectionBase.cs: Initialized private member.
745 * common.src : Added ReadOnlyCollectionBase.cs and CollectionBase.cs
746 * /mcs/class/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
747 * /mcs/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
749 2001-08-08 Nick Drochak <nick@jobdragon.com>
751 * CollectionBase.cs: Add
752 * ReadOnlyCollectionBase.cs: Add
753 * CollectionBaseTest.cs: Add
754 * ReadOnlyCollectionBaseTest.cs: Add
756 2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>
758 * StackTest.cs: Add Test case for System.Collections.Stack.
759 Contributed by Chris Hynes <chrish@assistedsolutions.com>
761 2001-07-30 Garrett Rooney <rooneg@electricjellyfish.net>
763 * Stack.cs: Clone() doesn't need to check if it's synchronized, since
764 we override it in SyncStack anyway...
766 * Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
767 avoid using massive amounts of memory that are not necessary. We only
768 drop to half the current size, which I hope will avoid the 'ping-pong'
771 * Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
772 instead of just returning false, since we may have a ReadOnly wrapper
773 in the future (although i can't imagine why). Thanks to David
774 Menestrina <dmenest@yahoo.com> for pointing this out.
776 2001-07-23 Sergey Chaban <serge@wildwestsoftware.com>
778 * Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
779 From now, Clear() increases modification count.
780 Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
781 instead of hcp.GetHashCode(key). This was resulted in the
782 insanely long lookup times when HashCodeProvider was used to
783 construct Hashtable. Added thread-safe wrapper.
785 2001-07-16 David Menestrina <dmenest@yahoo.com>
788 * BitArrayTest.cs: Add
790 2001-07-18 Miguel de Icaza <miguel@ximian.com>
792 * IDictionary.cs (Collections): IDictionary implements ICollection
793 as well. Thanks Sergey!
795 2001-07-18 Garrett Rooney <rooneg@electricjellyfish.net>
797 * Stack.cs Removed unnecessary locking from many methods of
798 SyncStack, removed SyncEnumerator because it was unnecessary,
799 added a modCount member to Stack and Stack.Enumerator, to
800 ensure that the Stack has not been modified out form under the
801 Enumerator, and changed the Enumerator to use a reference to the
802 stack rather than copying over the contents array.
804 2001-07-17 David Menestrina <dmenest@yahoo.com>
806 * Added implementation of BitArray.
808 2001-07-17 Miguel de Icaza <miguel@ximian.com>
810 * Hashtable.cs: Removed call to d.Count in the Hashtable
811 constructor that takes an IDictionary as IDictionary does not
812 provide a Count field.
814 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
816 * IDictionary.cs: Clear was clear.
818 2001-07-13 Miguel de Icaza <miguel@ximian.com>
820 * All files: Renamespace things to System.
822 2001-07-05 Vladimir Vukicevic <vladimir@ximian.com>
824 * ArrayList.cs: initial checkin and implementation
826 * ICollection.cs, IComprarer.cs, IDictionary.cs,
827 IDictionaryEnumerator.cs, IEnumerable.cs, IHashCodeProvider.cs,
828 IList.cs: initial checkin