mono.git
16 years ago2008-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 23 Apr 2008 12:49:57 +0000 (12:49 -0000)]
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* domain-internals.h: added a declaration of
mono_make_shadow_copy.

* assembly.c (mono_assembly_open_full): shadow copying of
assemblies moved to here, so that all the assemblies within the
application domain's private binary directories can be
processed. Fixes bug #380546

* appdomain.c (mono_make_shadow_copy): make_shadow_copy renamed to
mono_make_shadow_copy and made non-static. The decision whether
to shadow-copy an assembly is made based on its location - it's
copied if it's in one of the private application domain binary
directories and its different to the target file in the shadow
directory. Fixes bug #380546

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

16 years ago2008-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Wed, 23 Apr 2008 12:41:26 +0000 (12:41 -0000)]
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* HttpApplication.cs: events registered from Application_Start are
silently ignored - any event registered after the one-time
application initialization is completed, is ignored. Fixes bug
#381971

* HttpApplicationFactory.cs: call app.DisposeInternal instead of
app.Dispose.

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

16 years agotest for last Constant change
Jb Evain [Wed, 23 Apr 2008 12:37:20 +0000 (12:37 -0000)]
test for last Constant change

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

16 years ago* Makefile.am (version.h): Add support for git-svn.
Raja R Harinath [Wed, 23 Apr 2008 12:33:54 +0000 (12:33 -0000)]
* Makefile.am (version.h): Add support for git-svn.

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

16 years ago2008-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 23 Apr 2008 11:49:52 +0000 (11:49 -0000)]
2008-04-23  Jb Evain  <jbevain@novell.com>

* Expression.cs (Constant): check for assignability, not for type
equality, when a type is passed.

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

16 years ago2008-04-23 Jb Evain <jbevain@novell.com>
Jb Evain [Wed, 23 Apr 2008 11:49:04 +0000 (11:49 -0000)]
2008-04-23  Jb Evain  <jbevain@novell.com>

* ExpressionPrinter.cs: ToString convert properly.

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

16 years agotests for Convert ToString
Jb Evain [Wed, 23 Apr 2008 11:47:51 +0000 (11:47 -0000)]
tests for Convert ToString

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 11:16:09 +0000 (11:16 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years agoNew test.
Marek Safar [Wed, 23 Apr 2008 11:13:23 +0000 (11:13 -0000)]
New test.

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

16 years ago2008-04-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 23 Apr 2008 11:12:37 +0000 (11:12 -0000)]
2008-04-23  Marek Safar  <marek.safar@gmail.com>

* ecore.cs, expression.cs, delegate.cs: Implemeted delegate instantiation
conversion to expression tree.

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 11:11:40 +0000 (11:11 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 11:05:17 +0000 (11:05 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 George Giolfan <georgegiolfan@yahoo.com>
George Giolfan [Wed, 23 Apr 2008 11:03:52 +0000 (11:03 -0000)]
2008-04-23  George Giolfan  <georgegiolfan@yahoo.com>

* SWF2k5.csproj: Updated.

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:55:56 +0000 (10:55 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years agosmall fix
Andreas N [Wed, 23 Apr 2008 10:47:10 +0000 (10:47 -0000)]
small fix

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:42:18 +0000 (10:42 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:27:07 +0000 (10:27 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 10:19:53 +0000 (10:19 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 09:59:53 +0000 (09:59 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Marek Safar <marek.safar@gmail.com>
Marek Safar [Wed, 23 Apr 2008 09:59:11 +0000 (09:59 -0000)]
2008-04-23  Marek Safar  <marek.safar@gmail.com>

* ecore.cs: Removed unused expression.

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

16 years agofix build
Andreas N [Wed, 23 Apr 2008 09:56:28 +0000 (09:56 -0000)]
fix build

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 09:39:39 +0000 (09:39 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: New format, fix attribute

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 09:32:18 +0000 (09:32 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 09:22:24 +0000 (09:22 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
Andreas N [Wed, 23 Apr 2008 09:09:10 +0000 (09:09 -0000)]
2008-04-23  Andreas Nahr <ClassDevelopment@A-SoftTech.com>

* AssemblyInfo.cs: Added missing attributes

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

16 years ago2008-04-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 23 Apr 2008 07:43:03 +0000 (07:43 -0000)]
2008-04-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* DragAndDropTest.cs: New dnd tests.

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

16 years ago* System.Windows.Forms/HtmlElement.cs,
Andreia Gaita [Wed, 23 Apr 2008 07:32:19 +0000 (07:32 -0000)]
* System.Windows.Forms/HtmlElement.cs,
  System.Windows.Forms/HtmlDocument.cs: Implement javscript method
  invocation

2008-04-23  Andreia Gaita <avidigal@novell.com>

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

16 years ago* HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
Andreia Gaita [Wed, 23 Apr 2008 06:28:42 +0000 (06:28 -0000)]
* HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  attaching/detaching

2008-04-23  Andreia Gaita <avidigal@novell.com>

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

16 years ago2008-04-23 Carlos Alberto Cortez <calberto.cortez@gmail.com>
Carlos Alberto Cortez [Wed, 23 Apr 2008 05:23:50 +0000 (05:23 -0000)]
2008-04-23  Carlos Alberto Cortez <calberto.cortez@gmail.com>

* X11Dnd.cs: When the drop was cancelled, or could just not be
performed, return DragDropEffect.None always (match .net).

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

16 years ago2008-04-23 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 22 Apr 2008 22:13:14 +0000 (22:13 -0000)]
2008-04-23  Marek Habersack  <mhabersack@novell.com>

* HttpContext.cs: Fix bug #371581 for 1.1 as well.

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

16 years ago2008-04-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Apr 2008 21:42:49 +0000 (21:42 -0000)]
2008-04-22  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.

2008-04-22  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowHeaderTest.cs: Add some tests for new
functionality.

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

16 years ago2008-04-22 Marek Habersack <mhabersack@novell.com>
Marek Habersack [Tue, 22 Apr 2008 21:33:34 +0000 (21:33 -0000)]
2008-04-22  Marek Habersack  <mhabersack@novell.com>

* BuildManager.cs: ignore also arbitrary exceptions when
batch-building an assembly. Fixes bug #323556

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 21:27:53 +0000 (21:27 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* reflection.c (fixup_method): Handle {Method|Constructor}OnTypeBuilderInst.

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

16 years ago2008-04-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Apr 2008 21:24:12 +0000 (21:24 -0000)]
2008-04-22  Jonathan Pobst  <monkey@jpobst.com>

* DataGridViewRowCollection.cs: Revert something I didn't mean to commit.

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

16 years ago2008-04-22 Robert Jordan <robertj@gmx.net>
Robert Jordan [Tue, 22 Apr 2008 20:36:07 +0000 (20:36 -0000)]
2008-04-22  Robert Jordan  <robertj@gmx.net>

* mono.1: Document MONO_DEBUG=no-gdb-backtrace.

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

16 years agoRichTextBoxTest.cs: Comment out a SendKeys to see if it fixes a test.
Jonathan Pobst [Tue, 22 Apr 2008 19:53:56 +0000 (19:53 -0000)]
RichTextBoxTest.cs: Comment out a SendKeys to see if it fixes a test.

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 19:47:39 +0000 (19:47 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* TypeBuilderTest.cs: Add tests for GetMethod () / GetConstructor ().

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

16 years ago2008-04-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Apr 2008 19:44:53 +0000 (19:44 -0000)]
2008-04-22  Jonathan Pobst  <monkey@jpobst.com>

* Makefile: Remove /labels option.

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 19:37:05 +0000 (19:37 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* MonoGenericClass.cs (GetMethod): Construct a MethodOnTypeBuilderInst object
instead of using GetCorrespondingInflatedMethod. This is needed so this class can
reflect the changes made to the builder after initialize () has been called.
Fixes #381547 and #354759.
(GetConstructor): Ditto.

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

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

* mini-exceptions.c (mono_handle_native_sigsegv): Rework the gdb calling code
so instead of calling g_spawn_command_line_sync, we do everything by hand,
avoiding allocations and libc functions which might deadlock.

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

16 years agoSelf contained test.
Marek Safar [Tue, 22 Apr 2008 18:19:16 +0000 (18:19 -0000)]
Self contained test.

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

16 years ago2008-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Apr 2008 18:05:45 +0000 (18:05 -0000)]
2008-04-22  Jb Evain  <jbevain@novell.com>

* Enumerable.cs (ToReadOnlyCollection): optimization, use
a generic singleton for empty read only collections.

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

16 years agofix retrieving of user defined convert operators
Jb Evain [Tue, 22 Apr 2008 17:39:38 +0000 (17:39 -0000)]
fix retrieving of user defined convert operators

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

16 years agoNew tests.
Marek Safar [Tue, 22 Apr 2008 17:32:30 +0000 (17:32 -0000)]
New tests.

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

16 years ago2008-04-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Apr 2008 17:32:11 +0000 (17:32 -0000)]
2008-04-22  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Implemented NegateChecked and New expressions.

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

16 years agorenaming
Jb Evain [Tue, 22 Apr 2008 17:04:52 +0000 (17:04 -0000)]
renaming

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 16:44:56 +0000 (16:44 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* mini-exceptions.c (mono_handle_native_sigsegv): Avoid calling gdb if the
'no-gdb-backtrace' option is set.

* mini.c (mini_parse_debug_options): Parse 'no-gdb-backtrace' option.

* mini.h (MonoDebugOptions): Add 'no_gdb_backtrace' option.

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

16 years agoNew tests.
Marek Safar [Tue, 22 Apr 2008 16:02:00 +0000 (16:02 -0000)]
New tests.

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

16 years ago2008-04-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Apr 2008 16:01:13 +0000 (16:01 -0000)]
2008-04-22  Marek Safar  <marek.safar@gmail.com>

* convert.cs, nullable.cs, expression.cs: Implemented Negate expression.

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

16 years ago2008-04-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Apr 2008 15:52:59 +0000 (15:52 -0000)]
2008-04-22  Marek Safar  <marek.safar@gmail.com>

* compiler-tester.cs: Print test name when IL reduction is detected.

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

16 years ago2008-04-22 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 22 Apr 2008 15:51:56 +0000 (15:51 -0000)]
2008-04-22  Dick Porter  <dick@ximian.com>

* FileTest.cs: Disable the test for bug 323389, as I've reverted
the fix.

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

16 years ago2008-04-22 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Tue, 22 Apr 2008 15:18:07 +0000 (15:18 -0000)]
2008-04-22  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView.cs: Add support for error icon tool tips.
* DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
* DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.

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

16 years ago2008-04-22 Dick Porter <dick@ximian.com>
Dick Porter [Tue, 22 Apr 2008 14:44:10 +0000 (14:44 -0000)]
2008-04-22  Dick Porter  <dick@ximian.com>

* wapi_glob.c (globextend): Comment out the code using ARG_MAX, as
that is broken on the latest opensuse.

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

16 years agowe pass those
Jb Evain [Tue, 22 Apr 2008 13:37:07 +0000 (13:37 -0000)]
we pass those

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

16 years ago2008-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Apr 2008 13:36:31 +0000 (13:36 -0000)]
2008-04-22  Jb Evain  <jbevain@novell.com>

* UnaryExpression.cs: implement IsLiftedToNull properly.
* Expression.cs (Convert, ConvertChecked): implemented computing
of IsLifted and IsLiftedToNull for conversions.

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

16 years agoFix #351102
Raja R Harinath [Tue, 22 Apr 2008 13:26:40 +0000 (13:26 -0000)]
Fix #351102

* anonymous.cs (AnonymousMethodExpression.DoResolve): Mark as
needing final 'ret' instruction.

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 12:46:49 +0000 (12:46 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* object-internals.h: Add MonoReflection{Method|Constructor}OnTypeBuilderInst
types.

* reflection.c (mono_image_create_token): Handle
Method/ConstructorOnTypeBuilderInst.
(resolve_object): Ditto.
(inflate_mono_method): Receive the inflated class instead of a MonoGenericClass
so it can be called from resolve_object. Also handle the case when the inflated
class already has its methods setup.

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 12:43:36 +0000 (12:43 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* corlib.dll.sources: Add System.Reflection.Emit/{Method,Constructor}OnTypeBuilderInst.cs.

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

16 years ago2008-04-22 Zoltan Varga <vargaz@gmail.com>
Zoltan Varga [Tue, 22 Apr 2008 12:43:14 +0000 (12:43 -0000)]
2008-04-22  Zoltan Varga  <vargaz@gmail.com>

* MethodOnTypeBuilderInst.cs ConstructorOnTypeBuilderInst: New files.

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

16 years agowe pass those
Jb Evain [Tue, 22 Apr 2008 12:32:51 +0000 (12:32 -0000)]
we pass those

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

16 years ago2008-04-22 Jb Evain <jbevain@novell.com>
Jb Evain [Tue, 22 Apr 2008 12:32:31 +0000 (12:32 -0000)]
2008-04-22  Jb Evain  <jbevain@novell.com>

* Expression.cs (Convert, ConvertChecked): implement.

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

16 years agomore convert tests
Jb Evain [Tue, 22 Apr 2008 11:49:40 +0000 (11:49 -0000)]
more convert tests

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

16 years ago ** Fixes Bug#381151
Veerapuram Varadhan [Tue, 22 Apr 2008 11:09:32 +0000 (11:09 -0000)]
    ** Fixes Bug#381151
        * SqlCommand.cs: Handle exceptions sanely and do not close
        connection on TdsTimeoutException.

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

16 years agoNew test.
Marek Safar [Tue, 22 Apr 2008 09:45:35 +0000 (09:45 -0000)]
New test.

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

16 years ago2008-04-22 Marek Safar <marek.safar@gmail.com>
Marek Safar [Tue, 22 Apr 2008 09:45:07 +0000 (09:45 -0000)]
2008-04-22  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Disabled lifted binary conversion on ISO-1 profiles.

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

16 years agoChange methods in Queryable.cs - call Provider.CreateQuery instead of Provider.Execute
Leonid Freydovich [Tue, 22 Apr 2008 09:16:55 +0000 (09:16 -0000)]
Change methods in Queryable.cs - call Provider.CreateQuery instead of Provider.Execute
in some of them. Add tests.

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

16 years agocomplete
Jb Evain [Tue, 22 Apr 2008 08:26:46 +0000 (08:26 -0000)]
complete

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

16 years agoReign in a stray closing brace.
Jonathan Pobst [Tue, 22 Apr 2008 02:40:14 +0000 (02:40 -0000)]
Reign in a stray closing brace.

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

16 years ago2008-04-22 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Tue, 22 Apr 2008 01:18:30 +0000 (01:18 -0000)]
2008-04-22  Ivan N. Zlatev  <contact@i-nz.net>

* X11Structs.cs: Add mouse button masks enum.
* XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
        WM_EXITSIZEMOVE only once at the beginning and at the end of the
form resize/move operation instead of for each step of it.
[Fixes bug #346529 for the x11 backend]

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

16 years ago2008-04-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Gonzalo Paniagua Javier [Tue, 22 Apr 2008 00:13:52 +0000 (00:13 -0000)]
2008-04-21 Gonzalo Paniagua Javier <gonzalo.mono@gmail.com>

* HttpWebResponse.cs: do not check the disposed status for properties
and methods that return response data other than the stream itself.
Fixes bug #381223.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 22:00:55 +0000 (22:00 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* DataGridView*: Implement support for drawing error icons.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 20:34:15 +0000 (20:34 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Removed `attach', `detach'
and `get_lmf_addr'; `notification_address' is no longer a pointer.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 20:28:31 +0000 (20:28 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Added `thread_vtable_ptr',
`thread_vtable', `event_handler_ptr' and `event_handler'.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 20:26:52 +0000 (20:26 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Make vbar and hbar internal.
* TreeNode.cs: If collapsing the node removes one of the TreeView's
scrollbars, invalidate the whole thing.
[Fixes bug #382001]

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 19:41:31 +0000 (19:41 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Add tests for bug #382028.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 19:38:00 +0000 (19:38 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* TreeView.cs: Calling Sort() sets Sorted = true.
* TreeNodeCollection.cs: Try to find the owner TreeView to determine
if the nodes need to be sorted.
[Fixes bug #382028]

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

16 years ago* SqlDateTime.cs: Changed argument names to match MS. Code formatting.
Gert Driesen [Mon, 21 Apr 2008 19:11:01 +0000 (19:11 -0000)]
* SqlDateTime.cs: Changed argument names to match MS. Code formatting.

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

16 years ago* SqlDecimal.cs: Changed argument names to match MS. Code formatting.
Gert Driesen [Mon, 21 Apr 2008 19:09:45 +0000 (19:09 -0000)]
* SqlDecimal.cs: Changed argument names to match MS. Code formatting.
* SqlNotFilledException.cs: Changed argument names to match MS. Code
formatting.     hanged argument names to match MS. Code
* SqlChars.cs: Changed argument names to match MS. Code formatting.
* SqlTypeException.cs: Changed argument names to match MS. Code
formatting.       ed argument names to match MS. Code
* SqlXml.cs: Changed argument names to match MS. Code formatting.
* SqlInt16.cs: Changed argument names to match MS. Code formatting.
* SqlInt64.cs: Changed argument names to match MS. Code formatting.
* SqlTruncateException.cs: Changed argument names to match MS.
Code formatting.    ged argument names to match MS.
* SqlDouble.cs: Changed argument names to match MS. Code formatting.
* SqlSingle.cs: Changed argument names to match MS. Code formatting.
* SqlBytes.cs: Changed argument names to match MS. Code formatting.
* SqlNullValueException.cs: Changed argument names to match MS. Code
formatting.     hanged argument names to match MS. Code
* SqlMoney.cs: Changed argument names to match MS. Code formatting.

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

16 years ago* SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
Gert Driesen [Mon, 21 Apr 2008 18:59:17 +0000 (18:59 -0000)]
* SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
match MS. Code formatting.
* SqlCommand.cs: Changed argument names to match MS. Code formatting.
Do not include explicit IDbCommand implementation on 2.0 profile.
* SqlCommandBuilder.cs: Changed argument names to match MS. Code
formatting.
* SqlDataReader.cs: Changed argument names to match MS. Code
formatting.
* SqlParameterCollection.cs: Do not include IList, ICollection and
IDataParameterCollection explicit interface implementation on 2.0
profile. Code formatting.
* SqlConnection.cs: Changed argument names to match MS.
* SqlDataAdapter.cs: Changed argument names to match MS.
* SqlTransaction.cs: Do not include explicit interface implementation
of IDbTransaction.Connection on 2.0 profile. Code formatting.

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

16 years ago* OleDbDataAdapter.cs: Changed argument names to match MS. Removed
Gert Driesen [Mon, 21 Apr 2008 18:47:10 +0000 (18:47 -0000)]
* OleDbDataAdapter.cs: Changed argument names to match MS. Removed
extra explicit interface implementation.
* OleDbParameter.cs: Changed argument names to match MS.
* OleDbTransaction.cs: Do not include IDbConnection.Connection and
IDisposable.Dispose for 2.0 profile.
* OleDbParameterCollection.cs: Changed argument names to match MS.
Do not include explicit interface implementations on 2.0 profile.
* OleDbConnection.cs: Changed argument names to match MS. Code
formatting.

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

16 years ago* OdbcParameterCollection.cs: Changed argument names to match MS.
Gert Driesen [Mon, 21 Apr 2008 18:33:35 +0000 (18:33 -0000)]
* OdbcParameterCollection.cs: Changed argument names to match MS.
Code formatting.

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

16 years ago2008-04-21 Ivan N. Zlatev <contact@i-nz.net>
Ivan Zlatev [Mon, 21 Apr 2008 17:45:35 +0000 (17:45 -0000)]
2008-04-21  Ivan N. Zlatev  <contact@i-nz.net>

* Form.cs: Fire SizeChanged for both when the form is minimized and
restored.
* XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
on PropertyNotify of _NET_WM_STATE. Much much cleaner.

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

16 years ago* DataColumnMappingCollection.cs: Modified argument names to match
Gert Driesen [Mon, 21 Apr 2008 17:43:13 +0000 (17:43 -0000)]
* DataColumnMappingCollection.cs: Modified argument names to match
MS. Code formatting.
* DataTableMappingCollection.cs: Modified argument names to match MS.
Code formatting.

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

16 years ago* DataRowView.cs: Modified argument names to match MS. Use
Gert Driesen [Mon, 21 Apr 2008 17:39:07 +0000 (17:39 -0000)]
* DataRowView.cs: Modified argument names to match MS. Use
String.Empty instead of "". Code formatting.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 16:47:48 +0000 (16:47 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mono-debug.h (MONO_DEBUGGER_VERSION): Bump to 69.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 16:47:35 +0000 (16:47 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* debug-debugger.h (MonoDebuggerInfo): Added `init_code_buffer';
allows delayed initialization of the `executable_code_buffer' when
attaching.

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

16 years agoThe first SLE pass.
Marek Safar [Mon, 21 Apr 2008 16:45:46 +0000 (16:45 -0000)]
The first SLE pass.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 16:44:22 +0000 (16:44 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

* expression.cs: Emit ldnull and not null expression as an instance argument
 of static method expression calls.

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

16 years ago2008-04-21 Dick Porter <dick@ximian.com>
Dick Porter [Mon, 21 Apr 2008 16:16:16 +0000 (16:16 -0000)]
2008-04-21  Dick Porter  <dick@ximian.com>

* io.c (DeleteFile): Disable for now the bug fix for 323389, it's
breaking too much other stuff.

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

16 years agofixed
Jb Evain [Mon, 21 Apr 2008 16:10:17 +0000 (16:10 -0000)]
fixed

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

16 years ago2008-04-21 Jb Evain <jbevain@novell.com>
Jb Evain [Mon, 21 Apr 2008 16:09:54 +0000 (16:09 -0000)]
2008-04-21  Jb Evain  <jbevain@novell.com>

* Expression.cs (Call): don't rely on the fact that if the
instance expression is null, then it's a static call. Explicitely
check on the MethodInfo for that.
* EmitContext.cs (EmitCall): same pattern.

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

16 years agotest for last Marek's issue
Jb Evain [Mon, 21 Apr 2008 16:05:47 +0000 (16:05 -0000)]
test for last Marek's issue

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

16 years agoNew test.
Marek Safar [Mon, 21 Apr 2008 16:01:07 +0000 (16:01 -0000)]
New test.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 15:44:41 +0000 (15:44 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #378200
* expression.cs: Fixed crash when creating parameterless expression tree
method call.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 15:37:03 +0000 (15:37 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mini.h (mono_debugger_create_notification_function): Removed.
* tramp-*.c (mono_debugger_create_notification_function): Removed.

* mdb-debug-info64.s
(MONO_DEBUGGER__notification_function): Added this in the .text section.

* mdb-debug-info32.s
(MONO_DEBUGGER__notification_function): Added this in the .text section.

* Makefile.am: Fix the mdb-debug-info*.s logic; the debugger
currently only works on x86 and x86_64, so don't create it on ppc.

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

16 years agoNew test.
Marek Safar [Mon, 21 Apr 2008 15:27:33 +0000 (15:27 -0000)]
New test.

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

16 years ago2008-04-21 Marek Safar <marek.safar@gmail.com>
Marek Safar [Mon, 21 Apr 2008 15:27:19 +0000 (15:27 -0000)]
2008-04-21  Marek Safar  <marek.safar@gmail.com>

A fix for bug #375297
* anonymous.cs: Fixed crash when inferring from null argument anonymous
method.

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

16 years ago2008-04-21 Jonathan Pobst <monkey@jpobst.com>
Jonathan Pobst [Mon, 21 Apr 2008 15:21:51 +0000 (15:21 -0000)]
2008-04-21  Jonathan Pobst  <monkey@jpobst.com>

* ComboBox.cs: If the combobox is disabled, draw a disabled
background before painting anything else.
[Fixes bug #381729]

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 14:51:28 +0000 (14:51 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mono.1: Documented the new --debug=mdb-optimizations option.

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

16 years ago2008-04-21 Martin Baulig <martin@ximian.com>
Martin Baulig [Mon, 21 Apr 2008 14:50:43 +0000 (14:50 -0000)]
2008-04-21  Martin Baulig  <martin@ximian.com>

* mini.h (MonoDebugOptions): Added `mdb_optimizations'.

* mini.c
(mini_method_compile): In the fp elimination check, check
`debug_options.mdb_optimizations' in addition to
mono_debug_using_mono_debugger().

* driver.c (mono_main): Added `--debug=mdb-optimizations' option to
disable some JIT optimizations which are only disabled when
running inside the debugger.
Added `--help-debug' option to describe the debugging options.
(parse_debug_options): New static function to parse the `--debug'
options, so we can easily add more stuff in future.

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