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
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
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
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
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
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
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
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
Konstantin Triger [Sun, 30 Oct 2005 12:06:11 +0000 (12:06 -0000)]
handle no credentials case
svn path=/trunk/mcs/; revision=52391
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
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
Vladimir Krasnov [Sun, 30 Oct 2005 08:08:12 +0000 (08:08 -0000)]
svn path=/trunk/mcs/; revision=52388
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
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
Marek Safar [Sat, 29 Oct 2005 19:34:30 +0000 (19:34 -0000)]
message fix
svn path=/trunk/mcs/; revision=52383
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Gonzalo Paniagua Javier [Thu, 27 Oct 2005 18:52:39 +0000 (18:52 -0000)]
test for exception + redirect
svn path=/trunk/mcs/; revision=52295
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
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
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
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
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
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
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
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
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
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
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
Raja R Harinath [Thu, 27 Oct 2005 13:24:18 +0000 (13:24 -0000)]
update
svn path=/trunk/mcs/; revision=52278
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
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
Marek Safar [Thu, 27 Oct 2005 12:22:37 +0000 (12:22 -0000)]
new tests
svn path=/trunk/mcs/; revision=52274
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
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
Konstantin Triger [Thu, 27 Oct 2005 11:41:00 +0000 (11:41 -0000)]
Fix the enumerator initialization problem
svn path=/trunk/mcs/; revision=52269
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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