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