1 2008-09-09 Scott Peterson <lunchtimemama@gmail.com>
3 * BitVector32.cs: Minor fixes. Simplified Section.ToString and
4 GetHashCode, and BitVector32.Equals.
6 2008-08-06 Scott Peterson <lunchtimemama@gmail.com>
8 * BitVector32.cs: Fixed a bug which allowed for invalid sections
9 to be created with CreateSection. Also simplified HighestSetBit
10 algorithm and got rid ofNumberOfSetBits (using HighestSetBit
13 2008-07-31 Jb Evain <jbevain@novell.com>
15 * StringDictionary.cs: remove ComponentModel bits for NET_2_1.
17 2008-04-13 Jb Evain <jbevain@novell.com>
19 * CollectionsUtil.cs: internalize for the 2.1 profile.
20 Merged from the Moonlight 2 branch.
22 2008-01-07 Juraj Skripsky <js@hotfeet.ch>
24 * NameObjectCollectionBase.cs: Add argument checking in CopyTo,
25 replace use of enumerator by for-loop. Check IsReadOnly in BaseSet()
26 only on the 2.0 profile.
28 2007-04-29 Ilya Kharmatsky <ilyak@mainsoft.com>
30 * NameValueCollection.cs: Proper exception handling in several
31 constructors and CopyTo method, under NET_2_0 target.
33 2007-04-15 Marek Safar <marek.safar@gmail.com>
35 * ListDictionary: Removed not used variable.
37 2007-03-27 Alan McGovern <alan.mcgovern@gmail.com>
39 * BitVector32.cs: Bugfix for op_inequality.
41 2007-01-18 Konstantin Triger <kostat@mainsoft.com>
43 * OrderedDictionary.cs: use IEqualityComparer for key comparison.
45 2006-10-03 Andrew Skiba <andrews@mainsoft.com>
47 * ListDictionary.cs: remove unnecessary out parameter
49 2006-10-02 Gert Driesen <drieseng@users.sourceforge.net>
51 * CollectionsUtil.cs: Set eol-style to CRLF.
52 * StringDictionary.cs: Fixed line endings. Set eol-style to CRLF.
53 * StringEnumerator.cs: Set eol-style to CRLF.
54 * OrderDictionary.cs: Set eol-style to CRLF.
56 2006-09-30 Gert Driesen <drieseng@users.sourceforge.net>
58 * OrderedDictionary.cs: IsReadOnly, indexers, Keys and Values should
61 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
63 * BitVector32.cs : oops those operators are for BitVector32.Section,
64 not BitVector32 itself.
66 2006-04-04 Atsushi Enomoto <atsushi@ximian.com>
68 * BitVector32.cs : added operator== and != in 2.0.
70 2006-03-11 Miguel de Icaza <miguel@novell.com>
72 * IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
75 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
77 * OrderedDictionary.cs: OnDeserialization is protected virtual (not
80 2005-11-30 Sebastien Pouliot <sebastien@ximian.com>
82 * BitVector32.cs: Fixed 2.0 API changes and this[int] setter under 2.0
83 * HybridDictionary.cs: Fixed Contains different behaviour under 2.0.
84 * IOrderedDictionary.cs: Added missing GetEnumarator to the interface.
85 * NameObjectCollectionBase.cs: Fixed 2.0 API changes and
87 * NameValueCollection.cs: Fixed 2.0 API changes.
88 * OrderedDictionary.cs: Fixed API changes, serialization and this[int]
90 * StringDictionary.cs: Added missing null checks.
92 2005-10-26 Raja R Harinath <rharinath@novell.com>
94 * HybridDictionary.cs (is_list): Remove.
95 (inner): Remove 'set' accessor.
96 (HybridDictionary, Switch): Initialize 'list' and 'hashtable' directly.
98 2005-10-26 Svetlana Zholkovsky <svetlanaz@mainsoft.com>
100 * NameObjectCollectionBase.cs
103 Fix serialization compatibility with .NET
105 2005-09-01 Raja R Harinath <rharinath@novell.com>
107 * NameValueCollection.cs (Add): Add a key from the other
108 collection even if its associated value list is empty.
109 Fix regression introduced by last change.
111 2005-08-30 Jackson Harper <jackson@ximian.com>
113 * NameValueCollection.cs: Don't crash when we have empty
116 2005-08-19 Jb Evain <jbevain@gmail.com>
118 * NameObjectCollectionBase (GetEnumerator):
119 Use the virtual modifier only in 2.0 profile.
121 2005-08-03 Raja R Harinath <rharinath@novell.com>
123 * ListDictionary.cs: Rewrite to reduce key comparison overhead.
124 Unify all list traversals into FindEntry.
126 (FindEntry): Split into two duplicate loops, one when comparer ==
127 null, the other when it isn't. Add new out parameter that points
128 to the entry preceding the result.
129 (Add, AddImpl, this []): Update.
130 (Remove): Use FindEntry for traversal.
131 (CopyTo): Add more tests.
132 (ListEntryEnumerator): Simplify.
133 (ListEntryCollection, ListEntryCollectionEnumerator): Likewise.
135 * HybridDictionary.cs: Rewrite to avoid a test on each operation.
136 (list, hashtable): Remove.
137 (inner): New IDictionary field that can hold either a list
138 dictionary or a hashtable.
139 (is_list): New. Notes whether 'inner' holds a list dictionary or not.
140 (Clear): Don't change a hashtable to a list dictionary.
142 2005-07-25 Lluis Sanchez Gual <lluis@novell.com>
144 * NameObjectCollectionBase.cs: Don't throw an exception in
145 OnDeserialization if infoCopy has not been set, which means that
146 the serialization constructor has not been called, because
147 a subclass may completely override that constructor.
148 This fixes bug #75607.
150 2005-05-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
152 * ProcessStringDictionary.cs: PlatformID for 2.0.
154 2005-05-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
156 * NameObjectCollectionBase.cs: after 1.0, this uses DefaultInvariant for
157 the hash code provider and comparer, as Ben said.
159 2005-05-05 Lluis Sanchez Gual <lluis@novell.com>
161 * OrderedDictionary.cs: Don't crash when removing an item
162 that is not in the dictionary.
164 2005-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
166 * ProcessStringDictionary.cs: on non-windows system, don't make the
167 hashtable case-insensitive. Fixes bug #74796.
169 2005-03-23 Lluis Sanchez Gual <lluis@novell.com>
171 * OrderedDictionary.cs: Fix bug in item setter.
173 2005-03-04 Lluis Sanchez Gual <lluis@novell.com>
175 * OrderedDictionary.cs: Implemented.
177 2004-08-16 Duncan Mak <duncan@ximian.com>
179 * NameObjectCollectionBase.cs: Fix line endings. It's mostly in
180 DOS endings, so I left it at that.
181 (GetEnumerator): Made virtual.
183 2004-06-14 Sebastien Pouliot <sebastien@ximian.com>
185 * HybridDictionary.cs: Fixed Contains for null argument (again). Return
186 false when dictionary is empty or else throw an ArgumentNullException.
187 * NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
188 completes a TODO and fix Remove in NameValueCollection.
189 * NameValueCollection.cs: Added missing Rank check in CopyTo (Array,
192 2004-06-05 Sebastien Pouliot <sebastien@ximian.com>
194 * HybridDictionary.cs: Fixed Contains for null argument.
195 * NameValueCollection.cs: Fixed Set to remove existing values. Fixed
196 Add(NVC) to throw same exception as MS implementation.
198 2004-05-24 Lluis Sanchez Gual <lluis@ximian.com>
200 * StringCollection.cs: Renamed internal variable to make serialization
201 compatible with MS.NET.
203 2004-03-23 Gonzalo Paniagua Javier <gonzalo@ximian.com>
205 * ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
208 2004-03-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
210 * ProcessStringDictionary.cs: the same as StringDictionary, but
211 doesn't turn keys into lowercase.
213 2003-11-18 Todd Berman <tberman@gentoo.org>
215 * IOrderedDictionary.cs: new v2 interface
217 2003-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * NameObjectCollectionBase.cs: added serialization support.
221 2003-09-04 Duncan Mak <duncan@ximian.com>
223 Patches from Alon Gazit <along@mainsoft.com>.
225 * BitVector32.cs (CreateSection): Check that the new
226 calculated offset isn't more than 32 and not that the sum of the
227 new offset and the number of set bits is more than 32.
228 (this): Perform bitwise and with the complement of the mask
229 shifted version (~(section.Mask << section.Offset)) and not with
230 the shifted version of the mask's complement (~section.Mask <<
232 (this): Currently doesn't return the correct value when the data
233 in the BitVector32 instance is negative.
235 * ListDictionary.cs (CopyTo): If the array is null, it should
236 throw ArgumentNullException. If the index is less than 0, it
237 should throw ArgumentOutOfRangeException.
238 (Remove): Throw ArgumentNullException when the parameter is null.
240 2003-07-17 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
242 * StringDictionary.cs: Reworked attributes based on the new Consts scheme
244 2003-07-10 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
246 * NameObjectCollectionBase.cs: Implemented a few missing methods, fixed public signatures
248 2003-07-09 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
250 * NameObjectCollectionBase.cs: Fixed signature to be CLSCompliant, changed/corrected header
251 * StringCollection.cs: Improved implementation (should perform better)
253 2003-07-02 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
255 * BitVector32.cs: Implemented missing method
256 * NameValueCollection.cs: Fixed public signature, Styleguidelined header
257 * StringDictionary.cs: Added missing attribute, fixed visibilities
259 2003-06-08 Ben Maurer <bmaurer@users.sourceforge.net>
260 * StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
263 2003-03-03 Miguel de Icaza <miguel@ximian.com>
265 * NameValueCollection.cs: Uncoment constructor, an old MCS bug
266 prevented this from working. Removed test for nullitude of col,
267 as it would have aborted anyways on the dereference in the base
270 2003-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
272 * StringCollection.cs: fixed range checks in CopyTo.
274 2002-11-06 Daniel Stodden <stodden@in.tum.de>
277 - Filled in missing CopyTo()s.
278 - No, overwriting an entry should not change the Count <:)
280 2002-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
282 * NameValueCollection.cs: fixed Add (NameValueCollection).
284 2002-09-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
287 (mathpup@mylinuxisp.com).
289 2002-07-22 Tim Coleman <tim@timcoleman.com>
290 * NameObjectCollectionBase.cs: added iterator stubb to
291 NameObjectCollectionBase.KeysCollection
293 2002-07-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
295 * HybridDictionary.cs:
296 (Remove): fixed. The value is either in the list or in the hash.
298 2002-06-24 Andrew Birkett <adb@tardis.ed.ac.uk>
300 * BitVector32.cs: Implemented 'set' section indexer. Check for
301 overly large sections. Factored out some helper methods.
303 2002-05-11 Lawrence Pit <loz@cable.a2000.nl>
305 * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
307 2002-05-10 Lawrence Pit <loz@cable.a2000.nl>
309 * HybridDictionary.cs: implemented
310 * CollectionsUtil.cs: implemented
311 * BitVector32.cs: implemeneted
312 * Modified signature of method ListDictionary.GetEnumerator
314 Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <lupus@ximian.com>
316 * NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
317 it compile and provide the constructor needed by nunitcore.
319 2002-01-05 Ravi Pratap <ravi@ximian.com>
321 * BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!
323 * NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.
325 2001-08-24 Nick Drochak <ndrochak@gol.com>
326 * NameObjectCollectionBase.cs: Add stub implementation
327 * common.src: Add NameObjectCollectionBase to the build
328 * NameValueCollection.cs: add 'override' to CopyTo(). Maybe
329 this code actually belongs in the superclass.
331 2001-08-24 Miguel de Icaza <miguel@ximian.com>
333 * common.src: Add NameValueCollection.cs to the build
335 2001-08-22 John Barnette <jbarn@httcb.net>
336 * StringDictionary.cs:
337 Initial working implementation.
339 Initial working implementation.
341 2001-07-17 John Barnette <jbarn@httcb.net>
342 * StringCollection.cs:
343 Implemented and working according to spec.
345 (ADDED) Implemented and working according to spec.
346 * StringCollectionTest.cs:
347 (ADDED) Initial revision contains 17 tests; all of 'em
348 run correctly. More complicated tests to follow.
350 2001-07-15 Sean MacIsaac <macisaac@ximian.com>
352 * StringCollection.cs: Added so that CodeDom.* would compile.