Francisco Figueiredo Jr. [Sat, 22 May 2004 16:44:57 +0000 (16:44 -0000)]
2004-05-22 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
Npgsql/NpgsqlCommand.cs,
Npgsql/NpgsqlConnection.cs,
Npgsql/NpgsqlDataReader.cs,
Npgsql/NpgsqlException.cs,
Npgsql/NpgsqlTransaction.cs,
Npgsql/Design/ConnectionStringEditor.cs,
Npgsql/Design/ConnectionStringEditorForm.cs,
Npgsql/Design/NpgsqlParameterConverter.cs,
Npgsql/Design/NpgsqlParametersEditor.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs: Commit log by
Glen Parker (glenebob@nwlink.com): Bug #772 ("Using
Command and Prepare adds single quotes to strings twice")
is fixed :-) It was broken when running on the version 3
protocol (extended query support) on PostgreSQL 7.4.
Some of the files in Design were formatted with macintosh line
terminators. This was screwing up the xmldoc generator in csc,
so I reformatted to make it work.
I've added some essential xmldoc comments (<summary> tags). Much work
remains here, but I wanted to get a few in on common functions and
properties.
The .build file will now generate the Npgsql.xml file, next to the .dll
file. I removed the existing Npgsql.xml from CVS.
Thanks Glen Parker for this patch.
svn path=/trunk/mcs/; revision=27877
Francisco Figueiredo Jr. [Sat, 22 May 2004 16:36:46 +0000 (16:36 -0000)]
2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
NpgsqlAsciiRow.cs,
NpgsqlBackEndKeyData.cs,
NpgsqlBinaryRow.cs,
NpgsqlCommand.cs,
NpgsqlConnectedState.cs,
NpgsqlConnection.cs,
NpgsqlConnection.resx,
NpgsqlConnector.cs,
NpgsqlConnectorPool.cs,
NpgsqlError.cs,
NpgsqlMediator.cs,
NpgsqlMessageTypes.cs,
NpgsqlPasswordPacket.cs,
NpgsqlQuery.cs,
NpgsqlRowDescription.cs,
NpgsqlStartupPacket.cs,
NpgsqlState.cs,
PGUtil.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
- split more protocol handlers between version 2 and version 3
- split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
- store BackendKeyData in its own member on Mediator
- Store ParameterStatus objects in a key map on Mediator
- Get backend version now from the Mediator if possible
- Rewrite parsers for server version and connection string
- Store server version numericially (in a new class ServerVersion)
- As usual, lots of code cleanup/commenting/etc.
Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
svn path=/trunk/mcs/; revision=27876
Marek Safar [Sat, 22 May 2004 16:28:29 +0000 (16:28 -0000)]
2004-05-22 Marek Safar <marek.safar@seznam.cz>
* attribute.cs: Fix bug #55970
svn path=/trunk/mcs/; revision=27875
Zoltan Varga [Sat, 22 May 2004 16:17:35 +0000 (16:17 -0000)]
2004-05-22 Zoltan Varga <vargaz@freemail.hu>
* mini.c (inline_method): Allways inline some wrappers even if the cost
is too large. Fixes #58785.
* mini.c: Add support for MARSHAL_CONV_FTN_DEL.
svn path=/trunk/mono/; revision=27874
Zoltan Varga [Sat, 22 May 2004 16:16:03 +0000 (16:16 -0000)]
2004-05-22 Zoltan Varga <vargaz@freemail.hu>
* marshal.h marshal.c metadata.h: Add beginnings of support for
ftnptr -> delegate marshalling.
svn path=/trunk/mono/; revision=27873
Marek Safar [Sat, 22 May 2004 15:36:43 +0000 (15:36 -0000)]
2004-05-22 Marek Safar <marek.safar@seznam.cz>
Fix bug #52705
* attribute.cs
(GetObsoleteAttribute): New method. Creates the instance of
ObsoleteAttribute.
(AttributeTester.GetMemberObsoleteAttribute): Returns instance of
ObsoleteAttribute when method is obsolete.
(AttributeTester.Report_ObsoleteMessage): Common method for
Obsolete error/warning reporting.
* class.cs
(TypeContainer.base_classs_type): New member for storing parent type.
* decl.cs
(MemberCore.GetObsoleteAttribute): Returns instance of ObsoleteAttribute
for this MemberCore.
svn path=/trunk/mcs/; revision=27872
Atsushi Eno [Sat, 22 May 2004 15:16:02 +0000 (15:16 -0000)]
2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
* XmlNodeChangedEventArgs.cs : not properly inherited from EventArgs.
svn path=/trunk/mcs/; revision=27870
Sebastien Pouliot [Sat, 22 May 2004 14:59:07 +0000 (14:59 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Added a new test to clear a multidimentional array.
svn path=/trunk/mcs/; revision=27869
Sebastien Pouliot [Sat, 22 May 2004 14:50:18 +0000 (14:50 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* ArrayTest.cs: Added a new test to clear a jagged array.
svn path=/trunk/mcs/; revision=27868
Jordi Mas i Hernandez [Sat, 22 May 2004 14:31:53 +0000 (14:31 -0000)]
ImageAttributes sample
svn path=/trunk/mcs/; revision=27866
Sebastien Pouliot [Sat, 22 May 2004 14:04:59 +0000 (14:04 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* UIntPtr.cs: We now only accept 32bits unsigned values in the ulong
constructor unless we're on a 64 bits machine.
svn path=/trunk/mcs/; revision=27865
Sebastien Pouliot [Sat, 22 May 2004 14:02:47 +0000 (14:02 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Added UIntPtrTest to the build.
svn path=/trunk/mcs/; revision=27864
Sebastien Pouliot [Sat, 22 May 2004 14:01:38 +0000 (14:01 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* UIntPtrTest.cs: New. Tests for 32/64 bits behaviour of UIntPtr.
svn path=/trunk/mcs/; revision=27863
Sebastien Pouliot [Sat, 22 May 2004 13:47:13 +0000 (13:47 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* IntPtr.cs: We now only accept 32bits values in the long constructor
unless we're on a 64 bits machine.
svn path=/trunk/mcs/; revision=27862
Sebastien Pouliot [Sat, 22 May 2004 13:38:44 +0000 (13:38 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Added IntPtrTest to the build.
svn path=/trunk/mcs/; revision=27861
Sebastien Pouliot [Sat, 22 May 2004 13:34:07 +0000 (13:34 -0000)]
2004-05-22 Sebastien Pouliot <sebastien@ximian.com>
* IntPtrTest.cs: New. Tests for 32/64 bits behaviour of IntPtr.
* SingleTest.cs: Added tests to compare positive 0 and negative 0.
svn path=/trunk/mcs/; revision=27860
Duncan Mak [Sat, 22 May 2004 08:09:39 +0000 (08:09 -0000)]
The file was mostly in DOS endings already, for the sake of
consistency, converted it all to DOS endings.
(ToType): When value is null, immediately return null and don't ever
throw a NullReferenceException. When conversionType is null, throw an
InvalidCastException. Give a better error message when attempting to
convert to a DBNull as well.
svn path=/trunk/mcs/; revision=27856
Miguel de Icaza [Fri, 21 May 2004 22:21:59 +0000 (22:21 -0000)]
2004-05-10 Joerg Rosenkranz <joergr@voelcker.com>
* System.Data.OracleClient.Oci/OciCalls.cs:
Added OCI calls OCICharSetToUnicode and OCIUnicodeToCharSet.
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
Changed statement encoding from UTF8 to OCIUnicodeToCharSet.
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Changed string encoding from UTF8 to OCICharSetToUnicode.
svn path=/trunk/mcs/; revision=27855
Bernie Solomon [Fri, 21 May 2004 21:18:39 +0000 (21:18 -0000)]
2004-05-21 Bernie Solomon <bernard@ugsolutions.com>
* transform.c: ignore new LMF opcodes
svn path=/trunk/mono/; revision=27854
Jackson Harper [Fri, 21 May 2004 20:22:20 +0000 (20:22 -0000)]
* driver.cs: More fiddling with paths.
svn path=/trunk/mcs/; revision=27853
Neale Ferguson [Fri, 21 May 2004 20:13:49 +0000 (20:13 -0000)]
Remove debugging printfs
svn path=/trunk/mono/; revision=27852
Dick Porter [Fri, 21 May 2004 19:55:14 +0000 (19:55 -0000)]
File share mode notes
svn path=/trunk/mono/; revision=27851
Dick Porter [Fri, 21 May 2004 19:46:43 +0000 (19:46 -0000)]
2004-05-21 Dick Porter <dick@ximian.com>
* io.c (CreateFile): Check for existing share modes when opening
a file.
* handles.c:
* handles-private.h:
* daemon-messages.h:
* daemon.c: Maintain a hash of file share modes, keying on device
and inode (to cope with symlinks.)
svn path=/trunk/mono/; revision=27850
Atsushi Eno [Fri, 21 May 2004 19:34:42 +0000 (19:34 -0000)]
2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
* Manager.cs : It should not allow invalid encoding name such as
euc_jp and shift-jis.
svn path=/trunk/mcs/; revision=27849
Jackson Harper [Fri, 21 May 2004 19:05:43 +0000 (19:05 -0000)]
oops
svn path=/trunk/mcs/; revision=27848
Sebastien Pouliot [Fri, 21 May 2004 19:04:42 +0000 (19:04 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: I say truncate but used floor :(
svn path=/trunk/mcs/; revision=27847
Sebastien Pouliot [Fri, 21 May 2004 19:01:11 +0000 (19:01 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* DecimalTest.cs: Added tests for negative values and large number
parsing (> Int64).
svn path=/trunk/mcs/; revision=27846
Atsushi Eno [Fri, 21 May 2004 18:59:34 +0000 (18:59 -0000)]
2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
* tools/uni2tab.c : non JIS X 0208 characters could not be decoded.
(It is hack!)
* CJK/jis.table : updated using the latest uni2tab.c
svn path=/trunk/mcs/; revision=27845
Jackson Harper [Fri, 21 May 2004 18:33:07 +0000 (18:33 -0000)]
* driver.cs: Allow the root and gacdir to both be specified. In
this case they are combined.
svn path=/trunk/mcs/; revision=27844
Neale Ferguson [Fri, 21 May 2004 18:32:16 +0000 (18:32 -0000)]
Further JIT fixes for S390
svn path=/trunk/mono/; revision=27843
Marek Safar [Fri, 21 May 2004 18:25:21 +0000 (18:25 -0000)]
2004-05-21 Marek Safar <marek.safar@seznam.cz>
* attribute.cs, const.cs: Fix bug #58590
svn path=/trunk/mcs/; revision=27842
Zoltan Varga [Fri, 21 May 2004 18:16:06 +0000 (18:16 -0000)]
2004-05-21 Zoltan Varga <vargaz@freemail.hu>
* threads.c: Fix warnings.
svn path=/trunk/mono/; revision=27841
Zoltan Varga [Fri, 21 May 2004 18:14:35 +0000 (18:14 -0000)]
2004-05-21 Zoltan Varga <vargaz@freemail.hu>
* threads.c (ves_icall_System_Threading_Thread_ResetAbort): Fix compilation on gcc-2.95.
svn path=/trunk/mono/; revision=27840
Zoltan Varga [Fri, 21 May 2004 17:22:56 +0000 (17:22 -0000)]
2004-05-21 Zoltan Varga <vargaz@freemail.hu>
* mini-sparc.c exceptions-sparc.c: Applied patch from Mark Crichton
(crichton@gimp.org). Beginning of support for sparc/linux.
* mini-sparc.c: Optimize retrieval of LMF address.
svn path=/trunk/mono/; revision=27839
Jackson Harper [Fri, 21 May 2004 17:10:29 +0000 (17:10 -0000)]
* driver.cs: Do not allow gacdir and root to be specified at the
same time. Cleanup help. Add help for options.
svn path=/trunk/mcs/; revision=27838
Patrik Torstensson [Fri, 21 May 2004 17:05:32 +0000 (17:05 -0000)]
2004-05-21 Patrik Torstensson <totte@hiddenpeaks.com>
* TcpListener.cs: Fixes a lot of the problems with remoting nunit tests.
(AcceptTcpClient): Don't create TcpClient before a
connection is accepted.
(LocalEndPoint): Use Server LocalEndPoint if connected
otherwise use endpoint from ctor.
(Init): Save end point, not server endpoint. This did
cause TcpListener to ignore port sent via constructor.
(Pending): Fixed wait time (method should return directly)
(Start): Moved Bind here instead of Init method; old method
caused us to bind ports even if the listener was stopped.
(Stop): Null server when stopping
svn path=/trunk/mcs/; revision=27837
César Natarén [Fri, 21 May 2004 16:27:55 +0000 (16:27 -0000)]
2004-05-21 Cesar Lopez Nataren <cesar@ciencias.unam.mx>
* Statement.cs: initial code generation of 'for'.
svn path=/trunk/mcs/; revision=27835
César Natarén [Fri, 21 May 2004 16:14:29 +0000 (16:14 -0000)]
updates from grammar changes for building for_stm ast
svn path=/trunk/mcs/; revision=27834
César Natarén [Fri, 21 May 2004 16:11:41 +0000 (16:11 -0000)]
*** empty log message ***
svn path=/trunk/mcs/; revision=27833
Martin Baulig [Fri, 21 May 2004 16:03:12 +0000 (16:03 -0000)]
2004-05-21 Martin Baulig <martin@ximian.com>
* test-257.cs: New test for #28098.
svn path=/trunk/mcs/; revision=27832
Martin Baulig [Fri, 21 May 2004 15:53:20 +0000 (15:53 -0000)]
2004-05-21 Martin Baulig <martin@ximian.com>
* flowanalysis.cs (FlowBranching.MergeTopBlock): Don't check for
out parameters if the end of the method is unreachable. Fixes
#58098.
svn path=/trunk/mcs/; revision=27831
Jackson Harper [Fri, 21 May 2004 15:35:40 +0000 (15:35 -0000)]
* driver.cs: Add uninstall-specific option. This takes an assembly
file and uninstalls a matching named one from the GAC. Fix search
string shenanigans when uninstalling.
svn path=/trunk/mcs/; revision=27830
Atsushi Eno [Fri, 21 May 2004 15:29:30 +0000 (15:29 -0000)]
2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
* DataColumnCollection.cs : NullReferenceException was thrown when
the table was not found.
* DataRowCollection.cs :
Find() just returns null for null value under MS.NET 1.1.
RemoveAt() should also avoid to call AcceptChanges() like Remove().
* UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
directly under MS.NET (for nunit test).
svn path=/trunk/mcs/; revision=27829
Sebastien Pouliot [Fri, 21 May 2004 15:10:07 +0000 (15:10 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* Decimal.cs: Fixed To... methods that needs to trunk the integer part
of Decimal (and not use the banker's rounding like Convert.To...).
svn path=/trunk/mcs/; revision=27828
Sebastien Pouliot [Fri, 21 May 2004 15:08:02 +0000 (15:08 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* DecimalTest.cs: But IConvertible does share Convert.To behaviour.
svn path=/trunk/mcs/; revision=27827
Sebastien Pouliot [Fri, 21 May 2004 14:32:36 +0000 (14:32 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* DecimalTest.cs: Added new unit test to check for correct rounding.
It appears that Decimal.To... trunk but Convert.To... use banking
rounding (so we can't use Convert.To... to implement To...).
svn path=/trunk/mcs/; revision=27825
Gonzalo Paniagua Javier [Fri, 21 May 2004 14:01:15 +0000 (14:01 -0000)]
removed comment
svn path=/trunk/mono/; revision=27824
Marek Safar [Fri, 21 May 2004 13:57:16 +0000 (13:57 -0000)]
2004-05-21 Marek Safar <marek.safar@seznam.cz>
* test-256.cs: New test for #58590.
svn path=/trunk/mcs/; revision=27823
Miguel de Icaza [Fri, 21 May 2004 13:48:10 +0000 (13:48 -0000)]
Like this
svn path=/trunk/mono/; revision=27822
Paolo Molaro [Fri, 21 May 2004 13:04:55 +0000 (13:04 -0000)]
More encoding fixes.
svn path=/trunk/mono/; revision=27820
Gonzalo Paniagua Javier [Fri, 21 May 2004 13:00:03 +0000 (13:00 -0000)]
2004-05-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* Makefile.am:
* monowiz.win32.nsi: improved windows installer script.
svn path=/trunk/mono/; revision=27818
Gonzalo Paniagua Javier [Fri, 21 May 2004 12:42:29 +0000 (12:42 -0000)]
added comment to m_value field
svn path=/trunk/mcs/; revision=27817
Urs C. Muff [Fri, 21 May 2004 12:24:55 +0000 (12:24 -0000)]
Line ending fix
svn path=/trunk/mono/; revision=27816
Marek Safar [Fri, 21 May 2004 12:15:22 +0000 (12:15 -0000)]
2004-05-21 Marek Safar <marek.safar@seznam.cz>
* codegen.cs, cs-parser.jay: Removed SetAttributes method.
Hari was right, why extra method.
svn path=/trunk/mcs/; revision=27815
Sebastien Pouliot [Fri, 21 May 2004 12:07:48 +0000 (12:07 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* Single.cs: Fixed CompareTo and Equals (copied fix from Double) wrt
to NaN compares (see new unit tests).
svn path=/trunk/mcs/; revision=27814
Sebastien Pouliot [Fri, 21 May 2004 11:47:20 +0000 (11:47 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* corlib_test.dll.sources: Added SingleTest to the build.
svn path=/trunk/mcs/; revision=27813
Sebastien Pouliot [Fri, 21 May 2004 11:44:03 +0000 (11:44 -0000)]
2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
* SingleTest.cs: New. Unit tests for Single (adapted from Double).
svn path=/trunk/mcs/; revision=27812
Marek Safar [Fri, 21 May 2004 11:42:47 +0000 (11:42 -0000)]
2004-05-21 Marek Safar <marek.safar@seznam.cz>
* attribute.cs, cs-parser.jay: Fix errors/cs0579-7.cs.
svn path=/trunk/mcs/; revision=27811
Paolo Molaro [Fri, 21 May 2004 11:15:33 +0000 (11:15 -0000)]
Fri May 21 08:00:12 EDT 2004 Paolo Molaro <lupus@ximian.com>
* exceptions-ppc.c: handle alloca in methods with clauses.
svn path=/trunk/mono/; revision=27809
Paolo Molaro [Fri, 21 May 2004 10:51:09 +0000 (10:51 -0000)]
Fri May 21 07:35:30 EDT 2004 Paolo Molaro <lupus@ximian.com>
* mini-ppc.c: cleanups, off-by-one fixes, avoid recursive thunks.
svn path=/trunk/mono/; revision=27808
Raja R Harinath [Fri, 21 May 2004 09:56:06 +0000 (09:56 -0000)]
remove doubled word, and slightly disambiguate a sentence.
svn path=/trunk/mono/; revision=27807
Raja R Harinath [Fri, 21 May 2004 08:51:29 +0000 (08:51 -0000)]
Update to include instructions for the various new
bootstrap-like targets.
svn path=/trunk/mono/; revision=27806
Atsushi Eno [Fri, 21 May 2004 08:03:32 +0000 (08:03 -0000)]
2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
* XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
caused problem on qualified name to get schema Field name.
svn path=/trunk/mcs/; revision=27803
Atsushi Eno [Fri, 21 May 2004 07:55:28 +0000 (07:55 -0000)]
2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
* Uri.cs :
AbsoluteUri does not escape file URI string.
ToString() should unescape every file uri. MS.NET.ToString() does
not unescape '#' but it looks a bug.
svn path=/trunk/mcs/; revision=27802
Jackson Harper [Fri, 21 May 2004 07:21:08 +0000 (07:21 -0000)]
* driver.cs: This is the new gacutil. Right now it wont get built,
after I do a little more testing I will make it the built/installed
gacutil.
svn path=/trunk/mcs/; revision=27801
Atsushi Eno [Fri, 21 May 2004 05:55:55 +0000 (05:55 -0000)]
2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
* XmlDataReader.cs : Now data reader is namespace aware in all places.
When table's namespace is different, it entered to infinite loop.
svn path=/trunk/mcs/; revision=27800
Umadevi S [Fri, 21 May 2004 05:33:18 +0000 (05:33 -0000)]
2004-05-21 Umadevi S <sumadevi@novell.com>
* System.Data.OracleClient.Oci/OciDefineHandle.cs
Fixed bug 55030. Included checking for size
svn path=/trunk/mcs/; revision=27799
Sebastien Pouliot [Fri, 21 May 2004 01:24:26 +0000 (01:24 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* UTF7EncodingTest.cs, UnicodeEncodingTest.cs: Removed unused SetUp
and TearDown to facilitate searches.
svn path=/trunk/mcs/; revision=27798
Sebastien Pouliot [Fri, 21 May 2004 01:22:17 +0000 (01:22 -0000)]
2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
* PolicyLevelTest.cs, StrongNameTest.cs: SetUp is now public (required
for new nunit).
svn path=/trunk/mcs/; revision=27797
Sebastien Pouliot [Fri, 21 May 2004 01:18:43 +0000 (01:18 -0000)]
2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
* PublisherIdentityPermissionTest.cs: SetUp is now public (required
for new nunit).
svn path=/trunk/mcs/; revision=27796
Sebastien Pouliot [Fri, 21 May 2004 01:16:53 +0000 (01:16 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* X509CapiTest.cs: SetUp and TearDown are now public (required for new
nunit).
* X509SpcTest.cs: SetUp and TearDown are now public (required for new
nunit).
svn path=/trunk/mcs/; revision=27795
Sebastien Pouliot [Fri, 21 May 2004 01:14:54 +0000 (01:14 -0000)]
2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
* SecurityElementTest.cs: SetUp is now public (required for new nunit).
svn path=/trunk/mcs/; revision=27794
Sebastien Pouliot [Fri, 21 May 2004 01:13:09 +0000 (01:13 -0000)]
2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
* StrongNameKeyPairTest.cs: SetUp (renamed) is now public (required
for new nunit).
svn path=/trunk/mcs/; revision=27793
Sebastien Pouliot [Fri, 21 May 2004 01:10:40 +0000 (01:10 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* MemoryStream.cs: SetUp is now public (required for new nunit).
svn path=/trunk/mcs/; revision=27792
Sebastien Pouliot [Fri, 21 May 2004 01:09:02 +0000 (01:09 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* AppDomainTest.cs: Renamed Unload to TearDown (like it's attribute)
to ease searches.
svn path=/trunk/mcs/; revision=27791
Sebastien Pouliot [Fri, 21 May 2004 01:03:41 +0000 (01:03 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* CryptoStreamTest.cs, DESCryptoServiceProviderTest.cs,
DSACryptoServiceProviderTest.cs, DSATest.cs, FromBase64Transform.cs,
HMACRIPEMD160Test.cs, MD5Test.cs, PKCS1MaskGenerationMethodTest.cs,
RIPEMD160ManagedTest.cs, RNGCryptoServiceProviderTest.cs,
RSACryptoServiceProviderTest.cs, RSAOAEPKeyExchangeDeformatterTest.cs,
RSAOAEPKeyExchangeFormatterTest.cs, RSAPKCS1KeyExchangeDeformatterTest.cs,
RSAPKCS1KeyExchangeFormatterTest.cs, RSAPKCS1SignatureDeformatterTest.cs,
RSAPKCS1SignatureFormatterTest.cs, RSATest.cs: SetUp/TearDown are now
public (required for new nunit).
svn path=/trunk/mcs/; revision=27790
Sebastien Pouliot [Fri, 21 May 2004 00:58:23 +0000 (00:58 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* KeyInfoTest.cs: SetUp is now public (required for new nunit).
* ReferenceTest.cs: SetUp is now public (required for new nunit).
svn path=/trunk/mcs/; revision=27789
Jackson Harper [Fri, 21 May 2004 00:46:48 +0000 (00:46 -0000)]
* DirectoryInfoTest.cs: Add test for CreateSubdirectory.
svn path=/trunk/mcs/; revision=27788
Francisco Figueiredo Jr. [Fri, 21 May 2004 00:05:13 +0000 (00:05 -0000)]
2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
NpgsqlAsciiRow.cs,
NpgsqlBackEndKeyData.cs,
NpgsqlBinaryRow.cs,
NpgsqlCommand.cs,
NpgsqlConnectedState.cs,
NpgsqlConnection.cs,
NpgsqlConnection.resx,
NpgsqlConnector.cs,
NpgsqlConnectorPool.cs,
NpgsqlError.cs,
NpgsqlMediator.cs,
NpgsqlMessageTypes.cs,
NpgsqlPasswordPacket.cs,
NpgsqlQuery.cs,
NpgsqlRowDescription.cs,
NpgsqlStartupPacket.cs,
NpgsqlState.cs,
PGUtil.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
- split more protocol handlers between version 2 and version 3
- split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
- store BackendKeyData in its own member on Mediator
- Store ParameterStatus objects in a key map on Mediator
- Get backend version now from the Mediator if possible
- Rewrite parsers for server version and connection string
- Store server version numericially (in a new class ServerVersion)
- As usual, lots of code cleanup/commenting/etc.
Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
svn path=/trunk/mcs/; revision=27787
Francisco Figueiredo Jr. [Fri, 21 May 2004 00:04:00 +0000 (00:04 -0000)]
2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
NpgsqlAsciiRow.cs,
NpgsqlBackEndKeyData.cs,
NpgsqlBinaryRow.cs,
NpgsqlCommand.cs,
NpgsqlConnectedState.cs,
NpgsqlConnection.cs,
NpgsqlConnection.resx,
NpgsqlConnector.cs,
NpgsqlConnectorPool.cs,
NpgsqlError.cs,
NpgsqlMediator.cs,
NpgsqlMessageTypes.cs,
NpgsqlPasswordPacket.cs,
NpgsqlQuery.cs,
NpgsqlRowDescription.cs,
NpgsqlStartupPacket.cs,
NpgsqlState.cs,
PGUtil.cs,
NpgsqlTypes/NpgsqlTypesHelper.cs : - store protocol version as an enum, keep numbers as protocol specific
- split more protocol handlers between version 2 and version 3
- split MessageTypes class on ver2/ver3 and add remaining types for ver3 - removed handlers for deprecated protocol message types
- store BackendKeyData in its own member on Mediator
- Store ParameterStatus objects in a key map on Mediator
- Get backend version now from the Mediator if possible
- Rewrite parsers for server version and connection string
- Store server version numericially (in a new class ServerVersion)
- As usual, lots of code cleanup/commenting/etc.
Thanks very much Glen Parker (glenebob@nwlink.com) for this patch.
svn path=/trunk/mcs/; revision=27786
Jackson Harper [Thu, 20 May 2004 23:59:46 +0000 (23:59 -0000)]
* DirectoryInfo.cs: Create subdirectories correctly if more then
one is supplied.
svn path=/trunk/mcs/; revision=27785
Martin Baulig [Thu, 20 May 2004 23:17:31 +0000 (23:17 -0000)]
Make this actually compile.
svn path=/trunk/mcs/; revision=27784
Urs C. Muff [Thu, 20 May 2004 22:43:41 +0000 (22:43 -0000)]
Initial checkin for Mono Mac Framework building script by Andy Satori
svn path=/trunk/mono/; revision=27783
Neale Ferguson [Thu, 20 May 2004 21:20:38 +0000 (21:20 -0000)]
More fixes for code generation (CONV_I1/CONV_I2)
svn path=/trunk/mono/; revision=27782
Sebastien Pouliot [Thu, 20 May 2004 20:41:29 +0000 (20:41 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* Convert.cs: Added checks for integer overflow for From|ToBase64Char.
Also fixed the case where wide (16 bits) characters were converted to
bytes.
svn path=/trunk/mcs/; revision=27781
Sebastien Pouliot [Thu, 20 May 2004 20:24:53 +0000 (20:24 -0000)]
2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
* ConvertTest.cs: Added new unit tests for integer overflow in To/From
Base64CharArray. Added new test for wide char. Exploded some tests in
NUnit2 format (to ease add new tests).
svn path=/trunk/mcs/; revision=27780
Lluis Sanchez [Thu, 20 May 2004 20:19:08 +0000 (20:19 -0000)]
* interp.c, interp.h: Use the new methods for handling thread.abort.
svn path=/trunk/mono/; revision=27779
Lluis Sanchez [Thu, 20 May 2004 20:17:53 +0000 (20:17 -0000)]
* mini.c: Delegate most of the abort signal work to
mono_thread_request_interruption, which also handles Stop and Suspend
states.
svn path=/trunk/mono/; revision=27778
Lluis Sanchez [Thu, 20 May 2004 20:09:58 +0000 (20:09 -0000)]
* daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
Only return an error in this case if there is something in the apc queue
(which means that it is an interruption requested by the "user").
* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
true since the wait is small.
* shared.c: Retry write calls when interrumped by a signal.
* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
returns TRUE if there are pending asynchronous calls (APC) for the
provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
the enqueued APCs. Defined a new struct ApcInfo that holds information
about an enqueued APC.
* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
These last two methods call the corresponding apc methods in
thread-private using the provided thread handle.
* threads.h: Added QueueUserAPC.
* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
for APCs in those two methods and also in SleepEx.
svn path=/trunk/mono/; revision=27777
Lluis Sanchez [Thu, 20 May 2004 20:04:40 +0000 (20:04 -0000)]
* daemon-messages.c: Retry if the communication with the daemon is
interrupted by a signal.
* io.c, sockets.c: Check for EINTR in every syscall that can be interrumped.
Only return an error in this case if there is something in the apc queue
(which means that it is an interruption requested by the "user").
* processes.c: Use WaitForSingleObjectEx. No need to pass "alertable" as
true since the wait is small.
* shared.c: Retry write calls when interrumped by a signal.
* timed-thread.h, timed-thread.c: added _wapi_thread_apc_pending, which
returns TRUE if there are pending asynchronous calls (APC) for the
provided thread. Also added _wapi_thread_dispatch_apc_queue which calls
the enqueued APCs. Defined a new struct ApcInfo that holds information
about an enqueued APC.
* thread-private.h, threads.c: Implemented QueueUserAPC (which does the same
as in win32),_wapi_thread_apc_pending and _wapi_thread_dispatch_apc_queue.
These last two methods call the corresponding apc methods in
thread-private using the provided thread handle.
* threads.h: Added QueueUserAPC.
* uglify.h: Added WapiApcProc (needed by QueueUserAPC).
* wait.c, wait.h: Changed WaitForSingleObject to WaitForSingleObjectEx, and
WaitForMultipleObjects to WaitForMultipleObjectsEx. Implemented support
for APCs in those two methods and also in SleepEx.
svn path=/trunk/mono/; revision=27776
Lluis Sanchez [Thu, 20 May 2004 20:02:44 +0000 (20:02 -0000)]
* Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
Added internal interruption_requested field.
svn path=/trunk/mcs/; revision=27775
Patrik Torstensson [Thu, 20 May 2004 19:33:58 +0000 (19:33 -0000)]
2004-05-20 Patrik Torstensson
* Hostname.cs: Test for hostname crash
svn path=/trunk/mono/; revision=27774
Gert Driesen [Thu, 20 May 2004 19:18:03 +0000 (19:18 -0000)]
* OleDbPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
svn path=/trunk/mcs/; revision=27773
Gert Driesen [Thu, 20 May 2004 19:16:40 +0000 (19:16 -0000)]
* OdbcPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
svn path=/trunk/mcs/; revision=27772
Gert Driesen [Thu, 20 May 2004 19:15:27 +0000 (19:15 -0000)]
* DbDataPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
svn path=/trunk/mcs/; revision=27771
Gert Driesen [Thu, 20 May 2004 19:13:10 +0000 (19:13 -0000)]
* SqlClientPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
svn path=/trunk/mcs/; revision=27770
Gert Driesen [Thu, 20 May 2004 18:56:34 +0000 (18:56 -0000)]
* EventLogPermissionAttribute.cs:
* PerformanceCounterPermissionAttribute.cs: adjust AllowMultiple
and Inherited to match .NET
svn path=/trunk/mcs/; revision=27769
Marek Safar [Thu, 20 May 2004 18:46:35 +0000 (18:46 -0000)]
Added more test code
svn path=/trunk/mcs/; revision=27768
Atsushi Eno [Thu, 20 May 2004 17:59:36 +0000 (17:59 -0000)]
2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
* OracleCommandBuilder.cs : Added (stub).
* OracleString.cs : Implemented missing bits.
svn path=/trunk/mcs/; revision=27766
Boris Kirzner [Thu, 20 May 2004 17:35:22 +0000 (17:35 -0000)]
* Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers for primitive types reviewed. Added check for null values when reading from IDataRecord.
svn path=/trunk/mcs/; revision=27765