1 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
3 * BitVector32.cs : oops those operators are for BitVector32.Section,
4 not BitVector32 itself.
6 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
8 * BitVector32.cs : added operator== and != in 2.0.
10 2006-03-11 Miguel de Icaza <miguel@novell.com>
12 * IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
15 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
17 * OrderedDictionary.cs: OnDeserialization is protected virtual (not
20 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
22 * BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
23 * HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
24 * IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
25 * NameObjectCollectionBase.cs: Fixed 2.0 API changes and
27 * NameValueCollection.cs: Fixed 2.0 API changes.
28 * OrderedDictionary.cs: Fixed API changes, serialization and this[int]
30 * StringDictionary.cs: Added missing null checks.
32 2005-10-26 Raja R Harinath <rharinath@novell.com>
34 * HybridDictionary.cs (is_list): Remove.
35 (inner): Remove 'set' accessor.
36 (HybridDictionary, Switch): Initialize 'list' and 'hashtable' directly.
38 2005-10-26 Svetlana Zholkovsky <svetlanaz@mainsoft.com>
40 * NameObjectCollectionBase.cs
43 Fix serialization compatibility with .NET
45 2005-09-01 Raja R Harinath <rharinath@novell.com>
47 * NameValueCollection.cs (Add): Add a key from the other
48 collection even if its associated value list is empty.
49 Fix regression introduced by last change.
51 2005-08-30 Jackson Harper <jackson@ximian.com>
53 * NameValueCollection.cs: Don't crash when we have empty
56 2005-08-19 Jb Evain <jbevain@gmail.com>
58 * NameObjectCollectionBase (GetEnumerator):
59 Use the virtual modifier only in 2.0 profile.
61 2005-08-03 Raja R Harinath <rharinath@novell.com>
63 * ListDictionary.cs: Rewrite to reduce key comparison overhead.
64 Unify all list traversals into FindEntry.
66 (FindEntry): Split into two duplicate loops, one when comparer ==
67 null, the other when it isn't. Add new out parameter that points
68 to the entry preceding the result.
69 (Add, AddImpl, this []): Update.
70 (Remove): Use FindEntry for traversal.
71 (CopyTo): Add more tests.
72 (ListEntryEnumerator): Simplify.
73 (ListEntryCollection, ListEntryCollectionEnumerator): Likewise.
75 * HybridDictionary.cs: Rewrite to avoid a test on each operation.
76 (list, hashtable): Remove.
77 (inner): New IDictionary field that can hold either a list
78 dictionary or a hashtable.
79 (is_list): New. Notes whether 'inner' holds a list dictionary or not.
80 (Clear): Don't change a hashtable to a list dictionary.
82 2005-07-25 Lluis Sanchez Gual <lluis@novell.com>
84 * NameObjectCollectionBase.cs: Don't throw an exception in
85 OnDeserialization if infoCopy has not been set, which means that
86 the serialization constructor has not been called, because
87 a subclass may completely override that constructor.
88 This fixes bug #75607.
90 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
92 * ProcessStringDictionary.cs: PlatformID for 2.0.
94 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
96 * NameObjectCollectionBase.cs: after 1.0, this uses DefaultInvariant for
97 the hash code provider and comparer, as Ben said.
99 2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
101 * OrderedDictionary.cs: Don't crash when removing an item
102 that is not in the dictionary.
104 2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
106 * ProcessStringDictionary.cs: on non-windows system, don't make the
107 hashtable case-insensitive. Fixes bug #74796.
109 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
111 * OrderedDictionary.cs: Fix bug in item setter.
113 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
115 * OrderedDictionary.cs: Implemented.
117 2004-08-16 Duncan Mak <duncan@ximian.com>
119 * NameObjectCollectionBase.cs: Fix line endings. It's mostly in
120 DOS endings, so I left it at that.
121 (GetEnumerator): Made virtual.
123 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
125 * HybridDictionary.cs: Fixed Contains for null argument (again). Return
126 false when dictionary is empty or else throw an ArgumentNullException.
127 * NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
128 completes a TODO and fix Remove in NameValueCollection.
129 * NameValueCollection.cs: Added missing Rank check in CopyTo (Array,
132 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
134 * HybridDictionary.cs: Fixed Contains for null argument.
135 * NameValueCollection.cs: Fixed Set to remove existing values. Fixed
136 Add(NVC) to throw same exception as MS implementation.
138 2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
140 * StringCollection.cs: Renamed internal variable to make serialization
141 compatible with MS.NET.
143 2004-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
145 * ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
148 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
150 * ProcessStringDictionary.cs: the same as StringDictionary, but
151 doesn't turn keys into lowercase.
153 2003-11-18 Todd Berman <tberman@gentoo.org>
155 * IOrderedDictionary.cs: new v2 interface
157 2003-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
159 * NameObjectCollectionBase.cs: added serialization support.
161 2003-09-04 Duncan Mak <duncan@ximian.com>
163 Patches from Alon Gazit <along@mainsoft.com>.
165 * BitVector32.cs (CreateSection): Check that the new
166 calculated offset isn't more than 32 and not that the sum of the
167 new offset and the number of set bits is more than 32.
168 (this): Perform bitwise and with the complement of the mask
169 shifted version (~(section.Mask << section.Offset)) and not with
170 the shifted version of the mask's complement (~section.Mask <<
172 (this): Currently doesn't return the correct value when the data
173 in the BitVector32 instance is negative.
175 * ListDictionary.cs (CopyTo): If the array is null, it should
176 throw ArgumentNullException. If the index is less than 0, it
177 should throw ArgumentOutOfRangeException.
178 (Remove): Throw ArgumentNullException when the parameter is null.
180 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
182 * StringDictionary.cs: Reworked attributes based on the new Consts scheme
184 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
186 * NameObjectCollectionBase.cs: Implemented a few missing methods, fixed public signatures
188 2003-07-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
190 * NameObjectCollectionBase.cs: Fixed signature to be CLSCompliant, changed/corrected header
191 * StringCollection.cs: Improved implementation (should perform better)
193 2003-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
195 * BitVector32.cs: Implemented missing method
196 * NameValueCollection.cs: Fixed public signature, Styleguidelined header
197 * StringDictionary.cs: Added missing attribute, fixed visibilities
199 2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
200 * StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
203 2003-03-03 Miguel de Icaza <miguel@ximian.com>
205 * NameValueCollection.cs: Uncoment constructor, an old MCS bug
206 prevented this from working. Removed test for nullitude of col,
207 as it would have aborted anyways on the dereference in the base
210 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
212 * StringCollection.cs: fixed range checks in CopyTo.
214 2002-11-06 Daniel Stodden <stodden@in.tum.de>
217 - Filled in missing CopyTo()s.
218 - No, overwriting an entry should not change the Count <:)
220 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
222 * NameValueCollection.cs: fixed Add (NameValueCollection).
224 2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
226 * StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
227 (mathpup@mylinuxisp.com).
229 2002-07-22 Tim Coleman <tim@timcoleman.com>
230 * NameObjectCollectionBase.cs: added iterator stubb to
231 NameObjectCollectionBase.KeysCollection
233 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
235 * HybridDictionary.cs:
236 (Remove): fixed. The value is either in the list or in the hash.
238 2002-06-24 Andrew Birkett <adb@tardis.ed.ac.uk>
240 * BitVector32.cs: Implemented 'set' section indexer. Check for
241 overly large sections. Factored out some helper methods.
243 2002-05-11 Lawrence Pit <loz@cable.a2000.nl>
245 * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
247 2002-05-10 Lawrence Pit <loz@cable.a2000.nl>
249 * HybridDictionary.cs: implemented
250 * CollectionsUtil.cs: implemented
251 * BitVector32.cs: implemeneted
252 * Modified signature of method ListDictionary.GetEnumerator
254 Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <lupus@ximian.com>
256 * NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
257 it compile and provide the constructor needed by nunitcore.
259 2002-01-05 Ravi Pratap <ravi@ximian.com>
261 * BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!
263 * NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.
265 2001-08-24 Nick Drochak <ndrochak@gol.com>
266 * NameObjectCollectionBase.cs: Add stub implementation
267 * common.src: Add NameObjectCollectionBase to the build
268 * NameValueCollection.cs: add 'override' to CopyTo(). Maybe
269 this code actually belongs in the superclass.
271 2001-08-24 Miguel de Icaza <miguel@ximian.com>
273 * common.src: Add NameValueCollection.cs to the build
275 2001-08-22 John Barnette <jbarn@httcb.net>
276 * StringDictionary.cs:
277 Initial working implementation.
279 Initial working implementation.
281 2001-07-17 John Barnette <jbarn@httcb.net>
282 * StringCollection.cs:
283 Implemented and working according to spec.
285 (ADDED) Implemented and working according to spec.
286 * StringCollectionTest.cs:
287 (ADDED) Initial revision contains 17 tests; all of 'em
288 run correctly. More complicated tests to follow.
290 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
292 * StringCollection.cs: Added so that CodeDom.* would compile.