Sebastien Pouliot
abdeb6ae08
2007-11-05 Sebastien Pouliot <[email protected] >
...
* Queue.cs: Avoid IndexOutOfRangeException after TrimToSize. Patch by
Benjamin Lutz. Fix #321657 .
svn path=/trunk/mcs/; revision=88913
2007-11-05 20:47:05 +00:00
Kornél Pál
546a1134d2
Converted source files to UTF-8 (without byte order mark). Use UTF-8 as the default encoding for compilers.
...
svn path=/trunk/mcs/; revision=64941
2006-09-05 13:54:12 +00:00
Miguel de Icaza
5370ce3394
2005-09-29 Miguel de Icaza <[email protected] >
...
* Add ComVisible(true) to all the classes that needed it.
* Removed documentation from DictionaryBase.cs and moved it to
Monodoc.
* ArrayList.cs: Fixed signature for constructor, parameter names
are normative.
* CollectionBase.cs: Add a couple of missing methods.
svn path=/trunk/mcs/; revision=51018
2005-09-30 02:15:04 +00:00
Ben Maurer
851d9deb35
In System.Collections:
...
2005-06-23 Ben Maurer <[email protected] >
* Queue.cs: Use the enumerator rather than copy to in the
ctor. This makes us more compat with msft, for example, when
passing a bit array
* Stack.cs: ditto
In Test/System.Collections:
2005-06-23 Ben Maurer <[email protected] >
* QueueTest.cs, StackTest.cs: Test for #75369 .
svn path=/trunk/mcs/; revision=46461
2005-06-23 23:09:04 +00:00
Ben Maurer
fcca72861f
2005-05-26 Ben Maurer <[email protected] >
...
* Queue.cs (grow): fix 61919.
svn path=/trunk/mcs/; revision=45066
2005-05-26 17:56:24 +00:00
Duncan Mak
13d1764537
Add license and copyright to all source files in corlib
...
svn path=/trunk/mcs/; revision=29249
2004-06-11 02:09:36 +00:00
Sebastien Pouliot
e0fc892e70
2004-05-27 Sebastien Pouliot <[email protected] >
...
* Queue.cs: Fixed Count for Queue.Synchronize (Queue.Synchronize (q)).
svn path=/trunk/mcs/; revision=28293
2004-05-27 17:30:21 +00:00
Sebastien Pouliot
7638d64d48
2004-05-27 Sebastien Pouliot <[email protected] >
...
* Queue.cs: Changed -1 to Int32.MaxValue so calling MoveNext again
(after a false) still returns false.
svn path=/trunk/mcs/; revision=28269
2004-05-27 14:14:57 +00:00
Sebastien Pouliot
b5ab2d09bb
2004-05-27 Sebastien Pouliot <[email protected] >
...
* Queue.cs: Fixed case where we could still get Current after the last
MoveNext.
svn path=/trunk/mcs/; revision=28268
2004-05-27 14:01:24 +00:00
Lluis Sanchez
2bce35182e
* Queue.cs: Renamed internal membesr to match MS.NET (to allow serialization
...
interoperability). I also had to make some changes in the implementation:
I added a field _tail that points at the first free position in the array, and
changed the type of growFactor, which is now an int (its value is the old
growFactor * 100).
svn path=/trunk/mcs/; revision=25742
2004-04-20 18:58:14 +00:00
Gonzalo Paniagua Javier
3249b986e1
2003-12-01 Gonzalo Paniagua Javier <[email protected] >
...
* Queue.cs: patch from Carlos Barcenilla.
public class Queue
- method: ICollection.Clone()
- Optimized. Removed unneeded instructions.
- method: public static Queue Synchronized (Queue queue)
- ArgumentNullException.ParamName must be "queue", not null.
- method: public virtual void TrimToSize()
- Must increment modCount.
private class SyncQueue
- method: public override object Clone ()
- Must return a synchronized (SyncStack) instance.
- method: public override void TrimToSize ()
- Not implemented.
svn path=/trunk/mcs/; revision=20644
2003-12-01 00:48:29 +00:00
Gonzalo Paniagua Javier
41dde0ef18
2003-10-08 Gonzalo Paniagua Javier <[email protected] >
...
* Queue.cs: nullify the array in Clear.
svn path=/trunk/mcs/; revision=18761
2003-10-08 18:25:17 +00:00
Gonzalo Paniagua Javier
96b1d5d21c
2003-06-04 Gonzalo Paniagua Javier <[email protected] >
...
* ArrayList.cs: nullify the array in Clear ().
* Queue.cs: nullify the array in Dequeue ().
* Stack.cs: nullify the array in Pop ().
svn path=/trunk/mcs/; revision=15094
2003-06-04 09:01:10 +00:00
Ben Maurer
d143b05664
2003-06-02 Ben Maurer <[email protected] >
...
* Queue.cs: Added argument checking in constructors according to
specs. Also changed default size to 32 as required by the specs.
svn path=/trunk/mcs/; revision=15074
2003-06-02 23:42:37 +00:00
Gonzalo Paniagua Javier
0cc2a5b351
2003-03-05 Gonzalo Paniagua Javier <[email protected] >
...
* Queue.cs: fixed bug #39046 .
svn path=/trunk/mcs/; revision=12202
2003-03-05 00:17:19 +00:00
Vladimir Vukicevic
0ddeb9b865
* Queue.cs: update new capacity in grow(), preventing queue from
...
constantly looping over old elements in Dequeue(). Also use
capacity instead of contents.Length in Enqueue().
svn path=/trunk/mcs/; revision=8307
2002-10-16 04:38:01 +00:00
Patrik Torstensson
cb312fbab0
2002-10-06 Patrik Torstensson <[email protected] >
...
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
2002-10-06 Patrik Torstensson <[email protected] >
* ArrayList.cs: Implemented thread-safe wrappers.
* Queue.cs: Always return true on IsSync in the thread-safe wrapper.
svn path=/trunk/mcs/; revision=8035
2002-10-06 16:36:37 +00:00
Gonzalo Paniagua Javier
4c38a8392d
2002-08-24 Gonzalo Paniagua Javier <[email protected] >
...
* ArrayList.cs:
* BitArray.cs:
* CaseInsensitiveComparer.cs:
* CaseInsensitiveHashCodeProvider.cs:
* IEnumerable.cs:
* Queue.cs: misc. fixes based on class status page.
svn path=/trunk/mcs/; revision=7002
2002-08-24 17:52:23 +00:00
Nick Drochak
5eea95dbf3
2002-06-25 Nick Drochak <[email protected] >
...
* Queue.cs (CopyTo): Fix logic for copying the circular array.
(Enqueue): Use actual length of array to determine when to grow
(QueueEnumerator) Fixed Current to use array length, not capacity, and
fixed off-by-one errror in MoveNext().
svn path=/trunk/mcs/; revision=5444
2002-06-25 10:52:25 +00:00
Duncan Mak
1a3ba07454
2002-05-06 Duncan Mak <[email protected] >
...
* Queue.cs (TrimToSize): Implemented.
svn path=/trunk/mcs/; revision=4347
2002-05-06 19:17:41 +00:00
Piers Haken
78b493b9b7
remove IsReadOnly
...
svn path=/trunk/mcs/; revision=3550
2002-04-02 04:48:13 +00:00
Piers Haken
610d7923ac
added missing [Serializable] attribute
...
svn path=/trunk/mcs/; revision=3540
2002-04-01 20:22:40 +00:00
Nick Drochak
3be6791c0f
2001-11-06 Nick Drochak <[email protected] >
...
* Queue.cs: Fixes from Ricardardo. QueueTest also updated.
svn path=/trunk/mcs/; revision=1269
2001-11-05 18:33:44 +00:00
Nick Drochak
7055d69050
2001-11-04 Nick Drochak <[email protected] >
...
* Queue.cs: Fixed small syntax errors that were preventing the compile.
I changed the build file to include Queue.cs as well.
svn path=/trunk/mcs/; revision=1251
2001-11-04 10:59:08 +00:00
Miguel de Icaza
bfc0820e28
Some details fixed, but Queue does not work
...
svn path=/trunk/mcs/; revision=346
2001-07-31 00:59:58 +00:00
Miguel de Icaza
6073d77a9c
Add Queue class from Ricardo Fernandez
...
svn path=/trunk/mcs/; revision=345
2001-07-31 00:53:21 +00:00