mono.git
19 years agoDistribute jni.h
Miguel de Icaza [Fri, 14 Jan 2005 19:24:04 +0000 (19:24 -0000)]
Distribute jni.h

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 17:30:39 +0000 (17:30 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* MetaDataCodeGenerator.cs: Fix warning.

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 17:29:57 +0000 (17:29 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* System.Runtime.Remoting_test.dll.sources: Added:
System.Runtime.Remoting.Channels/RemotingThreadPool.cs

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 17:29:18 +0000 (17:29 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* TcpConnectionPool.cs: Don't limit client connections.
This fixes bug #70700. Create connections from outside the pool lock.
* TcpMessageIO.cs: Throw real exceptions when errors occur.
* TcpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
This also fixes bug #70700.

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 17:29:00 +0000 (17:29 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* HttpServerChannel.cs: Use the new RemotingThreadPool to manage threads.
  Fixed some warnings.
* HttpServer.cs: Minor fix.

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 17:28:38 +0000 (17:28 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* SoapMessageFormatter.cs, SoapServerFormatterSink.cs: Fixed warnings.
* RemotingThreadPool.cs: New thread pool for the tcp and http channels.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 17:03:07 +0000 (17:03 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* DbDataPermissionAttribute.cs, PermissionHelper.cs :
  fixed some incompatible type of exception between 2.0 and 1.x.
* DataContainer.cs :
  Wrap exceptions thrown by SetValue() within ArgumentException.

* SqlClientPermissionTest.cs, SqlClientPermissionAttributeTest.cs:
  Fixed some incompatible type of exception between 2.0 and 1.1.

* OleDbPermissionTest.cs, OleDbPermissionAttributeTest.cs:
  Fixed some incompatible type of exception between 2.0 and 1.1.

* OdbcPermissionTest.cs, OdbcPermissionAttributeTest.cs:
  Fixed some incompatible type of exception between 2.0 and 1.1.

* DBDataPermissionTest.cs, DBDataPermissionAttributeTest.cs:
  Fixed some incompatible type of exception between 2.0 and 1.1.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 16:47:43 +0000 (16:47 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* SerializationCodeGenerator.cs,
  XmlSerializationWriterInterpreter.cs : exchanged attribute
  serialization orders (XmlAnyAttribute <-> XmlNamespaceDeclarations).
  xmlns attributes in XmlAnyAttribute are not written.

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

19 years agoDon't require the new glib.
Paolo Molaro [Fri, 14 Jan 2005 15:33:03 +0000 (15:33 -0000)]
Don't require the new glib.

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

19 years agoClean-recursive should ignore the return value of `rm'
Jonathan Pryor [Fri, 14 Jan 2005 15:23:59 +0000 (15:23 -0000)]
Clean-recursive should ignore the return value of `rm'
if the file doesn't exist.

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

19 years ago * Makefile: Add test-recursive and clean-recursive targets. Test-recursive
Jonathan Pryor [Fri, 14 Jan 2005 15:22:42 +0000 (15:22 -0000)]
  * Makefile: Add test-recursive and clean-recursive targets.  Test-recursive
    creates a Syste_test_PROFILE.dll.config file, required for the Switch
    regression tests, and clean-recursive cleans up this file.
  * System_test_default.dll.config, System_test.dll.config: Delete.  These are
    no longer necessary as the appropriate file is generated in test-recursive.

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

19 years ago2005-01-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 14 Jan 2005 13:55:15 +0000 (13:55 -0000)]
2005-01-14  Zoltan Varga  <vargaz@freemail.hu>

* inssel.brg: Allways convert CEE_CONV_OVF_I4 to a move on 64 bit platforms. Fixes #71236.

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

19 years agoupdate project file
Jordi Mas i Hernandez [Fri, 14 Jan 2005 13:35:13 +0000 (13:35 -0000)]
update project file

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

19 years ago2005-01-14 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 13:33:45 +0000 (13:33 -0000)]
2005-01-14  Lluis Sanchez Gual  <lluis@novell.com>

* object-internals.h: Added some needed fields from StringBuilder class.
* marshal.c: Set the maxCapacity when creating a StringBuilder.

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

19 years ago2005-01-14 Lluis Sanches Gual <lluis@novell.com>
Lluis Sanchez [Fri, 14 Jan 2005 13:22:43 +0000 (13:22 -0000)]
2005-01-14 Lluis Sanches Gual  <lluis@novell.com>

* StringBuilder.cs: Improved parameter check.

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

19 years ago * TreeView.cs: Recalculate the tab pages when a new one is added
Jackson Harper [Fri, 14 Jan 2005 13:07:36 +0000 (13:07 -0000)]
* TreeView.cs: Recalculate the tab pages when a new one is added
so that the proper bounding rects are created.

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

19 years ago * TreeView.cs: Draw a gray box instead of a grip in the lower
Jackson Harper [Fri, 14 Jan 2005 12:28:09 +0000 (12:28 -0000)]
* TreeView.cs: Draw a gray box instead of a grip in the lower
right hand corner when there are both horizontal and vertical
scroll bars.

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

19 years ago * Control.cs: When erasing backgrounds use FromHwnd instead of
Jackson Harper [Fri, 14 Jan 2005 12:19:06 +0000 (12:19 -0000)]
* Control.cs: When erasing backgrounds use FromHwnd instead of
FromHdc when there is a NULL wparam. This occurs on the X driver.
* XplatUIX11.cs: Set the wparam to NULL.

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

19 years ago * Control.cs: When erasing backgrounds use FromHwnd instead of
Jackson Harper [Fri, 14 Jan 2005 12:11:56 +0000 (12:11 -0000)]
* Control.cs: When erasing backgrounds use FromHwnd instead of
FromHdc when there is a null wparam. The X11 driver sets the
wparam as null.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 11:31:55 +0000 (11:31 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* library.make : output TestResult-ondotnet-(profile).log instead of
  TestResult-(profile).log for run-test-ondotnet.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 10:56:37 +0000 (10:56 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* DataViewTest.cs : made AddNew_2() and FindRows() pass under .NET 1.1.
  FindRows() is still not implemented, so marked as [Ignore].

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 10:43:18 +0000 (10:43 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* ForeignKeyConstraintTest.cs : Fixed Ctor5() to pass under MS.NET 1.1.
  Design time ctor() needs more love.
* DataRelationCollectionTest.cs,
  DataTableCollectionTest.cs : Made Remove() pass under MS.NET 1.1.
  When index is out of range, IndexOutOfRangeException is thrown.
  DataRelationCollectionTest.AddException1() was invalid.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 10:22:57 +0000 (10:22 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* DataTableMappingCollectionTest.cs,
  DataColumnMappingCollectionTests.cs : Equals() and Remove() contains
  invalid attempt to add one map to two collections, which is rejected
  under MS.NET 1.1 sp1.

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

19 years ago * PictureBox.cs: Implement missing methods (except ToString, need
Jackson Harper [Fri, 14 Jan 2005 10:05:52 +0000 (10:05 -0000)]
* PictureBox.cs: Implement missing methods (except ToString, need
to test that on windows) and events. When visibility is changed
we need to redraw the image because the buffers are killed. When
size is changed refresh if the sizemode needs it.

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

19 years ago2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 14 Jan 2005 09:05:35 +0000 (09:05 -0000)]
2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>

* ConstraintCollectionTest.cs : Fixed run-test-ondotnet. MS.NET does
  not fill Table property even after EndInit().
* DataRelationTest.cs : Fixed run-test-ondotnet. ExpectedException
  is missing.
* TypedDataSetGeneratorTest.cs : fixed GenerateName() both for
  run-test-ondotnet and run-test.

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

19 years ago- Was using wrong method to select a control
Peter Dennis Bartok [Fri, 14 Jan 2005 03:28:37 +0000 (03:28 -0000)]
- Was using wrong method to select a control

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

19 years ago2005-01-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 14 Jan 2005 03:12:50 +0000 (03:12 -0000)]
2005-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedDataTest.cs: Added tests for Oid, RawData properties and
for CopyFrom method.
* CryptographicAttributeTest.cs: Updated to NUnit 2.2 tests.

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

19 years ago2005-01-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 14 Jan 2005 03:09:05 +0000 (03:09 -0000)]
2005-01-13  Sebastien Pouliot  <sebastien@ximian.com>

* AsnEncodedData.cs: Completed/fixed implementation.
* CryptographicAttribute.cs: Fixed implementation with updated unit
tests.
* Oid.cs: Fixed implementation with updated unit tests.

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

19 years agodon't need the instance
César Natarén [Fri, 14 Jan 2005 01:50:25 +0000 (01:50 -0000)]
don't need the instance

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

19 years agoremove test 334, as that one fails
Miguel de Icaza [Fri, 14 Jan 2005 01:11:45 +0000 (01:11 -0000)]
remove test 334, as that one fails

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

19 years agoUpdates
Miguel de Icaza [Fri, 14 Jan 2005 01:05:05 +0000 (01:05 -0000)]
Updates

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

19 years agoBack in
Miguel de Icaza [Fri, 14 Jan 2005 01:00:56 +0000 (01:00 -0000)]
Back in

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

19 years agoAnother pass
Miguel de Icaza [Fri, 14 Jan 2005 00:58:26 +0000 (00:58 -0000)]
Another pass

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

19 years agoRemove invalid error
Miguel de Icaza [Fri, 14 Jan 2005 00:55:59 +0000 (00:55 -0000)]
Remove invalid error

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

19 years agoFlush
Miguel de Icaza [Fri, 14 Jan 2005 00:46:58 +0000 (00:46 -0000)]
Flush

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

19 years ago2005-01-13 Miguel de Icaza <miguel@ximian.com>
Miguel de Icaza [Fri, 14 Jan 2005 00:35:52 +0000 (00:35 -0000)]
2005-01-13  Miguel de Icaza  <miguel@ximian.com>

* ecore.cs (IsAccessorAccessible): Accessibility to private fields
of a different type is only allowed to private fields of a
containing type, not on fields of a base class.

See test-174.cs and error cs0122-9.cs

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

19 years agoAdd new error
Miguel de Icaza [Fri, 14 Jan 2005 00:35:33 +0000 (00:35 -0000)]
Add new error

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

19 years agoRemove until we fix it
Miguel de Icaza [Fri, 14 Jan 2005 00:20:13 +0000 (00:20 -0000)]
Remove until we fix it

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

19 years agoFix pass 1
Miguel de Icaza [Fri, 14 Jan 2005 00:02:07 +0000 (00:02 -0000)]
Fix pass 1

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

19 years ago2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 22:33:28 +0000 (22:33 -0000)]
2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* CultureInfo.cs: the InvariantCulture returns false for
IsNeutralCulture. Fixes bug #59716.

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

19 years ago * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
Jonathan Pryor [Thu, 13 Jan 2005 22:00:27 +0000 (22:00 -0000)]
  * DiagnosticsConfigurationHandler.cs: Make DiagnosticsConfiguration.Settings
    thread-safe (double-checked locking isn't thread safe on .NET without
    using a volatile variable, and setting the variable in the static
    constructor is easier anyway).
  * Switch.cs (GetConfigFileSetting): If the setting is non-numeric, set the
    attribute value to the string "0".  This is apparently what .NET 1.1 does,
    and allows the SwitchTest NUnit test to work w/o failures.

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

19 years agoman page updates for gacutil
Mike Kestner [Thu, 13 Jan 2005 21:48:22 +0000 (21:48 -0000)]
man page updates for gacutil

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

19 years ago2005-01-13 Mike Kestner <mkestner@novell.com>
Mike Kestner [Thu, 13 Jan 2005 21:47:51 +0000 (21:47 -0000)]
2005-01-13  Mike Kestner  <mkestner@novell.com>

* driver.cs: use relative symlinks for the package dir.

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

19 years agolast but not least
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:25:04 +0000 (21:25 -0000)]
last but not least

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

19 years agoargh
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:20:11 +0000 (21:20 -0000)]
argh

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 21:17:51 +0000 (21:17 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Environment_Exit): Suspend all managed
threads before shutting down the runtime.

* threads.c (mono_thread_suspend_all_other_threads): New helper function.

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

19 years ago2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 13 Jan 2005 21:16:28 +0000 (21:16 -0000)]
2005-01-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* monoresgen.cs: s/monoresgen/resgen/. Open the destination file with
FileMode.Truncate, just in case it exists. Fixes bug #52105.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 20:25:00 +0000 (20:25 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* jni.c: Fix compilation on PPC.

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

19 years ago2005-01-13 Cesar Lopez Nataren <cnataren@novell.com>
César Natarén [Thu, 13 Jan 2005 20:00:13 +0000 (20:00 -0000)]
2005-01-13  Cesar Lopez Nataren  <cnataren@novell.com>

* Makefile (SUBDIRS): added Microsoft.JScript to the default build.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 19:58:04 +0000 (19:58 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* mini-x86.c (mono_arch_output_basic_block): Fix OP_ATOMIC_ADD_NEW_I4.

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

19 years ago2005-01-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 13 Jan 2005 19:36:29 +0000 (19:36 -0000)]
2005-01-13  Zoltan Varga  <vargaz@freemail.hu>

* configure.in Makefile.am: Resurrect ikvm-jni.

* ikvm-native: New directory which contains a copy of the 'native'
module in IKVM cvs.

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

19 years ago2005-01-13 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 13 Jan 2005 18:32:34 +0000 (18:32 -0000)]
2005-01-13  Geoff Norton  <gnorton@customerdna.com>

        * Guid.cs: Fix endian issues (use Mono.Security.BitConverterLE).  Fixes
        #71242

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

19 years agoForgot to add the file
Miguel de Icaza [Thu, 13 Jan 2005 17:10:21 +0000 (17:10 -0000)]
Forgot to add the file

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

19 years agoThu Jan 13 18:15:32 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 13 Jan 2005 17:09:11 +0000 (17:09 -0000)]
Thu Jan 13 18:15:32 CET 2005 Paolo Molaro <lupus@ximian.com>

* Thread.cs: implement stacksize and parameterized
start functionality (requires matching runtime).

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

19 years agoThu Jan 13 18:16:35 CET 2005 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 13 Jan 2005 17:08:32 +0000 (17:08 -0000)]
Thu Jan 13 18:16:35 CET 2005 Paolo Molaro <lupus@ximian.com>

* object-internal.h, threads.c: implement stacksize and
parameterized thread start functionality (requires
matching corlib). Marked broken code for later removal.

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

19 years agofixes dropstyle
Jordi Mas i Hernandez [Thu, 13 Jan 2005 16:50:25 +0000 (16:50 -0000)]
fixes dropstyle

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

19 years agoIn Test/tests:
Ritvik Mayank [Thu, 13 Jan 2005 16:03:28 +0000 (16:03 -0000)]
In Test/tests:
2005-01-13  Ritvik Mayank  <mritvik@novell.com>

*ExpConversionBoolToByteA1.vb:
*ExpConversionBoolToByteA2.vb:
*ExpConversionBoolToDecimalA1.vb:
*ExpConversionBoolToDecimalA2.vb:
*ExpConversionBoolToDoubleA1.vb:
*ExpConversionBoolToDoubleA2.vb:
*ExpConversionBoolToIntA1.vb:
*ExpConversionBoolToIntA2.vb:
*ExpConversionBoolToLongA1.vb:
*ExpConversionBoolToLongA2.vb:
*ExpConversionBoolToShortA1.vb:
*ExpConversionBoolToShortA2.vb:
*ExpConversionBoolToSingleA1.vb:
*ExpConversionBoolToSingleA2.vb:
*ExpConversionByteToBoolA1.vb:
*ExpConversionDecimalToBoolA1.vb:
*ExpConversionDoubleToBoolA1.vb:
*ExpConversionIntToBoolA1.vb:
*ExpConversionLongToBoolA1.vb:
*ExpConversionShortToBoolA1.vb:
*ExpConversionSingleToBoolA1.vb:

Above Test cases are for Explicit Conversion from Boolean to different Numeric type and form different Numeric type to Boolean

2005-01-13  Ritvik Mayank  <mritvik@novell.com>

*ImpConversionBoolToByteA1.vb:
*ImpConversionBoolToByteA2.vb:
*ImpConversionBoolToDecimalA1.vb:
*ImpConversionBoolToDecimalA2.vb:
*ImpConversionBoolToDoubleA1.vb:
*ImpConversionBoolToDoubleA2.vb:
*ImpConversionBoolToIntA1.vb:
*ImpConversionBoolToIntA2.vb:
*ImpConversionBoolToLongA1.vb:
*ImpConversionBoolToLongA2.vb:
*ImpConversionBoolToShortA1.vb:
*ImpConversionBoolToShortA2.vb:
*ImpConversionBoolToSingleA1.vb:
*ImpConversionBoolToSingleA2.vb:
*ImpConversionByteToBoolA1.vb:
*ImpConversionDecimalToBoolA1.vb:
*ImpConversionDoubleToBoolA1.vb:
*ImpConversionIntToBoolA1.vb:
*ImpConversionLongToBoolA1.vb:
*ImpConversionShortToBoolA1.vb:
*ImpConversionSingleToBoolA1.vb:

Above Test cases are for Implicit Conversion from Boolean to different Numeric type and form different Numeric type to Boolean

In .:
2005-01-13  Ritvik Mayank  <mritvik@novell.com>

* mb-parser.jay: Changed Error Number for Modifiers.PRIVATE to throw the right ExceptionNumber as 31089 .

* mb-parser.jay: Added Modifiers.PROTECTED to throw the right Error Number as 31047 .

2005-01-13  Ritvik Mayank  <mritvik@novell.com>

* ecore.cs: Changed the Error Number for setter as 30526 and getter as 30524 in Expression DoResolveLValue .

* expression.cs: Changed the Error Number for set == null as 30526 and get == null as 30524 .

2005-01-13  Ritvik Mayank  <mritvik@novell.com>
* statement.cs: For 'if (RedimTarget.Type.GetArrayRank() != args.Count)' changed the Error Number as 3415 .

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

19 years ago * Mono.Posix_test.dll.sources: Added Test/Mono.Unix/StdlibTest.cs.
Jonathan Pryor [Thu, 13 Jan 2005 14:00:37 +0000 (14:00 -0000)]
  * Mono.Posix_test.dll.sources: Added Test/Mono.Unix/StdlibTest.cs.
  * Test/Mono.Unix/StdlibTest.cs: Added tests for signal(3) and snprintf(3).

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

19 years ago * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
Jonathan Pryor [Thu, 13 Jan 2005 13:58:33 +0000 (13:58 -0000)]
  * Stdlib.cs: Use Stdlib.LIBC instead of "libc".
  * StdioFileStream.cs: Add FilePosition property (not that I expect anyone to
    use it) and Rewind() method.

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

19 years ago2005-01-13 Sureshkumar T <tsureshkumar@novell.com>
Sureshkumar T [Thu, 13 Jan 2005 12:40:08 +0000 (12:40 -0000)]
2005-01-13  Sureshkumar T  <tsureshkumar@novell.com>

* OdbcDataReader.cs: Implement NextResultSet for multiple result
set queries.

* OdbcDataReader.cs: build column schema once creating reader and
then for each Next result set. Thanks to
sebastien.robitaille@croesus.com (Sebastien Robitaille) for
pointing out this optimization (bugzilla #70530).

* libodbc.cs: Added library calls SQLFreeStmt and SQLMoreResults
for mutiple resultsets.

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

19 years ago* profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use $(EXTERNAL_MBAS).
Raja R Harinath [Thu, 13 Jan 2005 12:34:22 +0000 (12:34 -0000)]
* profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use $(EXTERNAL_MBAS).
Reported by Nick Drochak.

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

19 years ago- Changes and fixes to implement focus and keyboard traversal; still very incomplete
Peter Dennis Bartok [Thu, 13 Jan 2005 11:59:43 +0000 (11:59 -0000)]
- Changes and fixes to implement focus and keyboard traversal; still very incomplete
  and missing most associated events

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

19 years agoIn mcs:
Raja R Harinath [Thu, 13 Jan 2005 11:56:23 +0000 (11:56 -0000)]
In mcs:
Fix test-335.cs (bug #58126).
* cs-parser.jay (argument): Split out non-expression parts of the
rule into 'non_simple_argument'.
(invocation_expression): Support parenthesized invocations with
multiple arguments, and with single non-simple arguments.

In tests:
* test-335.cs: New test, from #58126.

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

19 years agomissing properties, fixed bugs
Jordi Mas i Hernandez [Thu, 13 Jan 2005 11:26:05 +0000 (11:26 -0000)]
missing properties, fixed bugs

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

19 years ago * fstab.c: Fix HPUX support. HPUX includes both <fstab.h> and
Jonathan Pryor [Thu, 13 Jan 2005 11:23:37 +0000 (11:23 -0000)]
* fstab.c: Fix HPUX support.  HPUX includes both <fstab.h> and
  <checkpoint.h>, so we need to give preference to <checkpoint.h>.

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

19 years ago- Setting Selectable window style for controls that cannot have focus to off
Peter Dennis Bartok [Thu, 13 Jan 2005 10:27:47 +0000 (10:27 -0000)]
- Setting Selectable window style for controls that cannot have focus to off

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 09:11:04 +0000 (09:11 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlReaderCommonTests.cs : added labels for tests.
  Marked MoveToXmlDeclAttributes() as [Ignore] again because there is
  no consistent reference implementation to follow.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 08:20:37 +0000 (08:20 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlResolver.cs : throw ArgumentException in ResolveUri().

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

19 years agoIn mcs:
Raja R Harinath [Thu, 13 Jan 2005 07:42:50 +0000 (07:42 -0000)]
In mcs:
* cs-tokenizer.cs (xtoken): Reset 'comments_seen' in a couple more
places.

In tests:
* Makefile (TEST_EXCLUDES_win32): Add test-74.  See #71200.
* harness.mk: Fix indentation.
* test-332.cs: Update with more issues.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 07:26:04 +0000 (07:26 -0000)]
2005-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* ConsoleWriter.cs : Flush() should call that of input writer.

* ConsoleUI.cs : at least it should flush stream, even though it
  cannot close the stream (due to the behavioral difference between
  Console.Out and usual StreamWriter).

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

19 years agoRemove unlogged change.
Raja R Harinath [Thu, 13 Jan 2005 07:10:38 +0000 (07:10 -0000)]
Remove unlogged change.

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

19 years agooops.
Raja R Harinath [Thu, 13 Jan 2005 07:08:59 +0000 (07:08 -0000)]
oops.

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

19 years agoremove unlogged change.
Raja R Harinath [Thu, 13 Jan 2005 06:44:38 +0000 (06:44 -0000)]
remove unlogged change.

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

19 years agoAdd cs1540-6.cs.
Raja R Harinath [Thu, 13 Jan 2005 05:38:20 +0000 (05:38 -0000)]
Add cs1540-6.cs.

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

19 years ago2005-01-11 Peter Bartok <pbartok@novell.com>
Miguel de Icaza [Thu, 13 Jan 2005 04:53:07 +0000 (04:53 -0000)]
2005-01-11  Peter Bartok  <pbartok@novell.com>

* System.Windows.Forms.dll.Sources: Added OSXStructs.cs

2005-01-05  Peter Bartok  <pbartok@novell.com>

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:37:22 +0000 (04:37 -0000)]
2005-01-13  Atsushi Enomoto  <atsushi@ximian.com>

* MsxslScriptTests.cs : actually it was not testing stylesheet.
* XslTransformTests.cs : marked MSXslNodeSetRejectsNodeSet() as
  NotDotNet.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:31:40 +0000 (04:31 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* NamedNodeMap.cs : more NotDotNet.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:26:25 +0000 (04:26 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* XmlValidatingReaderTests.cs,
  XmlReaderCommonTests.cs,
  XmlTextWriterTests.cs,
  XmlUrlResolverTests.cs :
  Marked as NotDotNet for those tests that fails under MS.NET.
  Commented out some XmlTextWriter implementation-dependent assertions.
  Fixed ResolveUriWithNullArgs () expected return type.

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

19 years ago2005-01-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 13 Jan 2005 04:22:43 +0000 (04:22 -0000)]
2005-01-13  Atsushi Enomoto <atsushi@ximian.com>

* Attr.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* CharacterData.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Element.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Document.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* NamedNodeMap.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

* Text.cs : added Category("NotDotNet") for those tests that
  exposes MS bugs.

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

19 years ago * TreeView.cs: Refresh the tree after sorting the nodes. Always
Jackson Harper [Wed, 12 Jan 2005 23:49:09 +0000 (23:49 -0000)]
* TreeView.cs: Refresh the tree after sorting the nodes. Always
draw the connecting node lines (when ShowLines is true).
* TreeNode.cs: The nodes index can now be updated. This is used
when a node collection is sorted.
* TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
insert or an existing unsorted node collection can be sorted.

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

19 years ago- Implemented ProcessDialogKey()
Peter Dennis Bartok [Wed, 12 Jan 2005 23:27:11 +0000 (23:27 -0000)]
- Implemented ProcessDialogKey()
- Bug fixes

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

19 years ago- Implemented SelectNextControl() method
Peter Dennis Bartok [Wed, 12 Jan 2005 23:24:09 +0000 (23:24 -0000)]
- Implemented SelectNextControl() method
- Several focus related bug fixes
- Fixed Docking calculations to match MS documentation and behaviour

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

19 years ago2005-01-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 12 Jan 2005 22:42:40 +0000 (22:42 -0000)]
2005-01-12  Martin Baulig  <martin@ximian.com>

* class-internals.h (MonoGenericClass): Moved the `initialized'
flag to MonoDynamicGenericClass, removed `init_pending'.
(MonoGenericInst): Added `is_reference' flag.

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

19 years ago2005-01-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 12 Jan 2005 22:23:29 +0000 (22:23 -0000)]
2005-01-12  Martin Baulig  <martin@ximian.com>

* class.c (mono_get_shared_generic_class): Use the cache for
non-dynamic generic classes.

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

19 years ago2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jan 2005 21:43:05 +0000 (21:43 -0000)]
2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* BaseNumberConverter.cs: when the culture we get is null, set it to the
default. Fixes bug #67033. Thanks to Sander Rijken.

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

19 years ago2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 12 Jan 2005 20:25:19 +0000 (20:25 -0000)]
2005-01-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* ThreadAbortException.cs: added private serialization .ctor.

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

19 years agokeyboard navigation and bug fixes
Jordi Mas i Hernandez [Wed, 12 Jan 2005 16:22:58 +0000 (16:22 -0000)]
keyboard navigation and bug fixes

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

19 years ago2005-01-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 12 Jan 2005 14:56:26 +0000 (14:56 -0000)]
2005-01-12  Zoltan Varga  <vargaz@freemail.hu>

* reflection.c (mono_image_create_pefile): Only set the pe_offset
inside the MSDOS header. Fixes #71201.

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

19 years ago2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
Anirban Bhattacharjee [Wed, 12 Jan 2005 14:02:12 +0000 (14:02 -0000)]
2005-01-12 Anirban Bhattacharjee <banirban@novell.com>
        * mb-parser.jay: Replaced "logical_end_of_line" with "end_of_stmt" in couple of places
                         to support delemeter ':' along with "EOL" as end of statement

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

19 years agoFix cs0038-1.cs, cs1640-6.cs.
Raja R Harinath [Wed, 12 Jan 2005 13:59:44 +0000 (13:59 -0000)]
Fix cs0038-1.cs, cs1640-6.cs.
* ecore.cs (Expression.Resolve): Remove special-case for
SimpleName in error-handling.
(Expression.almostMatchedMembers): Relax access permission to
protected.
(Expression.MemberLookupFailed): Handle duplicates in
almostMatchedMembers list.
(SimpleName.DoSimpleNameResolve): Catch CS0038 errors earlier.
* expression.cs (New.DoResolve): Report CS1540 for more cases.
* typemanager.cs (GetFullNameSignature): Use the MethodBase
overload if the passed in MemberInfo is a MethodBase.

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

19 years ago2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 13:53:23 +0000 (13:53 -0000)]
2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSet.cs : When serializing DataTable, BuildSchema() is passed
  null relation collections.
  Quick fix for XmlSerializer deserialization. It does not require
  XML Schema included.

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

19 years ago2005-01-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Wed, 12 Jan 2005 13:51:40 +0000 (13:51 -0000)]
2005-01-12  Zoltan Varga  <vargaz@freemail.hu>

* gc.c (mono_gc_cleanup): Handle the case when this is called from the
gc thread.
(mono_domain_finalize): Ditto.

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

19 years ago2005-01-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 12 Jan 2005 12:52:20 +0000 (12:52 -0000)]
2005-01-12  Marek Safar <marek.safar@seznam.cz>

* test-311.cs: Incorporated test for #70749.

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

19 years agoremoved (wrong TC)
Marek Safar [Wed, 12 Jan 2005 12:50:17 +0000 (12:50 -0000)]
removed (wrong TC)

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

19 years ago2005-01-12 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 12 Jan 2005 12:50:01 +0000 (12:50 -0000)]
2005-01-12  Marek Safar  <marek.safar@seznam.cz>

Fix #70749
* attribute.cs (ExtractSecurityPermissionSet): Don't report error
for non-CAS & merge permission sets properly.

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

19 years ago* Makefile (DISTFILES): Distribute *.inc, *.pub, and *.response files too.
Raja R Harinath [Wed, 12 Jan 2005 12:28:30 +0000 (12:28 -0000)]
* Makefile (DISTFILES): Distribute *.inc, *.pub, and *.response files too.
* cs2023.response: Rename from CS2023.
* cs2023.cs: Update.

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

19 years ago(DISTFILES): Distribute *.inc files too.
Raja R Harinath [Wed, 12 Jan 2005 12:21:46 +0000 (12:21 -0000)]
(DISTFILES): Distribute *.inc files too.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:46:10 +0000 (11:46 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetTest.cs : WriteXmlSchema2() and WriteXmlSchema3() didn't pass
  on run-test-ondotnet. Removed extraneous Console output.
  modified WriteXmlSchema4(),WriteXmlSchema5() and WriteXmlSchema6()
  to use xmlserializer-based comparison.
  Fixed SerializeDataSet() to use ordinal MS result (it's not simple
  to compare results unless we have another WriteXmlSchema()
  implementation.)

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:28:45 +0000 (11:28 -0000)]
2005-01-12  Atsushi Enomoto  <atsushi@ximian.com>

* DataSetAssertion.cs : forgot one required update for refreshed tests.

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

19 years ago2005-01-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 12 Jan 2005 11:19:44 +0000 (11:19 -0000)]
2005-01-12  Atsushi Enomoto <atsushi@ximian.com>

* test103.xsd : added.

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