Commit Graph
32 Commits
Author SHA1 Message Date
Sebastien Pouliot 9abca3e9dd 2004-06-14 Sebastien Pouliot <[email protected]>
* NameObjectCollectionBase.cs: Now use IComparer to compare keys. This
	completes a TODO and fix Remove in NameValueCollection.

svn path=/trunk/mcs/; revision=29550
2004-06-14 20:43:18 +00:00
Sebastien Pouliot 95d1497d5f 2004-06-14 Sebastien Pouliot <[email protected]>
* HybridDictionary.cs: Fixed Contains for null argument (again). Return
	false when dictionary is empty or else throw an ArgumentNullException.
	* NameValueCollection.cs: Added missing Rank check in CopyTo (Array,
	int).

svn path=/trunk/mcs/; revision=29534
2004-06-14 19:12:47 +00:00
Sebastien Pouliot a897118880 2004-06-05 Sebastien Pouliot <[email protected]>
* HybridDictionary.cs: Fixed Contains for null argument.
	* NameValueCollection.cs: Fixed Set to remove existing values. Fixed
	Add(NVC) to throw same exception as MS implementation.

svn path=/trunk/mcs/; revision=28891
2004-06-05 23:50:40 +00:00
Lluis Sanchez 013f0130e1 * StringCollection.cs: Renamed internal variable to make serialization
compatible with MS.NET.

svn path=/trunk/mcs/; revision=27962
2004-05-24 11:33:48 +00:00
Gonzalo Paniagua Javier 93973d690f 2004-03-23 Gonzalo Paniagua Javier <[email protected]>
* ListDictionary.cs: mark ListEntry as serializable. Thanks to Jan
	Jaros.

svn path=/trunk/mcs/; revision=24473
2004-03-23 17:27:09 +00:00
Gonzalo Paniagua Javier 429226eafa 2004-03-15 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added ProcessStringDictionary.

	* System.Collections.Specialized/ProcessStringDictionary.cs: the same
	as StringDictionary, but doesn't turn keys into lowercase.

	* System.Diagnostics/Process.cs: added environment variables setting
	support and also send useShellExecute to the runtime.

	* System.Diagnostics/ProcessStartInfo.cs: support EnvironmentVariables.
	MS uses StringDictionary, which turns keys into lowercase. We don't
	do that.

svn path=/trunk/mcs/; revision=24068
2004-03-15 21:19:08 +00:00
Todd Berman 54796c8886 2003-11-18 Todd Berman <[email protected]>
* IOrderedDictionary.cs: new v2 interface

svn path=/trunk/mcs/; revision=20206
2003-11-19 01:46:48 +00:00
Gonzalo Paniagua Javier 43f3a01c49 2003-10-21 Gonzalo Paniagua Javier <[email protected]>
* NameObjectCollectionBase.cs: added serialization support.

svn path=/trunk/mcs/; revision=19264
2003-10-21 10:54:22 +00:00
Duncan Mak e61457e5ba Integrate the patches contributed by Alon Gazit <[email protected]>.
* BitVector32.cs (CreateSection): Check that the new
calculated offset isn't more than 32 and not that the sum of the
new offset and the number of set bits is more than 32.
(this): Perform bitwise and with the complement of the mask
shifted version (~(section.Mask << section.Offset)) and not with
the shifted version of the mask's complement (~section.Mask <<
section.Offset).
(this): Currently doesn't return the correct value when the data
in the BitVector32 instance is negative.

* ListDictionary.cs (CopyTo): If the array is null, it should
throw ArgumentNullException. If the index is less than 0, it
should throw ArgumentOutOfRangeException.
(Remove): Throw ArgumentNullException when the parameter is null.

* BitVector32Test.cs (TestNegativeIndexer, TestSectionIndexer,
TestCreateSection): new tests from Alon Gazit <[email protected]>.

* ListDictionaryTest.cs (CopyTo1, CopyTo2, Remove): New file, with
tests from Alon Gazit <[email protected]>.

svn path=/trunk/mcs/; revision=17885
2003-09-04 19:16:30 +00:00
Andreas N 2915b7221f 2003-07-17 Andreas Nahr <[email protected]>
* StringDictionary.cs: Reworked attributes based on the new Consts scheme

svn path=/trunk/mcs/; revision=16336
2003-07-17 11:21:03 +00:00
Andreas N 3bc4589969 2003-07-10 Andreas Nahr <[email protected]>
* NameObjectCollectionBase.cs: Implemented a few missing methods, fixed public signatures

svn path=/trunk/mcs/; revision=16108
2003-07-10 16:57:34 +00:00
Andreas N 9f4c4a035f 2003-07-09 Andreas Nahr <[email protected]>
* NameObjectCollectionBase.cs: Fixed signature to be CLSCompliant, changed/corrected header
	* StringCollection.cs: Improved implementation (should perform better)

svn path=/trunk/mcs/; revision=16092
2003-07-10 14:13:55 +00:00
Andreas N 4014760d0b 2003-07-02 Andreas Nahr <[email protected]>
* BitVector32.cs: Implemented missing method
	* NameValueCollection.cs: Fixed public signature, Styleguidelined header
	* StringDictionary.cs: Added missing attribute, fixed visibilities

svn path=/trunk/mcs/; revision=15879
2003-07-02 22:06:24 +00:00
Ben Maurer 9102ceb52e 2003-06-08 Ben Maurer <[email protected]>
* StringCollection.cs: Rewrote. Now uses ArrayList. Fixes up quite
	a few Rotor bugs.
	* ArrayList.cs, Hashtable.cs, SortedList.cs: Enumerator fixes, error
	checking
We are now passing 37% of the System.Collections.* tests that were failing!

svn path=/trunk/mcs/; revision=15207
2003-06-09 00:41:39 +00:00
Miguel de Icaza 77c3b5453b 2003-03-03 Miguel de Icaza <[email protected]>
* NameValueCollection.cs: Uncoment constructor, an old MCS bug
	prevented this from working.  Removed test for nullitude of col,
	as it would have aborted anyways on the dereference in the base
	constructor call.

svn path=/trunk/mcs/; revision=12163
2003-03-03 23:13:02 +00:00
Gonzalo Paniagua Javier db545706f5 2003-01-12 Gonzalo Paniagua Javier <[email protected]>
* StringCollection.cs: fixed range checks in CopyTo.

svn path=/trunk/mcs/; revision=10407
2003-01-12 08:37:20 +00:00
Daniel Stodden ae48010ffe * ListDictionary.cs:
- Filled in missing CopyTo()s.
		- No, overwriting an entry should not change the Count <:)

svn path=/trunk/mcs/; revision=8858
2002-11-06 21:23:18 +00:00
Gonzalo Paniagua Javier 0bd4fc901a 2002-10-31 Gonzalo Paniagua Javier <[email protected]>
* NameValueCollection.cs: fixed Add (NameValueCollection).

svn path=/trunk/mcs/; revision=8694
2002-10-31 03:41:05 +00:00
Gonzalo Paniagua Javier 9fc1f796b0 2002-09-03 Gonzalo Paniagua Javier <[email protected]>
* StringCollection.cs: fixes bug #29791. Thanks to Marcus Urban
	([email protected]).

svn path=/trunk/mcs/; revision=7194
2002-09-03 09:55:35 +00:00
Tim Coleman d18f25741c 2002-07-22 Tim Coleman <[email protected]>
* NameObjectCollectionBase.cs: added iterator stubb to
                NameObjectCollectionBase.KeysCollection

svn path=/trunk/mcs/; revision=6057
2002-07-23 03:47:46 +00:00
Gonzalo Paniagua Javier 6b0bd13fed 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
* HybridDictionary.cs:
	(Remove): fixed. The value is either in the list or in the hash.

svn path=/trunk/mcs/; revision=5598
2002-07-05 11:44:23 +00:00
Miguel de Icaza f714f60559 2002-06-24 Andrew Birkett <[email protected]>
* BitVector32.cs: Implemented 'set' section indexer.  Check for
	overly large sections.	Factored out some helper methods.

svn path=/trunk/mcs/; revision=5593
2002-07-04 20:27:32 +00:00
Lawrence Pit 67784058ca * NameValueCollection.AsStringArray: fixed ArgumentNullException bug.
svn path=/trunk/mcs/; revision=4539
2002-05-11 21:26:46 +00:00
Lawrence Pit f31d7f7c44 * HybridDictionary.cs: implemented
* CollectionsUtil.cs: implemented
	* BitVector32.cs: implemeneted
	* Modified signature of method ListDictionary.GetEnumerator

svn path=/trunk/mcs/; revision=4458
2002-05-09 20:05:33 +00:00
Paolo Molaro 93416474bd Fri Feb 8 18:02:50 CET 2002 Paolo Molaro <[email protected]>
* NameObjectCollectionBase.cs, NameValueCollection.cs: tweaks to make
	it compile and provide the constructor needed by nunitcore.

svn path=/trunk/mcs/; revision=2267
2002-02-08 13:11:39 +00:00
Ravi Pratap M d65de221e9 2002-01-05 Ravi Pratap <[email protected]>
* BitVector32.cs, ListDictionary.cs : MonoTODO everywhere!

	* NameObjectCollectionBase.cs, NameValueCollection.cs : Ditto.

svn path=/trunk/mcs/; revision=1859
2002-01-05 13:23:03 +00:00
Nick Drochak f541c605cc 2001-09-14 Nick Drochak <[email protected]>
* /mcs/class/makefile:
	  /mcs/class/corlib/makefile:
	  /mcs/mcs/makefile:
	  /toos/makefile:
		use /cygdrive/ instead of //. Old method of
		accessing drives under cygwin is now obsolete with version
		1.3.3 of the cygwin DLL

	* /mcs/System/System.Collections.Specialized/ChangeLog:
		Forgot to commit this for a while.  Sorry 'bout that.

svn path=/trunk/mcs/; revision=815
2001-09-14 01:57:07 +00:00
Miguel de Icaza 144b21b88b Add a couple of new errors and a compiler roadmap.
svn path=/trunk/mcs/; revision=635
2001-08-27 02:42:30 +00:00
John Barnette d07c387db5 Initial add of StringDictionary.
svn path=/trunk/mcs/; revision=561
2001-08-22 13:36:27 +00:00
John Barnette bac0f8e2f8 Initial add of ListDictionary.
svn path=/trunk/mcs/; revision=550
2001-08-22 02:18:15 +00:00
Miguel de Icaza c9a179253e 2001-07-17 John Barnette <[email protected]>
* StringCollection.cs:
		Implemented and working according to spec.
	* StringIterator.cs:
		(ADDED) Implemented and working according to spec.
	* StringCollectionTest.cs:
		(ADDED) Initial revision contains 17 tests; all of 'em
		run correctly.  More complicated tests to follow.

svn path=/trunk/mcs/; revision=241
2001-07-19 19:44:01 +00:00
Sean MacIsaac 3dfc511a33 * StringCollection.cs: Added so that CodeDom.* would compile.
svn path=/trunk/mcs/; revision=149
2001-07-15 05:45:23 +00:00