mono.git
18 years agoAdd PersinalCalendar to the build
Miguel de Icaza [Mon, 31 Oct 2005 21:23:48 +0000 (21:23 -0000)]
Add PersinalCalendar to the build

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

18 years agoPersianCalendar, patch from Roozbeh Pournader <roozbeh@farsiweb.info>
Miguel de Icaza [Mon, 31 Oct 2005 21:21:41 +0000 (21:21 -0000)]
PersianCalendar, patch from Roozbeh Pournader <roozbeh@farsiweb.info>

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

18 years agomove many 2.0-only classes into System.Web.Configuration_2.0
Chris Toshok [Mon, 31 Oct 2005 21:03:10 +0000 (21:03 -0000)]
move many 2.0-only classes into System.Web.Configuration_2.0

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

18 years ago * X11Dnd.cs: We still need to reset the state even though a full
Jackson Harper [Mon, 31 Oct 2005 20:25:31 +0000 (20:25 -0000)]
* X11Dnd.cs: We still need to reset the state even though a full
reset isn't being done, otherwise status's still get sent all over
the place.

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

18 years ago * Control.cs: Make the dnd_aware flag internal so the dnd
Jackson Harper [Mon, 31 Oct 2005 19:58:30 +0000 (19:58 -0000)]
* Control.cs: Make the dnd_aware flag internal so the dnd
subsystem can check it. Catch exceptions thrown in dnd handlers to
match MS behavoir.
* Hwnd.cs: Add a flag for whether or not a window is dnd aware.
* X11Dnd.cs: Handle null data in the converters. Set the XDND
version when sending a XdndEnter. Use the control/hwnd dnd_aware
flags to reduce the number of dnd enters/status's sent.

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

18 years ago2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Gonzalo Paniagua Javier [Mon, 31 Oct 2005 19:58:01 +0000 (19:58 -0000)]
2005-10-31 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* System.Web/HttpContext.cs: added a new internal overload for
ClearError.
* System.Web.UI/Page.cs: add/remove the error before/after invoking
OnError.

Fixes bug #76595.

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

18 years agostart populating the new System.Web.Configuration_2.0 dir
Chris Toshok [Mon, 31 Oct 2005 18:56:39 +0000 (18:56 -0000)]
start populating the new System.Web.Configuration_2.0 dir

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

18 years ago2005-10-31 Chris Toshok <toshok@ximian.com>
Chris Toshok [Mon, 31 Oct 2005 18:48:16 +0000 (18:48 -0000)]
2005-10-31  Chris Toshok  <toshok@ximian.com>

* IRemoteWebConfigurationHostServer.cs: fix interface.

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

18 years ago2005-10-31 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 31 Oct 2005 18:37:08 +0000 (18:37 -0000)]
2005-10-31  Dick Porter  <dick@ximian.com>

* Win32Exception.cs: Add another error code.

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

18 years ago * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
Jackson Harper [Mon, 31 Oct 2005 17:22:05 +0000 (17:22 -0000)]
* X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.

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

18 years agoforward quadTo to curveTo
Konstantin Triger [Mon, 31 Oct 2005 15:08:21 +0000 (15:08 -0000)]
forward quadTo to curveTo

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

18 years agoIn Test/System.Drawing.Imaging:
Jordi Mas i Hernandez [Mon, 31 Oct 2005 13:33:10 +0000 (13:33 -0000)]
In Test/System.Drawing.Imaging:
2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>

*  TestImageFormat.cs: New test unit

In System.Drawing.Imaging:
2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>

* ImageFormat.cs: Fixes ToString method

In System.Drawing:
2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>

* Image.cs: Default format for MemoryBMP should be Png

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

18 years ago2005-10-31 Jordi Mas i Hernandez <jordi@ximian.com>
Jordi Mas i Hernandez [Mon, 31 Oct 2005 13:25:49 +0000 (13:25 -0000)]
2005-10-31  Jordi Mas i Hernandez <jordi@ximian.com>

* PictureBox.cs: Fixes 76512

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

18 years ago2005-10-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Mon, 31 Oct 2005 13:14:29 +0000 (13:14 -0000)]
2005-10-31  Zoltan Varga  <vargaz@freemail.hu>

* AssemblyInfo.cs: Fix compilation. Fixes #76449.

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

18 years ago 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
Alexandre Rocha Lima e Marcondes [Mon, 31 Oct 2005 11:31:38 +0000 (11:31 -0000)]
 2005-10-29 Renato Suga<renato@psl-pr.softwarelivre.org>
        * codegen.cs: Added static global ArrayList ArrListVersion to
keep the assembly's version numbers. reating a new Version(string str) is
not working. The Init() method was modified to correctly set the version value;
        * attribute.cs: one of its constructor was modified to pass the
string version to CodeGen.ArrListVersion so that at Init () CodeGen sets
the correct version.

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

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

* mini-amd64.c (mono_arch_output_basic_block): Remove unused
OP_LCONV_TO_OVF_I implementation.

* mini-amd64.c: Add support for the throw->branch exception
optimization.

* branch-opts.c (mono_branch_optimize_exception_target): Allow the case
when the catch clause catches a more general exception, i.e. Object.

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

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

* cpu-ia64.md: Remove unused opcodes.

* mini.c (GET_CONTEXT): Simplify this somewhat by removing arch
specific defines for architectures defining USE_SIGACTION.

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

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

* mini-ia64.c: Fix some warnings.

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

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