mono.git
16 years ago2008-05-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 5 May 2008 10:19:14 +0000 (10:19 -0000)]
2008-05-05  Andreas Faerber  <andreas.faerber@web.de>

* configure.in: Detect ppc64 target architecture.

This commit is licensed under the MIT X11 license.

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

16 years ago2008-05-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 5 May 2008 09:38:10 +0000 (09:38 -0000)]
2008-05-05  Andreas Faerber  <andreas.faerber@web.de>

* aot-runtime.c: Prepare support for ppc64.

This commit is licensed under the MIT X11 license.

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

16 years agoavoid NullReferenceException
Igor Zelmanovich [Mon, 5 May 2008 09:31:41 +0000 (09:31 -0000)]
avoid NullReferenceException

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

16 years ago2008-05-05 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 5 May 2008 09:28:17 +0000 (09:28 -0000)]
2008-05-05  Everaldo Canuto  <ecanuto@novell.com>

* NotifyIcon.cs: Prevent click events to be trigger after double click
events. Fixes remaining issues of bug #324832.

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

16 years ago2008-05-05 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Mon, 5 May 2008 09:18:05 +0000 (09:18 -0000)]
2008-05-05  Everaldo Canuto  <ecanuto@novell.com>

* NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
to mimic win32 behavior. Partially fixes bug #324832.

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

16 years ago2008-05-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 5 May 2008 09:09:34 +0000 (09:09 -0000)]
2008-05-05  Andreas Faerber  <andreas.faerber@web.de>

* mini-ops.h: Prepare support for ppc64.

This commit is licensed under the MIT X11 license.

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

16 years ago2008-05-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 5 May 2008 08:45:56 +0000 (08:45 -0000)]
2008-05-05  Andreas Faerber  <andreas.faerber@web.de>

* mono-config.c: Add ppc64 architecture.

This commit is licensed under the MIT X11 license.

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

16 years ago2008-05-05 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Mon, 5 May 2008 08:37:57 +0000 (08:37 -0000)]
2008-05-05  Andreas Faerber  <andreas.faerber@web.de>

* object.c (mono_create_ftnptr, mono_get_addr_from_ftnptr):
  PPC64 uses function descriptors as well.

This commit is licensed under the MIT X11 license.

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

16 years agoadd TARGET_J2EE def
Igor Zelmanovich [Mon, 5 May 2008 08:08:55 +0000 (08:08 -0000)]
add TARGET_J2EE def

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

16 years ago * BindingSource.cs: Implement Find methods.
Carlos Alberto Cortez [Mon, 5 May 2008 07:15:30 +0000 (07:15 -0000)]
* BindingSource.cs: Implement Find methods.

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

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

16 years agoUpdated Changelog
Francisco Figueiredo Jr. [Mon, 5 May 2008 03:38:32 +0000 (03:38 -0000)]
Updated Changelog

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

16 years ago2008-05-05 Francisco Figueiredo Jr. <francisco@npgsql.org>
Francisco Figueiredo Jr. [Mon, 5 May 2008 03:37:24 +0000 (03:37 -0000)]
2008-05-05  Francisco Figueiredo Jr.  <francisco@npgsql.org>

Fixed problems when notification thread throws exception. Not is correctly thrown. See http://pgfoundry.org/forum/message.php?msg_id=1003387 for discussion about that. Thanks Josh Cooley for patch.

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

16 years ago2008-05-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 5 May 2008 02:59:36 +0000 (02:59 -0000)]
2008-05-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* BindingSourceTest.cs: New tests for Sort property.

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

16 years ago * BindingSource.cs: Implement Sort, ApplySort overloads, and
Carlos Alberto Cortez [Mon, 5 May 2008 02:57:50 +0000 (02:57 -0000)]
* BindingSource.cs: Implement Sort, ApplySort overloads, and
RemoveSort methods.

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

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

16 years ago2008-05-04 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Mon, 5 May 2008 02:42:22 +0000 (02:42 -0000)]
2008-05-04  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* ListBindingHelper.cs: When calling GetListItemProperties and the
passed object is ITypedList, return the result of
ITypedList.GetItemProperties instead.

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

16 years ago2008-05-05 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Mon, 5 May 2008 01:04:26 +0000 (01:04 -0000)]
2008-05-05  Zoltan Varga  <vargaz@gmail.com>

* IntPtr.cs (ToInt64): Use (long)(int) on 32 bit platforms to avoid the default
unsigned conversion done by the compiler. Fixes #386466.

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

16 years ago2008-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 May 2008 22:00:41 +0000 (22:00 -0000)]
2008-05-04  Zoltan Varga  <vargaz@gmail.com>

* object.c (compute_class_bitmap): Ignore literal static fields.

* sgen-gc.c (mono_gc_base_init): Print some help when the MONO_GC_DEBUG env
var has an invalid format.
(describe_ptr): Add some sanity checks for the vtable.
(add_nursery_frag): Clear unused nursery fragments.
(major_collection): Clear all remaining nursery fragments.

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

16 years ago2008-05-04 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sun, 4 May 2008 21:54:02 +0000 (21:54 -0000)]
2008-05-04  Andreas Faerber  <andreas.faerber@web.de>

* helpers.c: Add support for OSX/ppc64 and Linux/ppc64 (dis)assemblers.

This commit is licensed under the MIT X11 license.

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

16 years ago2008-05-04 Andreas Faerber <andreas.faerber@web.de>
Andreas Färber [Sun, 4 May 2008 20:41:54 +0000 (20:41 -0000)]
2008-05-04  Andreas Faerber  <andreas.faerber@web.de>

* mono-membar.h: Prepare support for OSX/ppc64.

This commit is licensed under the MIT X11 license.

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

16 years ago2008-05-04 Robert Jordan <robertj@gmx.net>
Robert Jordan [Sun, 4 May 2008 16:22:22 +0000 (16:22 -0000)]
2008-05-04  Robert Jordan  <robertj@gmx.net>

* libtest.c: disable struct tests for platforms with incompatible
native/managed alignments.

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

16 years ago2008-05-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 4 May 2008 14:53:55 +0000 (14:53 -0000)]
2008-05-04 Igor Zelmanovich <igorz@mainsoft.com>

* HtmlInputButtonTest.cs: use HtmlDiff properly.

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

16 years agoFix Java build (due to recent file renames).
Noam Lampert [Sun, 4 May 2008 14:29:40 +0000 (14:29 -0000)]
Fix Java build (due to recent file renames).

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

16 years ago2008-05-04 Igor Zelmanovich <igorz@mainsoft.com>
Igor Zelmanovich [Sun, 4 May 2008 14:06:11 +0000 (14:06 -0000)]
2008-05-04 Igor Zelmanovich <igorz@mainsoft.com>

* WebControlTest.cs: make tests compatible with Windows
by considering end of lines chars.

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

16 years agoadd PageWithAdapter.aspx to the project
Igor Zelmanovich [Sun, 4 May 2008 12:57:59 +0000 (12:57 -0000)]
add PageWithAdapter.aspx to the project

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

16 years agoswitch to port 8080
Igor Zelmanovich [Sun, 4 May 2008 12:30:26 +0000 (12:30 -0000)]
switch to port 8080

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

16 years agoOptimizations
Marek Safar [Sun, 4 May 2008 12:25:02 +0000 (12:25 -0000)]
Optimizations

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

16 years ago2008-05-04 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sun, 4 May 2008 12:24:44 +0000 (12:24 -0000)]
2008-05-04  Marek Safar  <marek.safar@gmail.com>

* nullable.cs, statement.cs (Unwrap): Don't duplicate variable expressions,
it saves many redundant temporary variables for nullable operations.

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

16 years ago2008-05-04 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sun, 4 May 2008 10:14:08 +0000 (10:14 -0000)]
2008-05-04  Zoltan Varga  <vargaz@gmail.com>

* Type.cs (UnderlyingSystemType): Add a comment pointing people to
Enum.GetUnderlyingType ().

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

16 years agodisable thunks.cs:Test.Foo10
Robert Jordan [Sun, 4 May 2008 09:39:24 +0000 (09:39 -0000)]
disable thunks.cs:Test.Foo10

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

16 years ago * LinkLabelTest.cs: Enable tests related to bug #346156.
Everaldo Canuto [Sun, 4 May 2008 06:07:15 +0000 (06:07 -0000)]
* LinkLabelTest.cs: Enable tests related to bug #346156.

2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2008-05-04 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 05:57:35 +0000 (05:57 -0000)]
2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabelTest.cs: Enable tests related to bug #346154.

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

16 years ago2008-05-04 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 05:55:07 +0000 (05:55 -0000)]
2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabel.cs: Set default value of name on constructor of Link class
only for 2.0 profile.

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

16 years ago2008-05-04 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 05:50:05 +0000 (05:50 -0000)]
2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
Fixes remaining issues of bug #346154.

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

16 years ago2008-05-04 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 05:38:27 +0000 (05:38 -0000)]
2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabel.cs: Set a default value for name on internal contructor of
Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.

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

16 years ago2008-05-04 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 05:22:52 +0000 (05:22 -0000)]
2008-05-04  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
and refer all instances to owner.links. Partially fixes #346154.

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

16 years ago * LinkLabelTest.cs: Put LinkTest and LinkCollectionTest classes outside of
Everaldo Canuto [Sun, 4 May 2008 04:43:19 +0000 (04:43 -0000)]
* LinkLabelTest.cs: Put LinkTest and LinkCollectionTest classes outside of
LinkLabelTest class, subclasses looks to be not work with nunit.

2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 04:21:24 +0000 (04:21 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabelTest.cs: Remove NotWorking attribute from TestLinkArea, it is
fixed in r102445.

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 04:18:50 +0000 (04:18 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* LinkLabel.cs: Fix linkarea values for empty text, must have start and
length equal zero. Also called CreateLinkPieces in constructor. It fixes
the LinkLabel test 'TestLinkArea'.

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 01:50:19 +0000 (01:50 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* Form.cs: Remove menu before close form to prevent form to be not gaced.
[Fixes #386460]

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sun, 4 May 2008 01:46:45 +0000 (01:46 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
[Fixes #386463]

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 3 May 2008 23:52:15 +0000 (23:52 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
[Fixed bug #357004]

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 3 May 2008 23:27:06 +0000 (23:27 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Remove unused ProcessCmdKey method.

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 3 May 2008 22:44:00 +0000 (22:44 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
[Fixes bug #375398]

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 3 May 2008 22:13:55 +0000 (22:13 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
of bug #367492.

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

16 years ago2008-05-03 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Sat, 3 May 2008 21:45:54 +0000 (21:45 -0000)]
2008-05-03  Everaldo Canuto  <ecanuto@novell.com>

* MenuAPI.cs: Check if mouse down comes from menu, we need it because
sometimes we open a conext menu on mouse down of some controls and the mouse
up is dispatched to menu and dont need to. It fix remaining issues of
#363711 and other problems related to menu mouse click events.

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

16 years agoIn metadata:
Robert Jordan [Sat, 3 May 2008 17:51:37 +0000 (17:51 -0000)]
In metadata:
2008-05-03  Robert Jordan  <robertj@gmx.net>

* image.c, metadata-internals.h: add thunk_invoke_cache.

* marshal.c, marshal.h: implement
mono_marshal_get_thunk_invoke_wrapper ().

* object.c, object.h: implement mono_method_get_unmanaged_thunk ().

Code is contributed under MIT/X11 license.

In tests:
2008-05-03  Robert Jordan  <robertj@gmx.net>

* libtest.c, thunks.cs: tests for mono_method_get_unmanaged_thunk ().

* Makefile.am: add thunk.cs. link libtest with gmodule.

Code is contributed under MIT/X11 license.

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

16 years ago2008-05-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 3 May 2008 17:48:30 +0000 (17:48 -0000)]
2008-05-03  Zoltan Varga  <vargaz@gmail.com>

* ConstructorBuilderTest.cs: Mark the GetParameters_Incomplete () test not-working,
as the corresponding fix has been reverted.

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

16 years ago2008-05-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 3 May 2008 17:46:26 +0000 (17:46 -0000)]
2008-05-03  Zoltan Varga  <vargaz@gmail.com>

* ConstructorBuilder.cs: Revert the throw not_created () change as it causes
vbnc bootstrap to fail. Fixes #386419.

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

16 years ago2008-05-03 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Sat, 3 May 2008 17:00:37 +0000 (17:00 -0000)]
2008-05-03  Zoltan Varga  <vargaz@gmail.com>

* aot-runtime.c (load_aot_module): Avoid trying to load aot code for dynamic
assemblies, since aot_name is not a full path, causing us to load MS.NET
assemblies on windows.

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

16 years agoNew tests.
Marek Safar [Sat, 3 May 2008 02:17:56 +0000 (02:17 -0000)]
New tests.

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

16 years agoMore tests.
Marek Safar [Sat, 3 May 2008 02:16:14 +0000 (02:16 -0000)]
More tests.

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

16 years ago2008-05-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 3 May 2008 02:15:57 +0000 (02:15 -0000)]
2008-05-03  Marek Safar  <marek.safar@gmail.com>

* assign.cs: EventAddOrRemove is a statement and cannot have a type

* cfold.cs, constant.cs, expression.cs: Constant coalescing operator
redunctions.

* nullable.cs: Use common Error_OperatorCannotBeApplied method.

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

16 years ago2008-05-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Sat, 3 May 2008 00:00:52 +0000 (00:00 -0000)]
2008-05-03  Marek Safar  <marek.safar@gmail.com>

* constant.cs: Use unsigned conversion for values which are unsigned only.

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

16 years ago2008-05-02 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 2 May 2008 23:57:59 +0000 (23:57 -0000)]
2008-05-02  Everaldo Canuto  <ecanuto@novell.com>

* MonthCalendar.cs: Implemented "Go to today" context menu, also changed
some var names to better fit changes, now we have month_menu and today_menu
vars. Fixes bug #363711.

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

16 years agoMore tests.
Marek Safar [Fri, 2 May 2008 23:33:34 +0000 (23:33 -0000)]
More tests.

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

16 years agoNew test.
Marek Safar [Fri, 2 May 2008 23:33:15 +0000 (23:33 -0000)]
New test.

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

16 years ago2008-05-02 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 2 May 2008 23:32:19 +0000 (23:32 -0000)]
2008-05-02  Everaldo Canuto  <ecanuto@novell.com>

* MonthCalendar.cs: Handle every right mouse click to open context menu,
right now the default month menu but it will be change to have "Go to today"
menu.

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

16 years ago2008-05-03 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 May 2008 23:32:11 +0000 (23:32 -0000)]
2008-05-03  Marek Safar  <marek.safar@gmail.com>

* convert.cs, literal.cs, nullabel.cs, typemanager.cs: Implemeted null
coalescing operator as it should be.

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

16 years ago2008-05-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 2 May 2008 22:58:46 +0000 (22:58 -0000)]
2008-05-03  Jb Evain  <jbevain@novell.com>

* Queryable.cs (OrderBy, OrderByDescending): fix signature and
properly return a IOrderedQueryable<>.

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

16 years agoworking
Jb Evain [Fri, 2 May 2008 22:50:37 +0000 (22:50 -0000)]
working

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

16 years ago2008-05-03 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 2 May 2008 22:50:14 +0000 (22:50 -0000)]
2008-05-03  Jb Evain  <jbevain@novell.com>

* LambdaExpression.cs: move checks to Expression
* Expression.cs: apply check for both typed and untyped lambda
creation, so that the constructor does not throws exception.
Needed to create instances of Expression<> for untyped lambda
factory method. Fixes #386322.

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

16 years agotest for #386322
Jb Evain [Fri, 2 May 2008 22:19:46 +0000 (22:19 -0000)]
test for #386322

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 21:16:42 +0000 (21:16 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.

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

16 years agoTurned DEBUG_STATISTICAL_PROFILER off...
Massimiliano Mantione [Fri, 2 May 2008 21:00:40 +0000 (21:00 -0000)]
Turned DEBUG_STATISTICAL_PROFILER off...

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

16 years ago2008-05-02 Everaldo Canuto <ecanuto@novell.com>
Everaldo Canuto [Fri, 2 May 2008 20:57:03 +0000 (20:57 -0000)]
2008-05-02  Everaldo Canuto  <ecanuto@novell.com>

* ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.

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

16 years ago2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 2 May 2008 20:55:48 +0000 (20:55 -0000)]
2008-05-02 Rodrigo Kumpera  <rkumpera@novell.com>

* verify.c (do_leave): Empty the stack.

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

16 years ago2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 2 May 2008 20:54:00 +0000 (20:54 -0000)]
2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>

* valid_leave_before_try_block.il: New test to ensure
that the leave opcode empties the stack.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 20:45:54 +0000 (20:45 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeVisualStyles.cs: Added support for TreeView.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 20:41:47 +0000 (20:41 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.

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

16 years agoA test for bug #371016, I finally got it.
Marek Safar [Fri, 2 May 2008 20:28:12 +0000 (20:28 -0000)]
A test for bug #371016, I finally got it.

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

16 years agoRework statistical profiler, adding the ability to scan symbol tables in elf files.
Massimiliano Mantione [Fri, 2 May 2008 20:27:38 +0000 (20:27 -0000)]
Rework statistical profiler, adding the ability to scan symbol tables in elf files.

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

16 years ago2008-05-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 May 2008 20:26:51 +0000 (20:26 -0000)]
2008-05-02  Marek Safar  <marek.safar@gmail.com>

A fix for bug #371016
* expression.cs: All predefined delegate operators require implicit method
group conversion.

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

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

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

16 years ago2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 2 May 2008 20:03:23 +0000 (20:03 -0000)]
2008-05-02 Rodrigo Kumpera  <rkumpera@novell.com>

* class.c (mono_class_is_assignable_from): Variance
doesn't work between reference and value types. For example,
given type C<T+>, C<int32> is not assignable to C<object>.
Break the argument checking loop on first error.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 20:01:10 +0000 (20:01 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* OpenFileDialog.cs: Implement 2.0 SP1 stuffs.

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

16 years ago2008-05-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 May 2008 19:53:49 +0000 (19:53 -0000)]
2008-05-02  Zoltan Varga  <vargaz@gmail.com>

* TraceTest.cs: Add a test for #385666.

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

16 years ago2008-05-02 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Fri, 2 May 2008 19:53:10 +0000 (19:53 -0000)]
2008-05-02  Zoltan Varga  <vargaz@gmail.com>

* TraceImpl.cs: Update the IndentLevel property of this class when Indent ()
or Unindent () are called. Fixes #385666.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 19:41:59 +0000 (19:41 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
Implement 2.0 SP1 stuffs.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 19:14:40 +0000 (19:14 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* FileDialog.cs: Implement 2.0 SP1 stuffs.

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

16 years agoblah
Jb Evain [Fri, 2 May 2008 19:11:58 +0000 (19:11 -0000)]
blah

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

16 years agohide helper methods to the world
Jb Evain [Fri, 2 May 2008 19:09:39 +0000 (19:09 -0000)]
hide helper methods to the world

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 19:02:20 +0000 (19:02 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
Implement CanEnableIme property. (2.0 SP1)

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

16 years ago2008-05-02 Jb Evain <jbevain@novell.com>
Jb Evain [Fri, 2 May 2008 18:56:41 +0000 (18:56 -0000)]
2008-05-02  Jb Evain  <jbevain@novell.com>

* Expression.cs: make Emit virtual instead of abstract,
to allow externals libraries to extend Expression.
Patch by Jan Oravec <jan.oravec@6com.sk>. Fixes #386097.

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

16 years agoNew test.
Marek Safar [Fri, 2 May 2008 18:24:59 +0000 (18:24 -0000)]
New test.

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

16 years ago2008-05-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 May 2008 18:22:22 +0000 (18:22 -0000)]
2008-05-02  Marek Safar  <marek.safar@gmail.com>

* constant.cs: Emit long constant as uint when fits the range.

* convert.cs, expression.cs: Fixed few unsafe conversions.

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

16 years ago2008-05-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 May 2008 18:02:20 +0000 (18:02 -0000)]
2008-05-02  Atsushi Enomoto  <atsushi@ximian.com>

        * ConvertTest.cs : added test for Convert.FromBase64String()
          with excessive = characters (r102358).

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

16 years ago2008-05-02 Atsushi Enomoto <atsushi@ximian.com>
Atsushi Eno [Fri, 2 May 2008 17:58:42 +0000 (17:58 -0000)]
2008-05-02  Atsushi Enomoto  <atsushi@ximian.com>

        * icall.c : base64_to_byte_array() needs some more strict
          check for sequence of '=' characters. Patch by Santa
          Marta (http://deee.g.hatena.ne.jp/santamarta).

          Contributed under MIT/X11 license.
          (see http://www.lingr.com/room/mono-jp/archives/2008/04/20)

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

16 years ago2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>
Rodrigo Kumpera [Fri, 2 May 2008 16:55:10 +0000 (16:55 -0000)]
2008-05-02 Rodrigo Kumpera <rkumpera@novell.com>

* BatchCompiler.cs: ilasm generates bad tokens when
compiling many times within the same appdomain.
Using one per source file. Compilation times are
now just a bit faster than before.

* Makefile: Fix typo.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 16:51:15 +0000 (16:51 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
from the 2.0 API.

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

16 years agoDataObject.cs: explicitly implement
Jonathan Pobst [Fri, 2 May 2008 16:40:25 +0000 (16:40 -0000)]
DataObject.cs: explicitly implement

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 16:33:39 +0000 (16:33 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* Control.cs: Provide an internal way for a control to override
the setting of Height.
* DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
set height using new method.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:48:39 +0000 (15:48 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:41:31 +0000 (15:41 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:31:03 +0000 (15:31 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeVisualStyles.cs: Added support for StatusBar.

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

16 years agoFixed last TODOs
Marek Safar [Fri, 2 May 2008 15:29:58 +0000 (15:29 -0000)]
Fixed last TODOs

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

16 years ago2008-05-02 Marek Safar <marek.safar@gmail.com>
Marek Safar [Fri, 2 May 2008 15:29:35 +0000 (15:29 -0000)]
2008-05-02  Marek Safar  <marek.safar@gmail.com>

* convert.cs, literal.cs: Don't wrap implicit reference conversion to object

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 15:18:57 +0000 (15:18 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataObject.cs: Add the other IDataObject interface.

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

16 years ago2008-05-02 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Fri, 2 May 2008 15:17:08 +0000 (15:17 -0000)]
2008-05-02  George Giolfan  <georgegiolfan@yahoo.com>

* ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 15:08:29 +0000 (15:08 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
* ListView.cs: Hide non-public API.
* MaskedTextBox.cs: Remove extra attribute.

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

16 years ago2008-05-02 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Fri, 2 May 2008 14:41:44 +0000 (14:41 -0000)]
2008-05-02  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewImageCell.cs: Use formatted value instead of value
to calculate preferred size.

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