In mcs:
[mono.git] / mcs / class / corlib / System.Collections.Generic / ChangeLog
1 2005-05-26  Zoltan Varga  <vargaz@freemail.hu>
2
3         * Dictionary.cs: Fix a warning.
4
5         * IDictionary.cs: Add missing TryGetValue method.
6
7 2005-05-19  Geoff Norton  <gnorton@customerdna.com>
8
9         * List.cs (Insert): Resize the array before the shift if needed
10
11 2005-05-18  Miguel de Icaza  <miguel@novell.com>
12
13         * List.cs (GetRange): Implement.
14
15         Do not do lazy loading of data.  Not worth adding an
16         extra check, and not worth the bugs. 
17
18         This decision wont be discussed until: a) a full List regression
19         test suite exists and  b) performance benchmarks are created.  (b)
20         depends on (a) or the argument wont even be heard. 
21
22 2005-05-13  Atsushi Enomoto  <atsushi@ximian.com>
23
24         * Queue.cs, Stack.cs: moved to System.dll
25
26 2005-05-06  Martin Baulig  <martin@ximian.com>
27
28         * *.cs: Add CLSCompliant(true) where missing.
29
30 2005-05-06  Zoltan Varga  <vargaz@freemail.hu>
31
32         * *.cs: Remove CLSCompliant(false) attributes.
33
34 2005-05-05  Zoltan Varga  <vargaz@freemail.hu>
35
36         * List.cs: Applied patch from Mart Roosmaa (roosmaa@gmail.com). 
37         Fix Insert method. Fixes #74824.
38
39 2005-04-29  Martin Baulig  <martin@ximian.com>
40
41         Reflect latest spec changes.
42
43         * IEnumerable.cs (IEnumerable<T>): Implement IEnumerable.
44         * IEnumerator.cs (IEnumerator<T>): Implement IEnumerator.
45
46 2005-04-29  Raja R Harinath  <rharinath@novell.com>
47
48         Remove FIXME.
49         * Dictionary.cs (Slot<K,V>): Move to ...
50         (Dictionary<K,V>.Slot): ... here.
51
52 2005-04-28  Martin Baulig  <martin@ximian.com>
53
54         * Dictionary.cs, Queue.cs, Stack.cs, List.cs, Comparer.cs: Don't
55         duplicate type parameters in the nested classes.
56
57 2005-04-20  Zoltan Varga  <vargaz@freemail.hu>
58
59         * List.cs: Fix ToArray () method. Fixes #74675.
60
61 2005-04-04  Raja R Harinath  <rharinath@novell.com>
62
63         * Dictionary.cs: Update to draft of Feb 27.  Add some argument checks.
64         (GetSlot): Don't throw KeyNotFoundException.  Unify all list
65         traversals in here.  Move found key to head of chain, and return
66         the index of the chain suitable for/containing the key.
67         (Item, Add, Remove): Simplify, and remove FIXMEs.
68         (Resize): Reuse linked list nodes from old table.
69         (Dictionary.CopyTo, HashKeyCollection.CopyTo, HashValueCollection.CopyTo):
70         Add some argument checks.
71
72 2005-04-02  Ben Maurer  <bmaurer@ximian.com>
73
74         * Dictionary.cs: Real impl.
75
76 2005-02-21  Martin Baulig  <martin@ximian.com>
77
78         * IComparer.cs: Reverted the last change here, Equals() and
79         GetHashCode() have been removed a long time ago.
80
81 2005-02-21  Kazuki Oikawa  <kazuki@panicode.com>
82
83         * IComparer.cs, IDictionary.cs: Corrected the wrong declaration.
84
85 2005-02-11  Carlos Alberto Cortez <calberto.cortez@gmail.com>
86
87         * List.cs: Added internal ReadOnlyCollection class,
88         which is a wrapper for a read only IList<T> version of the List<T>.
89         Used in AsReadOnly () method.
90         
91 2005-02-07  Ben Maurer  <bmaurer@ximian.com>
92
93         * List.cs (CheckRange): Comparison error. Duh!
94         (Shift): really deal with neg. delta. Also, adjust the `size'.
95
96         Based on a patch from Marc Denty (marc.denty@libertysurf.fr).
97
98         Fixes #72258.
99
100 2005-01-29  Ben Maurer  <bmaurer@ximian.com>
101
102         * Queue.cs: `duh' bugs.
103
104 2004-12-27  Ben Maurer  <bmaurer@ximian.com>
105
106         * Stack.cs: Stupid bug fixes.
107
108         * List.cs: My new (mostly untested ;-) impl of List
109         <T>. Implements most of the API.
110
111 2004-12-26  Ben Maurer  <bmaurer@ximian.com>
112
113         * Queue.cs: New, non-linked-list based impl.
114
115 2004-11-29  Ben Maurer  <bmaurer@ximian.com>
116
117         * Comparer.cs: Update this class.
118
119 2004-11-25  Carlos Alberto Cortez <calberto.cortez@gmail.com>
120
121         * List.cs: Enumerator changed to behave like the MS impl.
122         
123 2004-11-25  Ben Maurer  <bmaurer@ximian.com>
124
125         * Stack.cs: New, list based impl. Waiting for some gmcs fixes.
126
127 2004-11-10  Martin Baulig  <martin@ximian.com>
128
129         * IDictionary.cs (IDictionary): `IsReadOnly' and `Clear' are
130         inherited from ICollection.
131
132 2004-09-20  Gert Driesen <drieseng@users.sourceforge.net>
133
134         * ReadOnlyCollection.cs: Moved to System assembly
135         * Collection.cs: Moved to System assembly
136
137 2004-09-07  Carlos Alberto Cortez <carlos@unixmexico.org>
138
139         * ReadOnlyCollection.cs: New file and changes to 
140         Collection.cs tu support it.
141
142 2004-09-05  Marek Safar <marek.safar@seznam.cz>
143
144         * Dictionary.cs: Added new file (no implementation).
145
146 2004-09-03  Carlos Alberto Cortez <carlos@unixmexico.org>
147
148         * Collection.cs: Small improvements related to
149         style, resizing, and type checking.
150
151 2004-09-01  Carlos Alberto Cortez <carlos@unixmexico.org>
152
153         * Collection.cs: New file.
154
155 2004-08-04  Martin Baulig  <martin@ximian.com>
156
157         * List.cs (List<T>.Enumerator): Made this a struct.
158         (List<T>.GetEnumerator): The public method now returns the
159         `Enumerator' struct.
160
161 2004-08-02  Martin Baulig  <martin@ximian.com>
162
163         Started to do some API review.
164
165         * ICollection.cs (ICollection<T>): Added IsReadOnly, Add, Clear,
166         Contains and Remove.
167
168         * IList.cs (IList<T>): Removed Add, Clear, Constains, Remove,
169         IsReadOnly and IsFixedSize.
170
171 2004-08-02  Martin Baulig  <martin@ximian.com>
172
173         * IList.cs (IList.Add): Changed return type to void.
174
175         * List.cs (List.Add): Likewise.
176
177 2004-07-16  Martin Baulig  <martin@ximian.com>
178
179         * IComparable.cs: Removed, it's in System.
180
181 2004-07-12  Duncan Mak  <duncan@ximian.com>
182
183         * KeyNotFoundException.cs: Added.
184
185 2004-06-18  Ben Maurer  <bmaurer@ximian.com>
186
187         * Comparer.cs: v2 impl. Some workarounds for gmcs are enabled.
188
189 2004-05-26  Sebastien Pouliot  <sebastien@ximian.com>
190
191         * Queue.cs: Fixed possible integer overflow in CopyTo methods.
192         * Stack.cs: Fixed possible integer overflow in CopyTo methods.
193
194 2004-03-13  Martin Baulig  <martin@ximian.com>
195
196         * Stack.cs, Queue.cs, List.cs: Implement the non-generic interfaces.
197
198 2004-03-11  Martin Baulig  <martin@ximian.com>
199
200         * List.cs: New file.
201
202 2004-03-11  Martin Baulig  <martin@ximian.com>
203
204         * Stack.cs, Queue.cs: Just use `Node' for the nested class, not
205         `Node<T>' (which would create another type parameter `T'
206         overriding `T' from the outer class).   
207
208 2004-02-23  Martin Baulig  <martin@ximian.com>
209
210         * Stack.cs, Queue.cs: New files.  Hmm, looks like I forgot to add
211         them to CVS; they're already on my hard disk since December or so.
212
213 2003-12-08  Martin Baulig  <martin@ximian.com>
214
215         * *.cs: require GENERICS.
216
217 2003-11-08 Ben Maurer  <bmaurer@users.sourceforge.net>
218
219         * *.cs: require NET_2_0 and GENERICS
220
221 2003-11-07 Ben Maurer  <bmaurer@users.sourceforge.net>
222
223         * IComparable.cs, IComparer.cs, IDictionary.cs, IKeyComparer.cs, KeyValuePair.cs
224         Added.
225
226 2003-11-06  Martin Baulig  <martin@ximian.com>
227
228         * ICollection.cs, IList.cs, IEnumerator.cs, IEnumerable.cs:
229         Started to implement the System.Collections.Generic classes.
230