mono.git
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

16 years agopassing those
Jb Evain [Thu, 29 May 2008 16:10:39 +0000 (16:10 -0000)]
passing those

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

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

* BinaryExpression.cs (Emit): fix lifted andalso and orelse.

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

16 years ago2008-04-29 Bill Holmes <billholmes54@gmail.com>
Bill Holmes [Thu, 29 May 2008 16:07:46 +0000 (16:07 -0000)]
2008-04-29  Bill Holmes  <billholmes54@gmail.com>
* libmono.vcproj: Add missing files mono-property-hash and
  mono-value-hash.

Contributed under MIT/X11 license.

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

16 years ago2008-05-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 15:55:09 +0000 (15:55 -0000)]
2008-05-29 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c: Revert a leak fix as it's breaking the build.

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

16 years agomore meaningful names for my return labels
Jb Evain [Thu, 29 May 2008 15:31:28 +0000 (15:31 -0000)]
more meaningful names for my return labels

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

16 years agorework
Jb Evain [Thu, 29 May 2008 15:22:27 +0000 (15:22 -0000)]
rework

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

16 years ago2008-05-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 15:12:22 +0000 (15:12 -0000)]
2008-05-29 Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c (mono_make_shadow_copy): Fix another leak of dir_name.

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

16 years agofix last test
Jb Evain [Thu, 29 May 2008 15:04:49 +0000 (15:04 -0000)]
fix last test

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

16 years ago2008-05-29 Juraj Skripsky <js@hotfeet.ch>
Juraj Skripsky [Thu, 29 May 2008 15:01:15 +0000 (15:01 -0000)]
2008-05-29  Juraj Skripsky <js@hotfeet.ch>

* List.cs (RemoveAll, Shift): Fix leak by clearing empty array
items.

2008-05-29  Juraj Skripsky  <js@hotfeet.ch>

* ArrayList.cs: Create the empty array only once and reuse it.

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

16 years agomore tests
Jb Evain [Thu, 29 May 2008 15:00:06 +0000 (15:00 -0000)]
more tests

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

16 years ago2008-05-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 29 May 2008 14:53:39 +0000 (14:53 -0000)]
2008-05-29  Jonathan Pobst  <monkey@jpobst.com>

* Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
that the user probably doesn't want to set this.

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

16 years ago2008-05-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 14:48:33 +0000 (14:48 -0000)]
2008-05-29 Rodrigo Kumpera  <rkumpera@novell.com>

* appdomain.c (mono_make_shadow_copy): We leaked dir_name.

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

16 years ago2008-05-29 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Thu, 29 May 2008 14:45:27 +0000 (14:45 -0000)]
2008-05-29  Jonathan Pobst  <monkey@jpobst.com>

* ThemeWin32Classic.cs: Don't let the text size be bigger than
the control size for CheckBox/RadioBox.
[Fixes part of bug #394645]

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

16 years ago2008-05-29 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 14:32:33 +0000 (14:32 -0000)]
2008-05-29 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c: Fix some memory leaks.

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

16 years ago2008-05-29 Dick Porter <dick@ximian.com>
Dick Porter [Thu, 29 May 2008 14:23:06 +0000 (14:23 -0000)]
2008-05-29  Dick Porter  <dick@ximian.com>

* threadpool.c (mono_thread_pool_remove_socket): Always remove the
async socket operations from the pending list when a socket
closes.  Leaving it until the threadpool services the event
exposes a race condition when a socket descriptor is reused.
Fixes bug 377589.

2008-05-29  Dick Porter  <dick@ximian.com>

* sockets.c (socket_close): Clear any saved errors
(_wapi_connect): Don't save EWOULDBLOCK errors here, as that
breaks async connects.  (Bug 377589 test case broken by the
previous fix to bug 356552)

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

16 years agoauthor
Jb Evain [Thu, 29 May 2008 14:01:43 +0000 (14:01 -0000)]
author

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

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

* PropertyGrid.cs: Update the state of the sorting buttons in
the toolbar if PropertySort is set programatically.

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

16 years agonot needed anymore
Jb Evain [Thu, 29 May 2008 13:57:42 +0000 (13:57 -0000)]
not needed anymore

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

16 years agopassing those
Jb Evain [Thu, 29 May 2008 13:55:32 +0000 (13:55 -0000)]
passing those

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

16 years agostart reworking logical operators
Jb Evain [Thu, 29 May 2008 13:55:09 +0000 (13:55 -0000)]
start reworking logical operators

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

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

* GridItemCollection.cs: Add multiple items with conflicting names
support and also preserve name ordering.
[Fixes #395345]

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

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

* GridItemCollection.cs: Revert my multiple items with same
name patch.

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

16 years agonew tests
Jb Evain [Thu, 29 May 2008 13:30:19 +0000 (13:30 -0000)]
new tests

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

16 years agorefactoring
Jb Evain [Thu, 29 May 2008 13:11:02 +0000 (13:11 -0000)]
refactoring

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

16 years agorefactoring
Jb Evain [Thu, 29 May 2008 12:24:16 +0000 (12:24 -0000)]
refactoring

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

16 years agomove NotEqual tests to their own file
Jb Evain [Thu, 29 May 2008 11:57:41 +0000 (11:57 -0000)]
move NotEqual tests to their own file

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

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

* mono-value-hash.c: Remove the unused prime functions. Fixes #395320.

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

16 years agorefactoring
Jb Evain [Thu, 29 May 2008 11:47:47 +0000 (11:47 -0000)]
refactoring

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

16 years agorename
Jb Evain [Thu, 29 May 2008 11:39:43 +0000 (11:39 -0000)]
rename

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

16 years agopassing those
Jb Evain [Thu, 29 May 2008 11:36:22 +0000 (11:36 -0000)]
passing those

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

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

* BinaryExpression.cs (Emit): properly emit lifted to null
relational binary expressions.

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

16 years agotypo
Jb Evain [Thu, 29 May 2008 10:49:28 +0000 (10:49 -0000)]
typo

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

16 years agotests for lifted to null relational binary expressions
Jb Evain [Thu, 29 May 2008 10:48:32 +0000 (10:48 -0000)]
tests for lifted to null relational binary expressions

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

16 years agoforgot this guy
Jb Evain [Thu, 29 May 2008 10:28:20 +0000 (10:28 -0000)]
forgot this guy

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

16 years ago2008-05-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 03:36:20 +0000 (03:36 -0000)]
2008-05-28  Rodrigo Kumpera  <rkumpera@novell.com>

* arrays.cs: Regression tests for allocating arrays with negative sizes.

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

16 years ago2008-05-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 03:34:17 +0000 (03:34 -0000)]
2008-05-28 Rodrigo Kumpera  <rkumpera@novell.com>

* object.c: Fix negative index check for array alocation.

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

16 years ago2008-05-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 02:34:03 +0000 (02:34 -0000)]
2008-05-28 Rodrigo Kumpera  <rkumpera@novell.com>

* DelegateTest.cs (CreateDelegate1_Method_Private_Instance): Added test
for bug #372406. It tries to create a delegate to a private instance
method of other type.

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

16 years ago2008-05-28 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Thu, 29 May 2008 02:29:05 +0000 (02:29 -0000)]
2008-05-28 Rodrigo Kumpera  <rkumpera@novell.com>

* icall.c, marshal.c: Delegate wrappers should skip visibility.
This check is performed by the verifier for IL created delegates
and by Delegate::CreateDelegate for programatically created ones.
Fixes #372406.

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

16 years agoRevert r104184 - changing the default profile to net_2_0 is not enough.
Marek Habersack [Wed, 28 May 2008 23:43:02 +0000 (23:43 -0000)]
Revert r104184 - changing the default profile to net_2_0 is not enough.
There is no way to build libraries for the 1.x profiles outside the main build
once that change is applied (i.e. make PROFILE=net_1_0 or make PROFILE=net_1_1
don't work, as class/lib/ doesn't contain the net_1_0 or net_1_1 directories).
That makes testing changes to the 1.1 profile more tedious than it should be.

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

16 years agounbreak the 1.x build
Marek Habersack [Wed, 28 May 2008 23:06:15 +0000 (23:06 -0000)]
unbreak the 1.x build

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

16 years ago2008-05-28 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Wed, 28 May 2008 22:14:48 +0000 (22:14 -0000)]
2008-05-28 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* CookieContainer.cs: apply slightly modified patch from rulatir@wp.pl
that fixes bug #356537.

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

16 years ago2008-05-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 28 May 2008 21:33:46 +0000 (21:33 -0000)]
2008-05-28  Marek Habersack  <mhabersack@novell.com>

* ResourceReader.cs: use structs instead of classes for the
internal ResourceInfo and ResourceCacheItem data items. Patch from
Andreas Nahr <ClassDevelopment@A-SoftTech.com>, thanks!

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

16 years ago2008-05-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 28 May 2008 21:23:54 +0000 (21:23 -0000)]
2008-05-22  Marek Habersack  <mhabersack@novell.com>

        * WebConfigurationHost.cs: changed CreateDeprecatedConfigContext
        to return a new HttpContext object. This is part of a fix for bug
        #325128. Patch contributed by James Fitzsimons <james.fitzsimons@gmail.com>,
        thanks!

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

16 years ago2008-05-28 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 28 May 2008 21:22:57 +0000 (21:22 -0000)]
2008-05-28  Marek Habersack  <mhabersack@novell.com>

        * Configuration.cs: set the ConfigContext when getting
        and instance of a section. Fix for bug #325128.

        * ConfigurationSection.cs: added an internal property -
        ConfigContext used to supply the HttpContext to the Create
        method of SectionHandler when called from GetRuntimeObject.
        Fix for bug #325128.

        * InternalConfiguationHost.cs: changed CreateDeprecatedConfigContext
        to return null rather than throwing a NotImplementedException.
        Fix for bug #325128.

        * All patches above contributed by James Fitzsimons <james.fitzsimons@gmail.com>,
          thanks!

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

16 years ago2008-05-18 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 28 May 2008 21:07:04 +0000 (21:07 -0000)]
2008-05-18  Marek Habersack  <mhabersack@novell.com>

* HierarchicalDataBoundControl.cs: Modified GetData method to check if
DataSource implements IHierarchicalEnumerable and if so constructs and
returns a new instance of ReadOnlyDataSourceView. This provides functional
compatibility with the Microsoft.NET framework. Fixes bug
#395209. Patch contributed by James Fitzsimons
<james.fitzsimons@gmail.com>, thanks!

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

* HierarchicalDataBoundControlTest.cs: Added
TestIHierarchicalEnumerableDataSource to test change made to
GetData method to make functionally compatibile with Microsoft.NET
framework. Patch contributed by James Fitzsimons
<james.fitzsimons@gmail.com>, thanks!

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

* ReadOnlyDataSourceView.cs: added. Patch contributed by James
Fitzsimons <james.fitzsimons@gmail.com>, thanks!

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