mono.git
18 years ago2005-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Oct 2005 18:06:59 +0000 (18:06 -0000)]
2005-10-30  Zoltan Varga  <vargaz@gmail.com>

* ia64/ia64-codegen.h (ia64_m17): Fix a warning.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 30 Oct 2005 17:51:29 +0000 (17:51 -0000)]
2005-10-30  Zoltan Varga  <vargaz@gmail.com>

* exceptions-ia64.c (mono_arch_ip_from_context): Fix this, the previous
version seemed to skip a frame.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Oct 2005 17:10:39 +0000 (17:10 -0000)]
2005-10-30  Zoltan Varga  <vargaz@freemail.hu>

* mini.c: Clean up the usage of sig->pinvoke flag. Now
only calls which are made to native code use this flag.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Oct 2005 17:09:46 +0000 (17:09 -0000)]
2005-10-30  Zoltan Varga  <vargaz@freemail.hu>

* marshal.c icall.c: Clean up the usage of sig->pinvoke flag. Now
only calls which are made to native code use this flag.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Oct 2005 16:56:52 +0000 (16:56 -0000)]
2005-10-30  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal): Remove the check for FieldBuilders as it is now done in managed code.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Oct 2005 16:55:50 +0000 (16:55 -0000)]
2005-10-30  Zoltan Varga  <vargaz@freemail.hu>

* FieldBuilder.cs: Add implementation of new UMarshal property.

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

18 years ago2005-10-30 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sun, 30 Oct 2005 16:55:13 +0000 (16:55 -0000)]
2005-10-30  Zoltan Varga  <vargaz@freemail.hu>

* FieldInfo.cs: Add an internal UMarshal property which can by
overriden in FieldBuilder.

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

18 years ago2005-10-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sun, 30 Oct 2005 14:52:14 +0000 (14:52 -0000)]
2005-10-30  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Forgot to remove virtual from 2.0 IsSubsetOf.

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

18 years agohandle no credentials case
Konstantin Triger [Sun, 30 Oct 2005 12:06:11 +0000 (12:06 -0000)]
handle no credentials case

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

18 years ago2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
Alexandre Rocha Lima e Marcondes [Sun, 30 Oct 2005 10:56:03 +0000 (10:56 -0000)]
2005-10-19 Maverson Eduardo Schulze Rosa <maverson@gmail.com>
        * class.cs: Casting TypeContainer to Interface in order to call
                    the correct overload of RootContext.RegisterOrder.

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

18 years agoAdd Mainsoft's files System.Runtime.Serialization.Formatters.Soap.vmwcsproj and Syste...
Svetlana Zholkovsky [Sun, 30 Oct 2005 10:47:33 +0000 (10:47 -0000)]
Add Mainsoft's files System.Runtime.Serialization.Formatters.Soap.vmwcsproj and System.Runtime.Serialization.Formatters.Soap.sln to the svn; Fix SoapTypeMapper.cs

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

18 years agosvn path=/trunk/mcs/; revision=52388
Vladimir Krasnov [Sun, 30 Oct 2005 08:08:12 +0000 (08:08 -0000)]
svn path=/trunk/mcs/; revision=52388

18 years ago2005-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 Oct 2005 21:38:01 +0000 (21:38 -0000)]
2005-10-29  Zoltan Varga  <vargaz@freemail.hu>

* icall.c (ves_icall_System_Reflection_FieldInfo_GetUnmanagedMarshal):
Add support for FieldBuilders.

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

18 years ago2005-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 Oct 2005 20:27:37 +0000 (20:27 -0000)]
2005-10-29  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_compute_omit_fp): Disable fp elimination for
varargs methods as well.

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

18 years agomessage fix
Marek Safar [Sat, 29 Oct 2005 19:34:30 +0000 (19:34 -0000)]
message fix

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

18 years ago2005-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 Oct 2005 19:34:30 +0000 (19:34 -0000)]
2005-10-29  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c exceptions-amd64.c: Allow fp elimination in methods
which have save_lmf set. Reorganize methods prologs a bit.

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

18 years ago2005-10-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 29 Oct 2005 19:30:48 +0000 (19:30 -0000)]
2005-10-29  Marek Safar  <marek.safar@seznam.cz>

  * cs-tokenizer.cs: Warning text fix.

* driver.cs: AllWarningNumbers exposed on public interface.

* report.cs (): Reviewed warning numbers.
(IsValidWarning): Use binary search.

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

18 years ago2005-10-29 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Sat, 29 Oct 2005 17:28:04 +0000 (17:28 -0000)]
2005-10-29  Zoltan Varga  <vargaz@freemail.hu>

* mini-amd64.c (mono_arch_compute_omit_fp): Move the check for the
debugger to the proper place.

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

18 years ago2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 Oct 2005 14:14:31 +0000 (14:14 -0000)]
2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Another update to corcompare shows that even more
methods are not virtual in 2.0 final.

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

18 years ago2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 Oct 2005 13:59:03 +0000 (13:59 -0000)]
2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>

* CSharpCodeProvider.cs: GenerateCodeFromMember method is an override
in 2.0 final.

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

18 years ago2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 Oct 2005 13:58:23 +0000 (13:58 -0000)]
2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>

* VBCodeProvider.cs: GenerateCodeFromMember method is an override in
2.0 final.

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

18 years ago2005-10-29 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 29 Oct 2005 13:56:34 +0000 (13:56 -0000)]
2005-10-29  Sebastien Pouliot  <sebastien@ximian.com>

CodeDomProvider.cs: Stubbed a few 2.0 methods to fix API errors in
derived classes.

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

18 years ago2005-10-29 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Sat, 29 Oct 2005 09:15:33 +0000 (09:15 -0000)]
2005-10-29  Marek Safar  <marek.safar@seznam.cz>

  * driver.cs: Implemeted resource visibility.
  (Resources): New class for code sharing between /res: and
  /linkres:

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

18 years ago2005-10-29 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Sat, 29 Oct 2005 08:52:39 +0000 (08:52 -0000)]
2005-10-29  Atsushi Enomoto  <atsushi@ximian.com>

* GlobalizationConfigurationHandler.cs : we don't use ICU.

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

18 years ago2005-10-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 Oct 2005 03:53:23 +0000 (03:53 -0000)]
2005-10-29  Martin Baulig  <martin@ximian.com>

* mini-amd64.c (debug_omit_fp): Temporarily disable fp elimination
when running inside the debugger until the debugger has support
for it.

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

18 years ago2005-10-29 Martin Baulig <martin@ximian.com>
Martin Baulig [Sat, 29 Oct 2005 03:52:44 +0000 (03:52 -0000)]
2005-10-29  Martin Baulig  <martin@ximian.com>

* mono-debug.c
(mono_debug_using_mono_debugger): New public method; returns
whether we're running inside the debugger.

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

18 years ago* mono.pc.in, mint.pc.in, configure.in: Make these relocatable.
Wade Berrier [Sat, 29 Oct 2005 01:43:49 +0000 (01:43 -0000)]
* mono.pc.in, mint.pc.in, configure.in: Make these relocatable.
* scripts: Makefile.am mono-nunit.pc.in script.in mono-service.in
Make all the wrappers relocatable.

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

18 years ago * X11Dnd.cs: Early implementation to support winforms being a drag
Jackson Harper [Fri, 28 Oct 2005 23:06:39 +0000 (23:06 -0000)]
* X11Dnd.cs: Early implementation to support winforms being a drag
source for data on X11. Also restructured the converters so they
can go both ways now.
* XplatUIX11.cs: Tie ins to the the Dnd stuff.

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

18 years ago2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Oct 2005 20:23:27 +0000 (20:23 -0000)]
2005-10-28  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs, mono-api-diff.cs : use IsVirtual instead of
  IsFinal (bug #76585; it is not working). Fixed new warning.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 19:26:40 +0000 (19:26 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* CriticialFinalizerObject.cs: Added [ReliabilityContract] to ctor.
* ReliabilityContractAttribute.cs: Removed (obsoleted) default ctor.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 19:16:51 +0000 (19:16 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* IdentityReferenceCollection.cs: Removed virtual from Count and
IsReadOnly properties.
* WindowsIdentity.cs: AuthenticationType property isn't virtual in 2.0

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 19:12:30 +0000 (19:12 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* PermissionSet.cs: Some methods are no more virtual in 2.0 final.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 18:35:35 +0000 (18:35 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* IntranetZoneCredentialPolicy.cs: ShouldSendCredential was changed to
virtual in 2.0 final.

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

18 years ago* CodeGeneratorFromTypeTest.cs: Added tests for CodeEntryPointMethod
Gert Driesen [Fri, 28 Oct 2005 18:05:39 +0000 (18:05 -0000)]
* CodeGeneratorFromTypeTest.cs: Added tests for CodeEntryPointMethod
and bug #76580.
* CodeGeneratorTestBase.cs: Set eol-style to native.
* CodeGeneratorTest.cs: Set eol-style to native.
* CodeGeneratorFromTypeTestBase.cs: Added tests for
CodeEntryPointMethod and bug #76580. Set eol-style to native.
* IndentedTextWriterTest.cs: Set eol-style to native.
* CodeGeneratorFromTypeTest.cs: Added tests for CodeEntryPointMethod
and bug #76580.
* CSharpCodeGenerator.cs: Use fixed signature for entrypoint method
on 1.0 profile. On 2.0 profile output custom attributes, and return
type. On 1.0 profile, also replace + with dot (for nested types).
Fixes bug #76580. Set eol-style to native.
* CSharpCodeCompiler.cs: Set eol-style to native.
* CSharpCodeProvider.cs: Set eol-style to native.
* VBCodeGenerator.cs: Use fixed signature for entrypoint method.
Only output attributes on 2.0 profile. Replace + with dot in type
name (for nested types). Fixes bug #76580.

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

18 years ago2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Oct 2005 17:33:36 +0000 (17:33 -0000)]
2005-10-28  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-diff.cs :
  "None" goes away from static/abstract/sealed diff.

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

18 years agoAdd CAS and unit tests for System.Security.SecureString
Sebastien Pouliot [Fri, 28 Oct 2005 15:46:32 +0000 (15:46 -0000)]
Add CAS and unit tests for System.Security.SecureString

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 15:45:58 +0000 (15:45 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* SecureStringCas.cs: New. CAS unit tests for SecureString.
* SecureStringTest.cs: New. Unit tests for SecureString.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 15:44:41 +0000 (15:44 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* SecureString.cs: Changed the previous (and partial) managed
implementation to one (that will be) based on ProtectedMemory. Work in
progress...

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

18 years ago2005-10-28 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 28 Oct 2005 15:41:42 +0000 (15:41 -0000)]
2005-10-28  Atsushi Enomoto  <atsushi@ximian.com>

* mono-api-info.cs, mono-api-diff.cs :
  Print static/abstract/sealed diffs on methods.
  Differentiate generic methods by their type arguments.
  Print generic parameter attribute differences.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 14:56:47 +0000 (14:56 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* MarshalTest.cs: Added tests for 2.0 SecureTo* and ZeroFree* methods.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 14:55:30 +0000 (14:55 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* Marshal.cs: Added null check in SecureStringTo* methods and make
them throw a NotSupportedException otherwise (as existing code must
deal with this anyway). Fixed Uni -> Unicode method name changes.

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

18 years ago* dis_stringify_method_signature: Add detail for 'returns:' in the comment.
Ankit Jain [Fri, 28 Oct 2005 14:17:46 +0000 (14:17 -0000)]
* dis_stringify_method_signature: Add detail for 'returns:' in the comment.

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

18 years ago*** merged revisions from mcs: 52313
Raja R Harinath [Fri, 28 Oct 2005 14:16:32 +0000 (14:16 -0000)]
*** merged revisions from mcs: 52313

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

18 years ago*** merged revisions from mcs: 52236, 52240, 52241, 52271, 52276, 52300, 52302
Raja R Harinath [Fri, 28 Oct 2005 13:58:16 +0000 (13:58 -0000)]
*** merged revisions from mcs: 52236, 52240, 52241, 52271, 52276, 52300, 52302

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

18 years ago* tests: Add new directory for test cases.
Ankit Jain [Fri, 28 Oct 2005 13:50:44 +0000 (13:50 -0000)]
* tests: Add new directory for test cases.
* tests/gen-prop.cs: New test case (for r52316).

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 13:45:08 +0000 (13:45 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Updated for 2.0 final.

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

18 years ago2005-10-28 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Fri, 28 Oct 2005 13:44:12 +0000 (13:44 -0000)]
2005-10-28  Sebastien Pouliot  <sebastien@ximian.com>

* Consts.cs.in: Added RuntimeVersion as most 2.0 assemblies will
require it (for AssemblyFileVersion).

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

18 years ago* get.c (dis_stringify_method_signature): Use context instead of container
Ankit Jain [Fri, 28 Oct 2005 13:10:34 +0000 (13:10 -0000)]
* get.c (dis_stringify_method_signature): Use context instead of container
  as container can be NULL.

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

18 years ago2005-10-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 28 Oct 2005 10:49:00 +0000 (10:49 -0000)]
2005-10-28  Marek Safar <marek.safar@seznam.cz>

* test-10.cs: Test for #76568.

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

18 years ago2005-10-28 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Fri, 28 Oct 2005 10:45:03 +0000 (10:45 -0000)]
2005-10-28  Marek Safar  <marek.safar@seznam.cz>

Fix #76568.
* cfold.cs (ConstantFold.BinaryFold): Implemented null cast
folding.

* convert (Convert.ImplicitReferenceConversion): NullCast holds
contants only.

* ecore.cs (NullCast): Child is contant only.

* literal.cs (NullLiteral.Reduce): null can be converted to any
reference type.

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

18 years ago*** Merged revisions from mcs: 52092, 52136, 52137, 52172, 52173
Raja R Harinath [Fri, 28 Oct 2005 10:43:05 +0000 (10:43 -0000)]
*** Merged revisions from mcs: 52092, 52136, 52137, 52172, 52173

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

18 years ago*** Merged revisions from mcs: 52077, 52086, 52089
Raja R Harinath [Fri, 28 Oct 2005 10:18:34 +0000 (10:18 -0000)]
*** Merged revisions from mcs: 52077, 52086, 52089

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

18 years ago* Import.cs (Resolve): Update to changes in GMCS.
Raja R Harinath [Fri, 28 Oct 2005 09:47:46 +0000 (09:47 -0000)]
* Import.cs (Resolve): Update to changes in GMCS.
* SemanticAnalizer.cs (ComputeNamespace): Likewise.

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

18 years ago*** Merged revisions from mcs: 52039
Raja R Harinath [Fri, 28 Oct 2005 09:47:29 +0000 (09:47 -0000)]
*** Merged revisions from mcs: 52039

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

18 years agodriver.cs: Use Encoding.Default as default code page instead of ISO-28591.
Kornél Pál [Fri, 28 Oct 2005 02:36:28 +0000 (02:36 -0000)]
driver.cs: Use Encoding.Default as default code page instead of ISO-28591.

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

18 years ago2005-10-27 Peter Dennis Bartok <pbartok@novell.com>
Peter Dennis Bartok [Thu, 27 Oct 2005 23:24:54 +0000 (23:24 -0000)]
2005-10-27  Peter Dennis Bartok  <pbartok@novell.com>

* XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  clipboard requests

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

18 years agoRevert 52271 as it regresses Managed.Windows.Forms
Miguel de Icaza [Thu, 27 Oct 2005 21:32:10 +0000 (21:32 -0000)]
Revert 52271 as it regresses Managed.Windows.Forms

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

18 years ago2005-10-27 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 27 Oct 2005 20:19:18 +0000 (20:19 -0000)]
2005-10-27  Atsushi Enomoto  <atsushi@ximian.com>

* Collection.cs : added Items.

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

18 years ago * TreeNode.cs: Implement serialization so my DnD examples will
Jackson Harper [Thu, 27 Oct 2005 19:10:30 +0000 (19:10 -0000)]
* TreeNode.cs: Implement serialization so my DnD examples will
          work.

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

18 years agotest for exception + redirect
Gonzalo Paniagua Javier [Thu, 27 Oct 2005 18:52:39 +0000 (18:52 -0000)]
test for exception + redirect

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

18 years ago2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Thu, 27 Oct 2005 18:50:51 +0000 (18:50 -0000)]
2005-10-27 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* Page.cs: call OnError when there's an exception (not for TAE). Fixes
bug #76572.

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

18 years ago* Brush.cs: added texture brush with transform tests
Vladimir Krasnov [Thu, 27 Oct 2005 14:35:58 +0000 (14:35 -0000)]
* Brush.cs: added texture brush with transform tests
* Graphics.cs: added DrawImage, BeginContainer tests

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

18 years ago* Bitmap.jvm.cs: fixed InternalSave
Vladimir Krasnov [Thu, 27 Oct 2005 14:27:34 +0000 (14:27 -0000)]
* Bitmap.jvm.cs: fixed InternalSave
* Image.jvm.cs: fixed Save

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

18 years ago2005-10-27 Alexandre Rocha Lima e Marcondes
Alexandre Rocha Lima e Marcondes [Thu, 27 Oct 2005 14:08:41 +0000 (14:08 -0000)]
2005-10-27  Alexandre Rocha Lima e Marcondes
<alexandre@psl-pr.softwarelivre.org>
* DateAndTimeTest.cs : Added new DateTime parsing tests.
* FileSystemTest.cs : Removed Windows platform speficic tests.
* ConversionTest.cs : Implemented Invariant CultureInfo on
tests.
* FileSystem.cs : ChdDrive throws InvalidOperationException on
Unix platforms.

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

18 years ago2005-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 27 Oct 2005 14:04:53 +0000 (14:04 -0000)]
2005-10-27  Zoltan Varga  <vargaz@gmail.com>

* FieldBuilderTest.cs MethodBuilderTest.cs ConstructorBuilderTest.cs:
Add tests for #76521.

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

18 years ago2005-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 27 Oct 2005 14:03:46 +0000 (14:03 -0000)]
2005-10-27  Zoltan Varga  <vargaz@gmail.com>

* FieldBuilder.cs MethodBuilder.cs ConstructorBuilder.cs: Add support for
returing custom attributes in created types. MS.NET supports this by
returning non-builder objects from GetMethod/GetField etc., but we return
builder objects in this case. Fixes #76521.

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

18 years ago2005-10-27 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 27 Oct 2005 14:01:47 +0000 (14:01 -0000)]
2005-10-27  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (mono_reflection_get_custom_attrs_info): Add support
for Method/Constructor/FieldBuilders.

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

18 years agoAdded internal class Mono.Security.Cryptography.NativeDapiProtection to the build
Sebastien Pouliot [Thu, 27 Oct 2005 13:46:33 +0000 (13:46 -0000)]
Added internal class Mono.Security.Cryptography.NativeDapiProtection to the build

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

18 years ago2005-10-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Oct 2005 13:46:03 +0000 (13:46 -0000)]
2005-10-27  Sebastien Pouliot  <sebastien@ximian.com>

* ProtectedData.cs: Added support for Windows (2000 and later) by
p/invoking DPAPI thru Mono.Security.Cryptography.NativeDapiProtection.

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

18 years ago2005-10-27 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 27 Oct 2005 13:44:19 +0000 (13:44 -0000)]
2005-10-27  Sebastien Pouliot  <sebastien@ximian.com>

* NativeDapiProtection.cs: New. Native access to DPAPI (Data
Protection API) to implement ProtectedData on Windows (requires
Windows 2000 or later).

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

18 years ago * UnixEnvironment.cs: Add RealUser, RealGroup, EffectiveUser, EffectiveGroup
Jonathan Pryor [Thu, 27 Oct 2005 13:26:55 +0000 (13:26 -0000)]
  * UnixEnvironment.cs: Add RealUser, RealGroup, EffectiveUser, EffectiveGroup
    properties; [Obsolete] necessary methods and provide replacements.
  * UnixStream.cs: Add OwnerUser(Id), OwnerGroup(Id) properties;
    improve Stat handling.

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

18 years agoupdate
Raja R Harinath [Thu, 27 Oct 2005 13:24:18 +0000 (13:24 -0000)]
update

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

18 years ago * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
Jonathan Pryor [Thu, 27 Oct 2005 12:46:19 +0000 (12:46 -0000)]
  * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
  * Syscall.cs: Remove [Obsolete] SyslogFacility.LOG_USRE member
    (Mono.Unix.Native hasn't shipped yet, so nobody is using it); correct
    [Obsolete] comment for getpagesize().

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

18 years agoIn mcs:
Raja R Harinath [Thu, 27 Oct 2005 12:32:09 +0000 (12:32 -0000)]
In mcs:
Fix #76085.
* expression.cs (Invocation.Error_InvalidArguments): Handle
__arglist parameters.
(Invocation.VerifyArgumentsCompat): Likewise.
* support.cs (ReflectionParameters.GetSignatureForError): Print
__arglist parameters.
(InternalParamters.GetSignatureForError): Likewise.
* parameter.cs (Parameters.GetSignatureForError): Likewise.

In errors:
* cs1501-11.cs, cs1502-5.cs: New tests from #76085.

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

18 years agonew tests
Marek Safar [Thu, 27 Oct 2005 12:22:37 +0000 (12:22 -0000)]
new tests

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

18 years ago2005-10-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 27 Oct 2005 12:13:55 +0000 (12:13 -0000)]
2005-10-27  Marek Safar <marek.safar@seznam.cz>

* test-464.cs: New test.

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

18 years ago2005-10-27 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Thu, 27 Oct 2005 12:11:43 +0000 (12:11 -0000)]
2005-10-27  Marek Safar  <marek.safar@seznam.cz>

* driver.cs: Implemeted resource visibility.
(Resources): New class for code sharing between /res: and
/linkres:

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

18 years agoFix the enumerator initialization problem
Konstantin Triger [Thu, 27 Oct 2005 11:41:00 +0000 (11:41 -0000)]
Fix the enumerator initialization problem

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

18 years ago2005-10-27 Senganal T <tsenganal@novell.com>
Senganal T [Thu, 27 Oct 2005 10:46:11 +0000 (10:46 -0000)]
2005-10-27  Senganal T  <tsenganal@novell.com>

* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs :
- Added a virtual method IsValidRowCount ()
- Modified the way RecordsAffected is being counted

* Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs :
- Overrode IsValidRowCount(), to check if the rowcount
returned by sqlserver is valid.

* System.Data/Test/ProviderTests/System.Data.SqlClient/SqlCommandTest.cs :
- Added Testcase for bug #75698

* System.Data/System.Data.SqlClient/SqlCommand.cs
* System.Data/System.Data.SqlClient/SqlDataReader.cs :
-Made changes so that the number of rows affected can be got directly
from Tds regardsless of the type of query.Fixes bug #75698

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

18 years ago* Image.jvm.cs: fixed redolution properties
Vladimir Krasnov [Thu, 27 Oct 2005 10:29:09 +0000 (10:29 -0000)]
* Image.jvm.cs: fixed redolution properties

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

18 years ago* Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg, fixed...
Vladimir Krasnov [Thu, 27 Oct 2005 10:27:54 +0000 (10:27 -0000)]
* Bitmap.jvm.cs: fixed InternalSave, to remove alpha channel of saved jpeg, fixed clone, Initialize

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

18 years ago * Mono.Unix/UnixEncoding.cs: Change EscapeByte to 0x0000, as suggested by
Jonathan Pryor [Thu, 27 Oct 2005 00:40:29 +0000 (00:40 -0000)]
* Mono.Unix/UnixEncoding.cs: Change EscapeByte to 0x0000, as suggested by
  Michal Moskal.
* Mono.Unix/UnixPath.cs: Remove '\0' from InvalidPathChars, since U+0000 is
  now used as the path escape character for marshaling purposes.
* Test/Mono.Unix/UnixMarshalTest.cs: s/StringToAlloc/StringToHeap/g
  (UnixMarshal change).
* Test/Mono.Unix/UnixEncodingTest.cs: Deal with UnixEncoding.EscapeByte
  value change.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 20:16:46 +0000 (20:16 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* IsCopyConstructed.cs: New file.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 20:16:20 +0000 (20:16 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.Runtime.InteropServices/IsCopyConstructed.cs.

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

18 years ago * Mono.Unix/UnixMarshal.cs: Obsolete heap-related methods to have a Heap
Jonathan Pryor [Wed, 26 Oct 2005 19:28:08 +0000 (19:28 -0000)]
  * Mono.Unix/UnixMarshal.cs: Obsolete heap-related methods to have a Heap
  suffix (AllocHeap, FreeHeap, etc.), and change StringToAlloc() to be
    StringToHeap().  This creates a stronger name association between related
    methods.
  * Mono.Unix.Native/FileNameMarshaler.cs: Deal with UnixMarshal method name
    changes.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 19:25:31 +0000 (19:25 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add/Remove some net 2.0 classes in System.Runtime.CompilerServices.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 19:25:02 +0000 (19:25 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* TypeForwardedToAttribute.cs SuppressIldasmAttribute.cs TypeForwardedToAttribute.cs: Add new net 2.0 classes.

* NGenHint.cs NGenAttribute.cs: Remove obsolete net 2.0 classes.

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

18 years ago2005-10-26 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 26 Oct 2005 19:11:39 +0000 (19:11 -0000)]
2005-10-26  Atsushi Enomoto  <atsushi@ximian.com>

* MonoMethod.cs : (ToString) add suffix " ByRef" for byref parameters.
  Fixed bug #76541.

* MethodInfoTest.cs : added test for bug #76541.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 19:03:46 +0000 (19:03 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* *.cs: Add/remove net 2.0 attributes.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 17:31:28 +0000 (17:31 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* hps.c (main): Applied patch from Robert Jordan (robertj@gmx.net). Fix
compilation with gcc 2.95.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 17:28:20 +0000 (17:28 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (module_add_cattrs): Save custom attributes for global methods
and fields as well.

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

18 years agoAvoid ArrayTypeMismatch exception in SqlBinary constructor.
Boris Kirzner [Wed, 26 Oct 2005 17:22:35 +0000 (17:22 -0000)]
Avoid ArrayTypeMismatch exception in SqlBinary constructor.

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

18 years ago2005-10-26 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 26 Oct 2005 17:15:09 +0000 (17:15 -0000)]
2005-10-26  Zoltan Varga  <vargaz@gmail.com>

* mini.h: Fix a warning.

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

18 years ago2005-10-26 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 26 Oct 2005 16:18:12 +0000 (16:18 -0000)]
2005-10-26  Geoff Norton  <gnorton@customerdna.com>

* gacutil.cs: Deprecated

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

18 years ago2005-10-26 Geoff Norton <gnorton@customerdna.com>
Geoff Norton [Wed, 26 Oct 2005 16:10:47 +0000 (16:10 -0000)]
2005-10-26  Geoff Norton  <gnorton@customerdna.com>

        * driver.cs: Do not match every item with a blank string.  Fixes
        #76563

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

18 years ago * UnixIOException.cs: Add (string) and (string, Exception) constructors to
Jonathan Pryor [Wed, 26 Oct 2005 16:05:45 +0000 (16:05 -0000)]
  * UnixIOException.cs: Add (string) and (string, Exception) constructors to
    silence FxCop; re-work logic so we lookup the error string at construction
    time and use this as the message for the base class.

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

18 years ago2005-10-26 Marek Safar <marek.safar@seznam.cz>
Marek Safar [Wed, 26 Oct 2005 16:05:22 +0000 (16:05 -0000)]
2005-10-26  Marek Safar  <marek.safar@seznam.cz>

* attribute.cs (GetPropertyValue): Made public.

* codegen.cs (AssemblyClass): ResolveClsCompliance renamed to
Resolve.
Add new property WrapNonExceptionThrows to handle 2.0 assembly
attribute.
(AssemblyClass.Emit): Emit RuntimeCompatibilityAttribute when it
is not defined.

* driver.cs: Reflect method name change.

* statement.cs (Try.Resolve): Warn when try has both general
exception handlers.

* typemanager.cs: runtime_compatibility_attr_type new predefined
type.

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

18 years agoIn mcs:
Raja R Harinath [Wed, 26 Oct 2005 15:55:41 +0000 (15:55 -0000)]
In mcs:
Fix #76419.
* pending.cs (InterfaceMethod): Allow tm.args [i] to be null --
treat it as an empty parameter list.

In errors:
* cs0246-14.cs: New test from #76419.

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

18 years ago * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
Jonathan Pryor [Wed, 26 Oct 2005 12:50:22 +0000 (12:50 -0000)]
  * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
    reasons: (1) it's a recommendation from FxCop that classes implementing
    IDisposable also derive from MarshalByRefObject; (2) FilePosition is
    exposed from Mono.Unix.StdioFileStream, which (indirectly) inherits from
    MarshalByRefObject.  Fix Equals() so it doesn't rely on Reflection.

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

18 years ago* HybridDictionary.cs (is_list): Remove.
Raja R Harinath [Wed, 26 Oct 2005 11:30:03 +0000 (11:30 -0000)]
* HybridDictionary.cs (is_list): Remove.
(inner): Remove 'set' accessor.
(HybridDictionary, Switch): Initialize 'list' and 'hashtable' directly.

Remove one level of abstraction, where it's unnecessary.

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