Rodrigo Kumpera [Thu, 24 Jul 2008 16:40:40 +0000 (16:40 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* unverifiable_binary_compare_with_generic_argument.il:
* unverifiable_binary_compare_with_valuetype.il:
* unverifiable_ceq_with_generic_argument.il:
* unverifiable_ceq_with_valuetype.il:
Tests for valuetypes and generic arguments with
bne.un and ceq.
svn path=/trunk/mono/; revision=108672
Rodrigo Kumpera [Thu, 24 Jul 2008 16:38:39 +0000 (16:38 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_branch_op): Handle valuetypes and generic
arguments properly.
* verify.c (do_cmp_op): Same.
svn path=/trunk/mono/; revision=108671
Mark Probst [Thu, 24 Jul 2008 16:24:48 +0000 (16:24 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Fix memory leaks.
* class.c, class-internals.h: Make
mono_class_inflate_generic_type_with_mempool() non-static.
svn path=/trunk/mono/; revision=108669
Mark Probst [Thu, 24 Jul 2008 16:15:08 +0000 (16:15 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* mini-exceptions.c: Free a MonoType with
mono_metadata_free_type() instead of g_free().
* aot-runtime.c: Free a MonoType.
svn path=/trunk/mono/; revision=108666
Zoltan Varga [Thu, 24 Jul 2008 16:12:59 +0000 (16:12 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* System.Design_test.dll.sources: Fix CRLFs.
svn path=/trunk/mcs/; revision=108665
Zoltan Varga [Thu, 24 Jul 2008 16:05:37 +0000 (16:05 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Add a comment for the box+brtrue
optimization.
* mini-codegen.c (mono_local_regalloc): Remove the remaining items from the
fp stack on x86.
svn path=/trunk/mono/; revision=108663
Rodrigo Kumpera [Thu, 24 Jul 2008 15:55:06 +0000 (15:55 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* configure.in: Change USED_GC_NAME to show if parallel mark is used.
This is shown in mono --version.
svn path=/trunk/mono/; revision=108660
Gert Driesen [Thu, 24 Jul 2008 15:42:09 +0000 (15:42 -0000)]
* AssemblyInstaller.cs: Fixed argument name to match MS.
* EventLogInstaller.cs: API compatibility fixes for issues reported
by corcompare.
svn path=/trunk/mcs/; revision=108655
Gert Driesen [Thu, 24 Jul 2008 15:24:17 +0000 (15:24 -0000)]
* StringValueConverterTest.cs: Added test for StringValueConverter.
* System.Design.dll.sources: Added StringValueConverter.cs.
* System.Design_test.dll.sources: Added StringValueConverterTest.cs.
* StringValueConverter.cs: Implemented internal class used as
TypeConverter for several properties.
svn path=/trunk/mcs/; revision=108653
Rodrigo Kumpera [Thu, 24 Jul 2008 14:28:12 +0000 (14:28 -0000)]
2008-07-24 Rodrigo Kumpera <rkumpera@novell.com>
* pedump.c (dump_verify_info): Dump full class name.
svn path=/trunk/mono/; revision=108652
Marek Safar [Thu, 24 Jul 2008 12:59:39 +0000 (12:59 -0000)]
Updated after another AM optimizations.
svn path=/trunk/mcs/; revision=108649
Marek Safar [Thu, 24 Jul 2008 12:58:57 +0000 (12:58 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* lambda.cs, linq.cs, class.cs, iterators.cs, cs-parser.jay, assign.cs,
anonymous.cs, statement.cs: Always emit anonymous method as static method
when is instance free. Use nesting for nested anynomous methods blocks.
svn path=/trunk/mcs/; revision=108648
Zoltan Varga [Thu, 24 Jul 2008 10:45:04 +0000 (10:45 -0000)]
2008-07-24 Zoltan Varga <vargaz@gmail.com>
* ConsoleDriver.cs: Remove unused Suspend icall.
svn path=/trunk/mcs/; revision=108643
Mark Probst [Thu, 24 Jul 2008 10:10:59 +0000 (10:10 -0000)]
2008-07-24 Mark Probst <mark.probst@gmail.com>
* generic-sharing.c: Removed some old code that didn't do anything.
svn path=/trunk/mono/; revision=108641
Marek Safar [Thu, 24 Jul 2008 10:01:27 +0000 (10:01 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* Enumerable.cs (First): Optimized.
svn path=/trunk/mcs/; revision=108640
Marek Habersack [Thu, 24 Jul 2008 09:55:45 +0000 (09:55 -0000)]
2008-07-24 Marek Habersack <mhabersack@novell.com>
* DataGrid.cs: removed the private class TableID and moved its
code to ChildTable.cs (see below). 2.0 instantiates teh ChildTable
with the owner parameter now. Fixes bug #400377
* ChildTable.cs: refactoring - moved code from TableID previously
defined in DataGrid.cs to here and made the class available under
different names for both 1.x and 2.x profiles. Fixes bug #400377
svn path=/trunk/mcs/; revision=108638
Marek Habersack [Thu, 24 Jul 2008 09:20:29 +0000 (09:20 -0000)]
2008-07-24 Marek Habersack <mhabersack@novell.com>
* MailDefinition.cs: look for the mail body file in the correct
path. Patch from Jackson Harper <jaharper@novell.com>,
thanks! Fixes bug #408699
* PasswordRecovery.cs: do not ask password recovery question if
it's disabled. Patch from Jackson Harper <jaharper@novell.com>,
thanks! Fixes bug #408696
svn path=/trunk/mcs/; revision=108636
Marek Safar [Thu, 24 Jul 2008 09:14:56 +0000 (09:14 -0000)]
2008-07-24 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Always exercise symbol writer.
svn path=/trunk/mcs/; revision=108635
Massimiliano Mantione [Thu, 24 Jul 2008 08:24:52 +0000 (08:24 -0000)]
Emit full type names for loaded classes (patch by Rodrigo Kumpera).
svn path=/trunk/mono/; revision=108633
Massimiliano Mantione [Thu, 24 Jul 2008 08:18:53 +0000 (08:18 -0000)]
Use the new "runtime initialized" profiler hook.
svn path=/trunk/mono/; revision=108632
Massimiliano Mantione [Thu, 24 Jul 2008 08:18:37 +0000 (08:18 -0000)]
Call the new "runtime initialized" profiler hook.
svn path=/trunk/mono/; revision=108631
Massimiliano Mantione [Thu, 24 Jul 2008 08:18:22 +0000 (08:18 -0000)]
Added a new "runtime initialized" profiler hook.
svn path=/trunk/mono/; revision=108630
Raja R Harinath [Thu, 24 Jul 2008 06:23:56 +0000 (06:23 -0000)]
update to changes in compiler and class libraries
svn path=/trunk/mcs/; revision=108628
Rodrigo Kumpera [Thu, 24 Jul 2008 03:06:31 +0000 (03:06 -0000)]
2008-07-23 Rodrigo Kumpera <rkumpera@novell.com>
* valid_nested_field_access_with_generic_class.cs:
Check if nested access works with generic types.
* valid_isinst_box_generic_arguments.il: Check if generic
arguments should be boxed by isisnt and castclass.
svn path=/trunk/mono/; revision=108624
Rodrigo Kumpera [Thu, 24 Jul 2008 03:03:23 +0000 (03:03 -0000)]
2008-07-23 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (do_cast): Do boxing for generic arguments as well.
* class.c (is_nesting_type): Drop generic instantiations before
checking for nesting.
* class.c (can_access_instantiation): Allow access to generic
arguments.
svn path=/trunk/mono/; revision=108623
Rodrigo Kumpera [Wed, 23 Jul 2008 23:09:18 +0000 (23:09 -0000)]
2008-07-23 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verify_class_for_overlapping_reference_fields):
On some cases, the field size might be zero, guard against that.
Fix the explicit layout check to work as expected.
svn path=/trunk/mono/; revision=108607
Rodrigo Kumpera [Wed, 23 Jul 2008 22:52:09 +0000 (22:52 -0000)]
2008-07-23 Rodrigo Kumpera <rkumpera@novell.com>
* valid_generic_inst_field_might_have_zero_size.il:
Regression test found from gtest-106.exe
svn path=/trunk/mono/; revision=108606
Marek Safar [Wed, 23 Jul 2008 22:50:35 +0000 (22:50 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilder.cs (GetMethod): A fix for #408933
svn path=/trunk/mcs/; revision=108605
Zoltan Varga [Wed, 23 Jul 2008 21:51:38 +0000 (21:51 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* threads.c (ves_icall_System_Threading_Thread_Abort): Avoid calling
mono_thread_resume () during shutdown, since the thread we want to abort
might be suspended.
svn path=/trunk/mono/; revision=108601
Zoltan Varga [Wed, 23 Jul 2008 20:01:50 +0000 (20:01 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Set the stack type properly for
NEWOBJ calls on valuetypes.
* iltests.il.in: Add new test.
svn path=/trunk/mono/; revision=108592
Zoltan Varga [Wed, 23 Jul 2008 19:48:08 +0000 (19:48 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* mini-x86.c (mono_arch_emit_call): Use mini_type_stack_size ().
svn path=/trunk/mono/; revision=108591
Gert Driesen [Wed, 23 Jul 2008 18:16:05 +0000 (18:16 -0000)]
* ListViewItemTest.cs: Marked SerializeExact_Mono as NotWorking to fix
buildbot.
svn path=/trunk/mcs/; revision=108587
Zoltan Varga [Wed, 23 Jul 2008 17:14:32 +0000 (17:14 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=108582
Marek Safar [Wed, 23 Jul 2008 16:55:26 +0000 (16:55 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
* anonymous.cs (MutateGenericMethod): Added extra code path for imported
types.
svn path=/trunk/mcs/; revision=108580
Marek Safar [Wed, 23 Jul 2008 16:43:31 +0000 (16:43 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
* MethodBase.cs (GetMethodFromHandle): Needed for bootraping.
svn path=/trunk/mcs/; revision=108577
Marek Safar [Wed, 23 Jul 2008 15:55:16 +0000 (15:55 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
* expression.cs: Removed MakeSimpleCall.
svn path=/trunk/mcs/; revision=108567
Zoltan Varga [Wed, 23 Jul 2008 15:35:15 +0000 (15:35 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* mini-exceptions.c: Fix some warnings. Remove one ia64 special case as it
is no longer needed.
* mini-ia64.c (mono_arch_emit_prolog): In native-to-managed wrappers, widen
non register sized integer arguments.
(mono_arch_call_opcode): Add support for ArgInFloatRegR4.
(mono_arch_emit_outarg_vt): Pass a more reasonable alignment to
emit_memcpy2 ().
svn path=/trunk/mono/; revision=108565
Zoltan Varga [Wed, 23 Jul 2008 15:26:12 +0000 (15:26 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Handle the ret_var_is_local case in
CEE_MONO_RETOBJ.
svn path=/trunk/mono/; revision=108563
Marek Safar [Wed, 23 Jul 2008 15:19:56 +0000 (15:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=108560
Marek Safar [Wed, 23 Jul 2008 15:19:43 +0000 (15:19 -0000)]
New tests.
svn path=/trunk/mcs/; revision=108559
Marek Safar [Wed, 23 Jul 2008 15:19:28 +0000 (15:19 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
A fix for bug #323012
* class.cs, pending.cs: Emit proxy for indexers when they differ in name.
Base method implementing interface has to be public.
svn path=/trunk/mcs/; revision=108558
Zoltan Varga [Wed, 23 Jul 2008 15:17:53 +0000 (15:17 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (patch-libtool): New helper target.
svn path=/trunk/mono/; revision=108556
Zoltan Varga [Wed, 23 Jul 2008 13:57:21 +0000 (13:57 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (ADD_WIDEN_OP): New macro to insert a widening op when
two a binop with different sized arguments is emitted.
svn path=/trunk/mono/; revision=108551
Zoltan Varga [Wed, 23 Jul 2008 13:31:01 +0000 (13:31 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* mini.c (mono_bblock_insert_after_ins): Properly link up with the next
instruction in the ins==NULL case.
svn path=/trunk/mono/; revision=108550
Veerapuram Varadhan [Wed, 23 Jul 2008 12:59:01 +0000 (12:59 -0000)]
Memory leak fix
svn path=/trunk/mcs/; revision=108546
Veerapuram Varadhan [Wed, 23 Jul 2008 12:44:37 +0000 (12:44 -0000)]
On demand schemaTable generation - improves performance
svn path=/trunk/mcs/; revision=108544
Zoltan Varga [Wed, 23 Jul 2008 12:32:52 +0000 (12:32 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* mini-ops.h: Add OP_X86_OUTARG_ALIGN_STACK.
* mini-x86.c: Fix osx build.
svn path=/trunk/mono/; revision=108543
Marek Habersack [Wed, 23 Jul 2008 12:27:21 +0000 (12:27 -0000)]
2008-07-23 Marek Habersack <mhabersack@novell.com>
* EventHandlerList.cs: optimize the implementation.
svn path=/trunk/mcs/; revision=108542
Marek Safar [Wed, 23 Jul 2008 11:20:08 +0000 (11:20 -0000)]
2008-07-23 Marek Safar <marek.safar@gmail.com>
* cs-parser.jay: Don't break on missing argument.
svn path=/trunk/mcs/; revision=108541
Zoltan Varga [Wed, 23 Jul 2008 11:03:16 +0000 (11:03 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* mini-amd64.c (mono_arch_output_basic_block): Handle varargs in the CALL_REG
opcodes as well.
svn path=/trunk/mono/; revision=108540
Marek Habersack [Wed, 23 Jul 2008 10:28:50 +0000 (10:28 -0000)]
2008-07-23 Marek Habersack <mhabersack@novell.com>
* SqlDataSourceTest.cs: fix the failing test again.
svn path=/trunk/mcs/; revision=108538
Marek Habersack [Wed, 23 Jul 2008 10:18:44 +0000 (10:18 -0000)]
2008-07-23 Marek Habersack <mhabersack@novell.com>
* HttpApplication.cs: do not register handlers for
BeginRequest/EndRequest when called from within the
Application_Start handler. Fixes bug #411213
* HttpApplicationFactory.cs: let the application know we're
running the Application_Start handler so that it can suppress
registering some events from inside that handler (see bug
#381971). Fixes bug #411213
svn path=/trunk/mcs/; revision=108535
Zoltan Varga [Wed, 23 Jul 2008 10:04:18 +0000 (10:04 -0000)]
Really fix the build.
svn path=/trunk/mono/; revision=108534
Zoltan Varga [Wed, 23 Jul 2008 10:00:55 +0000 (10:00 -0000)]
Fix the build.
svn path=/trunk/mono/; revision=108533
Zoltan Varga [Wed, 23 Jul 2008 09:57:13 +0000 (09:57 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_spill_global_vars): Avoid fusing a load+store into the
instruction for non int sized variables.
svn path=/trunk/mono/; revision=108532
Raja R Harinath [Wed, 23 Jul 2008 07:52:19 +0000 (07:52 -0000)]
update to changes in compiler and class libraries
svn path=/trunk/mcs/; revision=108531
Zoltan Varga [Tue, 22 Jul 2008 23:37:17 +0000 (23:37 -0000)]
2008-07-23 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): Fix an assert in the LDFLD
implementation.
svn path=/trunk/mono/; revision=108522
Robert Jordan [Tue, 22 Jul 2008 22:30:39 +0000 (22:30 -0000)]
2008-07-23 Robert Jordan <robertj@gmx.net>
* libmono.vcproj: Reflect Linear IL changes.
* ../winconfig.h: Bump Mono version.
svn path=/trunk/mono/; revision=108521
Robert Jordan [Tue, 22 Jul 2008 22:25:29 +0000 (22:25 -0000)]
2008-07-23 Robert Jordan <robertj@gmx.net>
* method-to-ir.c: Fix MSVC build.
svn path=/trunk/mono/; revision=108520
Rodrigo Kumpera [Tue, 22 Jul 2008 20:19:54 +0000 (20:19 -0000)]
2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
* TypeBuilderTest.cs: Added tests for the special cased behavior
of GetMethod.
svn path=/trunk/mcs/; revision=108512
Rodrigo Kumpera [Tue, 22 Jul 2008 20:17:36 +0000 (20:17 -0000)]
2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
* EnumTest.cs: Tests for GetHashCode().
svn path=/trunk/mcs/; revision=108511
Gert Driesen [Tue, 22 Jul 2008 20:17:30 +0000 (20:17 -0000)]
* ListViewItem.cs: Changed binary serialization to match MS. Fixes
bug #409351.
* PictureBox.cs: When ImageLocation is set to null or an empty string,
only set image to null if it was previously initialized from an url
(or using ImageLocation). In ImageLocation, load specified image
asynchronously if WaitOnLoad is false. Added support for local file
paths to LoadAsync, and added missing argument check.
* ListViewItemTest.cs: Enabled (de)serialization tests.
* PictureBoxTest.cs: Enabled tests for bug #378308.
svn path=/trunk/mcs/; revision=108510
Rodrigo Kumpera [Tue, 22 Jul 2008 20:16:37 +0000 (20:16 -0000)]
In System.Reflection:
2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
* MonoGenericClass.cs (GetMethod): Under compiler mode allow
MethodOnTypeBuilderInst to be used..
In System.Reflection.Emit:
2008-07-22 Rodrigo Kumpera <rkumpera@novell.com>
* MethodOnTypeBuilderInst.cs: Change visibility of the parent
MethodBuilder to internal.
svn path=/trunk/mcs/; revision=108509
Gert Driesen [Tue, 22 Jul 2008 19:59:16 +0000 (19:59 -0000)]
* LosFormatter.cs: Avoid using Position when stream is unseekable.
Do not invoke Length property twice for seekable MemoryStream.
* LosFormatterTest.cs: Improved test for bug #411115.
svn path=/trunk/mcs/; revision=108506
Zoltan Varga [Tue, 22 Jul 2008 19:35:07 +0000 (19:35 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir2): When calling native code which returns
a non int sized type, widen it to an int since newer versions of gcc seem to
generate code which needs this.
svn path=/trunk/mono/; revision=108500
Zoltan Varga [Tue, 22 Jul 2008 18:22:11 +0000 (18:22 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* ssa2.c abcremoval2.c: Fix warnings.
svn path=/trunk/mono/; revision=108494
Zoltan Varga [Tue, 22 Jul 2008 17:34:51 +0000 (17:34 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* mono-debug-debugger.c (mono_debugger_check_breakpoints): Fix a
warning.
svn path=/trunk/mono/; revision=108490
Zoltan Varga [Tue, 22 Jul 2008 17:32:42 +0000 (17:32 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* debug-mono-symfile.c: Fix a warning.
* mono-perfcounters.c (get_cpu_times): Fix a warning.
svn path=/trunk/mono/; revision=108489
Zoltan Varga [Tue, 22 Jul 2008 17:27:29 +0000 (17:27 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* object.c (mono_class_vtable): Check if exception_type is set, and return
NULL as defined by the function comments.
svn path=/trunk/mono/; revision=108488
Carlos Alberto Cortez [Tue, 22 Jul 2008 17:25:14 +0000 (17:25 -0000)]
2008-07-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DateTimePicker.cs:
* ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
order to set the value as required (which means: when selection
changes for a part being edited, and not before that if not needed).
Also use an enum to describe which part are we using, and use the
selection as a property in PartData, in order to notify the
DateTimePicker owner that we need to end the current edit.
Fixes #383462.
svn path=/trunk/mcs/; revision=108487
Zoltan Varga [Tue, 22 Jul 2008 17:15:35 +0000 (17:15 -0000)]
Add more missing files.
svn path=/trunk/mono/; revision=108486
Zoltan Varga [Tue, 22 Jul 2008 17:14:28 +0000 (17:14 -0000)]
Add missing files.
svn path=/trunk/mono/; revision=108485
Zoltan Varga [Tue, 22 Jul 2008 16:50:23 +0000 (16:50 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* *: Merge the Linear IR branch.
The original branch is at trunk/branches/vargaz/mini-linear-il, and
the ChangeLog file there describes all the changes done over the years.
Further documentation can be found at www.mono-project.com/Linear_IL.
svn path=/trunk/mono/; revision=108479
Jonathan Pobst [Tue, 22 Jul 2008 15:00:28 +0000 (15:00 -0000)]
Add MonoTODO to VirtualMode.
svn path=/trunk/mcs/; revision=108471
Mark Probst [Tue, 22 Jul 2008 14:15:37 +0000 (14:15 -0000)]
2008-07-22 Mark Probst <mark.probst@gmail.com>
* configure.in: New configure option (--with-malloc-mempools) to
make mempools use malloc for every single allocation, which makes
it easier to use debugging/profiling tools like Valgrind.
2008-07-22 Mark Probst <mark.probst@gmail.com>
* mempool.c: Use malloc for every single mempool allocation if the
configure option is set. This makes it easier to track mempool
allocations with tools like Valgrind.
svn path=/trunk/mono/; revision=108469
Jb Evain [Tue, 22 Jul 2008 13:42:45 +0000 (13:42 -0000)]
2008-07-22 Jb Evain <jbevain@novell.com>
* reflection.c (create_dynamic_mono_image): emit the same
metadata version that SL2 does when creating a SL2 image.
svn path=/trunk/mono/; revision=108467
Marek Safar [Tue, 22 Jul 2008 13:33:20 +0000 (13:33 -0000)]
Errors -> Warnings
svn path=/trunk/mcs/; revision=108466
Marek Safar [Tue, 22 Jul 2008 13:32:58 +0000 (13:32 -0000)]
2008-07-22 Marek Safar <marek.safar@gmail.com>
A fix for bug #320993
* report.cs, parameter.cs, class.cs, decl.cs, delegate.cs, attribute.cs,
enum.cs, codegen.cs: Report CLS compliance errors as warnings.
svn path=/trunk/mcs/; revision=108465
Marek Safar [Tue, 22 Jul 2008 12:48:23 +0000 (12:48 -0000)]
New test.
svn path=/trunk/mcs/; revision=108464
Marek Safar [Tue, 22 Jul 2008 12:48:07 +0000 (12:48 -0000)]
2008-07-22 Marek Safar <marek.safar@gmail.com>
A fix for bug #320748
* convert.cs: Implicit user operators cannot convert to interfaces
svn path=/trunk/mcs/; revision=108463
Marek Safar [Tue, 22 Jul 2008 11:34:56 +0000 (11:34 -0000)]
2008-07-22 Marek Safar <marek.safar@gmail.com>
A test for bug #312686
svn path=/trunk/mcs/; revision=108457
Marek Safar [Tue, 22 Jul 2008 11:33:25 +0000 (11:33 -0000)]
2008-07-22 Marek Safar <marek.safar@gmail.com>
A fix for bug #312686
* driver.cs: Ignore empty assembly references.
svn path=/trunk/mcs/; revision=108456
Marek Safar [Tue, 22 Jul 2008 11:16:24 +0000 (11:16 -0000)]
New test.
svn path=/trunk/mcs/; revision=108455
Marek Safar [Tue, 22 Jul 2008 11:15:56 +0000 (11:15 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
* AppDomain.cs (Load): Check for 0-length assembly name.
svn path=/trunk/mcs/; revision=108454
Zoltan Varga [Tue, 22 Jul 2008 10:42:24 +0000 (10:42 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* CustomAttributeBuilder.cs (get_umarshal): Add support for all
MarshalAsAttribute fields to fix the build.
svn path=/trunk/mcs/; revision=108453
Marek Safar [Tue, 22 Jul 2008 10:34:35 +0000 (10:34 -0000)]
Updated.
svn path=/trunk/mcs/; revision=108451
Marek Safar [Tue, 22 Jul 2008 10:34:08 +0000 (10:34 -0000)]
2008-07-22 Marek Safar <marek.safar@gmail.com>
A fix for bug #387040
* ecore.cs: Skip constrains check for an explicit implementation.
svn path=/trunk/mcs/; revision=108450
Jb Evain [Tue, 22 Jul 2008 06:02:13 +0000 (06:02 -0000)]
2008-07-22 Jb Evain <jbevain@novell.com>
* CSharpCodeProvider.cs: fix the constructor to take an IDictionary
instead of a plain Dictionary for provider options.
* CSharpCodeGenerator.cs, CSharpCodeCompiler.cs: update accordingly.
Fixes #411105.
svn path=/trunk/mcs/; revision=108446
Bill Holmes [Tue, 22 Jul 2008 00:00:00 +0000 (00:00 -0000)]
2008-07-21 Bill Holmes <billholmes54@gmail.com>
* mono-membar.h : From previous commit. When including glib.h,
<> should be used and not "".
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=108432
Zoltan Varga [Mon, 21 Jul 2008 22:55:54 +0000 (22:55 -0000)]
2008-07-22 Zoltan Varga <vargaz@gmail.com>
* CustomAttributeBuilder.cs (get_umarshal): Decode enums properly.
svn path=/trunk/mcs/; revision=108425
Rodrigo Kumpera [Mon, 21 Jul 2008 22:12:13 +0000 (22:12 -0000)]
2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
* Enum.cs (GetHashCode): Use new icall get_hashcode to
avoid allocating a boxed version of the enum basetype.
svn path=/trunk/mcs/; revision=108423
Rodrigo Kumpera [Mon, 21 Jul 2008 21:44:03 +0000 (21:44 -0000)]
2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
* icall-def.h:
* icall.c: New icall System.Enum:get_hashcode. This function
avoids the overhead of boxing the enum to the underlying type.
svn path=/trunk/mono/; revision=108419
Bill Holmes [Mon, 21 Jul 2008 21:31:53 +0000 (21:31 -0000)]
2008-07-21 Bill Holmes <billholmes54@gmail.com>
* mini-amd64.c (get_call_info): Winx64 fix for passing floats.
The float param registers and other param registers must be the
same index on Windows x64.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=108417
Bill Holmes [Mon, 21 Jul 2008 19:43:19 +0000 (19:43 -0000)]
2008-07-21 Bill Holmes <billholmes54@gmail.com>
* mono-membar.h : Including glib.h to get definition of 'inline.' Needed
by the MSVC compiler.
Contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=108404
Marek Safar [Mon, 21 Jul 2008 18:31:59 +0000 (18:31 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
* ParameterBuilder.cs, CustomAttributeBuilder.cs: Check for
UnmanagedType.ByValArray to be used only on fields.
svn path=/trunk/mcs/; revision=108398
Marek Safar [Mon, 21 Jul 2008 17:49:58 +0000 (17:49 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
A test for bug #409045
svn path=/trunk/mcs/; revision=108393
Marek Safar [Mon, 21 Jul 2008 17:49:27 +0000 (17:49 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
A fix for bug #409045
* cs-tokenizer.cs, rootcontext.cs, class.cs, location.cs, delegate.cs,
cs-parser.jay, driver.cs, expression.cs, attribute.cs: Conditional
identifiers are file specific unless passed as input arguments.
svn path=/trunk/mcs/; revision=108392
Rodrigo Kumpera [Mon, 21 Jul 2008 16:34:19 +0000 (16:34 -0000)]
2008-07-21 Rodrigo Kumpera <rkumpera@novell.com>
* mini.c: Make the previous fix GC safe.
svn path=/trunk/mono/; revision=108382
Marek Safar [Mon, 21 Jul 2008 15:43:10 +0000 (15:43 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
* typemanager.cs, parameter.cs, class.cs, attribute.cs: Use an attribute
to emit UnmanagedMarshal data under 2.0 profile.
svn path=/trunk/mcs/; revision=108363
Marek Safar [Mon, 21 Jul 2008 15:09:52 +0000 (15:09 -0000)]
2008-07-21 Marek Safar <marek.safar@gmail.com>
A test for bug #410369
svn path=/trunk/mcs/; revision=108357