mono.git
16 years ago* ApplicationSettingsBaseTest.cs: Fixed line endings.
Gert Driesen [Wed, 25 Jun 2008 17:22:56 +0000 (17:22 -0000)]
* ApplicationSettingsBaseTest.cs: Fixed line endings.

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

16 years ago* DictionarySectionHandler.cs: Fixed line endings.
Gert Driesen [Wed, 25 Jun 2008 17:21:30 +0000 (17:21 -0000)]
* DictionarySectionHandler.cs: Fixed line endings.
* IgnoreSectionHandler.cs: Fixed line endings.

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

16 years ago* ConfigurationExceptionTest.cs: Added ctor tests.
Gert Driesen [Wed, 25 Jun 2008 17:18:35 +0000 (17:18 -0000)]
* ConfigurationExceptionTest.cs: Added ctor tests.
* System_test.dll.sources: Added ConfigurationExceptionTest.cs.
* ConfigurationExceptionTest.cs: Removed local bareMessage field, and
use base.Message instead. Fixed default cor to invoke String ctor of
SystemException. Fixed Message property to only add filename if not
null or zero-length string, and only add line if not zero.

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

16 years agoRecord also the domain of each statistical hit, so that mono_jit_info_table_find...
Massimiliano Mantione [Wed, 25 Jun 2008 17:09:06 +0000 (17:09 -0000)]
Record also the domain of each statistical hit, so that mono_jit_info_table_find works properly.

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

16 years agoFixed breakage introduced in r105966
Massimiliano Mantione [Wed, 25 Jun 2008 16:47:32 +0000 (16:47 -0000)]
Fixed breakage introduced in r105966

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

16 years agoblah
Jb Evain [Wed, 25 Jun 2008 16:47:16 +0000 (16:47 -0000)]
blah

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

16 years agoremove dependency to Mono.DataConverter
Jb Evain [Wed, 25 Jun 2008 16:20:40 +0000 (16:20 -0000)]
remove dependency to Mono.DataConverter

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

16 years ago2008-06-25 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 25 Jun 2008 16:20:02 +0000 (16:20 -0000)]
2008-06-25  Jb Evain  <jbevain@novell.com>

* TimeZoneInfo.cs: remove the dependance to Mono.DataConverter
which is only used to read big endian int32.

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

16 years agoIn .:
Rodrigo Kumpera [Wed, 25 Jun 2008 16:16:26 +0000 (16:16 -0000)]
In .:
2008-06-25 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_get_methodbuilder_token): Use
mono_image_get_methodspec_token_for_generic_method_definition
instead of mono_image_get_memberref_token. We cache more memberef
entries now.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 23:29:28 +0000 (23:29 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #394826

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 23:28:57 +0000 (23:28 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394826
* anonymous.cs: Fully qualify members when resolving anonymous type internal
calls.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 22:40:18 +0000 (22:40 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394826
* anonymous.cs, iterators.cs: Construct generic storey only when is really
needed.

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

16 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 21:54:16 +0000 (21:54 -0000)]
In .:
2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>

* valid_generic_exception_catch_clause_type.cs: Regression
test for #402606.

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

16 years ago2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Jun 2008 21:51:36 +0000 (21:51 -0000)]
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c: Inflate exception clause types.
Fixes #402606.

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

16 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 21:04:13 +0000 (21:04 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* mini.h: Remove some obsolete prototypes.

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

16 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 20:38:16 +0000 (20:38 -0000)]
In .:
2008-06-24  Rodrigo Kumpera  <rkumpera@novell.com>

* mini.c: Check if stats is enabled so we don't allocate memory when not needed.

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

16 years agoupdate to changes in libraries
Raja R Harinath [Tue, 24 Jun 2008 20:35:32 +0000 (20:35 -0000)]
update to changes in libraries

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

16 years agoCommit missed file.
Zoltan Varga [Tue, 24 Jun 2008 20:34:52 +0000 (20:34 -0000)]
Commit missed file.

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 20:29:22 +0000 (20:29 -0000)]
New test.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 20:29:10 +0000 (20:29 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

* class.cs: Clone indexer parameters for localized capturing.

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

16 years agoupdate to changes in libraries
Raja R Harinath [Tue, 24 Jun 2008 20:15:45 +0000 (20:15 -0000)]
update to changes in libraries

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

16 years ago2008-06-24 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Tue, 24 Jun 2008 20:14:48 +0000 (20:14 -0000)]
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_image_get_methodbuilder_token): Don't leak
name.

* reflection.c (mono_image_get_ctorbuilder_token): Same.

* reflection.c (mono_image_create_method_token): Same.

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

16 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 20:08:49 +0000 (20:08 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* mini.c: Avoid storing MonoMethod pointers in the JIT stats, store their string format instead.

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

16 years agoblah
Jb Evain [Tue, 24 Jun 2008 20:03:44 +0000 (20:03 -0000)]
blah

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

16 years agoproperty create the GroupBy iterator
Jb Evain [Tue, 24 Jun 2008 19:54:23 +0000 (19:54 -0000)]
property create the GroupBy iterator

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

16 years agowe pass this one
Jb Evain [Tue, 24 Jun 2008 19:52:48 +0000 (19:52 -0000)]
we pass this one

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

16 years agoproperly create the group join iterator
Jb Evain [Tue, 24 Jun 2008 19:52:35 +0000 (19:52 -0000)]
properly create the group join iterator

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

16 years agowe pass this one
Jb Evain [Tue, 24 Jun 2008 19:50:30 +0000 (19:50 -0000)]
we pass this one

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

16 years agoproperly create join iterator
Jb Evain [Tue, 24 Jun 2008 19:50:15 +0000 (19:50 -0000)]
properly create join iterator

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

16 years agopassing this one as well
Jb Evain [Tue, 24 Jun 2008 19:39:19 +0000 (19:39 -0000)]
passing this one as well

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

16 years agowe pass this guy
Jb Evain [Tue, 24 Jun 2008 19:36:59 +0000 (19:36 -0000)]
we pass this guy

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

16 years agofix SumNullable
Jb Evain [Tue, 24 Jun 2008 19:36:09 +0000 (19:36 -0000)]
fix SumNullable

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

16 years agowe pass those
Jb Evain [Tue, 24 Jun 2008 19:10:18 +0000 (19:10 -0000)]
we pass those

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

16 years agoIn .:
Rodrigo Kumpera [Tue, 24 Jun 2008 18:46:35 +0000 (18:46 -0000)]
In .:
2008-06-24 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c: Added mono_image_get_methodref_token_for_methodbuilder.
It does the same as mono_image_get_methodref_token but works on
MethodBuilder.

* reflection.c: Use mono_image_get_methodspec_token_for_generic_method_definition
and always generate a methodspec. This follows the old behavior and fixes
the regressions in System.Core.

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

16 years ago2008-06-24 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 24 Jun 2008 18:26:16 +0000 (18:26 -0000)]
2008-06-24  Zoltan Varga  <vargaz@gmail.com>

* icall.c (ves_icall_System_Reflection_Assembly_GetTypes): Collect exceptions for classes where
don't event mono_class_get () succeeds. Fixes #402182.

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

16 years ago2008-06-24 Mark Probst <mark.probst@gmail.com>
Mark Probst [Tue, 24 Jun 2008 16:20:38 +0000 (16:20 -0000)]
2008-06-24  Mark Probst  <mark.probst@gmail.com>

* mini.c (get_object_generic_inst): Variable-sized arrays are not
supported by Visual Studio, so use alloca().

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 15:41:37 +0000 (15:41 -0000)]
New test.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 15:39:58 +0000 (15:39 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #402379
* expression.cs: Don't crash when an object initializer resolve fails.

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

16 years agoBug 10597 fix.
Sasha Kogan [Tue, 24 Jun 2008 15:04:18 +0000 (15:04 -0000)]
Bug 10597 fix.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 13:41:56 +0000 (13:41 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #402888
* expression.cs: Mutate conditional expression.

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

16 years ago2008-06-23 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Tue, 24 Jun 2008 13:17:05 +0000 (13:17 -0000)]
2008-06-23  Sebastien Pouliot  <sebastien@ximian.com>

* ImageAttributes.cs: Call CheckStatus in GetAdjustedPalette before
trying to set the palette (since the values could be bad).
[Partial fix for #402172]

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:47:33 +0000 (12:47 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A test for bug #401012

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:45:54 +0000 (12:45 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #401012
* class.cs: Keep StructLayout in shared container.

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 12:26:55 +0000 (12:26 -0000)]
New test.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 12:26:26 +0000 (12:26 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

A fix for bug #400438
* decl.cs, class.cs: Only properties can be automatically implemented.

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

16 years agoFixed.
Marek Safar [Tue, 24 Jun 2008 11:40:18 +0000 (11:40 -0000)]
Fixed.

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

16 years ago2008-06-24 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 11:37:56 +0000 (11:37 -0000)]
2008-06-24  Marek Safar  <marek.safar@gmail.com>

* statement.cs (ChangeToIterator): Copy also labels.

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

16 years agoNew test.
Marek Safar [Tue, 24 Jun 2008 00:08:25 +0000 (00:08 -0000)]
New test.

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

16 years ago2008-06-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 24 Jun 2008 00:08:06 +0000 (00:08 -0000)]
2008-06-23  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Pass type argument details to parent extension method.

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

16 years ago2008-06-23 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 23 Jun 2008 23:07:06 +0000 (23:07 -0000)]
2008-06-23  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Fix position calculation for centered
text on status bar panels.  [Fixes bug #402165]

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

16 years agoNew file
Veerapuram Varadhan [Mon, 23 Jun 2008 23:06:43 +0000 (23:06 -0000)]
New file

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

16 years agoSqlDependency - New stub added
Veerapuram Varadhan [Mon, 23 Jun 2008 23:05:49 +0000 (23:05 -0000)]
SqlDependency - New stub added

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

16 years ago2008-06-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Jun 2008 22:39:01 +0000 (22:39 -0000)]
2008-06-23  Zoltan Varga  <vargaz@gmail.com>

* pinvoke2.cs libtest.c: Add test for #402585.

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

16 years ago2008-06-23 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 23 Jun 2008 22:38:05 +0000 (22:38 -0000)]
2008-06-23  Zoltan Varga  <vargaz@gmail.com>

* mini-ia64.c (add_valuetype): Increase *gr too when passing a HFA to be in sync with the ABi.
Fixes #402585.

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

16 years agoreverting unwanted change
Stephane Delcroix [Mon, 23 Jun 2008 21:49:45 +0000 (21:49 -0000)]
reverting unwanted change

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

16 years agoFixed test.
Marek Safar [Mon, 23 Jun 2008 21:38:50 +0000 (21:38 -0000)]
Fixed test.

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

16 years ago2008-06-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 23 Jun 2008 21:38:31 +0000 (21:38 -0000)]
2008-06-23  Marek Safar  <marek.safar@gmail.com>

A fix for bug #375966
* delegate.cs: Fixed IsTypeCovariant generic type conversions.

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

16 years ago* Makefile (bootstrap-libs): Pass NO_DIR_CHECK to sub-make.
Raja R Harinath [Mon, 23 Jun 2008 19:11:43 +0000 (19:11 -0000)]
* Makefile (bootstrap-libs): Pass NO_DIR_CHECK to sub-make.

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

16 years agoIn System.Diagnostics:
Robert Jordan [Mon, 23 Jun 2008 19:09:22 +0000 (19:09 -0000)]
In System.Diagnostics:
2008-06-21  Robert Jordan  <robertj@gmx.net>

* Process.cs (Start_common): UserName may be null or empty.
Fixes bug  #350543.

In Test/System.Diagnostics:
2008-06-21  Robert Jordan  <robertj@gmx.net>

* ProcessTest.cs (Start_UseShellExecuteWithEmptyUserName):
add test for bug #350543.

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

16 years agoBug 10670 fix.
Sasha Kogan [Mon, 23 Jun 2008 18:49:08 +0000 (18:49 -0000)]
Bug 10670 fix.

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

16 years agoHonor timeout and throw appropriate exception when connections are not
Veerapuram Varadhan [Mon, 23 Jun 2008 18:42:28 +0000 (18:42 -0000)]
Honor timeout and throw appropriate exception when connections are not
available

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

16 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 18:39:14 +0000 (18:39 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* generic-virtual2.2.cs: Test case for a call from a generic
method to a method of a generic class where the generic method
does not require the MRGCTX.

* Makefile.am: Test added.

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

16 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 18:11:52 +0000 (18:11 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* mini.c: Fail sharing of a generic method if it contains an open
catch clause (because we don't pass MRGCTXs yet).

2008-06-23  Mark Probst  <mark.probst@gmail.com>

* generic-exceptions.2.cs: Test case for exception handlers in
generic methods with catch clauses depending on the method type
arguments.

* Makefile.am: Test added.

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

16 years agorefactoring
Jb Evain [Mon, 23 Jun 2008 14:56:40 +0000 (14:56 -0000)]
refactoring

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

16 years agofix for properly calling methods with a ref parameter
Jb Evain [Mon, 23 Jun 2008 14:46:05 +0000 (14:46 -0000)]
fix for properly calling methods with a ref parameter

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

16 years agoadd another test for methods with a ref parameter
Jb Evain [Mon, 23 Jun 2008 14:45:17 +0000 (14:45 -0000)]
add another test for methods with a ref parameter

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

16 years ago2008-06-23 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 23 Jun 2008 12:27:30 +0000 (12:27 -0000)]
2008-06-23  Andreas Faerber  <andreas.faerber@web.de>

* data/Makefile.am (EXTRA_DIST): Distribute mono.d.

This commit is licensed under the MIT X11 license.

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

16 years agofix typo of last commit.
Roei Erez [Mon, 23 Jun 2008 10:02:05 +0000 (10:02 -0000)]
fix typo of last commit.

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

16 years ago2008-06-23 Mark Probst <mark.probst@gmail.com>
Mark Probst [Mon, 23 Jun 2008 10:00:46 +0000 (10:00 -0000)]
2008-06-23  Mark Probst  <mark.probst@gmail.com>

* mini.c: When compiling a method with generic sharing, insert the
method instantiated with an all-Object generic context into the
jit info table, instead of the context of the first instantiation
of the method we happen to compile.

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

16 years agoAdd some TARGET_JVM for using httpclient with large post requests (bug 10494)
Roei Erez [Mon, 23 Jun 2008 09:49:38 +0000 (09:49 -0000)]
Add some TARGET_JVM for using httpclient with large post requests (bug 10494)

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

16 years ago2008-06-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 22 Jun 2008 21:39:52 +0000 (21:39 -0000)]
2008-06-22  Ivan N. Zlatev  <contact@i-nz.net>

* Splitter.cs: Fix Splitter to:
 - Work for arbitrary splitter size
 - Handle MinSize and MinExtra properly
 - Get rid of absolute positioning during drag and use relative
 - Multiple other fixes
 [Fixes bug #338966]

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

16 years agoupdate dtrace docs
Miguel de Icaza [Sun, 22 Jun 2008 17:57:33 +0000 (17:57 -0000)]
update dtrace docs

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

16 years ago2008-06-21 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 22 Jun 2008 17:31:40 +0000 (17:31 -0000)]
2008-06-21  Robert Jordan  <robertj@gmx.net>

* HttpRuntime.cs (.cctor): Workaround for bug #402263.

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

16 years agopassing this one
Jb Evain [Sun, 22 Jun 2008 17:17:57 +0000 (17:17 -0000)]
passing this one

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

16 years agonew test
Jb Evain [Sun, 22 Jun 2008 17:15:46 +0000 (17:15 -0000)]
new test

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

16 years agopassing this guy
Jb Evain [Sun, 22 Jun 2008 16:59:00 +0000 (16:59 -0000)]
passing this guy

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

16 years agopassing those
Jb Evain [Sun, 22 Jun 2008 16:54:29 +0000 (16:54 -0000)]
passing those

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

16 years agoa few more tests
Jb Evain [Sun, 22 Jun 2008 16:52:03 +0000 (16:52 -0000)]
a few more tests

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

16 years agocleanup
Jb Evain [Sun, 22 Jun 2008 16:03:06 +0000 (16:03 -0000)]
cleanup

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

16 years ago2008-06-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Sun, 22 Jun 2008 15:10:20 +0000 (15:10 -0000)]
2008-06-22  Ivan N. Zlatev  <contact@i-nz.net>

* Cursor.cs: Show shouldn't hide the cursor.

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

16 years agopass the local array through
Jb Evain [Sun, 22 Jun 2008 15:00:12 +0000 (15:00 -0000)]
pass the local array through

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

16 years ago2008-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 22 Jun 2008 09:48:50 +0000 (09:48 -0000)]
2008-06-22  Marek Safar  <marek.safar@gmail.com>

A test for bug #394347

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

16 years ago2008-06-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 22 Jun 2008 09:48:24 +0000 (09:48 -0000)]
2008-06-22  Marek Safar  <marek.safar@gmail.com>

A fix for bug #394347
* anonymous.cs: Cache compatible delegates as compatibility check produces
a new method every time.

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

16 years ago * ListViewItem.cs: When invalidating, add some extra space to bounds,
Carlos Alberto Cortez [Sat, 21 Jun 2008 18:35:26 +0000 (18:35 -0000)]
* ListViewItem.cs: When invalidating, add some extra space to bounds,
since focus rectangle and selection can add some space and need to
take into account those small offsets - specially in Details view.
* ListView.cs: Instead of invalidate using item Bounds directly, call
item.Invalidate, to have the code centralized.
Fixes focused/selection garbage when selecting and deselecting items
that are close.

2008-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-06-21 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 21 Jun 2008 17:48:01 +0000 (17:48 -0000)]
2008-06-21  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
mode we can check whether we have to force a Layout or not, and can
cache based on this, instead of avoiding caching all the the time. Do
this check in GetBounds and TextBounds.
Fixes selection in Details view.

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

16 years ago* ModuleBuilderTest.cs: Added test for DefineType with interface as
Gert Driesen [Sat, 21 Jun 2008 15:41:12 +0000 (15:41 -0000)]
* ModuleBuilderTest.cs: Added test for DefineType with interface as
parent.
* TypeBuilderTest.cs: Added test for SetParent with interface as
parent. Added test for CreateType of an interface with invalid parent.
Added tests for checks in DefineGenericParameters. Improved test
for MakeGenericType, and added tests for argument checks in
MakeGenericType.

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

16 years ago* MarshalTest.cs: Added tests for GetHINSTANCE. Improved existing
Gert Driesen [Sat, 21 Jun 2008 15:16:06 +0000 (15:16 -0000)]
* MarshalTest.cs: Added tests for GetHINSTANCE. Improved existing
tests, and removed use of ExpectedException. Use more meaningful names
for test methods. Minor code formatting.
* Marshal.cs: Fixed order of arguments for ArgumentException in
GetComSlotForMethodInfo.

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

16 years ago* Path.cs: Fixed exception arguments to match MS. Removed obsolete
Gert Driesen [Sat, 21 Jun 2008 15:09:21 +0000 (15:09 -0000)]
* Path.cs: Fixed exception arguments to match MS. Removed obsolete
LAMESPEC comment. In GetPathRoot, throw ArgumentException if path
is whitespace-only. Throw ArgumentException in HasExtension, if path
contains invalid path characters.
* PathCas.cs: Updated method names to reflect changes in PathTest.
* PathTest.cs: Renamed tests. Use String.Empty instead of "". Added
argument check tests, and moved tests to separate methods. Avoid using
ExpectedException.

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

16 years ago2008-06-20 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sat, 21 Jun 2008 01:10:50 +0000 (01:10 -0000)]
2008-06-20  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListView.cs: Make HeaderControl internal, thus the theme engine can
get its *real* height instead of trying to infere it.
* ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
get the position of them, since it's in general a bad idea in general,
and because we can't do that in virtual mode. Instead get the first
visible item as well as item height, and draw them.
Fixes #400390.

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

16 years ago* ServiceContainerTest.cs: Added tests for Dispose.
Gert Driesen [Fri, 20 Jun 2008 22:00:00 +0000 (22:00 -0000)]
* ServiceContainerTest.cs: Added tests for Dispose.

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

16 years ago2008-06-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Jun 2008 20:51:47 +0000 (20:51 -0000)]
2008-06-20  Rodrigo Kumpera  <rkumpera@novell.com>

* bug-349190.2.cs: Regression test for bug #349190.
Checks the encoding of generic MethodBuilders that
have been not instantiated.

* Makefile.am: Test added.

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

16 years agoAdd mention in te Changelog to the bug the last change fixes
Rodrigo Kumpera [Fri, 20 Jun 2008 20:40:28 +0000 (20:40 -0000)]
Add mention in te Changelog to the bug the last change fixes

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

16 years ago * metadata-internals.h: Added MonoDynamicImage::methodspec
Rodrigo Kumpera [Fri, 20 Jun 2008 20:38:46 +0000 (20:38 -0000)]
* metadata-internals.h: Added MonoDynamicImage::methodspec
hashtable to store methodspec tokens created for MethodBuilders.

* reflection.c (mono_image_get_methodbuilder_token): Encode generic
MethodBuilders as open instantiations if a methodspec was requested.

* reflection.c (fixup_method): Skip MethodBuilder with methodspec tokens.

* reflection.c (create_dynamic_mono_image): Create the methodspec hashtable.

* reflection.c (mono_dynamic_image_free): Release the methodspec hashtable.

2008-06-20 Rodrigo Kumpera  <rkumpera@novell.com>

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

16 years agoNew test.
Marek Safar [Fri, 20 Jun 2008 20:04:05 +0000 (20:04 -0000)]
New test.

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

16 years ago2008-06-20 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 20 Jun 2008 19:39:06 +0000 (19:39 -0000)]
2008-06-20  Marek Safar  <marek.safar@gmail.com>

* anonymous.cs: Propagate storey reference for single references.

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

16 years ago2008-06-20 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 20 Jun 2008 18:13:49 +0000 (18:13 -0000)]
2008-06-20 Rodrigo Kumpera  <rkumpera@novell.com>

* loader.c (method_from_methodspec): Avoid crashing if the
method lookup fails.

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

16 years agohello, we don't even have a System.Data.SqlXml around
Jb Evain [Fri, 20 Jun 2008 16:59:23 +0000 (16:59 -0000)]
hello, we don't even have a System.Data.SqlXml around

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

16 years ago2008-06-20 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 20 Jun 2008 16:51:23 +0000 (16:51 -0000)]
2008-06-20  Jonathan Pobst  <monkey@jpobst.com>

* ToolStripSplitButton.cs: We can't add in extra width if
the button is not AutoSize.  [Fixes bug #401279]

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

16 years ago2008-06-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jun 2008 16:47:42 +0000 (16:47 -0000)]
2008-06-20  Jb Evain  <jbevain@novell.com>

* ExecutionScope.cs (CreateDelegate): implement.

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

16 years ago2008-06-20 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 20 Jun 2008 16:02:04 +0000 (16:02 -0000)]
2008-06-20  Jb Evain  <jbevain@novell.com>

* LambdaExpression.cs, EmitContext.cs: refactor the emit context to
handle the fact that lambdas are compiled in a general context where
they share globals but are also able to use parameters from parent lambdas.
(Although parameter sharing is not implemented yet).

* BinaryExpression.cs (fix converted coalesce case to use the lambda
compilation code).

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