mono.git
20 years ago2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
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

20 years agoremoved comment
Gonzalo Paniagua Javier [Fri, 21 May 2004 14:01:15 +0000 (14:01 -0000)]
removed comment

svn path=/trunk/mono/; revision=27824

20 years ago2004-05-21 Marek Safar <marek.safar@seznam.cz>
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

20 years agoLike this
Miguel de Icaza [Fri, 21 May 2004 13:48:10 +0000 (13:48 -0000)]
Like this

svn path=/trunk/mono/; revision=27822

20 years agoMore encoding fixes.
Paolo Molaro [Fri, 21 May 2004 13:04:55 +0000 (13:04 -0000)]
More encoding fixes.

svn path=/trunk/mono/; revision=27820

20 years ago2004-05-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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

20 years agoadded comment to m_value field
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

20 years agoLine ending fix
Urs C. Muff [Fri, 21 May 2004 12:24:55 +0000 (12:24 -0000)]
Line ending fix

svn path=/trunk/mono/; revision=27816

20 years ago2004-05-21 Marek Safar <marek.safar@seznam.cz>
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

20 years ago2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-21 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-21 Marek Safar <marek.safar@seznam.cz>
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

20 years agoFri May 21 08:00:12 EDT 2004 Paolo Molaro <lupus@ximian.com>
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

20 years agoFri May 21 07:35:30 EDT 2004 Paolo Molaro <lupus@ximian.com>
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

20 years agoremove doubled word, and slightly disambiguate a sentence.
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

20 years agoUpdate to include instructions for the various new
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

20 years ago2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago * driver.cs: This is the new gacutil. Right now it wont get built,
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

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago2004-05-21 Umadevi S <sumadevi@novell.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2003-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago * DirectoryInfoTest.cs: Add test for CreateSubdirectory.
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

20 years ago2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago2004-05-20 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
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

20 years ago * DirectoryInfo.cs: Create subdirectories correctly if more then
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

20 years agoMake this actually compile.
Martin Baulig [Thu, 20 May 2004 23:17:31 +0000 (23:17 -0000)]
Make this actually compile.

svn path=/trunk/mcs/; revision=27784

20 years agoInitial checkin for Mono Mac Framework building script by Andy Satori
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

20 years agoMore fixes for code generation (CONV_I1/CONV_I2)
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago2004-05-20 Sebastien Pouliot <sebastien@ximian.com>
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

20 years ago* interp.c, interp.h: Use the new methods for handling thread.abort.
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

20 years ago * mini.c: Delegate most of the abort signal work to
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

20 years ago * daemon-messages.c: Retry if the communication with the daemon is
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

20 years ago * daemon-messages.c: Retry if the communication with the daemon is
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

20 years ago * Thread.cs: Some fixes in Abort. Implemented Suspend and Resume.
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

20 years ago2004-05-20 Patrik Torstensson
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

20 years ago* OleDbPermissionAttribute.cs: change AllowMultiple and
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

20 years ago* OdbcPermissionAttribute.cs: change AllowMultiple and
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

20 years ago* DbDataPermissionAttribute.cs: change AllowMultiple and
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

20 years ago* SqlClientPermissionAttribute.cs: change AllowMultiple and
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

20 years ago* EventLogPermissionAttribute.cs:
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

20 years agoAdded more test code
Marek Safar [Thu, 20 May 2004 18:46:35 +0000 (18:46 -0000)]
Added more test code

svn path=/trunk/mcs/; revision=27768

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
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

20 years ago* Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull...
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

20 years ago* MergeManager.cs : AdjustSchema now updates by reference new created table, so in...
Boris Kirzner [Thu, 20 May 2004 17:29:12 +0000 (17:29 -0000)]
* MergeManager.cs : AdjustSchema now updates by reference new created table, so in Merge you do not need to lookup for it (were unable to do this for unnamed tables). Code styling.

svn path=/trunk/mcs/; revision=27764

20 years ago* DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement...
Boris Kirzner [Thu, 20 May 2004 17:26:23 +0000 (17:26 -0000)]
* DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
* DataColumnCollection.cs : fixed parantethes.
* DataRow.cs :
- AcceptChanges : do nothing if row state is unchanged.
- GetChildRows, GetParentRows  : bug fix (use correct index).
* DataRowCollection.cs : bug fix (compare all row's values).
* DataTable.cs : bug fix (use correct row version).

svn path=/trunk/mcs/; revision=27763

20 years agoNew test
Marek Safar [Thu, 20 May 2004 16:41:15 +0000 (16:41 -0000)]
New test

svn path=/trunk/mcs/; revision=27761

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 15:16:41 +0000 (15:16 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
  When content type is Mixed, text column is not required (it is
  required only when the complex type has no particle).
  "Repeated element" column is also created (considering maxOccurs=0
  and complex content extension).

svn path=/trunk/mcs/; revision=27759

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 13:56:00 +0000 (13:56 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
  properly.

svn path=/trunk/mcs/; revision=27757

20 years agoSmall fix from Raja.
Martin Baulig [Thu, 20 May 2004 13:45:12 +0000 (13:45 -0000)]
Small fix from Raja.

svn path=/trunk/mcs/; revision=27756

20 years ago2004-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 20 May 2004 13:38:23 +0000 (13:38 -0000)]
2004-05-20  Martin Baulig  <martin@ximian.com>

* delegate.cs: Convert this file to Unix mode - like the original
version in mcs is.

svn path=/trunk/mcs/; revision=27755

20 years ago**** Merged from MCS ****
Martin Baulig [Thu, 20 May 2004 13:32:19 +0000 (13:32 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=27754

20 years ago2004-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 20 May 2004 13:23:04 +0000 (13:23 -0000)]
2004-05-20  Martin Baulig  <martin@ximian.com>

Merged this back from gmcs to keep the differences to a minumum.

* attribute.cs (Attribute.CheckAttributeType): Take an EmitContext
instead of a Declspace.
(Attribute.ResolveType): Likewise.
(Attributes.Search): Likewise.
(Attributes.Contains): Likewise.
(Attributes.GetClsCompliantAttribute): Likewise.

* class.cs (TypeContainer.VerifyMembers): Added EmitContext
argument.
(MethodData.ApplyAttributes): Take an EmitContext instead of a
DeclSpace.

svn path=/trunk/mcs/; revision=27753

20 years agoMoved this to make diff happy.
Martin Baulig [Thu, 20 May 2004 13:01:34 +0000 (13:01 -0000)]
Moved this to make diff happy.

svn path=/trunk/mcs/; revision=27752

20 years agoWhitespace changes to make this more similar to the mcs version.
Martin Baulig [Thu, 20 May 2004 12:58:53 +0000 (12:58 -0000)]
Whitespace changes to make this more similar to the mcs version.

svn path=/trunk/mcs/; revision=27751

20 years ago2004-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 20 May 2004 12:53:35 +0000 (12:53 -0000)]
2004-05-20  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Allow inlining of icall wrappers if the backend supports
the save/restore lmf opcodes.

svn path=/trunk/mono/; revision=27750

20 years ago2004-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 20 May 2004 12:50:53 +0000 (12:50 -0000)]
2004-05-20  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c: Insert SAVE_LMF and RESTORE_LMF opcodes around native
calls.

svn path=/trunk/mono/; revision=27749

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 12:49:43 +0000 (12:49 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
  Fixed relation inference to consider attribute XPath.

svn path=/trunk/mcs/; revision=27748

20 years ago2004-05-20 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 20 May 2004 12:48:40 +0000 (12:48 -0000)]
2004-05-20  Zoltan Varga  <vargaz@freemail.hu>

* opcode.def: Add mono_save_lmf and mono_restore_lmf.

svn path=/trunk/mono/; revision=27747

20 years ago2004-05-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 20 May 2004 12:48:25 +0000 (12:48 -0000)]
2004-05-20  Martin Baulig  <martin@ximian.com>

* attribute.cs: Convert this file to Unix mode - like the original
version in mcs is.

svn path=/trunk/mcs/; revision=27746

20 years ago2004-04-20 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 20 May 2004 12:28:27 +0000 (12:28 -0000)]
2004-04-20  Martin Baulig  <martin@ximian.com>

Merged latest changes into gmcs.  Please keep this comment in
here, it makes it easier for me to see what changed in MCS since
the last time I merged.

svn path=/trunk/mcs/; revision=27745

20 years ago**** Merged from MCS ****
Martin Baulig [Thu, 20 May 2004 12:26:41 +0000 (12:26 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=27744

20 years ago**** Merged from MCS ****
Martin Baulig [Thu, 20 May 2004 12:24:59 +0000 (12:24 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=27743

20 years ago**** Merged from MCS ****
Martin Baulig [Thu, 20 May 2004 12:08:02 +0000 (12:08 -0000)]
**** Merged from MCS ****

svn path=/trunk/mcs/; revision=27742

20 years agoFix small thinko.
Raja R Harinath [Thu, 20 May 2004 11:19:59 +0000 (11:19 -0000)]
Fix small thinko.

svn path=/trunk/mono/; revision=27741

20 years agoFix typo.
Raja R Harinath [Thu, 20 May 2004 11:11:44 +0000 (11:11 -0000)]
Fix typo.

svn path=/trunk/mono/; revision=27740

20 years ago(get-monolite-latest, monolite-bootstrap):
Raja R Harinath [Thu, 20 May 2004 11:06:42 +0000 (11:06 -0000)]
(get-monolite-latest, monolite-bootstrap):
New bootstrap targets to build from monolite.
Based on idea from Jaroslaw Kowalski <jaak@zd.com.pl>.

svn path=/trunk/mono/; revision=27739

20 years ago2004-05-20 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 20 May 2004 10:56:16 +0000 (10:56 -0000)]
2004-05-20  Marek Safar <marek.safar@seznam.cz>

* test-255.cs: New test.

svn path=/trunk/mcs/; revision=27738

20 years agoNew test
Marek Safar [Thu, 20 May 2004 10:44:14 +0000 (10:44 -0000)]
New test

svn path=/trunk/mcs/; revision=27737

20 years ago(PROGRAM_COMPILE): Define to $(BOOT_COMPILE).
Raja R Harinath [Thu, 20 May 2004 10:41:26 +0000 (10:41 -0000)]
(PROGRAM_COMPILE): Define to $(BOOT_COMPILE).

svn path=/trunk/mcs/; revision=27736

20 years ago(%.resources): Use INTERNAL_RESGEN.
Raja R Harinath [Thu, 20 May 2004 10:41:09 +0000 (10:41 -0000)]
(%.resources): Use INTERNAL_RESGEN.

svn path=/trunk/mcs/; revision=27735

20 years ago* profiles/default.make (TEST_RUNTIME): Look in class/lib/default
Raja R Harinath [Thu, 20 May 2004 10:40:50 +0000 (10:40 -0000)]
* profiles/default.make (TEST_RUNTIME): Look in class/lib/default
for library to be tested.
* rules.make (INTERNAL_RESGEN): New Define.
* library.make (run-test-local): Move commands to run-test-lib.
Preparartion for allowing creation of addition test dll with .vb
testcases.
* executable.make (PROGRAM_COMPILE): New define.
($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.

svn path=/trunk/mcs/; revision=27734

20 years ago(SUBDIRS): Move 'monoresgen' ahead of 'class'.
Raja R Harinath [Thu, 20 May 2004 10:40:31 +0000 (10:40 -0000)]
(SUBDIRS): Move 'monoresgen' ahead of 'class'.

svn path=/trunk/mcs/; revision=27733

20 years ago* configure.in (AC_OUTPUT): Add tools/Makefile and
Raja R Harinath [Thu, 20 May 2004 10:26:46 +0000 (10:26 -0000)]
* configure.in (AC_OUTPUT): Add tools/Makefile and
tools/locale-builder/Makefile.
* Makefile.am (SUBDIRS): Remove tools.
(DIST_SUBDIRS): Add 'tools'.
(bootstrap): Rewrite so that we get two new targets.
(faststrap): New two-stage build.
(fasterstrap): New one-stage build.

Make 'faststrap' and 'fasterstrap' are useful for continuing development
once you've bootstrapped a mono/ CVS checkout.

svn path=/trunk/mono/; revision=27732

20 years agoChangeLog: Updated ChangeLog.
Sanja Gupta [Thu, 20 May 2004 10:19:19 +0000 (10:19 -0000)]
ChangeLog: Updated ChangeLog.
Icon.cs: Fixed issue with Size property.

svn path=/trunk/mcs/; revision=27731

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Thu, 20 May 2004 10:09:03 +0000 (10:09 -0000)]
ChangeLog: Updated ChangeLog
TestIcon.cs: Added.
bitmaps/smiley.ico: Added.

svn path=/trunk/mcs/; revision=27730

20 years agoChangeLog: Updated ChangeLog
Sanja Gupta [Thu, 20 May 2004 10:04:19 +0000 (10:04 -0000)]
ChangeLog: Updated ChangeLog
System.Drawing_test.dll.sources: Added TestIcon.cs to the source list.

svn path=/trunk/mcs/; revision=27729

20 years ago2004-05-20 Umadevi S <sumadevi@novell.com>
Umadevi S [Thu, 20 May 2004 09:51:47 +0000 (09:51 -0000)]
2004-05-20 Umadevi S <sumadevi@novell.com>
        * Fixed bug 58406- implemented the hasrow method, test program used
         to test with the bug report

svn path=/trunk/mcs/; revision=27728

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:44:01 +0000 (08:44 -0000)]
2004-05-20  Atsushi Enomoto <atsushi@ximian.com>

* XslTransformTests.cs : Added tests for msxsl:node-set().

svn path=/trunk/mcs/; revision=27727

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:42:32 +0000 (08:42 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* Expression.cs : We should not catch all kind of exception. Just
  throwing any kind of exception would be preferable.
  Added support for XPathNavigator values.

svn path=/trunk/mcs/; revision=27726

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:42:04 +0000 (08:42 -0000)]
2004-05-20 Atsushi Enomoto <atsushi@ximian.com>

* XslCopyOf.cs : When evaluation result was result tree fragment (i.e.
  XPathNavigator) output its content (children).
* XslNumber.cs : Reflected CompilePattern() change.
* XslTemplateContent.cs : Don't throw System.Exception.
* XslVariable.cs : XslVariableInformation.Evaluate() now returns
  XPathNavigator, not NodeSet (it should not return "children", since
  the node pointed by XPathNavigator should be referenced as Root).

svn path=/trunk/mcs/; revision=27725

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:41:12 +0000 (08:41 -0000)]
2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>

* Compiler.cs :
  - CompilePattern() now throws XsltCompileException for invalid
    pattern, and add error location support.
  - In Compiler.TryGetFunction(), compare namespace URI, not prefix.
    Now it returns MSXslNodeSet instance (for msxsl:node-set).
* Debug.cs : don't throw System.Exception.
* XslFunctions.cs : Added MSXslNodeSet class.
* XslTemplate.cs : reflected CompilePattern() change.
* XslTransformProcessor.cs : don't throw System.Exception.
* XsltCompiledContext.cs : don't throw System.Exception.

svn path=/trunk/mcs/; revision=27724

20 years ago2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 20 May 2004 08:40:21 +0000 (08:40 -0000)]
2004-05-20  Atsushi Enomoto <atsushi@ximian.com>

* Pattern.cs : don't throw System.Exception. Delegate error handling to
  the only one caller CompilePattern().

svn path=/trunk/mcs/; revision=27723

20 years agowarnings
Gonzalo Paniagua Javier [Thu, 20 May 2004 00:00:19 +0000 (00:00 -0000)]
warnings

svn path=/trunk/mono/; revision=27719

20 years ago2004-05-20 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 19 May 2004 23:55:44 +0000 (23:55 -0000)]
2004-05-20  Gonzalo Paniagua Javier <gonzalo@ximian.com>

* appdomain.c:
* assembly.c:
* gc.c:
* locales.c:
* mono-config.c:
* rand.c: getenv -> g_getenv (windows!)

* process.c: complete_path is also used on non-windows platforms.

svn path=/trunk/mono/; revision=27718

20 years ago * tools/
Jackson Harper [Wed, 19 May 2004 23:18:18 +0000 (23:18 -0000)]
    * tools/
* tools/Makefile.am: Add tools directory
* tools/locale-builder: Add the locale-builder tool, this tool is
not built by default as it is only needed by people that wish to
moidify culture data.
* Makefile.am: Add tools to build

svn path=/trunk/mono/; revision=27717

20 years agoIgnore Makefile
Jackson Harper [Wed, 19 May 2004 23:16:22 +0000 (23:16 -0000)]
Ignore Makefile

svn path=/trunk/mono/; revision=27716

20 years agoignore generated table
Jackson Harper [Wed, 19 May 2004 23:15:41 +0000 (23:15 -0000)]
ignore generated table

svn path=/trunk/mono/; revision=27715

20 years ago.cvsignore
Jackson Harper [Wed, 19 May 2004 23:14:53 +0000 (23:14 -0000)]
.cvsignore

svn path=/trunk/mono/; revision=27714