mono.git
16 years ago2008-06-02 Andy Hume <andyhume32@yahoo.co.uk>
Ivan Zlatev [Mon, 2 Jun 2008 18:24:34 +0000 (18:24 -0000)]
2008-06-02  Andy Hume  <andyhume32@yahoo.co.uk>

* TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
* TextBoxTest.cs: Test for TextBoxAutoCompleteSourceConverter.
[Fixes bug 396124]

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

16 years ago2008-06-02 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 2 Jun 2008 18:15:48 +0000 (18:15 -0000)]
2008-06-02  Dick Porter  <dick@ximian.com>

* Win32Exception.cs: Turn W32ErrorMessage into an icall so it can
use the FormatMessage API.  Fixes bug 321827.

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

16 years ago2008-06-02 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 2 Jun 2008 18:14:50 +0000 (18:14 -0000)]
2008-06-02  Dick Porter  <dick@ximian.com>

* icall.c (ves_icall_System_ComponentModel_Win32Exception_W32ErrorMessage):
* icall-def.h: Add
System.ComponentModel.Win32Exception.W32ErrorMessage, using the
FormatMessage API to get the error text.  Fixes bug 321827.

2008-06-02  Dick Porter  <dick@ximian.com>

* wapi.h:
* Makefile.am:
* messages.h:
* messages.c: Implement FormatMessage, fixes bug 321827.

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

16 years ago2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 2 Jun 2008 17:37:04 +0000 (17:37 -0000)]
2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>

* GridEntry.cs: Pass the ITypeDescriptorContext everywhere.

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

16 years ago2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 2 Jun 2008 17:30:21 +0000 (17:30 -0000)]
2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>

* MemberDescriptor.cs, PropertyDescriptor.cs,
ReflectionPropertyDescriptor.cs: Implement FillAttributes.
* MemberDescriptor.cs:
 - Attributes should be checked for duplicates based on their
 TypeId and not Type.
 - For duplicate attributes the last one added has higher precedence.
* ReflectionPropertyDescriptor.cs: Use the property type supplied
in the ctor instead of using reflection, because this won't work if
there are more then one property with the same name.

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

16 years ago2008-06-02 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 2 Jun 2008 17:29:12 +0000 (17:29 -0000)]
2008-06-02  Ivan N. Zlatev  <contact@i-nz.net>

* MonoType.cs, Binder.cs, MonoGenericClass.cs: For property reflection
we should strictly match the return type if available.
* TypeTest.cs: Add tests to verify strict return type matching of
property reflection.

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

16 years ago2008-06-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 2 Jun 2008 16:40:31 +0000 (16:40 -0000)]
2008-06-02  Zoltan Varga  <vargaz@gmail.com>

* decimal.c: Add some micro optimizations to make decimal operations faster.

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

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

* TableLayoutPanel.cs: When calculating preferred size, use the
actual number of columns and rows, not what the user set them to.
[Fixes bug #396141]

2008-06-02  Jonathan Pobst  <monkey@jpobst.com>

* TableLayoutTest.cs Add test for bug #396141.

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

16 years agonew test
Jb Evain [Mon, 2 Jun 2008 15:59:55 +0000 (15:59 -0000)]
new test

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

16 years agonew tests
Jb Evain [Mon, 2 Jun 2008 15:47:41 +0000 (15:47 -0000)]
new tests

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

16 years ago2008-06-02 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 2 Jun 2008 15:39:04 +0000 (15:39 -0000)]
2008-06-02  Bill Holmes  <billholmes54@gmail.com>
* mono.sln, libtest.vcproj:  Adding libtest to the VS solution.
  libtest is needed for the marshaling tests.

Contributed under MIT/X11 license.

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

16 years agouncomment tests now that gmcs is fixed
Jb Evain [Mon, 2 Jun 2008 15:22:24 +0000 (15:22 -0000)]
uncomment tests now that gmcs is fixed

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

16 years agoadd fixme
Jb Evain [Mon, 2 Jun 2008 15:17:43 +0000 (15:17 -0000)]
add fixme

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

16 years ago2008-06-02 William Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 2 Jun 2008 15:07:44 +0000 (15:07 -0000)]
2008-06-02  William Holmes  <billholmes54@gmail.com>

* mini-amd64.c :  Correcting some of the issues for Winx64 dealing with
  reserving 32 bytes on the stack when making calls.

Contributed under MIT/X11 license.

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

16 years ago2008-06-02 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 2 Jun 2008 15:03:10 +0000 (15:03 -0000)]
2008-06-02  Bill Holmes  <billholmes54@gmail.com>
* libtest.c:  Changes to make libtest.c ready to be compiled in
  Visual Studio.  The STDCALL statements had to be moved and I added
  declspec(dllexport) statements to all methods.

Contributed under MIT/X11 license.

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

16 years ago2008-06-02 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Mon, 2 Jun 2008 14:58:35 +0000 (14:58 -0000)]
2008-06-02  Bill Holmes  <billholmes54@gmail.com>
* monodiet.vcproj, libgc.vcproj, test_eglib.vcproj,
  eglib.vcproj, teste.vcproj, genmdesc.vcproj, monoburg.vcproj,
  monograph.vcproj, pedump.vcproj, test-metadata.vcproj,
  libmono.vcproj, mono.sln, mono.vcproj, monodis.vcproj,test-invoke.vcproj
  Changes to the Visual Studio projects to unify the output directories
  for each project and configuration.

Contributed under MIT/X11 license.

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

16 years ago2008-06-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Mon, 2 Jun 2008 14:17:28 +0000 (14:17 -0000)]
2008-06-02  George Giolfan <georgegiolfan@yahoo.com>

* Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
394311.

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

16 years agoNew test.
Marek Safar [Mon, 2 Jun 2008 11:18:30 +0000 (11:18 -0000)]
New test.

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

16 years ago2008-06-02 Atsushi Enomoto <atsushi@ximian.com>
Marek Safar [Mon, 2 Jun 2008 11:17:57 +0000 (11:17 -0000)]
2008-06-02  Atsushi Enomoto  <atsushi@ximian.com>
Marek Safar  <marek.safar@gmail.com>

A fix for bug #395542
* cs-parser.jay: The trailing comma is allowed in anonymous type member
declaration.

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

16 years agoNew test.
Marek Safar [Mon, 2 Jun 2008 10:57:44 +0000 (10:57 -0000)]
New test.

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

16 years agoNew test.
Marek Safar [Mon, 2 Jun 2008 10:57:31 +0000 (10:57 -0000)]
New test.

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

16 years ago2008-06-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 2 Jun 2008 10:57:20 +0000 (10:57 -0000)]
2008-06-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #395287
* class.cs, modifiers.cs: Automatic properties method base modifiers checks.

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

16 years ago2008-06-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 2 Jun 2008 02:00:28 +0000 (02:00 -0000)]
2008-06-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: When detecting areas obscured in a control by other
toplevel windows while scrolling, return if the control hasn't a
container form.
Fixes some tests.

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

16 years ago2008-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 2 Jun 2008 01:23:30 +0000 (01:23 -0000)]
2008-06-02  Atsushi Enomoto  <atsushi@ximian.com>

* ResolveAssemblyReferenceTest.cs: marked some failing tests as
  [Ignore]. They will never be successful when mono is not
  "installed".

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

16 years ago2008-06-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Mon, 2 Jun 2008 01:20:41 +0000 (01:20 -0000)]
2008-06-02  Atsushi Enomoto  <atsushi@ximian.com>

* AssemblyResolver.cs : do not crash when there is no mono installed.

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

16 years ago2008-05-01 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Sun, 1 Jun 2008 23:51:34 +0000 (23:51 -0000)]
2008-05-01  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* XplatUIX11.cs: Properly detect the visible area of a control being
scrolled (obscured by other winforms controls and any X toplevel
windows), to mark as invalid the requested area to be scrolled that
isn't visible and thus can't be copied.
Fixes #324513.

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

16 years agoFix bug #367114.
Ankit Jain [Sun, 1 Jun 2008 23:06:37 +0000 (23:06 -0000)]
Fix bug #367114.

In class/PEAPI:
Fix bug #367114.
* Code.cs (TryBlock.ResolveCatchBlocks): New.
(CILInstructions.AddTryBlock): Resolve the catch blocks with the new
method.
(Catch..ctor): Add new .ctor to allow exceptions of any type.
(Catch.ResolveType): New. Add the exception type to the metadata.

In ilasm/codegen:
Fix bug #367114.
* CatchBlock.cs: Allow exception to be of any type (BaseTypeRef) and not
just a class (BaseClassRef).

In ilasm/parser:
Part of fix for bug #367114.
* ILParser.jay (seh_clause): Allow exception to be of any type and not
just class.

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

16 years ago2008-06-01 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Sun, 1 Jun 2008 17:57:48 +0000 (17:57 -0000)]
2008-06-01  Juraj Skripsky  <js@hotfeet.ch>

* StringBuilder.cs (ToString): Use String.SubstringUnchecked instead
of String.Substring, as the former is guaranteed to create a new
string object. Fixes bug #395904.

* String.cs (Substring): Blocking bug #395904 has been fixed,
re-enable optimization.

* StringTest.cs (Substring2): Blocking bug #395904 has been fixed,
re-enable test.

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

16 years agoIn ilasm/codegen:
Ankit Jain [Sun, 1 Jun 2008 16:17:31 +0000 (16:17 -0000)]
In ilasm/codegen:

Fix bug #364580.
* MethodDef.cs (CreateSignature): Add new @include_optional and
@call_conv param. Make private.
(CreateVarargSignature): Likewise.
(CreateSignature): Add new static method for vararg and other methods.
(GetVarargSig): Add new @full_signature param to uniquely identify
vararg methods.

* CodeGen.cs (ResolveVarargMethod): This now takes two signatures - one
with only the required params and the other with the optional ones, to
correctly resolve global vararg methods.

* BaseTypeRef.cs:
* GenericTypeInst.cs:
* GlobalMethodRef.cs:
* PrimitiveTypeRef.cs:
* TypeDef.cs: Track api changes.

In ilasm/parser:

* ILParser.jay: Track api changes.

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

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

* mini-arm.c (mono_arch_output_basic_block): Merge some small fixes from
the linear IL branch.

* driver.c: Print out more information for --version on arm.

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

16 years ago2008-06-01 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sun, 1 Jun 2008 13:08:37 +0000 (13:08 -0000)]
2008-06-01 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (method_encode_clauses): Take a mempool
as parameter and use it to allocate the clause array.

* reflection.c (mono_image_get_field_on_inst_token): Free
the inflated type after encoding it.

* reflection.c (mono_dynamic_image_free): Free each element
of MonoDynamicImage::gen_params.

* reflection.c (reflection_methodbuilder_to_mono_method):
Allocate the generic param array from the mempool.
Allocate signature params from the mempool.

* reflection.c (mono_reflection_generic_class_initialize):
Free inflated fields after been used.

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

16 years ago2008-05-24 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 1 Jun 2008 10:13:22 +0000 (10:13 -0000)]
2008-05-24  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* StringTest.cs: Comment out a test that currently fails by checking for
an obsolete parameter name in an exception (that doesn't even match the existing one)

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

16 years ago2008-06-01 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Sun, 1 Jun 2008 09:12:21 +0000 (09:12 -0000)]
2008-06-01  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* String.cs: Replace Split IndexOf

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

16 years agoA message update
Marek Safar [Sat, 31 May 2008 18:49:44 +0000 (18:49 -0000)]
A message update

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

16 years agoNew test.
Marek Safar [Sat, 31 May 2008 18:49:27 +0000 (18:49 -0000)]
New test.

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

16 years ago2008-05-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 31 May 2008 18:47:43 +0000 (18:47 -0000)]
2008-05-31  Marek Safar  <marek.safar@gmail.com>

A fix for bug #395845
* class.cs, nullable.cs: User unary operator is allowed to have nullable and
non-nullable parameter type.

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

16 years ago2008-05-31 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sat, 31 May 2008 13:59:32 +0000 (13:59 -0000)]
2008-05-31  Andreas Faerber  <andreas.faerber@web.de>

* configure.in (big-arrays): Output fix.
  Display "no" in absence of --enable-big-arrays.

This commit is licensed under the MIT X11 license.

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

16 years agoBigInteger.cs: Don't instantiate a new BigInteger after multiplying - it's not needed.
Alan McGovern [Sat, 31 May 2008 13:39:48 +0000 (13:39 -0000)]
BigInteger.cs: Don't instantiate a new BigInteger after multiplying - it's not needed.

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

16 years ago2008-05-31 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 31 May 2008 09:18:07 +0000 (09:18 -0000)]
2008-05-31  Marek Safar  <marek.safar@gmail.com>

* class.cs: Handle contructor initializer as a statement in top-level block.

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

16 years ago2008-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 31 May 2008 02:02:58 +0000 (02:02 -0000)]
2008-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* RSACryptoServiceProvider.cs: Remove MonoTODO that were fixed a
while ago. Provide better MonoTODO messages for the next version
of MoMA.
* RijndaelManagedTransform.cs: Provide better MonoTODO messages
for the next version of MoMA.

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

16 years ago2008-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 31 May 2008 02:01:32 +0000 (02:01 -0000)]
2008-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* IdentityReferenceCollection.cs: Remove MonoTODO and throw NIE.

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

16 years ago2008-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 31 May 2008 02:01:11 +0000 (02:01 -0000)]
2008-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* ApplicationSecurityManager.cs: Provide better MonoTODO messages
for the next version of MoMA.

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

16 years ago2008-05-30 Sebastien Pouliot <sebastien@ximian.com>
Sebastien Pouliot [Sat, 31 May 2008 02:00:56 +0000 (02:00 -0000)]
2008-05-30  Sebastien Pouliot  <sebastien@ximian.com>

* CodeAccessPermission.cs,
* PermissionSet.cs,
* SecurityManager.cs: Provide better MonoTODO messages for the
next version of MoMA.

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

16 years ago2008-05-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 31 May 2008 01:52:49 +0000 (01:52 -0000)]
2008-05-30 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c: Reapply the memory leak fixes as they no
longer make mono crash.

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

16 years ago * ListBox.cs: Compute the precise amount to vertically scroll when
Carlos Alberto Cortez [Sat, 31 May 2008 00:44:18 +0000 (00:44 -0000)]
* ListBox.cs: Compute the precise amount to vertically scroll when
using DrawMode.OwnerDrawVariable.
Patch by jkeymer (j.keymer@gmx.net).

2008-05-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

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

16 years ago2008-05-30 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Sat, 31 May 2008 00:32:45 +0000 (00:32 -0000)]
2008-05-30 Rodrigo Kumpera  <rkumpera@novell.com>

* reflection.c (mono_type_get_object): Don't store the suplied
MonoType with type_hash. A caller which pass a type that
was mono_metadata_type_dup'ed cannot free it reliably, as type_hash
might end with a pointer to freed memory.
The solution is to use byval_arg or this_arg from the associated
MonoClass of the supplied type.

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

16 years ago2008-05-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 30 May 2008 23:23:26 +0000 (23:23 -0000)]
2008-05-30  Marek Habersack  <mhabersack@novell.com>

* Constraint.cs: do not use synthetized event accessors (to avoid
locks).

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

16 years ago2008-05-30 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 30 May 2008 22:20:14 +0000 (22:20 -0000)]
2008-05-30  Marek Habersack  <mhabersack@novell.com>

* BaseDataBoundControl.cs, ChangePassword.cs, CustomValidator.cs,
DataControlFieldCollection.cs, DataControlField.cs,
PasswordRecovery.cs, PagerSettings.cs: do not use synthetized
event accessors (to avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* AnonymousIdentificationModule.cs, FormsAuthenticationModule.cs,
DefaultAuthenticationModule.cs, MembershipProvider.cs,
WindowsAuthenticationModule.cs, PassportAuthenticationModule.cs,
RoleManagerModule.cs: do not use synthetized event accessors (to
avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs, HttpCachePolicy.cs, SiteMapProvider.cs,
TraceContext.cs: do not use synthetized event accessors (to avoid
locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* ProfileModule.cs: do not use synthetized event accessors (to
avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* SessionStateModule.cs: do not use synthetized event accessors
(to avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* DataBindingCollection.cs, ExpressionBindingCollection.cs: do not
use synthetized event accessors (to avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* ClientBuildManager.cs: do not use synthetized event accessors
(to avoid locks).

2008-05-30  Marek Habersack  <mhabersack@novell.com>

* CacheDependency.cs: do not use synthetized event accessors (to
avoid locks).

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

16 years ago2008-05-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Fri, 30 May 2008 22:17:55 +0000 (22:17 -0000)]
2008-05-30  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
to avoid setting an invalid value for the verticall scrollbar
when navigating items. And, duh, also remove my silly debug messages
from previous commits.
Fixes #374713.

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

16 years ago2008-05-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 30 May 2008 21:38:06 +0000 (21:38 -0000)]
2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>

* ControlBindingsConverter.cs: Fix 1.1 build.

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

16 years ago2008-05-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 30 May 2008 20:44:50 +0000 (20:44 -0000)]
2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>

* ControlBindingsConverter.cs: Implementated just enough to avoid
the circular dependency in the MWF PropertyGrid.

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

16 years ago2008-05-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 30 May 2008 20:01:14 +0000 (20:01 -0000)]
2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>

* FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
make it MS compatible.

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

16 years ago2008-05-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 30 May 2008 19:59:11 +0000 (19:59 -0000)]
2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>

* PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
 - Allow the editing of entries even if their parent is read-only.
 - Do not render expandable properties read-only.
 - Refactor expansion checks form PropertyGrid into PropertyGrid.

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

16 years ago2008-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 May 2008 16:58:58 +0000 (16:58 -0000)]
2008-05-30  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Increase max_offset when processing
bb_exit instead, since out of line bblocks might not actually be emitted
out-of-line.

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

16 years ago2008-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 May 2008 16:40:35 +0000 (16:40 -0000)]
2008-05-30  Zoltan Varga  <vargaz@gmail.com>

* mini-amd64.c (mono_arch_emit_prolog): Increase bb->max_offset by the
maximum epilog size for out of line bblocks if tracing is enabled.

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

16 years ago2008-05-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 30 May 2008 15:54:03 +0000 (15:54 -0000)]
2008-05-30  Marek Safar  <marek.safar@gmail.com>

* attribute.cs: Don't mix old and new corlib types when emitting corlib
security attributes.

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

16 years agoon-going work on user defined unary expressions
Jb Evain [Fri, 30 May 2008 14:48:48 +0000 (14:48 -0000)]
on-going work on user defined unary expressions

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

16 years agocomplete tests
Jb Evain [Fri, 30 May 2008 14:46:49 +0000 (14:46 -0000)]
complete tests

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

16 years agocomplete test
Jb Evain [Fri, 30 May 2008 14:28:33 +0000 (14:28 -0000)]
complete test

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

16 years ago2008-05-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 30 May 2008 14:13:36 +0000 (14:13 -0000)]
2008-05-30  Marek Safar  <marek.safar@gmail.com>

* ArrayTest.cs: New IndexOf test.


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

16 years ago2008-05-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 30 May 2008 14:11:56 +0000 (14:11 -0000)]
2008-05-30  Marek Safar  <marek.safar@gmail.com>

* Array.cs (IndexOf): Use an array element comparer instead of tested value
comparer.

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

16 years ago2008-05-30 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 30 May 2008 14:04:25 +0000 (14:04 -0000)]
2008-05-30  George Giolfan <georgegiolfan@yahoo.com>

* ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
support for the hover style.
* VisualStyleElement.cs: Added support for the ScrollBar hover style.

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

16 years agocomment out 2 crashers for now
Jb Evain [Fri, 30 May 2008 13:58:20 +0000 (13:58 -0000)]
comment out 2 crashers for now

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

16 years agogmcs bug
Jb Evain [Fri, 30 May 2008 13:49:15 +0000 (13:49 -0000)]
gmcs bug

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

16 years agopassing those
Jb Evain [Fri, 30 May 2008 13:46:54 +0000 (13:46 -0000)]
passing those

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

16 years agoemit simple user defined operators
Jb Evain [Fri, 30 May 2008 13:46:37 +0000 (13:46 -0000)]
emit simple user defined operators

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

16 years ago2008-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 May 2008 13:41:55 +0000 (13:41 -0000)]
2008-05-30  Zoltan Varga  <vargaz@gmail.com>

* long-shift-regalloc.il: Removed, merged into mini/iltests.il.

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

16 years ago2008-05-30 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 30 May 2008 13:40:39 +0000 (13:40 -0000)]
2008-05-30  Zoltan Varga  <vargaz@gmail.com>

* iltests.il.in: Merge tests/long-shift.regalloc.il into this file.

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

16 years agomore test
Jb Evain [Fri, 30 May 2008 13:14:10 +0000 (13:14 -0000)]
more test

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

16 years agouser defined operators tests
Jb Evain [Fri, 30 May 2008 12:59:22 +0000 (12:59 -0000)]
user defined operators tests

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

16 years agopassing
Jb Evain [Fri, 30 May 2008 11:13:01 +0000 (11:13 -0000)]
passing

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

16 years agofix coalesce nullable to non nullable
Jb Evain [Fri, 30 May 2008 11:12:45 +0000 (11:12 -0000)]
fix coalesce nullable to non nullable

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

16 years agonew test
Jb Evain [Fri, 30 May 2008 11:08:02 +0000 (11:08 -0000)]
new test

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

16 years agouncomment
Jb Evain [Fri, 30 May 2008 10:34:41 +0000 (10:34 -0000)]
uncomment

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

16 years agopassing this guy
Jb Evain [Fri, 30 May 2008 10:23:29 +0000 (10:23 -0000)]
passing this guy

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

16 years ago2008-05-30 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 30 May 2008 10:23:08 +0000 (10:23 -0000)]
2008-05-30  Jb Evain  <jbevain@novell.com>

* UnaryExpression.cs (Emit): fix convertion from nullable
to nullable types.

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

16 years agomake IsNullable an extension method
Jb Evain [Fri, 30 May 2008 09:37:59 +0000 (09:37 -0000)]
make IsNullable an extension method

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

16 years agonew test
Jb Evain [Fri, 30 May 2008 09:00:03 +0000 (09:00 -0000)]
new test

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

16 years ago2008-05-30 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 30 May 2008 08:50:59 +0000 (08:50 -0000)]
2008-05-30  Marek Safar  <marek.safar@gmail.com>

* Makefile: More extra dist files.

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

16 years ago2008-05-30 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Fri, 30 May 2008 01:21:50 +0000 (01:21 -0000)]
2008-05-30  Ivan N. Zlatev  <contact@i-nz.net>

* TypeDescriptorTests.cs: Fix the attributes test on the 1.1 profile.

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

16 years ago2008-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 30 May 2008 00:32:00 +0000 (00:32 -0000)]
2008-05-29  Marek Habersack  <mhabersack@novell.com>

* DataColumn.cs: do not use synthetic methods for events - this
avoids unnecessary locking, especially for internal events.

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

16 years ago2008-05-29 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Fri, 30 May 2008 00:18:21 +0000 (00:18 -0000)]
2008-05-29  Marek Habersack  <mhabersack@novell.com>

* UriParser.cs: use the lock in CreateDefaults in the way that it
needs to acquired only once.

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

16 years agorevert 104472:104474
Jb Evain [Thu, 29 May 2008 23:17:50 +0000 (23:17 -0000)]
revert 104472:104474

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

16 years ago2008-05-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 29 May 2008 22:12:08 +0000 (22:12 -0000)]
2008-05-29  Ivan N. Zlatev  <contact@i-nz.net>

* Binder.cs: SelectProperty must perform strict property type checking.

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

16 years ago2008-05-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 29 May 2008 22:10:58 +0000 (22:10 -0000)]
2008-05-29  Ivan N. Zlatev  <contact@i-nz.net>

* MonoGenericClass.cs: GetPropertyImpl should respect the returnType
parameter.

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

16 years ago2008-05-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 29 May 2008 21:58:12 +0000 (21:58 -0000)]
2008-05-29  Ivan N. Zlatev  <contact@i-nz.net>

* MonoType.cs: GetPropertyImpl should respect returnType.
* TypeTest.cs: Add a test to verify that the property type
parameter is not ignored.

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

16 years agorefactor
Jb Evain [Thu, 29 May 2008 20:34:29 +0000 (20:34 -0000)]
refactor

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

16 years agorework coalesce
Jb Evain [Thu, 29 May 2008 19:43:33 +0000 (19:43 -0000)]
rework coalesce

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

16 years agocoalesce tests
Jb Evain [Thu, 29 May 2008 19:20:54 +0000 (19:20 -0000)]
coalesce tests

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

16 years ago* System.Windows.Forms/ContainerControl.cs: Check for null dead-end
Andreia Gaita [Thu, 29 May 2008 18:51:15 +0000 (18:51 -0000)]
* System.Windows.Forms/ContainerControl.cs: Check for null dead-end
  when traversing the tree of parent controls.

  [Fixes #394332, patch by Ernesto Carrea]

2008-05-29  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-05-29 Geoff Norton <gnorton@novell.com>
Geoff Norton [Thu, 29 May 2008 18:43:20 +0000 (18:43 -0000)]
2008-05-29  Geoff Norton  <gnorton@novell.com>

        * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
        constant that it is.  Fixes #393981

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

16 years agobe consistent
Jb Evain [Thu, 29 May 2008 18:39:44 +0000 (18:39 -0000)]
be consistent

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

16 years agopassing this guy
Jb Evain [Thu, 29 May 2008 18:13:54 +0000 (18:13 -0000)]
passing this guy

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

16 years ago2008-05-29 Jb Evain <jbevain@novell.com>
Jb Evain [Thu, 29 May 2008 18:13:35 +0000 (18:13 -0000)]
2008-05-29  Jb Evain  <jbevain@novell.com>

* Expression.cs (Power): allow bool?.
* BinaryExpression.cs: properly deal with lifted power expression.

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

16 years agonullable power test
Jb Evain [Thu, 29 May 2008 18:09:30 +0000 (18:09 -0000)]
nullable power test

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

16 years agothis guy is fixed
Jb Evain [Thu, 29 May 2008 17:56:06 +0000 (17:56 -0000)]
this guy is fixed

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

16 years ago2008-05-29 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Thu, 29 May 2008 17:55:48 +0000 (17:55 -0000)]
2008-05-29  Zoltan Varga  <vargaz@gmail.com>

* icall.c: Revert the rest of the last change as it breaks the build too.

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

16 years agoTest case to verify Bug#382635
Veerapuram Varadhan [Thu, 29 May 2008 17:28:36 +0000 (17:28 -0000)]
Test case to verify Bug#382635

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

16 years agoFix for bug#382635 - truncate larger values
Veerapuram Varadhan [Thu, 29 May 2008 17:25:00 +0000 (17:25 -0000)]
Fix for bug#382635 - truncate larger values

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

16 years ago2008-05-29 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Thu, 29 May 2008 16:40:27 +0000 (16:40 -0000)]
2008-05-29  Ivan N. Zlatev  <contact@i-nz.net>

* TypeDescriptor.cs: GetAttributes must retrieve the attributes of
the type, the base types and the interfaces the type implements.
[Fix part of bug #394310]
* TypeDescriptorTests.cs: Add test that verifies that GetAttributes
retrieves the attributes of the type, the base types and the
interfaces the type implements.

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