1 2005-06-23 Martin Baulig <martin@ximian.com>
3 * IKeyComparer.cs: Removed.
5 2005-06-12 David Waite <dwaite@gmail.com>
7 * Hashtable.cs: make prime-related functions internal so generic
8 Dictionary can use them.
9 * IEqualityComparer.cs: add non-generic IEqualityComparer interface
11 2005-06-06 Zoltan Varga <vargaz@freemail.hu>
13 * Hashtable.cs: Add some missing 2.0 attributes.
15 2005-05-26 Ben Maurer <bmaurer@ximian.com>
17 * Queue.cs (grow): fix 61919.
19 2005-05-09 Atsushi Enomoto <atsushi@ximian.com>
21 * Stack.cs : empty_stack.CopyTo(empty_array, 0) should be allowed.
23 2005-02-21 Zoltan Varga <vargaz@freemail.hu>
25 * Hashtable.cs: Add net 2.0 ReliabilityContractAttributes.
27 2005-02-19 Kazuki Oikawa <kazuki@panicode.com>
29 * SortedList.cs, Stack.cs: Reverse the order in the Equals calls.
31 2004-12-21 Ben Maurer <bmaurer@ximian.com>
33 * Hashtable.cs (get_Item): duplicate Find here, as we can
34 specialize a few things. This gives me 7% back.
35 (Find) Use break rather than return -1. Saves a bit of code.
37 * Hashtable.cs (GetHash): Avoid a method call. Also, don't store
38 the this.hcpRef in a variable. This will create another register
39 which must be pushed on the stack. It is better to just reference
40 the variable again. hcpRef.GetHashCode (key) is the slow path
41 anyways, so an extra variable reference here doesn't hurt
44 This gives me a few % back in a raw benchmark.
46 2004-12-20 Ben Maurer <bmaurer@ximian.com>
48 * Hashtable.cs (Find): Some minor optimizations here.
50 * Hashtable.cs: Remove GetImpl and inline it.
52 * Hashtable.cs (Find): Before calling KeyEquals, check to see if k
53 == key (ie, they are the same pointer). In many cases, this will
54 avoid two virtual calls. This gives me 1% on mcs bootstrap (!!!!)
56 * Hashtable.cs (Find): Make `i' a uint rather than an int. This
57 avoids having a long compare.
59 2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
61 * Hashtable.cs: Check for null serialization info in OnDeserialization.
62 A hashtable subclass can fully override the constructor, so
63 serializationInfo would be null in this case. Fixes bug #70698.
65 2004-12-16 Gonzalo Paniagua Javier <gonzalo@ximian.com>
67 * ArrayList.cs: don't initialize _items twice. Closes bug #70620.
69 2004-12-16 Lluis Sanchez Gual <lluis@novell.com>
71 * Hashtable.cs: Add deserialized elements in OnDeserialization, since
72 when the serialization constructor is called, some of the elements
73 may not yet be fully deserialized. This fixes bug #70570.
75 2004-10-08 Raja R Harinath <rharinath@novell.com>
77 * CaseInsensitiveHashCodeProvider.cs (GetHashCode): When culture
78 is not invariant, avoid an icall on every character.
80 2004-07-21 Geoff Norton <gnorton@customerdna.com>
82 * Hashtable.cs: lock the SyncRoot when Cloning a Synchronized hashtable to avoid
83 a snapshot out of sync error.
85 2004-07-21 Duncan Mak <duncan@ximian.com>
87 * DictionaryBase.cs: Rename the dictionary field to hashtable,
88 which causes a serialization interop bug. Fixes bug #61721.
90 2004-06-18 Ben Maurer <bmaurer@ximian.com>
92 * IKeyComparer.cs: v2 class
94 2004-06-15 Gert Driesen <drieseng@users.sourceforge.net>
96 * CaseInsensitiveComparer.cs: added TODO for serialization
97 * CaseInsensitiveHashCodeProvider.cs: added TODO for serialization
98 * SortedList.cs: added TODO for serialization
99 * Stack.cs: added TODO for serialization
101 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
103 * Hashtable.cs: Compare index and length in CopyTo only when length > 0.
105 2004-06-14 Lluis Sanchez Gual <lluis@ximian.com>
107 * ArrayList.cs: Avoid endless loop in Insert when the current size is 0.
109 2004-06-08 Lluis Sanchez Gual <lluis@ximian.com>
111 * ReadOnlyCollectionBase.cs: Renamed internal variable to make serialization
112 compatible with MS.NET.
114 2004-06-01 Sebastien Pouliot <sebastien@ximian.com>
116 * SortedList.cs: Fixed case where the initial capacity was set to 0.
118 2004-05-31 Sebastien Pouliot <sebastien@ximian.com>
120 * Hashtable.cs: Added ArgumentNullException in GetObjectData.
122 2004-05-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
125 * Comparer.cs: reverted last 2 patches from Gert Driesen. Totally wrong.
128 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
130 * Compare.cs: ISerializable should only be implemented
133 2004-05-29 Gert Driesen (drieseng@users.sourceforge.net)
135 * Compare.cs: Implemented ISerializable, fixes public API
137 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
139 * Hashtable.cs: Cloned synchronized Hashtables are now synchronized.
140 * Queue.cs: Fixed case where we could still get Current after the last
141 MoveNext. Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).
142 * SortedList.cs: Added missing ICloneable support to internal
143 enumerator. Added Capacity to the synchronized version of SortedList.
144 Setting Capacity to 0 returns it to it's default value (16).
146 2004-05-26 Sebastien Pouliot <sebastien@ximian.com>
148 * ArrayList.cs: Fixed possible integer overflows.
150 2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
152 * Hashtable.cs: Renamed internal class to make serialization compatible
155 2004-05-10 Gert Driesen (drieseng@users.sourceforge.net)
156 * Hashtable.cs: marked EnumeratorMode private
157 * SortedList.cs: marked EnumeratorMode private
159 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
161 * Comparer.cs: ensure culture is set to null , removed
162 static constructor, removed unneccesary checks
164 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
166 * CaseInsensitiveComparer.cs: Fix the default constructor (needs to
167 set CurrentCulture, ensure culture is set to null for invariant case,
169 * Comparer.cs: Restyle, change lineendings
171 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
173 * CaseInsensitiveHashCodeProvider.cs
174 * CaseInsensitiveComparer.cs: Change lineendings
175 * CaseInsensitiveComparer.cs: Restyle
177 2004-05-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
179 * BitArray.cs: Fix parameter names
180 * CaseInsensitiveHashCodeProvider.cs: Fix signature
181 * DictionaryEntry.cs: Fix parameter names
182 * Hashtable.cs: Fix signatures
183 * SortedList.cs: Fix signatures
185 2004-04-25 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
187 * CaseInsensitiveHashCodeProvider.cs: Fix the default constructor (needs to
188 set CurrentCulture, Add null check to other constructor, Call correct function
189 for invariant case, ensure culture is set to null for invariant case, removed
190 static constructor, made invariant version available as internal in .Net 1.0
192 2004-04-21 Lluis Sanchez Gual <lluis@ximian.com>
194 * CaseInsensitiveHashCodeProvider.cs: If the culture is null, don't use
195 Char.ToLower(c,culture), since it does not accept null as culture.
197 2004-04-20 Lluis Sanchez Gual <lluis@ximian.com>
199 * Queue.cs: Renamed internal membesr to match MS.NET (to allow serialization
200 interoperability). I also had to make some changes in the implementation:
201 I added a field _tail that points at the first free position in the array, and
202 changed the type of growFactor, which is now an int (its value is the old
205 2004-04-19 Lluis Sanchez Gual <lluis@ximian.com>
207 * Comparer.cs: Made constructor public.
209 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
211 * CaseInsensitiveHashCodeProvider.cs: Use the CultureInfo of the calling
212 thread, not the one of the thread that created the instance.
213 * Comparer.cs: Added DefaultInvariant property and missing constructor.
214 Use the specified culture info to compare strings.
216 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
218 * CaseInsensitiveHashCodeProvider.cs: Added support for CultureInfo.
219 Implemented property DefaultInvariant.
221 2004-03-29 Lluis Sanchez Gual <lluis@ximian.com>
223 * CollectionBase.cs: Renamed internal arraylist member to match MS.NET
224 (to allow serialization interoperability).
226 2004-03-18 David Sheldon <dave-mono@earth.li>
228 * Hashtable.cs: Serialise/Deserialise to two arrays of
229 keys/values. This will match what MS.NET appears to be
232 2004-02-12 Jackson Harper <jackson@ximian.com>
234 * SortedList.cs: Only .et 1.0 sets the capacity to a min of
237 2004-01-13 Lluis Sanchez Gual <lluis@ximian.com>
239 * Hashtable.cs: Added serialization support to SynchedHashtable. This
242 2004-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
244 * Hashtable.cs: fix Clone. Closes bug #52740. Patch by Benjamin Jemlich
247 2003-12-26 Ben Maurer <bmaurer@users.sourceforge.net>
249 * ArrayList.cs: Add class `SimpleEnumerator' this handles the
250 .GetEnumerator We are able to remove fields by doing this, the
251 sizeof the simple version is 75% of that of the complex one, so we
252 get a pretty nice saving.
254 2003-12-23 Lluis Sanchez Gual <lluis@ximian.com>
256 * ArrayList.cs: Renamed private fields m_Count, m_Data and
257 m_StateChanges to _size, _items and _version, to make it compatible with
258 MS.NET (needed for remoting interoperability). This fixes bug #52438.
260 2003-12-01 Dick Porter <dick@ximian.com>
262 * CaseInsensitiveComparer.cs: Construct the default comparers when
263 they're needed, to avoid a dependency loop with CultureInfo's
266 2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
268 * Queue.cs: patch from Carlos Barcenilla.
270 - method: ICollection.Clone()
271 - Optimized. Removed unneeded instructions.
272 - method: public static Queue Synchronized (Queue queue)
273 - ArgumentNullException.ParamName must be "queue", not null.
274 - method: public virtual void TrimToSize()
275 - Must increment modCount.
277 private class SyncQueue
278 - method: public override object Clone ()
279 - Must return a synchronized (SyncStack) instance.
280 - method: public override void TrimToSize ()
283 2003-11-13 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
285 * IEnumerator.cs: Added missing attribute
287 2003-11-12 Miguel de Icaza <miguel@ximian.com>
289 * CaseInsensitiveComparer.cs: Add missing method.
291 2003-11-10 Zoltan Varga <vargaz@freemail.hu>
293 * Stack.cs: Applied patch from Carlos A. Barcenilla to fix minor
296 2003-11-03 Lluis Sanchez Gual <lluis@ximian.com>
298 * SortedList.cs: Added [Serializable] to Slot class. This fixes bug #50484.
300 2003-10-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
302 * System.Collections/Hashtable.cs: patch from Carlos A.
303 Barcenilla (barce@frlp.utn.edu.ar) that includes some fixes for
304 Hashtable + NUnit2 tests.
306 2003-10-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
308 * Queue.cs: nullify the array in Clear.
310 2003-09-26 Zoltan Varga <vargaz@freemail.hu>
312 * Hashtable.cs: Remove empty static constructor since it prevents this
313 class from being beforefieldinit.
315 2003-08-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
317 * CaseInsensitiveHashCodeProvider.cs: small speed improvement.
319 2003-08-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
321 * Stack.cs: patch by JoergR@voelcker.com (Joerg Rosenkranz) that fixes
324 2003-08-20 Duncan Mak <duncan@ximian.com>
326 * Hashtable.cs (PutImpl): Fix my previous checkin, see details
327 posted on bug #47692.
329 I really hope I don't mess up this time, because, if I do again,
330 it will be really embarrassing.
332 2003-08-17 Duncan Mak <duncan@ximian.com>
334 * Hashtable.cs (PutImpl): Patch from Luca Barbieri <lb@lb.ods.org>.
335 Currently Hashtable.PutImpl has an incorrect test which causes the
336 key chain search to terminate as soon as a free slot is found,
337 causing key duplication.
339 This fixes bug #47692.
341 2003-08-11 Duncan Mak <duncan@ximian.com>
343 * DictionaryBase.cs: Applied patch from Carlos Barcenilla
344 (barce@frlp.utn.edu.ar).
346 (Idictionary.Add): Added OnValidate, and undo the transaction if
347 OnInsertCompleteFails.
349 (Indexer set): MS Implementation does not call OnInsert and undoes
350 if OnSetComplete throws an exception
351 (Indexer get): return value is obtained after calling OnGet.
353 (IDictionary.Remove): Call to OnValidate added. If key does not
354 exists calls OnValidate, OnRemove and OnRemoveComplete.
356 (protected IDictionary Dictionary get): Should return itself, not
359 This fixes bug #47460.
361 2003-08-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
363 * CollectionBase.cs: applied patch from Carlos Barcenilla
364 (barce@frlp.utn.edu.ar).
366 2003-08-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
368 * ArrayList.cs: added / so that gvim syntax highlight doesn't go crazy.
369 * CollectionBase.cs: fixed several bugs reported by Carlos Barcenilla
370 (barce@frlp.utn.edu.ar). Most of the patch is also his.
372 2003-07-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
374 * ArrayList.cs: fixed EnsureCapacity when m_Data.Length is 0.
376 2003-07-29 Miguel de Icaza <miguel@ximian.com>
378 * ArrayList.cs: Deployed ArrayList from Tum; Fixed iterator to
379 allow nulls, and inline a few calls to make profiling more useful.
381 2003-07-24 Miguel de Icaza <miguel@ximian.com>
383 * ArrayList.cs: Removed MonoTODO.
385 2003-07-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
387 * Hashtable.cs: made SynchedHashtable serializable. Fixes bug #45918.
388 Thanks to JoergR@voelcker.com (Joerg Rosenkranz).
390 2003-06-27 Duncan Mak <duncan@ximian.com>
392 * Hashtable.cs: Patch from PAF@design.ru, GetEnumerator should be
393 returning DictionaryEntrys, instead of just the Key of the table.
395 2003-06-26 Lluis Sanchez Gual <lluis@ximian.com>
397 * Hashtable.cs: Fixed bug when serializing and deserializing
398 a hashtable from which one element has been deleted. The Object instance
399 used as a removed marker is not detected as a such, since the
400 serializer creates a different instace.
402 2003-06-13 Herve Poussineau <hpoussineau@fr.st>
404 * SortedList.cs: Can enumerate on DictionaryEntries, not only on
405 keys on values. Enumerate by default on DictionaryEntries.
407 2003-06-12 Duncan Mak <duncan@ximian.com>
409 * Hashtable.cs (constructor):
410 if loadFactor equals Single.NaN, then throw an
411 ArgumentOutOfRangeException.
413 if we set capacity to be too big (ie. capacity / loadFactor is
414 greater than Int32.MaxValue), then we throw an ArgumentException.
416 2003-06-11 Duncan Mak <duncan@ximian.com>
418 * SortedList.cs: Oi! What a mess.
420 If the list was constructed using the null-param constructor, and
421 it tries to set it to a size lower than the default, let it do so.
423 If the list was constructed with a specific size, and it tries to
424 set it to a size lower than the specified size, set it to the
427 (IndexOfValue): Clean up the code somewhat, make it allow for
430 2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
431 * ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
434 2003-06-07 Ben Maurer <bmaurer@users.sourceforge.net>
435 * Stack.cs: Contains (null) works correctly. We never have the
436 array sized less than 16, so that the doubling logic works no
437 matter what. The enumerator is IClonable, like in ms. The
438 Enumerator correctly throws an exception if Current is called
439 before the enumerator is started. We now pass all the Rotor tests
442 2003-06-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
444 * Stack.cs: fixed Clone ().
446 2003-06-04 Ben Maurer <bmaurer@users.sourceforge.net>
447 * DictionaryEntry.cs: Throw exception if key == null. Fixes Rotor
450 2003-06-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
452 * ArrayList.cs: nullify the array in Clear ().
453 * Queue.cs: nullify the array in Dequeue ().
454 * Stack.cs: nullify the array in Pop ().
456 2003-06-02 Ben Maurer <bmaurer@users.sourceforge.net>
457 * Queue.cs: Added argument checking in constructors according to
458 specs. Also changed default size to 32 as required by the specs.
460 2003-05-31 Ben Maurer <bmaurer@users.sourceforge.net>
461 * BitArray.cs: Rewrote, as it was failing most of the Rotor
462 tests. It now passes them 100%. Also fixes bug #43667.
464 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
466 Made ArrayList.GetRange () make a wrapper around the array list, like Microsoft does. Fixes bug #39724.
468 2003-05-03 Ben Maurer <bmaurer@users.sourceforge.net>
470 Added methods to support IList wrappers
472 2003-04-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
474 * ArrayList.cs: patch from bernard@ugsolutions.com (Bernie Solomon)
475 that fixes bug #41684.
477 2003-04-15 Eduardo Garcia Cebollero <kiwnix@yahoo.es>
479 * CaseInsensitiveComparerTest.cs: Fixed Compare Method (now works
480 like MS.NET) and implemented the
481 CaseInsensitiveComparerTest(culture) constructor.
483 2003-03-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
485 * Queue.cs: fixed bug #39046.
487 2003-02-15 Pedro MartÃnez Juliá <yoros@wanadoo.es>
489 * Hashtable.cs: Make hashtable serializable (at least with binary
490 formatter). This process was started by the Hashtable maintainer.
492 2003-02-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
494 * ArrayList.cs: fixed setSize (!).
496 2003-01-31 Zoltan Varga <vargaz@freemail.hu>
498 * ArrayList.cs (RemoveAt): duplicated the the code from RemoveRange
499 here, since RemoveAt raises a different exception than RemoveRange
500 when the index is out-of-range. Fixes the ArrayList unit tests.
502 * ArrayList.cs (RemoveRange): fixed indentation.
504 2003-01-12 Varga Zoltan <vargaz@freemail.hu>
506 * ArrayList.cs (RemoveRange): Patch for allowing zero-size
507 removal at the end of a list. It also cleans up the argument
508 checking code so the raised exceptions have the same message as
511 2003-01-10 Duncan Mak <duncan@ximian.com>
513 * ArrayList.cs (Insert): Patch from Zoltan
514 (Zoltan.2.Varga@nokia.com).
516 2002-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
518 * Hashtable.cs: add the key to the error message when
521 2002-10-15 Vladimir Vukicevic <vladimir@pobox.com>
523 * Queue.cs: update new capacity in grow(), preventing queue from
524 constantly looping over old elements in Dequeue(). Also use
525 capacity instead of contents.Length in Enqueue().
527 2002-09-24 Nick Drochak <ndrochak@gol.com>
529 * ArrayList.cs: Make enumerator throw exception if the ArrayList is
530 mutated (Insert, Delete, etc.). Also, fix bug in InsertRange() when
531 this was passed as parameter.
533 2002-08-29 Gonzalo Paniagua Javier <gonzalo@ximian.com>
535 * ArrayList.cs: fixed bug #29658.
537 2002-08-24 Gonzalo Paniagua Javier <gonzalo@ximian.com>
541 * CaseInsensitiveComparer.cs:
542 * CaseInsensitiveHashCodeProvider.cs:
544 * Queue.cs: misc. fixes based on class status page.
546 2002-07-22 Tim Coleman <tim@timcoleman.com>
547 * CaseInsensitiveHashCodeProvider.cs: Added missing constructor
548 which was breaking System.Web build on linux
550 2002-07-05 Sergey Chaban <serge@wildwestsoftware.com>
552 * SortedList.cs: Implemented thread-safe wrapper. Changed some
555 2002-07-02 Nick Drochak <ndrochak@gol.com>
557 * SortedList.cs: Constructors should use the capacity given regardless
558 how small. After a Clear() the Capacit should be 16. Since a Dictionary
559 might be used in the constructor, make sure we trap exceptions thrown
560 by the Comparer, like in Add().
562 2002-06-30 Nick Drochak <ndrochak@gol.com>
564 * SortedList.cs: Many fixed. A lot of checking for null and throwing
565 exceptions. A few logic bugs fixed as well
567 2002-06-25 Nick Drochak <ndrochak@gol.com>
569 * Queue.cs (CopyTo): Fix logic for copying the circular array.
570 (Enqueue): Use actual length of array to determine when to grow
571 (QueueEnumerator) Fixed Current to use array length, not capacity, and
572 fixed off-by-one errror in MoveNext().
574 Tue Jun 4 13:08:43 CEST 2002 Paolo Molaro <lupus@ximian.com>
576 * ArrayList.cs: fixed RemoveAt() implementation.
578 2002-05-27 Nick Drochak <ndrochak@gol.com>
580 * ArrayList.cs (LastIndexOf): Return -1 if searching for null, also
581 fix check of parameters sent to make sure we don't search beyond the
582 beginning of the list.
583 (ListWrapper): Throw exception if called with null.
584 We now pass all unit tests.
586 2002-05-23 Duncan Mak <duncan@ximian.com>
588 * ArrayList.cs (Wrapper): Preliminary implementation of
589 ArrayList.Wrapper (IList).
591 2002-05-22 Martin Baulig <martin@gnome.org>
593 * ArrayList.cs: Made count, capacity and dataArray the first three
594 fields in the class. They're read by the reflection library.
596 2002-05-21 Lawrence Pit <loz@cable.a2000.nl>
598 * ArrayList.cs: Fixed bug where a capacity of 0 could be reached,
599 thereby causing problems when trying to add elements.
601 2002-05-06 Duncan Mak <duncan@ximian.com>
603 * Queue.cs (TrimToSize): Implemented.
605 2002-05-05 Nick Drochak <ndrochak@gol.com>
607 * ArrayList.cs: Throw RankException when constructing from a
608 multi-dimensional array. Confirmed behavior from MS.NET
610 Thu May 2 15:18:11 CEST 2002 Paolo Molaro <lupus@ximian.com>
612 * ArrayList.cs: make mcs compile again: it's allowed to
613 call arraylist.CopyTo(array, 0) when the length of the array
616 Wed May 1 17:05:40 CEST 2002 Paolo Molaro <lupus@ximian.com>
618 * SortedList.cs: fix RemoveAt () to use the correct length in
621 2002-05-01 Nick Drochak <ndrochak@gol.com>
623 * ArrayList.cs (Add & AddRange) : Throw exceptions where needed.
625 2002/05/01 Nick Drochak <ndrochak@gol.com>
627 * ArrayList.cs (CopyTo) : Check parameters and throw exceptions
630 2002/04/30 Nick Drochak <ndrochak@gol.com>
632 * ArrayList.cs (Clear) : Throw exception if ReadOnly or FixedSize.
633 (InsertRange) : Implement.
634 (SetRange) : Implement.
636 2002-04-30 Nick Drochak <ndrochak@gol.com>
638 * ArrayList.cs (TrimToSize) : Implement.
640 2002-04-28 Duncan Mak <duncan@ximian.com>
642 * ArrayList.cs (InsertRange):
645 (TrimToSize): Throw exceptions where needed.
647 2002-04-29 Nick Drochak <ndrochak@gol.com>
649 * Hashtable.cs (CopyTo): Throw exceptions where needed.
651 2002-04-28 Duncan Mak <duncan@ximian.com>
653 * ArrayList.cs (ReadOnly):
654 (IList.ReadOnly): Implemented.
657 (IList.Synchronized): Implemented.
660 (IList.FixedSize): Implemented.
662 2002-03-24 Duncan Mak <duncan@ximian.com>
664 * SortedList.cs (Synchronized): Stubbed out a missing method
665 pointed out by Jakk Simm's test suite.
667 2002-03-14 Nick Drochak <ndrochak@gol.com>
669 * ArrayList.cs (FixedSize(ArrayList)): should return an ArrayList. The
670 other FixedSize() methods returns an IList.
672 2002-03-13 Duncan Mak <duncan@ximian.com>
674 * ArrayList.cs (FixedSize): Changed the return type to IList if
675 the argument is an IList.
676 (Synchronized): Ditto here.
678 2002-03-08 Sergey Chaban <serge@wildwestsoftware.com>
680 * Hashtable.cs: Fixed ToPrime () bug. Removed ALLOC_GRAIN.
681 Removed unused code from static constructor.
682 GetObjectData () - Version is the same as modificationCount.
684 2002-02-20 Nick Drochak <ndrochak@gol.com>
686 * ArrayList.cs: Add MonoTODO's where necessary. Fix bugs discovered
687 by Bucky's tests. Implement a couple of things that were left undone.
689 Mon Feb 11 19:49:25 CET 2002 Paolo Molaro <lupus@ximian.com>
691 * ArrayList.cs: Dick's fix to contructor.
693 2002-02-07 Duncan Mak <duncan@ximian.com>
695 * Hashtable.cs: Implemented parts of the ISerializable
696 interface. GetObjectData () is good, but serialization constructor
697 needs some more love.
699 Sat Jan 5 15:56:54 CET 2002 Paolo Molaro <lupus@ximian.com>
701 * Hashtable.cs: the IDictionaryEnumerator returns DictionaryEntries.
703 2002-01-04 Ravi Pratap <ravi@ximian.com>
705 * Correct name to MonoTODO everywhere.
707 2002-01-04 Ravi Pratap <ravi@ximian.com>
709 * ArrayList.cs : Setting an index does not implicitly
710 extend the arraylist : remove FIXME.
712 Decorate incomplete elements with the TODO attribute.
714 * BitArray.cs : Insert TODO attributes where appropriate.
716 * CaseInsensitiveHashcodeProvider.cs: Ditto.
718 * Hashtable.cs, SortedList.cs : Ditto.
720 Thu Dec 13 20:17:08 CET 2001 Paolo Molaro <lupus@ximian.com>
722 * ArrayList.cs: implemented AddRange(), CopyTo().
724 2001-11-19 Miguel de Icaza <miguel@ximian.com>
726 * DictionaryBase.cs: Implemented.
728 Wed Nov 14 16:45:49 CET 2001 Paolo Molaro <lupus@ximian.com>
730 * ArrayList.cs: implement ArrayListEnumerator.
731 * Hashtable.cs: hardcode the prime number table.
733 2001-11-06 Nick Drochak <ndrochak@gol.com>
734 * Queue.cs: Fixes from Ricardardo. QueueTest also updated.
736 2001-11-04 Nick Drochak <ndrochak@gol.com>
737 * Queue.cs: Fixed small syntax errors that were preventing the compile.
738 I changed the build file to include Queue.cs as well.
740 2001-11-04 Nick Drochak <ndrochak@gol.com>
741 * ArrayList.cs: Fixed "off by one" error when shifting left the array when
744 * CollectionBase.cs: Added OnValidate(), OnRemove() and OnRemoveComplete()
745 hook methods to the RemoveAt() method.
747 2001-11-04 Nick Drochak <ndrochak@gol.com>
748 * ArrayList.cs: Added private enumerator class and make GetEnumerator()
749 methods return an instance of it.
751 Tue Sep 25 18:52:48 CEST 2001 Paolo Molaro <lupus@ximian.com>
753 * ArrayList.cs: fix Insert () to check capacity, not count.
755 Tue Sep 25 16:54:54 CEST 2001 Paolo Molaro <lupus@ximian.com>
757 * DictionaryEntry.cs: added.
759 2001-08-10 Dietmar Maurer <dietmar@ximian.com>
761 * common.src: removed duplicate entries
763 2001-08-08 Nick Drochak <ndrochak@gol.com>
765 * ReadOnlyCollectionBase.cs: Initialized private member.
766 * CollectionBase.cs: Initialized private member.
767 * common.src : Added ReadOnlyCollectionBase.cs and CollectionBase.cs
768 * /mcs/class/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
769 * /mcs/makefile: Used $(SYSTEMROOT) instead of hard coded //c/winnt
771 2001-08-08 Nick Drochak <nick@jobdragon.com>
773 * CollectionBase.cs: Add
774 * ReadOnlyCollectionBase.cs: Add
775 * CollectionBaseTest.cs: Add
776 * ReadOnlyCollectionBaseTest.cs: Add
778 2001-07-31 Garrett Rooney <rooneg@electricjellyfish.net>
780 * StackTest.cs: Add Test case for System.Collections.Stack.
781 Contributed by Chris Hynes <chrish@assistedsolutions.com>
783 2001-07-30 Garrett Rooney <rooneg@electricjellyfish.net>
785 * Stack.cs: Clone() doesn't need to check if it's synchronized, since
786 we override it in SyncStack anyway...
788 * Stack.cs: Pop() now shrinks the array if we drop below 1/4 full, to
789 avoid using massive amounts of memory that are not necessary. We only
790 drop to half the current size, which I hope will avoid the 'ping-pong'
793 * Stack.cs: SyncStack.IsReadOnly should return stack.IsReadOnly
794 instead of just returning false, since we may have a ReadOnly wrapper
795 in the future (although i can't imagine why). Thanks to David
796 Menestrina <dmenest@yahoo.com> for pointing this out.
798 2001-07-23 Sergey Chaban <serge@wildwestsoftware.com>
800 * Hashtable.cs: Fixed bug in Clear(), the Count wasn't zeroed.
801 From now, Clear() increases modification count.
802 Fixed HCP bug in GetHash(object) - hcp.GetHashCode() was used
803 instead of hcp.GetHashCode(key). This was resulted in the
804 insanely long lookup times when HashCodeProvider was used to
805 construct Hashtable. Added thread-safe wrapper.
807 2001-07-16 David Menestrina <dmenest@yahoo.com>
810 * BitArrayTest.cs: Add
812 2001-07-18 Miguel de Icaza <miguel@ximian.com>
814 * IDictionary.cs (Collections): IDictionary implements ICollection
815 as well. Thanks Sergey!
817 2001-07-18 Garrett Rooney <rooneg@electricjellyfish.net>
819 * Stack.cs Removed unnecessary locking from many methods of
820 SyncStack, removed SyncEnumerator because it was unnecessary,
821 added a modCount member to Stack and Stack.Enumerator, to
822 ensure that the Stack has not been modified out form under the
823 Enumerator, and changed the Enumerator to use a reference to the
824 stack rather than copying over the contents array.
826 2001-07-17 David Menestrina <dmenest@yahoo.com>
828 * Added implementation of BitArray.
830 2001-07-17 Miguel de Icaza <miguel@ximian.com>
832 * Hashtable.cs: Removed call to d.Count in the Hashtable
833 constructor that takes an IDictionary as IDictionary does not
834 provide a Count field.
836 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
838 * IDictionary.cs: Clear was clear.
840 2001-07-13 Miguel de Icaza <miguel@ximian.com>
842 * All files: Renamespace things to System.
844 2001-07-05 Vladimir Vukicevic <vladimir@ximian.com>
846 * ArrayList.cs: initial checkin and implementation
848 * ICollection.cs, IComprarer.cs, IDictionary.cs,
849 IDictionaryEnumerator.cs, IEnumerable.cs, IHashCodeProvider.cs,
850 IList.cs: initial checkin