mono.git
16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 17:12:20 +0000 (17:12 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* marshal.c (mono_marshal_get_runtime_invoke): Handle the case when the
receiver is a nullable type.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 16:48:19 +0000 (16:48 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* TypeTest.cs: Add test for IsAssignableFrom and generic parameters.

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

16 years ago2007-08-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 3 Aug 2007 16:47:11 +0000 (16:47 -0000)]
2007-08-03  Zoltan Varga  <vargaz@gmail.com>

* class.c (mono_class_is_assignable_from): Handle the case when klass is a
generic parameter.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 16:28:48 +0000 (16:28 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* DTDObjectModel.cs : in 2.0 and especially 2.1 profiles, use
  our own DictionaryBase-like generic type. It is to reduce
  dependency on DictionaryBase which does not exist in 2.1 mscorlib.
  (included in 2.0 as well so that we do not skip NUnit tests so far)

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

16 years ago2007-07-03 Jonathan Chambers <joncham@gmail.com>
Jonathan Chambers [Fri, 3 Aug 2007 15:07:02 +0000 (15:07 -0000)]
2007-07-03  Jonathan Chambers  <joncham@gmail.com>

       * marshal.c: Implement COM Objects as return type for
       managed->unmanaged calls. Added Release calls for COM Object
       out/return values in managed->unmanaged calls.

       Code is contributed under MIT/X11 license.

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

16 years agoFri Aug 3 17:00:51 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Aug 2007 14:42:42 +0000 (14:42 -0000)]
Fri Aug 3 17:00:51 CEST 2007 Paolo Molaro <lupus@ximian.com>

* threads.h, threads-type.h: move the hazard pointer declarations
to the private header.

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

16 years agoAdd new test.
Marek Safar [Fri, 3 Aug 2007 13:30:35 +0000 (13:30 -0000)]
Add new test.

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 13:27:02 +0000 (13:27 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82301

* statement.cs (Catch.CloneTo): Clone blocks in the right order.
(Statement.CloneTo): Clone and not map children blocks.

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

16 years agoForget to save :-(
Marek Safar [Fri, 3 Aug 2007 11:24:21 +0000 (11:24 -0000)]
Forget to save :-(

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

16 years agoA test for bug #82299
Marek Safar [Fri, 3 Aug 2007 11:20:00 +0000 (11:20 -0000)]
A test for bug #82299

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 11:18:47 +0000 (11:18 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82299

* expression.cs (LocalVariableReference.CloneTo): Remap local info
variable too.

* statement.cs (Statement.CloneTo): Clone variables before statements
to allow remaping of local variables.

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

16 years agoFri Aug 3 13:13:39 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Fri, 3 Aug 2007 10:56:48 +0000 (10:56 -0000)]
Fri Aug 3 13:13:39 CEST 2007 Paolo Molaro <lupus@ximian.com>

* file-io.c, appdomain.c: memory leak fixes.

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

16 years ago2007-08-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 3 Aug 2007 08:57:40 +0000 (08:57 -0000)]
2007-08-03  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82296

* anonymous.cs,
* report.cs: Log crash details for future clone problems.

* statement.cs (Return.Clone): Don't clone non-existent expression.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 08:26:16 +0000 (08:26 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* Makefile : a bit win32 friendly fix.

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

16 years ago2007-08-03 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 3 Aug 2007 07:38:56 +0000 (07:38 -0000)]
2007-08-03  Atsushi Enomoto  <atsushi@ximian.com>

* XmlResolver.cs, XmlUrlResolver.cs, XmlSecureResolver.cs :
  remove ICredential in NET_2_1 (they have to be explicitly removed
  outside tuner work as ICredentials does not exist in 2.1 profile).
  We cannot use WebRequest in 2.1 as well, so remove dependency on
  it in GetEntity() (and added MonoTODO for non-file URLs).

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

16 years agoRemove some code duplication
Raja R Harinath [Thu, 2 Aug 2007 19:28:41 +0000 (19:28 -0000)]
Remove some code duplication

* mcs/class.cs (TypeContainer.AddBasesForPart): Make virtual.
(Class.AddBasesForPart): Move CS0537 check here from ...
* mcs/cs-parser.jay (class_declaration): ... here.  Move calling of
'AddBasesForPart' to ...
(class_bases): ... here.
(struct_declaration, interface_declaration): Update to changes.
* gmcs/cs-parser.jay: Likewise.

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

16 years agoUpdated
Marek Safar [Thu, 2 Aug 2007 16:57:50 +0000 (16:57 -0000)]
Updated

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

16 years agoA test for bug #81923
Marek Safar [Thu, 2 Aug 2007 16:57:23 +0000 (16:57 -0000)]
A test for bug #81923

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 16:56:39 +0000 (16:56 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81923

* statement.cs (Using.ResolveLocalVariableDecls): Only non-user implicit
conversion is allowed.

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

16 years agoA test for bug #81564
Marek Safar [Thu, 2 Aug 2007 16:39:46 +0000 (16:39 -0000)]
A test for bug #81564

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

16 years agoA test for bug #81564
Marek Safar [Thu, 2 Aug 2007 16:39:20 +0000 (16:39 -0000)]
A test for bug #81564

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 16:37:45 +0000 (16:37 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #81564

* ecore.cs (EventExpr): Add IsBase handling.

* expression.cs (BaseAccess.CommonResolve): Events can use base accessor
too.

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

16 years ago2007-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 2 Aug 2007 16:29:56 +0000 (16:29 -0000)]
2007-08-02  Dick Porter  <dick@ximian.com>

* sockets.c: Changes in error handling, and move the SO_REUSEADDR
setting from metadata/socket-io.c.

2007-08-02  Dick Porter  <dick@ximian.com>

* socket-io.c
(ves_icall_System_Net_Sockets_Socket_Socket_internal): Move the
SO_REUSEADDR setting into io-layer/sockets.c.

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

16 years agoremove code duplication
Jb Evain [Thu, 2 Aug 2007 16:04:30 +0000 (16:04 -0000)]
remove code duplication

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

16 years agowhere the magic comes from
Jb Evain [Thu, 2 Aug 2007 15:54:46 +0000 (15:54 -0000)]
where the magic comes from

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

16 years agooops, forgot a ;
Jb Evain [Thu, 2 Aug 2007 15:54:08 +0000 (15:54 -0000)]
oops, forgot a ;

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

16 years ago2007-08-02 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 2 Aug 2007 15:51:11 +0000 (15:51 -0000)]
2007-08-02  Jb Evain  <jbevain@novell.com>

* Mono.Cecil/GenericParameter.cs
  Mono.Cecil/FieldDefinition.cs
  Mono.Cecil/TypeDefinition.cs
  Mono.Cecil/MethodDefinition.cs
  Mono.Cecil/EventDefinition.cs
  Mono.Cecil/PInvokeInfo.cs
  Mono.Cecil/Resource.cs
  Mono.Cecil/ParameterDefinition.cs
  Mono.Cecil/PropertyDefinition.cs:

Add Isxxx properties based on the xxxAttributes enums.

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

16 years ago2007-08-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 2 Aug 2007 15:45:04 +0000 (15:45 -0000)]
2007-08-02 Rodrigo Kumpera <rkumpera@novell.com>

* make_exception_branch_test.sh: Fix the generation of the tests, so only
branching problems are validated.

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

16 years agoadd some regions
Jb Evain [Thu, 2 Aug 2007 15:27:28 +0000 (15:27 -0000)]
add some regions

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

16 years agoTest case for bug #82281.
Paolo Molaro [Thu, 2 Aug 2007 15:22:07 +0000 (15:22 -0000)]
Test case for bug #82281.

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

16 years agoThu Aug 2 17:36:22 CEST 2007 Paolo Molaro <lupus@ximian.com>
Paolo Molaro [Thu, 2 Aug 2007 15:18:57 +0000 (15:18 -0000)]
Thu Aug 2 17:36:22 CEST 2007 Paolo Molaro <lupus@ximian.com>

* mini-ppc.c: avoid an invalid encoding of unsigned right shift by 0
to be emitted (bug #82281).

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 15:02:09 +0000 (15:02 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogTraceListener.cs : fixed wrong 2.0 dependency in 1.x.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 14:58:28 +0000 (14:58 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogTraceListener.cs : implemented.

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

16 years ago2007-08-02 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Thu, 2 Aug 2007 14:43:58 +0000 (14:43 -0000)]
2007-08-02  Sebastien Pouliot  <sebastien@ximian.com>

* TestGraphics.cs: Enabled test MeasureString_MultlineString_Width
now that #81572 is fixed.

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

16 years agoReduce some differences between cs-parser.jay in mcs/ and gmcs/.
Raja R Harinath [Thu, 2 Aug 2007 14:01:08 +0000 (14:01 -0000)]
Reduce some differences between cs-parser.jay in mcs/ and gmcs/.

* cs-parser.jay: Some whitespace cleanups.
(current_delegate): New.
(type_name): New.
(struct_declaration): Make similar to gmcs/cs-parser.jay -- add
a dummy code block, and use 'type_name' instead of 'member_name'.
(interface_declaration, class_declaration): Likewise.
(delegate_declaration): Likewise.  Rearrange slightly and use
'current_delegate'.
* cs-tokenizer.cs (handle_where): Rename from handle_constraints.
(GetKeyword): Update to change.  Use '!foo' instead of 'foo == false'.
* gmcs/cs-parser.jay: Some whitespace cleanups.
(method_header): Refer to the correct symbol for parameters.

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

16 years agoA fix for bug #82039
Marek Safar [Thu, 2 Aug 2007 13:58:13 +0000 (13:58 -0000)]
A fix for bug #82039

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 13:30:04 +0000 (13:30 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82039

* ecore.cs (TypeLookup.GetSignatureForError): Use name when type is not
available.

* typemanager.cs (CSharpName): Split to string overload.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 12:32:07 +0000 (12:32 -0000)]
2007-08-02  Atsushi Enomoto  <atsushi@ximian.com>

* EventLogImpl.cs
  EventLog.cs
  LocalFileEventLog.cs : Implemented EntryWritten event support.
* Win32EventLog.cs, NullEventLog.cs : they need stub overrides.
* EventLogEntry.cs : [MonitoringDescription].
* DiagnosticsConfigurationHandler.cs : [Obsolete]

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

16 years ago2007-08-02 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 2 Aug 2007 12:26:56 +0000 (12:26 -0000)]
2007-08-02  Dick Porter  <dick@ximian.com>

* Socket.cs: Patch from Brian Nickel (brian.nickel@gmail.com) to
improve EndPoint handling.

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

16 years agoAdd missing file.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 11:57:46 +0000 (11:57 -0000)]
Add missing file.

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

16 years ago* PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 10:17:10 +0000 (10:17 -0000)]
* PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 09:21:06 +0000 (09:21 -0000)]
2007-08-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaComplexType.cs,
  XmlSchemaComplexContentRestriction.cs :
  in Validate(), every descendant item in complexType must be first
  validated before getting GetOptimizedParticle(), or it could result
  in wrong content particle. Fixed bug #82010.

* XsdValidatingReaderTests.cs : test for bug #82010.

* 82010.xsd, 82010.xml : new test files.

* Makefile : extra distfiles (82010.xml/.xsd).

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

16 years agoimplement Profile service
Konstantin Triger [Thu, 2 Aug 2007 09:10:50 +0000 (09:10 -0000)]
implement Profile service

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

16 years agofix typo in WriteAccessProperties prop name; clone the returned value; attach a corre...
Konstantin Triger [Thu, 2 Aug 2007 09:07:38 +0000 (09:07 -0000)]
fix typo in WriteAccessProperties prop name; clone the returned value; attach a correct converter

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

16 years agoUse InitialDelay if ReshowDelay is zero. Fixes #82288.
Rolf Bjarne Kvinge [Thu, 2 Aug 2007 09:02:13 +0000 (09:02 -0000)]
Use InitialDelay if ReshowDelay is zero. Fixes #82288.

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

16 years agoA test for bug #82181
Marek Safar [Thu, 2 Aug 2007 08:54:13 +0000 (08:54 -0000)]
A test for bug #82181

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

16 years agoFixed tests syntax
Marek Safar [Thu, 2 Aug 2007 08:44:29 +0000 (08:44 -0000)]
Fixed tests syntax

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

16 years ago2007-08-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Thu, 2 Aug 2007 08:44:05 +0000 (08:44 -0000)]
2007-08-02  Marek Safar  <marek.safar@gmail.com>

* expression.cs,
* report.cs: Updated warning CS0472.

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

16 years ago2007-08-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Thu, 2 Aug 2007 07:10:22 +0000 (07:10 -0000)]
2007-08-02  Atsushi Enomoto <atsushi@ximian.com>

* XmlSchemaValidator.cs : another extra whitespace rejection.
  Fixed another issue reported on bug #82183.

* XsdValidatingReaderTests.cs : another test posted on bug #82183.

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

16 years ago2007-08-01 William Holmes <billholmes54@gmail.com>
Bill Holmes [Wed, 1 Aug 2007 18:46:48 +0000 (18:46 -0000)]
2007-08-01  William Holmes  <billholmes54@gmail.com>

* Makefile.am: Added bug-82194.2.cs.
* bug-82194.2.cs: Test for bug #82194.

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

16 years ago2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Aug 2007 18:06:36 +0000 (18:06 -0000)]
2007-08-01  Sebastien Pouliot  <sebastien@ximian.com>

* GDIPlusTest.cs: Add test case for GdipCloneFontFamily

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

16 years ago2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Aug 2007 18:06:23 +0000 (18:06 -0000)]
2007-08-01  Sebastien Pouliot  <sebastien@ximian.com>

* gdipFunctions.cs: Added definition for GdipCloneFontFamily

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

16 years ago* DataGridViewCellTest.cs: Added EditTypeTest and TestDefaultValues.
Rolf Bjarne Kvinge [Wed, 1 Aug 2007 17:57:21 +0000 (17:57 -0000)]
* DataGridViewCellTest.cs: Added EditTypeTest and TestDefaultValues.

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

16 years ago* DataGridViewCell.cs: EditType: returns
Rolf Bjarne Kvinge [Wed, 1 Aug 2007 17:57:12 +0000 (17:57 -0000)]
* DataGridViewCell.cs: EditType: returns
  DataGridViewTextBoxEditingControl always.

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

16 years agooy, forgot &copy;
Atsushi Eno [Wed, 1 Aug 2007 17:57:04 +0000 (17:57 -0000)]
oy, forgot &copy;

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

16 years ago2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Aug 2007 17:56:04 +0000 (17:56 -0000)]
2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>

* DefaultTraceListener.cs : implemented AssertUiEnabled using MWF.

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

16 years ago2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Aug 2007 17:55:27 +0000 (17:55 -0000)]
2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>

* CounterSample.cs : implemented missing 2.0 equality stuff.
* CounterSampleCalculator.cs : static in 2.0.

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

16 years ago2007-07-30 Lluis Sanchez Gual <lluis@novell.com>
Wade Berrier [Wed, 1 Aug 2007 17:34:50 +0000 (17:34 -0000)]
2007-07-30  Lluis Sanchez Gual  <lluis@novell.com>

       * MethodCall.cs (ResolveMethod): If the method is implemented
       in an interface, look for the method implementation. Fix for bxc
#82240

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 16:40:57 +0000 (16:40 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82181
* cs-parser.jay: Ignore partial keyword inside block expression.

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 16:39:33 +0000 (16:39 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82181
* cs-parser.jay,
* cs-tokenizer.cs: Ignore partial keyword inside block expression.

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

16 years agoA test for bug #82277
Marek Safar [Wed, 1 Aug 2007 16:15:09 +0000 (16:15 -0000)]
A test for bug #82277

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 16:13:26 +0000 (16:13 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

A fix for bug #82277
* statememnt.cs (Block.Clone): Don't clone explicit blocks twice.

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

16 years ago2007-08-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Wed, 1 Aug 2007 16:05:01 +0000 (16:05 -0000)]
2007-08-01  Rodrigo Kumpera  <rkumpera@novell.com>
* HttpListener2Test.cs: Fixed Cookie Test

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

16 years ago2007-08-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Aug 2007 15:37:18 +0000 (15:37 -0000)]
2007-08-01  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_Type_GetMethodsByName): Return the members inherited
from Object when called on a generic parameter. Fixes #82211.

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

16 years ago2007-08-01 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 1 Aug 2007 15:17:47 +0000 (15:17 -0000)]
2007-08-01  Dick Porter  <dick@ximian.com>

* file-io.c (convert_share): Test FileShare values bit-by-bit.
Fixes bug 79250 yet again.

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

16 years agoupdate
Jb Evain [Wed, 1 Aug 2007 14:51:27 +0000 (14:51 -0000)]
update

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

16 years ago2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Wed, 1 Aug 2007 14:36:21 +0000 (14:36 -0000)]
2007-08-01 Igor Zelmanovich <igorz@mainsoft.com>

* DropDownList.cs: fixed onchange attribute.

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

16 years ago2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Aug 2007 14:12:26 +0000 (14:12 -0000)]
2007-08-01  Sebastien Pouliot  <sebastien@ximian.com>

* all.net_1_1.txt, min.net_1_1.txt, none.net_1_1.txt, opt.net_1_1.txt,
ref.net_1_1.txt: Update expected results for the newer version of
permview

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

16 years ago2007-08-01 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Wed, 1 Aug 2007 14:10:27 +0000 (14:10 -0000)]
2007-08-01  Jonathan Pobst  <monkey@jpobst.com>

* TextRenderer.cs: Remove the LineLimit string format flag from the
DrawString fallback method so that things like buttons that aren't
tall enough to draw a full line will still draw part of the text.
[Fixes part of bug #82272]

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

16 years ago2007-08-01 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 1 Aug 2007 14:00:25 +0000 (14:00 -0000)]
2007-08-01  Dick Porter  <dick@ximian.com>

* DirectoryTest.cs: Test for bug 82212 is now working.

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

16 years ago2007-08-01 Dick Porter <dick@ximian.com>
Dick Porter [Wed, 1 Aug 2007 13:59:54 +0000 (13:59 -0000)]
2007-08-01  Dick Porter  <dick@ximian.com>

* io-portability.c (_wapi_io_scandir): Special-case patterns
ending in '.*' so that files with no extension are also matched.
Fixes bug 82212.

* wapi_glob.h:
* wapi_glob.c: Reinstate WAPI_GLOB_APPEND, and add
WAPI_GLOB_UNIQUE to avoid matching the same entry twice when
appending.

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

16 years ago* DataGridViewTest.cs: Added AutoResizeColumnTest.
Rolf Bjarne Kvinge [Wed, 1 Aug 2007 13:56:48 +0000 (13:56 -0000)]
* DataGridViewTest.cs: Added AutoResizeColumnTest.

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

16 years ago* DataGridView.cs: Implemented AutoResizeColumn(s).
Rolf Bjarne Kvinge [Wed, 1 Aug 2007 13:56:23 +0000 (13:56 -0000)]
* DataGridView.cs: Implemented AutoResizeColumn(s).
* DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  according to the Alignment.
* DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  Implement alignment and padding when painting.
* DataGridViewRow.cs: SetValues: Don't create a cell if it already
  exists.
* DataGridViewCell.cs: Implement BorderWidths in the most primitive
  way.
* DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  a column is added.

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

16 years ago2007-08-01 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 1 Aug 2007 13:31:43 +0000 (13:31 -0000)]
2007-08-01  Martin Baulig  <martin@ximian.com>

Merged the `debugger-dublin' branch.

* debug-debugger.h (MonoDebuggerInfo):
Removed the `old_*' compatibility entries.
Added `debugger_version' and `data_table'.
Renamed `get_method_addr_or_bpt' -> `insert_breakpoint'.
Renamed `remove_method_breakpoint' -> `remove_breakpoint'.

* debug-mini.c
(MiniDebugMethodBreakpointInfo): Add `address_list'.
(mono_debugger_check_breakpoints): Take a `MonoDebugMethodAddress *'
instead of a `gconstpointer'.
(mono_debugger_insert_method_breakpoint): Return a
`MonoDebugMethodAddressList *'.

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

16 years ago2007-07-30 Martin Baulig <martin@ximian.com>
Martin Baulig [Wed, 1 Aug 2007 13:31:34 +0000 (13:31 -0000)]
2007-07-30  Martin Baulig  <martin@ximian.com>

Merged the `debugger-dublin' branch.

* mono-debug.h
(MonoDebugDataTable): New typedef.
(MonoDebugMethodAddressList): New typedef.
(MonoDebugWrapperData): Removed.
(MonoDebugSymbolTable): Removed `current_data_table',
`current_data_table_size', `current_data_table_offset'.
(MonoDebugDataItemType): Moved into mono-debug.c.
(MonoDebugMethodJitInfo): Remove `address'.
(mono_debug_data_table): New global variable.
(mono_debug_lookup_method_addresses): New public function.
(mono_debug_find_method): Take a `MonoMethod *', not a
`MonoDebugMethodInfo *'.

* mono-debug.c: Drop support for the old symbol tables.

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

16 years ago2007-08-01 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Wed, 1 Aug 2007 13:15:46 +0000 (13:15 -0000)]
2007-08-01  Sebastien Pouliot  <sebastien@ximian.com>

* nunit-host-ignore-list: Update bots name changes.

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

16 years ago* Bitmap.jvm.cs: fixed InternalPixelFormat TYPE_BYTE_GRAY
Vladimir Krasnov [Wed, 1 Aug 2007 12:31:00 +0000 (12:31 -0000)]
* Bitmap.jvm.cs: fixed InternalPixelFormat TYPE_BYTE_GRAY

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

16 years ago* TestImageAttributes.cs: ImageAttributes tests ignored in TARGET_JVM since not Image...
Vladimir Krasnov [Wed, 1 Aug 2007 12:28:46 +0000 (12:28 -0000)]
* TestImageAttributes.cs: ImageAttributes tests ignored in TARGET_JVM since not ImageAttributes supported
* TestJpegCodec.cs: Bitmap8bbpIndexedGreyscalePixels is not working in GH

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

16 years agotake nested visibility into account
Jb Evain [Wed, 1 Aug 2007 12:22:42 +0000 (12:22 -0000)]
take nested visibility into account

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

16 years agobetter error reporting
Jb Evain [Wed, 1 Aug 2007 12:17:13 +0000 (12:17 -0000)]
better error reporting

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

16 years agoparse method bodies as well
Jb Evain [Wed, 1 Aug 2007 12:07:09 +0000 (12:07 -0000)]
parse method bodies as well

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 11:59:03 +0000 (11:59 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Report invalid tests separately.

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

16 years agoNew tests.
Marek Safar [Wed, 1 Aug 2007 11:54:08 +0000 (11:54 -0000)]
New tests.

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

16 years agoNew tests.
Marek Safar [Wed, 1 Aug 2007 11:47:51 +0000 (11:47 -0000)]
New tests.

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 11:46:45 +0000 (11:46 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Type Inference (major bits are working)

* generic.cs: Introduced new abstract class as an entry point to type
inference. Old type inference moved to TypeInferenceV2. Implemented C# 3.0
type inference as descibed in the standard in TypeInferenceV2 class.

* linq.cs (ALinqExpression): Disabled caching because it's wrong.

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 11:45:57 +0000 (11:45 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

** C# 3.0 Type Inference (major bits are working)

* anonymous.cs (AnonymousMethodExpression): Removed refactored fields.
(.ImplicitStandardConversionExists): Uses compatible.
(.ExplicitTypeInference): Infers type arguments based on explicit arguments
(.InferReturnType): New method.
(.Compatible): Refactored.
(.ResolveParameters): Uses factory to create resolved parameters.
(.CompatibleMethod): Add probing mode support.
(AnonymousContainer): Removed unused fields. Split Define and Resolve to
clearly distinguish between 2 different operations.
(LambdaMethod): Moved to lambda.cs.
(AnonymousMethod): Removed unused fields and methods.
(AnonymousDelegate): Simplified.

* codegen.cs (ResolveTopBlock): Updated renamed Resolve to Define.

* convert. cs (ImplicitConversionStandard): Compatible works differently.

* delegate.cs (Delegate): New mehods to reduce code duplication.
(.GetConstructor): New method.
(.GetInvokeMethod): New method.
(DelegateCreation): Updated.

* ecore.cs (ResolveOverloadExtensions): Don't crash when extension method
does not exist.
(OverloadResolve): Made probing little bit faster.

* expression.cs (ParameterReference.DoResolveLValue): Reference can be null
when probing is on.

* generic.cs (TypeInferenceContext): Dummy implementation.

* iterators.cs: Updated after Resolve/Define rename.

* lambda.cs (LambdaExpression)
(.ResolveParameters): Handles both type of arguments and type inference too.

* parameter.cs (ImplicitLambdaParameter.Resolve): Sanity check.
(InflateTypes): Updated.

* support.cs (InflateTypes): Changed signature and updated.

* typemanager.cs (LookupMemberCache): Better dynamic type check.
(MemberLookup_FindMembers): More MS tricks.
(GetParameterData): Ditto.
(GetDelegateParameters): Uses quick path for dynamic types.

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

16 years agoactivate the check visiblity step
Jb Evain [Wed, 1 Aug 2007 11:43:51 +0000 (11:43 -0000)]
activate the check visiblity step

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

16 years agoalso remove useless serialization fields
Jb Evain [Wed, 1 Aug 2007 11:43:23 +0000 (11:43 -0000)]
also remove useless serialization fields

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

16 years ago2007-08-01 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 1 Aug 2007 10:52:21 +0000 (10:52 -0000)]
2007-08-01  Jb Evain  <jbevain@novell.com>

* Mono.Tuner/CheckVisibilit.cs:
New debugging step to ensure that the even after
API tuning the visibility is correct.

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

16 years ago2007-08-01 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 1 Aug 2007 10:39:32 +0000 (10:39 -0000)]
2007-08-01  Marek Safar  <marek.safar@gmail.com>

* class.cs (MethodData.Define): EmitContext is required for generic stuff
only.

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

16 years ago2007-08-01 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Wed, 1 Aug 2007 10:05:35 +0000 (10:05 -0000)]
2007-08-01  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.h (MONO_INIT_CONTEXT_FROM_FUNC): Avoid using
__builtin_frame_address () since it is broken on older gcc versions.

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

16 years ago2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Aug 2007 09:14:28 +0000 (09:14 -0000)]
2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>

* BackgroundWorker.cs : remove extra MonoTODOs.

* BackgroundWorkerTest.cs : new test to clear some doubts on impl.

* System_test.dll.sources : added BackgroundWorkerTest.cs.

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

16 years ago2007-08-01 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Wed, 1 Aug 2007 08:56:42 +0000 (08:56 -0000)]
2007-08-01  Atsushi Enomoto  <atsushi@ximian.com>

* Uri.cs, UriParser.cs : implemented InitializeAndValidate() and
  IsWellFormedOriginalString().
  IsWellFormedUriString() is already implemented.

* UriParserTest.cs, UriTest3.cs, HttpStyleUriParserTest.cs :
  for IsWellFormedOriginalString() and InitializeAndValidate(),
  removed some NotWorking and added some more tests.

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

16 years agoadd support for ScriptMethodAttribute.XmlSerializeString
Konstantin Triger [Wed, 1 Aug 2007 07:43:28 +0000 (07:43 -0000)]
add support for ScriptMethodAttribute.XmlSerializeString

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

16 years agoadder TARGET_JVM definition
Igor Zelmanovich [Wed, 1 Aug 2007 07:27:41 +0000 (07:27 -0000)]
adder TARGET_JVM definition
fixed project file

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

16 years ago2007-07-31 Zoltan Varga <vargaz@freemail.hu>
Zoltan Varga [Tue, 31 Jul 2007 19:12:27 +0000 (19:12 -0000)]
2007-07-31  Zoltan Varga  <vargaz@freemail.hu>

* mono-dl.c (w32_dlerror): Fix call to FormatMessage (). Fixes #82260.

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

16 years ago2007-07-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 31 Jul 2007 18:59:40 +0000 (18:59 -0000)]
2007-07-31  Jonathan Pobst  <monkey@jpobst.com>

* TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
which is internal.

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

16 years ago2007-08-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Jul 2007 18:53:56 +0000 (18:53 -0000)]
2007-08-31  Sebastien Pouliot  <sebastien@ximian.com>

* permview.1: add documentation for the -xml option now available
with the Cecil-enabled version of permview.

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

16 years ago2007-07-31 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 31 Jul 2007 18:53:09 +0000 (18:53 -0000)]
2007-07-31  Sebastien Pouliot  <sebastien@ximian.com>

* AssemblyInfo.cs: Update copyright notices.
* Makefile: Build the *full*, Cecil-enabled, permview.
* permview.cs: Updated from Cecil repository.

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

16 years ago2007-07-31 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 31 Jul 2007 18:44:24 +0000 (18:44 -0000)]
2007-07-31  Jonathan Pobst  <monkey@jpobst.com>

* ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
hide GetPreferredSize from public API.
* ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
* ToolStripItem.cs: Stub out drag and drop methods and events.
* ToolStripManager.cs: Stub out Save/LoadSettings.
* ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
* ToolStripPanel.cs: Fix corcompare error.
* ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
* ToolStripSplitButton.cs: Fix AccessibleObject stuff.
* ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.

2007-07-31  Jonathan Pobst  <monkey@jpobst.com>

* ArrangedElementCollection.cs: Rename internal method RemoveAt
so that subclasses can have a public version of it without hiding.

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