mono.git
19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 13:20:35 +0000 (13:20 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* CryptoConfig.cs: Initialization wasn't threadsafe as the "checked"
value was assigned at the start of the initialization.

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

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 12:45:34 +0000 (12:45 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* ResourcePermissionBase.cs: Added "access" attribute in ToXml. Made
FromXml a little better (simple cases) but not perfect (need samples).

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

19 years agoSet svn:eol-style=native, delete svn:executable.
Raja R Harinath [Mon, 16 May 2005 12:23:26 +0000 (12:23 -0000)]
Set svn:eol-style=native, delete svn:executable.
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler)

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

19 years agoIn mcs:
Raja R Harinath [Mon, 16 May 2005 12:21:24 +0000 (12:21 -0000)]
In mcs:
Fix test-382.cs.  Emit values of decimal constants.
* class.cs (TypeContainer.RegisterFieldForInitialization): New.
Carved out of ...
(TypeContainer.AddField): ... this.
(TypeContainer.EmitFieldInitializers): Allow the list of fields
with initializers to include 'Const's.
(ClassPart.RegisterFieldForInitialization): Forward to
PartialContainer.
* const.cs (Const.Const): Pass initializer to base class.
(Const.Define): In case of decimal constants, register them for
initialization in a static constructor.

In tests:
* test-382.cs: New test.  Based on report from Manjula GHM
<mmanjula@novell.com>.

The original testcase was a VB program compiled on Microsoft VBC, and
executed on mono.

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

19 years agoreverting the search order back to Original -> Current
Konstantin Triger [Mon, 16 May 2005 12:05:17 +0000 (12:05 -0000)]
reverting the search order back to Original -> Current

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

19 years ago2005-05-16 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Mon, 16 May 2005 12:03:08 +0000 (12:03 -0000)]
2005-05-16  Sebastien Pouliot  <sebastien@ximian.com>

* IsolatedStoragePermission.cs: Added UserQuota attribute in XML.

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

19 years agofixing net_2_0 compilation
Konstantin Triger [Mon, 16 May 2005 10:14:14 +0000 (10:14 -0000)]
fixing net_2_0 compilation

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

19 years ago* Declare NullType
Manjula GHM [Mon, 16 May 2005 09:50:30 +0000 (09:50 -0000)]
* Declare NullType
* Invoke proper Decimal constructor
* Support Decimal type in literalized version
* Support Decimal constant declaration  and retrieval of members of Decimal structure from corelib

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

19 years ago * System.Data/DataRow.cs:
Sureshkumar T [Mon, 16 May 2005 08:34:36 +0000 (08:34 -0000)]
* System.Data/DataRow.cs:
* System.Data/DataTable.cs:
* System.Data.Common/RecordCache.cs: quick fix for 2.0 profile build failure (follow up for check in 2005-05-16).

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

19 years ago2005-05-16 Satya Sudha K <ksathyasudha@hotmail.com>
Satya Sudha K [Mon, 16 May 2005 07:16:23 +0000 (07:16 -0000)]
2005-05-16 Satya Sudha K <ksathyasudha@hotmail.com>
        * parameter.cs : Converting the default value (for optional
        * param) to param type.
        * ecore.cs     : Fixed string <-> char constant conversions.
        * expression.cs :
        * argument.cs   :
        * mb-parser.jay :
                        Support for named arguments

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

19 years ago* configure.in (AC_OUTPUT): Add mono/arch/ia64/Makefile.
Raja R Harinath [Mon, 16 May 2005 06:43:38 +0000 (06:43 -0000)]
* configure.in (AC_OUTPUT): Add mono/arch/ia64/Makefile.

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

19 years agomerging the Mainsoft branch to the trunk
Konstantin Triger [Sun, 15 May 2005 23:15:37 +0000 (23:15 -0000)]
merging the Mainsoft branch to the trunk

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

19 years agofixes for ImportRowTest test case
Konstantin Triger [Sun, 15 May 2005 20:53:53 +0000 (20:53 -0000)]
fixes for ImportRowTest test case

svn path=/branches/Mainsoft.System.Data/mcs/; revision=44545

19 years agofixes for ImportRowTest test case
Konstantin Triger [Sun, 15 May 2005 20:51:31 +0000 (20:51 -0000)]
fixes for ImportRowTest test case

svn path=/branches/Mainsoft.System.Data/mcs/; revision=44544

19 years agoTest mailing list
Miguel de Icaza [Sun, 15 May 2005 20:35:28 +0000 (20:35 -0000)]
Test mailing list

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

19 years ago * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
Jordi Mas i Hernandez [Sun, 15 May 2005 14:01:21 +0000 (14:01 -0000)]
* ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes

2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>

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

19 years ago2005-05-15 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Sun, 15 May 2005 13:48:40 +0000 (13:48 -0000)]
2005-05-15  Jordi Mas i Hernandez <jordi@ximian.com>

* ComboBox.cs: Fix item range comparation
* ListView.cs: Fix item range comparation

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

19 years ago* AssemblyTest.cs: Added test case for bug #74958.
Gert Driesen [Sun, 15 May 2005 13:14:35 +0000 (13:14 -0000)]
* AssemblyTest.cs: Added test case for bug #74958.

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

19 years ago2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 15 May 2005 10:05:24 +0000 (10:05 -0000)]
2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : for 'z' next_not_digit didn't work as expected.
  Fixed bug #74775.

* DateTimeTest.cs : Added bug #74775 case to TestParseExact().

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

19 years ago2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
Jordi Mas i Hernandez [Sun, 15 May 2005 09:59:55 +0000 (09:59 -0000)]
2005-05-16 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>

* gdipFunctions.cs: Kornél Pál's IStream bug fixing
* ComIStreamWrapper.cs: Kornél Pál's IStream bug fixing
* ComIStreamMarshaler.cs: Kornél Pál's IStream bug fixing

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

19 years ago2005-05-15 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sun, 15 May 2005 07:46:36 +0000 (07:46 -0000)]
2005-05-15  Atsushi Enomoto  <atsushi@ximian.com>

* DateTime.cs : don't allow extraneous pattern characters also for
  non-exact parsing (ParseExact() was fine). Bug #74936 fixed

* DateTimeTest.cs : added Parse() test for bug #74936.

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

19 years ago2005-05-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 14 May 2005 20:42:53 +0000 (20:42 -0000)]
2005-05-14  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am mini-arch.h mini-codegen.c: Add IA64 support.

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

19 years ago2005-05-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 14 May 2005 20:42:15 +0000 (20:42 -0000)]
2005-05-14  Zoltan Varga  <vargaz@freemail.hu>

* *-ia64.*: Add beginnings of IA64 backend.

* Makefile.am mini-arch.h mini-codegen.c: Add IA64 support.

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

19 years ago2005-05-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 14 May 2005 19:52:56 +0000 (19:52 -0000)]
2005-05-14  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am: Only compile libmonoarch if the interpreter is compiled.

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

19 years ago2005-05-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 14 May 2005 18:16:44 +0000 (18:16 -0000)]
2005-05-14  Zoltan Varga  <vargaz@freemail.hu>

* libtest.c (mono_test_marshal_out_string_array_delegate): Fix 64
bit issues.

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

19 years ago2005-05-14 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 14 May 2005 17:35:42 +0000 (17:35 -0000)]
2005-05-14  Zoltan Varga  <vargaz@freemail.hu>

* ia64/ia64-codegen.h: Add IA64 code generation macros.

* Makefile.am: Add ia64 subdir.

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

19 years ago2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>
Jordi Mas i Hernandez [Sat, 14 May 2005 14:34:03 +0000 (14:34 -0000)]
2005-05-14 Jordi Mas i Hernandez <jordi@ximian.com> <kornelpal@hotmail.com>

* Bitmap.cs: Kornél Pál's Bitmap class ctor and MakeTransparent leak fixes

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

19 years agoAdded two not-yet-merged issues.
Martin Baulig [Sat, 14 May 2005 05:02:39 +0000 (05:02 -0000)]
Added two not-yet-merged issues.

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

19 years ago2005-05-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 14 May 2005 04:35:18 +0000 (04:35 -0000)]
2005-05-14  Martin Baulig  <martin@ximian.com>

* test-381.cs: Slightly modified version of test-360.

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

19 years ago2005-05-14 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 14 May 2005 04:12:20 +0000 (04:12 -0000)]
2005-05-14  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.Resolve): Correctly handle unreachable code;
do not call ResolveUnreachable() on unreachable statements in
here, see the comment in the source code.

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

19 years ago2005-05-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 13 May 2005 21:01:35 +0000 (21:01 -0000)]
2005-05-13  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.Resolve, ResolveUnreachable): Correctly
handle unreachable blocks.

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

19 years ago2005-05-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Fri, 13 May 2005 20:59:03 +0000 (20:59 -0000)]
2005-05-13  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.Resolve, ResolveUnreachable): Correctly
handle unreachable blocks.

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

19 years ago2005-05-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 13 May 2005 14:51:20 +0000 (14:51 -0000)]
2005-05-13  Sebastien Pouliot  <sebastien@ximian.com>

* SslClientStream.cs: Forgot to set the event in the previous fix.

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

19 years ago2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 13 May 2005 13:53:45 +0000 (13:53 -0000)]
2005-05-13  Lluis Sanchez Gual <lluis@novell.com>

* System.Web.dll.sources: Added new file:
System.Web.UI.WebControls/WizardStepControlBuilder.cs

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

19 years ago2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 13 May 2005 13:53:20 +0000 (13:53 -0000)]
2005-05-13  Lluis Sanchez Gual <lluis@novell.com>

* WizardStepBase.cs:
* WizardStep.cs: Added missing attributes.
* Wizard.cs: Implemented missing methods and properties. It can now
be considered feature complete.

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

19 years ago2005-05-13 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Fri, 13 May 2005 13:52:46 +0000 (13:52 -0000)]
2005-05-13  Lluis Sanchez Gual <lluis@novell.com>

* ControlCollection.cs: Added internal setter for ReadOnly.

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

19 years ago2005-05-13 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 13 May 2005 13:07:59 +0000 (13:07 -0000)]
2005-05-13  Sebastien Pouliot  <sebastien@ximian.com>

* tpool1-2.cs: New. ThreadPool based tests.

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

19 years ago* Activator.cs: Match exceptions thrown by MS.NET for CreateInstance
Gert Driesen [Fri, 13 May 2005 13:01:50 +0000 (13:01 -0000)]
* Activator.cs: Match exceptions thrown by MS.NET for CreateInstance
 overloads if type is abstract. Fixes bug #74861.
* ActivatorTest.cs: Tests for bug #74861.

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

19 years agoIn mcs:
Raja R Harinath [Fri, 13 May 2005 12:44:43 +0000 (12:44 -0000)]
In mcs:
Fix #74934.
* expression.cs (BinaryResolveOperator): If one of the operands of
an equality comparison is 'null' and the other is a pointer type,
convert the null to a NullPointer.
* convert.cs (ImplicitReferenceConversion): If the expression is a
NullLiteral and the target type is a pointer type, return a
NullPointer instead.
(ImplicitConversionStandard): Likewise.

In tests:
* test-380.cs: New test from #74934.

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

19 years ago2005-05-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 13 May 2005 11:57:53 +0000 (11:57 -0000)]
2005-05-13  Zoltan Varga  <vargaz@freemail.hu>

* MethodBuilder.cs (fixup): Take into account CreateMethodBody as
well.

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

19 years ago2005-05-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 13 May 2005 11:45:53 +0000 (11:45 -0000)]
2005-05-13  Zoltan Varga  <vargaz@freemail.hu>

* MonoField.cs: Applied patch from Opened by Michael Meeks (michael@ximian.com). Improve exception message on binding failures.

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

19 years agonew tests
Marek Safar [Fri, 13 May 2005 09:43:26 +0000 (09:43 -0000)]
new tests

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

19 years ago2005-05-13 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 13 May 2005 09:39:13 +0000 (09:39 -0000)]
2005-05-13  Marek Safar  <marek.safar@seznam.cz>

* cs-parser.jay: Set readonly context based on special constructs.

* expression.cs (LocalVariableReference.DoResolveBase): Improved
readonly variable error handling.

* rootcontext.cs (EmitCode): Don't verify members when error
occurred.

* statement.cs (LocalInfo): Add reaodnly context information.
(SetReadOnlyContext, GetReadOnlyContext): New methods.

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

19 years ago2005-05-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Fri, 13 May 2005 09:31:11 +0000 (09:31 -0000)]
2005-05-13  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs MethodBuilder.cs: Check that elements of
parameterTypes are not null. Fixes #74928.

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

19 years ago* statement.cs (Block.Resolve): Revert change below. Modify fix
Raja R Harinath [Fri, 13 May 2005 09:06:07 +0000 (09:06 -0000)]
* statement.cs (Block.Resolve): Revert change below.  Modify fix
for #74041 to initialize 'resolved' to false only for explicit
blocks.  Fixes #74873.

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

19 years ago2005-05-13 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Fri, 13 May 2005 08:49:08 +0000 (08:49 -0000)]
2005-05-13  Peter Bartok  <pbartok@novell.com>

* ResXResourceWriter.cs:
  - Fixed/Improved AddResource(), now only uses string converter if
    the converter supports both directions
  - Added ability for AddResource(string, object) to detect if
    a byte[] converter is supported for the object, if so it now calls
    AddResource(string, byte[]) for those
  - WriteBytes: Changed to write it's base64 output as pretty
    as Microsoft's, inserting newlines every 80 chars
  - WriteBytes: Added output of mimetype even if type is specified

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

19 years ago2005-05-13 Atsushi Enomoto <atsishi@ximian.com>
Atsushi Eno [Fri, 13 May 2005 04:51:27 +0000 (04:51 -0000)]
2005-05-13 Atsushi Enomoto <atsishi@ximian.com>

* HttpUtility.cs : UrlDecodeToBytes() incorrectly decoded escaped
  characters. Patch by Kazuki Oikawa.
* HttpUtilityTest.cs : test for url decode.

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

19 years ago2005-05-13 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 13 May 2005 03:50:32 +0000 (03:50 -0000)]
2005-05-13  Atsushi Enomoto  <atsushi@ximian.com>

* corlib_test.dll.sources,
  corlib.dll.sources: generic Queue.cs and Stack.cs are now in System.
* System_test.dll.sources,
  System.dll.sources: generic Queue.cs and Stack.cs are now in System.

* Queue.cs, Stack.cs: moved to System.dll

* QueueTest.cs, StackTest.cs: They are now in System.dll

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

19 years ago * ILParser.jay: Handle lists of data items correctly.
Jackson Harper [Fri, 13 May 2005 02:29:58 +0000 (02:29 -0000)]
* ILParser.jay: Handle lists of data items correctly.

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

19 years ago2005-05-13 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 23:11:58 +0000 (23:11 -0000)]
2005-05-13  Zoltan Varga  <vargaz@freemail.hu>

* inssel-long.brg: Add missing ulong->{i1, i2} checked conversions.
Fixes #74925.

* basic-long.cs exceptions.cs: Add new tests. Fix some warnings.

* mini-amd64.c: Fix a warning.

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

19 years agoEnable the test.
Martin Baulig [Thu, 12 May 2005 22:09:14 +0000 (22:09 -0000)]
Enable the test.

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

19 years ago**** Merged r44473 from GMCS ****
Martin Baulig [Thu, 12 May 2005 22:08:32 +0000 (22:08 -0000)]
**** Merged r44473 from GMCS ****

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

19 years agoNew test.
Martin Baulig [Thu, 12 May 2005 21:56:24 +0000 (21:56 -0000)]
New test.

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

19 years agoFix this.
Martin Baulig [Thu, 12 May 2005 21:55:07 +0000 (21:55 -0000)]
Fix this.

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

19 years ago2005-05-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 May 2005 21:54:24 +0000 (21:54 -0000)]
2005-05-13  Martin Baulig  <martin@ximian.com>

* class.cs
(ConstructorInitializer.GetOverloadedConstructor): Don't crash.
(MethodCore.CheckCore): Use TypeManager.IsEqual(); fix #74904 and
#74905.

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

19 years ago2005-05-13 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 May 2005 21:48:19 +0000 (21:48 -0000)]
2005-05-13  Martin Baulig  <martin@ximian.com>

* statement.cs (Block.Resolve): Make the `bool unresolved' flag an
instance variable, not a local.  Fix #74873.
(Block.ResolveUnreachable): Set it to true here.

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

19 years ago2005-05-06 Miguel de Icaza <miguel@novell.com>
Miguel de Icaza [Thu, 12 May 2005 21:20:56 +0000 (21:20 -0000)]
2005-05-06  Miguel de Icaza  <miguel@novell.com>

* CultureInfo.cs: Eliminate double-check lock always init the invariant_culture_info.

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

19 years ago2005-05-03 Alexander Olk <xenomorph2@onlinehome.de>
Alexander Olk [Thu, 12 May 2005 20:58:42 +0000 (20:58 -0000)]
2005-05-03  Alexander Olk  <xenomorph2@onlinehome.de>

* FontDialog.cs:
  - Clear example panel when OnPaint is called
  - Better solution for displaying the example panel text
  - Select default indexes in the ListBoxes

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

19 years ago2005-05-11 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Thu, 12 May 2005 20:52:22 +0000 (20:52 -0000)]
2005-05-11  Geoff Norton  <gnorton@customerdna.com>

        * XplatUIOSX.cs: Avoid painting into invisible views.  Fixes #74926

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

19 years ago * Syscall.cs: The Statvfs structure should contain a MountFlags enumeration,
Jonathan Pryor [Thu, 12 May 2005 20:40:47 +0000 (20:40 -0000)]
  * Syscall.cs: The Statvfs structure should contain a MountFlags enumeration,
    not a ulong (we can "safely" do this since POSIX defines some values for
    f_flag, so we should be kind and expose them).
  * UnixConvert.cs: Add MountFlags conversion functions.

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

19 years ago * map.c, map.h: Add FromMountFlags, ToMountFlags. (MountFlags is used in
Jonathan Pryor [Thu, 12 May 2005 20:35:07 +0000 (20:35 -0000)]
  * map.c, map.h: Add FromMountFlags, ToMountFlags.  (MountFlags is used in
    `struct statvfs', which is POSIX).
  * sys-statvfs.c: Use ToMountFlags to convert the OS flags value into the
    managed equivalent.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 20:29:45 +0000 (20:29 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal9.cs libtest.c: Add more tests.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 20:29:08 +0000 (20:29 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_custom): Add some error checking and call the
methods in the ICustomMarshaler interface. Fixes #74875.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 19:19:48 +0000 (19:19 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke3.cs libtest.c: Add test for [Out] marshalling of arrays.
Fix warnings.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 19:18:39 +0000 (19:18 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_array): Implement [Out] marshalling in
native->managed wrappers.

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

19 years ago2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 12 May 2005 16:51:49 +0000 (16:51 -0000)]
2005-05-12:2 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : mcs having C# 2.0 features makes me slip some simplified delegate creation
code, that breaks with csc in Windows (as pointed by Atsushi)
* CompilerOptions.cs : moved some delegate definitions outside the class for shorter name when using.

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

19 years agorenamed
Marek Safar [Thu, 12 May 2005 15:43:04 +0000 (15:43 -0000)]
renamed

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

19 years agoPut Paolo's locking code back and make it work with the debugger.
Martin Baulig [Thu, 12 May 2005 15:36:50 +0000 (15:36 -0000)]
Put Paolo's locking code back and make it work with the debugger.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 15:30:37 +0000 (15:30 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal9.cs libtest.c: Add tests for marshalling null values.

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

19 years ago2005-05-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 May 2005 15:10:37 +0000 (15:10 -0000)]
2005-05-12  Martin Baulig  <martin@ximian.com>

* mono-debug-debugger.cs (mono_debugger_lock/unlock): Added
`gboolean use_loader_lock' argument; if true, also take the loader
lock.

* mono-debug.c: Properly lock when the debugger is not attached.

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

19 years agoIn mcs:
Raja R Harinath [Thu, 12 May 2005 15:04:48 +0000 (15:04 -0000)]
In mcs:
Fix #74920.
* typemanager.cs (unmanaged_enclosing_types): New.
(IsUnmanagedType): Avoid infloops by using
'unmanaged_enclosing_types' to talk with recursive invocations.

In tests:
* test-378.cs: New test from #74920.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 14:41:50 +0000 (14:41 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal9.cs: Add tests for marshalling null values.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 14:41:26 +0000 (14:41 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_marshal_custom): Pass through NULL values without
calling the custom marshalling routines.

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

19 years ago2005-05-12 Martin Baulig <martin@ximian.com>
Martin Baulig [Thu, 12 May 2005 14:35:34 +0000 (14:35 -0000)]
2005-05-12  Martin Baulig  <martin@ximian.com>

* cs-parser.jay (property_declaration): Pass the `current_class',
not the `current_container' to Property's .ctor.  Fixes #74912.

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

19 years agoPut it back, it's fixed in the debugger.
Martin Baulig [Thu, 12 May 2005 14:10:00 +0000 (14:10 -0000)]
Put it back, it's fixed in the debugger.

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

19 years agoIn ilasm:
Ankit Jain [Thu, 12 May 2005 13:55:41 +0000 (13:55 -0000)]
In ilasm:
2005-05-12  Ankit Jain  <ankit@corewars.org>

* Makefile (LOCAL_MCS_FLAGS): Use the in-tree PEAPI.dll as its public
interface has changed a bit, so avoid clash with older installed
dll.

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

19 years ago2005-05-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 12 May 2005 13:54:29 +0000 (13:54 -0000)]
2005-05-12  Lluis Sanchez Gual  <lluis@novell.com>

* SoapReflectionImporter.cs: In ImportTypeMap, make sure that all
types indirectly imported by this method use the same namespace.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 13:45:37 +0000 (13:45 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* Makefile.am pinvoke2.cs pinvoke10.cs pinvoke15.cs: Merge pinvoke10
and pinvoke15 into pinvoke2.

* pinvoke2.cs: Fix warnings.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 13:09:53 +0000 (13:09 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* pinvoke2.cs libtest.c: Add test for ftnptr->delegate conversion in
structures.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 13:09:26 +0000 (13:09 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c (emit_ptr_to_object_conv): Implement ftnptr->delegate
conversion in structures. Fixes #74882.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 12:27:17 +0000 (12:27 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* TypeBuilderTest.cs: Add tests for bug #74906.

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 12:25:34 +0000 (12:25 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs MethodBuilder.cs (fixup): Fix this.

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

19 years ago2005-05-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 May 2005 12:21:42 +0000 (12:21 -0000)]
2005-05-12  Atsushi Enomoto  <atsushi@ximian.com>

* culture-info-table.h : zh-* cultures were missing.

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

19 years ago2005-05-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 May 2005 12:20:09 +0000 (12:20 -0000)]
2005-05-12  Atsushi Enomoto  <atsushi@ximian.com>

* Entry.cs :
  build fix. Incorrectly allowed access to protected member.
* CultureInfoEntry.cs,
  Driver.cs :
  Handle language "zh-CHS" as special case, since there is no "zh".
* Makefile :
  use -debug+ instead of -g (convenient when verifying with csc).

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

19 years ago2005-05-12 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Thu, 12 May 2005 12:07:17 +0000 (12:07 -0000)]
2005-05-12  Zoltan Varga  <vargaz@freemail.hu>

* ConstructorBuilder.cs MethodBuilder.cs (fixup): Throw an exception if a
method body is empty. Fixes #74906.

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

19 years ago2005-05-12 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 12 May 2005 11:48:48 +0000 (11:48 -0000)]
2005-05-12  Sebastien Pouliot  <sebastien@ximian.com>

* delegate1-2.cs: Updated to use ControlEvidence.
* swf-timer3.cs: Updated to execute the SWF message loop.
* README: fixed typos.

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

19 years agoIn class/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices:
Ankit Jain [Thu, 12 May 2005 10:28:40 +0000 (10:28 -0000)]
In class/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices:
2005-05-12  Ankit Jain  <ankit@corewars.org>

* StandardModuleAttribute.cs (AttributeUsage)
OptionTextAttribute.cs (AttributeUsage)
OptionCompareAttribute.cs (AttributeUsage):
Set Inherited = false.
* ProjectData.cs : Sealed.

In class/Microsoft.VisualBasic/Microsoft.VisualBasic:
2005-05-12 Ankit Jain  <ankit@corewars.org>

* Strings.cs : Sealed.
* FileSystem.cs (FileSystem.FileGet): Add attributes Optional and
__DefaultArgumentValue to 'recordNumber' parameter.
* VBFixedStringAttribute.cs (AttributeUsage): Set Inherited = false.

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

19 years ago2005-05-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 12 May 2005 09:43:11 +0000 (09:43 -0000)]
2005-05-12  Lluis Sanchez Gual  <lluis@novell.com>

* main-returns-background-change.cs: New test for changing the
background mode of a thread.

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

19 years ago2005-05-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 12 May 2005 09:36:01 +0000 (09:36 -0000)]
2005-05-12  Lluis Sanchez Gual  <lluis@novell.com>

* Thread.cs: Moved all checks done inside sync_lock to unmanaged code.
Merged Thread_internal and Start_internal into a single icall, which
does all work.

based on patch by Sbastien Robitaille

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

19 years ago2005-05-12 Lluis Sanchez Gual <lluis@novell.com>
Lluis Sanchez [Thu, 12 May 2005 09:35:33 +0000 (09:35 -0000)]
2005-05-12  Lluis Sanchez Gual  <lluis@novell.com>

* threads.c: Added a new event background_change_event which is signaled
when a thread changes its background mode.
Moved here several checks previously done in managed code. The checks
require the thread lock, and using the thread lock in managed code
can result in deadlocks.
Merged Start_internal and Thread_internal into a single method. Now
Thread_internal does all work of creating and starting a thread.
Added icalls for setting and getting the state of the object. Moved from
managed code to avoid locking there.
Added wait_for_tids_or_state_change() which is called instad of
wait_for_tids when waiting for non-backround threads to end. This method
will return if one of the threads ends or the background_change_event
is signaled.
* threadpool.c: use ves_icall_System_Threading_Thread_SetState() to set
the background mode. This method signals the background_change_event
event.
* icall.c:
* threads-types.h: Added icalls for ClrState, SetState and GetState, and
removed Start_internal.

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

19 years ago2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
Rafael Teixeira [Thu, 12 May 2005 04:31:09 +0000 (04:31 -0000)]
2005-05-12 Rafael Teixeira <rafaelteixeirabr@hotmail.com>
* driver.cs : slimmed down, most non-specific code moved to new class/source CompilerOptions.
Also steps where individualized and put on a array of delegates for sequencial execution
with stop-on-first-blunder behavior. It is similar to the configurable pipeline of the
boo compiler.
* CompilerOptions.cs: added, refactored from inside driver.cs (some code/properties will migrate
further to Mono.GetOptions.Usefull.CommonCompilerOptions)
* mbas.exe.sources: added CompilerOptions.cs

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

19 years ago2005-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 12 May 2005 04:30:26 +0000 (04:30 -0000)]
2005-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* shared.c: forgot to ignore a warning.

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

19 years ago2005-05-12 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 12 May 2005 03:40:00 +0000 (03:40 -0000)]
2005-05-12  Atsushi Enomoto  <atsushi@ximian.com>

* corlib.dll.sources: replaced MiniParser.cs with SmallXmlParser.cs.

* SmallXmlParser.cs,
  SecurityParser.cs : Use new SmallXmlParser.cs instead of MiniParser.

* RemotingConfiguration.cs : MiniParser->SmallXmlParser changes.

* PermissionSetAttribute.cs : MiniParser->SmallXmlParser changes.

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

19 years ago2005-05-11 Chris Toshok <toshok@ximian.com>
Chris Toshok [Wed, 11 May 2005 23:36:33 +0000 (23:36 -0000)]
2005-05-11  Chris Toshok  <toshok@ximian.com>

* mono-debug.h (MonoDebugMethodAddress): revert this part of the
last patch.

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

19 years ago- oops, forgot to commit
Peter Dennis Bartok [Wed, 11 May 2005 23:07:03 +0000 (23:07 -0000)]
- oops, forgot to commit

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

19 years ago2005-05-11 Peter Bartok <pbartok@novell.com>
Peter Dennis Bartok [Wed, 11 May 2005 23:02:43 +0000 (23:02 -0000)]
2005-05-11  Peter Bartok  <pbartok@novell.com>

* LinkArea.cs: Added and implemented LinkAreaTypeConverter class
* SelectionRangeConverter.cs: Implemented
* PropertyGrid.cs: Fixed attribute value
* Control.cs:
  - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  - Added Sebastien Pouliot's CAS Stack Propagation fixes
* XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  that's common to all drivers. First methods to go there are
  Sebastien Pouliot's CAS Stack Propagation helper methods
* XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  Sebastien Pouliot for CAS Stack Propagation

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

19 years ago2005-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Wed, 11 May 2005 22:00:14 +0000 (22:00 -0000)]
2005-05-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* MonoWSDL.cs: enable auto redirection for 30x responses.

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

19 years ago2005-05-11 Duncan Mak <duncan@novell.com>
Duncan Mak [Wed, 11 May 2005 20:55:56 +0000 (20:55 -0000)]
2005-05-11  Duncan Mak  <duncan@novell.com>

* cs-tokenizer.cs (get_cmd_arg): Check that 'c' is not -1 before
continuing to process for 'arg'.
(handle_preprocessing_directive): Check the argument of the #endif
directive and report error CS1025 if there are any trailing
characters.

According to the C# spec, having even whitespace after the #endif
directive is illegal; however, because we call arg.TrimEnd ()
beforehand, we have the same behavior as csc, allowing whitespace
after the directive.

Fixes #74892.

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

19 years ago2005-05-11 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 11 May 2005 19:17:45 +0000 (19:17 -0000)]
2005-05-11  Geoff Norton  <gnorton@customerdna.com>

* OSXStructs.cs:
  XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov (Artyom.Tyazhelov@helmes.ee)

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

19 years ago2005-05-11 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 11 May 2005 17:56:50 +0000 (17:56 -0000)]
2005-05-11  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MonoSymbolTable, MonoDebugMethodAddress): Changed
to order of some fields to get proper alignment on 64-bit machines.

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