Sebastien Pouliot [Thu, 5 Nov 2009 21:13:15 +0000 (21:13 -0000)]
2009-11-05 Sebastien Pouliot <sebastien@ximian.com>
* class.c: When CoreCLR is enabled don't call mono_init_com_types
if MONO_CLASS_IS_IMPORT return true unless the type reside in
platform (trusted) code. Instead we return a TypeLoadException to
be thrown later. This is the exception thrown by Silverlight 2 if
a type, inside application (user) code is marked with [ComImport]
svn path=/trunk/mono/; revision=145534
Zoltan Varga [Thu, 5 Nov 2009 18:10:34 +0000 (18:10 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (debugger_thread): Call mono_set_is_debugger_attached ()
after the client connects/disconnects.
svn path=/trunk/mono/; revision=145522
Zoltan Varga [Thu, 5 Nov 2009 18:10:27 +0000 (18:10 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* icall.c (ves_icall_System_Diagnostics_Debugger_IsAttached_internal): Call
mono_is_debugger_attached () too.
* mono-debug.c (mono_is_debugger_attached): New helper function.
(mono_set_is_debugger_attached): Ditto.
svn path=/trunk/mono/; revision=145521
Marek Safar [Thu, 5 Nov 2009 18:08:26 +0000 (18:08 -0000)]
New tests.
svn path=/trunk/mcs/; revision=145520
Marek Safar [Thu, 5 Nov 2009 18:08:10 +0000 (18:08 -0000)]
2009-11-05 Marek Safar <marek.safar@gmail.com>
* parameter.cs: Handle nullable parameter default expression.
* argument.cs, dynamic.cs, expression.cs, support.cs, ecore.cs,
class.cs, attribute.cs: Check for wrong dynamic arguments.
svn path=/trunk/mcs/; revision=145519
Marek Safar [Thu, 5 Nov 2009 17:50:59 +0000 (17:50 -0000)]
Use version file masks
svn path=/trunk/mcs/; revision=145515
Marek Safar [Thu, 5 Nov 2009 17:49:40 +0000 (17:49 -0000)]
2009-11-05 Marek Safar <marek.safar@gmail.com>
* compiler-tester.cs: Add predefined negative file masks.
svn path=/trunk/mcs/; revision=145514
Rodrigo Kumpera [Thu, 5 Nov 2009 17:45:58 +0000 (17:45 -0000)]
2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
* class.c: Add missing check for load errors after every
call to mono_class_setup_fields
Fixes #552282.
svn path=/trunk/mono/; revision=145501
Zoltan Varga [Thu, 5 Nov 2009 17:03:26 +0000 (17:03 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add an 'onthrow' option to start the debugger agent
when an exception of a given type is thrown.
svn path=/trunk/mono/; revision=145496
Zoltan Varga [Thu, 5 Nov 2009 16:45:37 +0000 (16:45 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add a 'onuncaught' option to start the debugger agent
only on an uncaught exception.
* mini-exceptions.c: Notify the debugger agent on an uncaught exception.
svn path=/trunk/mono/; revision=145493
Rodrigo Kumpera [Thu, 5 Nov 2009 13:53:04 +0000 (13:53 -0000)]
2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
metadata-verify.c (verify_tables_schema): Fix the error message.
svn path=/trunk/mono/; revision=145479
Rodrigo Kumpera [Thu, 5 Nov 2009 13:52:55 +0000 (13:52 -0000)]
2009-11-05 Rodrigo Kumpera <rkumpera@novell.com>
* metadata.c: Change event table schema to use TDOR for event type
as this is what it's meant to be.
* metadata.c (mono_metadata_compute_size): Change MONO_TABLE_ASSEMBLYPROCESSOR
to MONO_TABLE_ASSEMBLYREFPROCESSOR, which is table that has a MONO_MT_TABLE_IDX
entry.
* metadata.c (mono_metadata_compute_size): Trim MT_TABLE_IDX of code that no
longer makes sense: remove MONO_TABLE_EVENT and remove checks for non-existent
rows in MONO_TABLE_GENERICPARAM.
Fixes #552289.
svn path=/trunk/mono/; revision=145478
Rodrigo Kumpera [Thu, 5 Nov 2009 13:52:45 +0000 (13:52 -0000)]
2009-11-04 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_image_add_to_name_cache): Assert on duplicate
insertion.
* reflection.c (mono_reflection_setup_internal_class): Avoid
registering a gc root the same MonoClass multiple times.
Don't register nested types on the global scope as they should
not be available there.
svn path=/trunk/mono/; revision=145477
Marek Safar [Thu, 5 Nov 2009 10:23:18 +0000 (10:23 -0000)]
New tests.
svn path=/trunk/mcs/; revision=145470
Marek Safar [Thu, 5 Nov 2009 10:10:06 +0000 (10:10 -0000)]
2009-11-05 Marek Safar <marek.safar@gmail.com>
* statement.cs: Dynamic statements.
svn path=/trunk/mcs/; revision=145469
Rolf Bjarne Kvinge [Thu, 5 Nov 2009 10:06:30 +0000 (10:06 -0000)]
In mono/metadata:
2009-11-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* culture-info-tables.h: regenerated.
In tools/locale-builder:
2009-11-05 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Driver.cs: Generate locale data for neutral cultures too. Moonlight
requires it.
svn path=/trunk/mono/; revision=145467
Rolf Bjarne Kvinge [Thu, 5 Nov 2009 09:34:08 +0000 (09:34 -0000)]
2009-11-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* CultureInfo.cs: Allow neutral cultures, and fix zh-Hans/zh-Hant
- they're stored internally as zh-chs/zh-cht, and only visible as
zh-Hans/zh-Hant. zh-CHS/zh-CHS are invalid cultures in SL.
svn path=/trunk/mcs/; revision=145464
Zoltan Varga [Thu, 5 Nov 2009 05:55:04 +0000 (05:55 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* VirtualMachineManager.cs (Listen): Resurrect the old listen method.
svn path=/trunk/mcs/; revision=145459
Zoltan Varga [Thu, 5 Nov 2009 05:00:15 +0000 (05:00 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add a 'launch' option.
svn path=/trunk/mono/; revision=145458
Zoltan Varga [Thu, 5 Nov 2009 04:31:05 +0000 (04:31 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add a 'timeout' option.
svn path=/trunk/mono/; revision=145456
Zoltan Varga [Thu, 5 Nov 2009 04:08:25 +0000 (04:08 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Implement the 'server' and 'suspend' options supported by
the JDWP agent.
svn path=/trunk/mono/; revision=145455
Zoltan Varga [Thu, 5 Nov 2009 04:04:11 +0000 (04:04 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* VirtualMachineManager.cs (Connect): New method to connect to a runtime
listening at the provided address.
svn path=/trunk/mcs/; revision=145453
Gonzalo Paniagua Javier [Thu, 5 Nov 2009 00:52:58 +0000 (00:52 -0000)]
2009-11-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* debug-helpers.c: avoid g_strdup() in mono_type_full_name().
svn path=/trunk/mono/; revision=145449
Gonzalo Paniagua Javier [Thu, 5 Nov 2009 00:36:31 +0000 (00:36 -0000)]
2009-11-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* aot-compiler.c: don't leak the value returned from
mono_type_full_name().
svn path=/trunk/mono/; revision=145447
Zoltan Varga [Thu, 5 Nov 2009 00:20:46 +0000 (00:20 -0000)]
2009-11-05 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (set_breakpoint): Emit a log message.
svn path=/trunk/mono/; revision=145443
Zoltan Varga [Thu, 5 Nov 2009 00:20:38 +0000 (00:20 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* mini-arm.c: Fix the arm build.
svn path=/trunk/mono/; revision=145442
Miguel de Icaza [Wed, 4 Nov 2009 22:37:52 +0000 (22:37 -0000)]
MoreDocs
svn path=/trunk/mono/; revision=145438
Miguel de Icaza [Wed, 4 Nov 2009 22:25:56 +0000 (22:25 -0000)]
Update
svn path=/trunk/mono/; revision=145437
Miguel de Icaza [Wed, 4 Nov 2009 22:04:21 +0000 (22:04 -0000)]
Update
svn path=/trunk/mono/; revision=145434
Rodrigo Kumpera [Wed, 4 Nov 2009 20:23:46 +0000 (20:23 -0000)]
2009-11-04 Rodrigo Kumpera <rkumpera@novell.com>
* class.h: Move mono_class_inflate_generic_type_checked...
* class-internals.h: to here and make it internal. We don't want to
further expose MonoGenericContext.
svn path=/trunk/mono/; revision=145423
Rodrigo Kumpera [Wed, 4 Nov 2009 20:23:36 +0000 (20:23 -0000)]
2009-11-04 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (mono_method_verify): Improve error message.
svn path=/trunk/mono/; revision=145422
Sebastien Pouliot [Wed, 4 Nov 2009 19:32:34 +0000 (19:32 -0000)]
2009-11-04 Sebastien Pouliot <sebastien@ximian.com>
* string-icalls.c|h: Remove string internal calls that are not
used anymore by the class libraries.
* icall.c: Remove System_Reflection_FieldInfo_internal_from_handle
which is not used in the class librairies.
* icall-def.h: Update tables.
svn path=/trunk/mono/; revision=145416
Gonzalo Paniagua Javier [Wed, 4 Nov 2009 19:24:03 +0000 (19:24 -0000)]
2009-11-04 Gonzalo Paniagua Javier <gonzalo@novell.com>
* debugger-agent.c: defer including mono-mutex.h until we know the
agent is supported.
svn path=/trunk/mono/; revision=145415
Marek Safar [Wed, 4 Nov 2009 17:52:11 +0000 (17:52 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145409
Marek Safar [Wed, 4 Nov 2009 17:51:51 +0000 (17:51 -0000)]
2009-11-04 Marek Safar <marek.safar@gmail.com>
* CSharpIsEventBinder.cs: Dynamic events implementation.
* *.cs: Make CSharpBinder instance and share common checks.
svn path=/trunk/mcs/; revision=145408
Marek Safar [Wed, 4 Nov 2009 17:48:17 +0000 (17:48 -0000)]
2009-11-04 Marek Safar <marek.safar@gmail.com>
* dynamic.cs, assign.cs, context.cs, expression.cs, ecore.cs:
Compound assignments over dynamic type.
svn path=/trunk/mcs/; revision=145407
Jonathan Chambers [Wed, 4 Nov 2009 15:21:45 +0000 (15:21 -0000)]
2009-11-04 Jonathan Chambers <joncham@gmail.com>
* debugger-agent.c: Changes to build on windows. Use mono-mutex instead
of pthreads directly.
* mini.c (mono_sigfpe_signal_handler): Changed signature of Windows
exception handlers. Pass info argument.
* mini.h: Adjust signatures of soft debugger functions to pass void*
instead of siginfo_t. Adjust SIG_HANDLER_SIGNATURE on Windows.
* mini-amd64.c (mono_arch_is_single_step_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
(mono_arch_is_breakpoint_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
* mini-amd64.h: Adjust MonoW32ExceptionHandler signature.
* mini-x86.c (mono_arch_is_single_step_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
(mono_arch_is_breakpoint_event): Adjust signature to pass void*
instead of siginfo_t. Value is EXCEPTION_RECORD on Windows.
* mini-x86.h: Adjust MonoW32ExceptionHandler signature.
* exceptions-x86.c: Adjust W32_SEH_HANDLE_EX for new signature.
* exceptions-amd64.c: Adjust W32_SEH_HANDLE_EX for new signature.
* mono-semaphore.h: Skeleton implementation for Windows.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145401
Zoltan Varga [Wed, 4 Nov 2009 14:38:28 +0000 (14:38 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* acinclude.m4 (dolt_supported): Applied patch from Kornél Pál
<kornelpal@gmail.com>. Enable dolt on cygwin.
svn path=/trunk/mono/; revision=145399
Rodrigo Kumpera [Wed, 4 Nov 2009 13:36:19 +0000 (13:36 -0000)]
2009-11-04 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (fieldref_encode_signature): If field_image is NULL then
the token is already properly encoded. Fixs 4.0 build.
svn path=/trunk/mono/; revision=145396
Jonathan Chambers [Wed, 4 Nov 2009 13:17:11 +0000 (13:17 -0000)]
2009-11-04 Jonathan Chambers <joncham@gmail.com>
* simd-intrinsics.c (simd_intrinsic_emit_setter): Unfix my fix.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145395
Jonathan Chambers [Wed, 4 Nov 2009 13:13:23 +0000 (13:13 -0000)]
2009-11-04 Jonathan Chambers <joncham@gmail.com>
* simd-intrinsics.c (simd_intrinsic_emit_setter): Fix windows build.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145394
Rolf Bjarne Kvinge [Wed, 4 Nov 2009 11:38:13 +0000 (11:38 -0000)]
2009-11-04 Rolf Bjarne Kvinge <RKvinge@novell.com>
* locales.c (construct_number_format): Check if the number index is
valid before trying to use it, if not, just return.
svn path=/trunk/mono/; revision=145386
Marek Habersack [Wed, 4 Nov 2009 09:50:04 +0000 (09:50 -0000)]
2009-11-04 Marek Habersack <mhabersack@novell.com>
* WebTest.cs: include App_GlobalResources only when compiling
System.Web tests.
svn path=/trunk/mcs/; revision=145381
Marek Habersack [Wed, 4 Nov 2009 09:25:33 +0000 (09:25 -0000)]
Fix the 2.1 bootstrap phase
svn path=/trunk/mcs/; revision=145379
Gonzalo Paniagua Javier [Wed, 4 Nov 2009 03:31:53 +0000 (03:31 -0000)]
2009-11-03 Gonzalo Paniagua Javier <gonzalo@novell.com>
* Socket_2_1.cs: stop any blocking thread before closing the socket.
svn path=/trunk/mcs/; revision=145369
Zoltan Varga [Wed, 4 Nov 2009 02:54:26 +0000 (02:54 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* aot-compiler.c (mono_save_xdebug_info): Bump the threshold for flushing
debug info to 100 because 10 still slows down gdb too much.
svn path=/trunk/mono/; revision=145367
Zoltan Varga [Wed, 4 Nov 2009 02:54:19 +0000 (02:54 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* thread6.cs: Add a test for 539394. Convert to using the TestRunner.
svn path=/trunk/mono/; revision=145366
Zoltan Varga [Wed, 4 Nov 2009 02:54:12 +0000 (02:54 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_runtime_invoke): Don't reset abort exceptions,
since that loses the abort state. Fixes #539394.
svn path=/trunk/mono/; revision=145365
Zoltan Varga [Wed, 4 Nov 2009 02:54:02 +0000 (02:54 -0000)]
2009-11-04 Zoltan Varga <vargaz@gmail.com>
* method-to-ir.c (mono_method_to_ir): Avoid rethrowing thread abort exceptions
inside runtime invoke wrappers. This avoids the need to call ResetAbort () on
them in the wrappers.
svn path=/trunk/mono/; revision=145364
Geoff Norton [Wed, 4 Nov 2009 01:39:41 +0000 (01:39 -0000)]
ensure we add punctuation as characters, patch from john moshakis
svn path=/trunk/mcs/; revision=145361
Geoff Norton [Wed, 4 Nov 2009 01:34:04 +0000 (01:34 -0000)]
remove confusing debug spew
svn path=/trunk/mcs/; revision=145356
Gonzalo Paniagua Javier [Wed, 4 Nov 2009 00:45:14 +0000 (00:45 -0000)]
add new library for windows
svn path=/trunk/mono/; revision=145351
Lluis Sanchez [Tue, 3 Nov 2009 23:57:23 +0000 (23:57 -0000)]
2009-11-04 Lluis Sanchez <lluis@novell.com>
* VirtualMachineManager.cs: Properly redirect standard output.
svn path=/trunk/mcs/; revision=145347
Geoff Norton [Tue, 3 Nov 2009 23:19:43 +0000 (23:19 -0000)]
oops, backport using too
svn path=/trunk/mcs/; revision=145343
Geoff Norton [Tue, 3 Nov 2009 23:17:16 +0000 (23:17 -0000)]
update to the latest listening api
svn path=/trunk/mcs/; revision=145341
Rodrigo Kumpera [Tue, 3 Nov 2009 22:41:11 +0000 (22:41 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* reflection.c (fieldref_encode_signature): Add new field_image parameter
to indicate which assembly to use when resolving a custom-mod.
Fixes handling of volatile fields used across assemblies as reported in #551513.
svn path=/trunk/mono/; revision=145337
Rodrigo Kumpera [Tue, 3 Nov 2009 22:40:34 +0000 (22:40 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* loader.c: Improve error messages.
svn path=/trunk/mono/; revision=145336
Sebastien Pouliot [Tue, 3 Nov 2009 21:57:55 +0000 (21:57 -0000)]
2009-11-03 Sebastien Pouliot <sebastien@ximian.com>
* SocketAsyncEventArgs.cs: Set error back to SocketError.Success
once CheckEndPoint succeed.
[Fix bug #549586]
svn path=/trunk/mcs/; revision=145329
Zoltan Varga [Tue, 3 Nov 2009 21:09:27 +0000 (21:09 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* mini-trampolines.c (mono_llvm_vcall_trampoline): Add an assert.
svn path=/trunk/mono/; revision=145324
Zoltan Varga [Tue, 3 Nov 2009 21:03:42 +0000 (21:03 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* marshal.c (mono_marshal_get_native_wrapper): For icall wrappers, add an
explicit this argument to the call signature.
(mono_marshal_get_icall_wrapper): Ditto.
svn path=/trunk/mono/; revision=145322
Marek Habersack [Tue, 3 Nov 2009 20:19:37 +0000 (20:19 -0000)]
More 1.1 code and NET_2_0 ifdefs removed
svn path=/trunk/mcs/; revision=145319
Sebastien Pouliot [Tue, 3 Nov 2009 19:17:10 +0000 (19:17 -0000)]
2009-11-03 Sebastien Pouliot <sebastien@ximian.com>
* net_2_1_raw_System.dll.sources: Remove build/common/*.cs files
since this will confuse other assemblies (e.g. System.Net.dll)
to select mscorlib or System.dll version of the internal types
svn path=/trunk/mcs/; revision=145313
Marek Safar [Tue, 3 Nov 2009 19:01:02 +0000 (19:01 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145312
Marek Safar [Tue, 3 Nov 2009 19:00:46 +0000 (19:00 -0000)]
2009-11-03 Marek Safar <marek.safar@gmail.com>
* CSharpInvokeConstructorBinder.cs: Dynamic constructors.
svn path=/trunk/mcs/; revision=145311
Marek Safar [Tue, 3 Nov 2009 18:59:41 +0000 (18:59 -0000)]
2009-11-03 Marek Safar <marek.safar@gmail.com>
* argument.cs, dynamic.cs, expression.cs, delegate.cs: Dynamic
constructor arguments.
svn path=/trunk/mcs/; revision=145310
Rodrigo Kumpera [Tue, 3 Nov 2009 17:50:33 +0000 (17:50 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* interface-with-static-method.il: New test for an interface with static
constructor.
svn path=/trunk/mono/; revision=145308
Rodrigo Kumpera [Tue, 3 Nov 2009 17:50:24 +0000 (17:50 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* class.c (mono_class_setup_methods): Only give a slot for virtual methods
of interfaces. Fixes IKVM.
* class.c (mono_class_setup_vtable_general): Improve debug spew.
svn path=/trunk/mono/; revision=145307
Jb Evain [Tue, 3 Nov 2009 17:06:01 +0000 (17:06 -0000)]
2009-11-03 Jb Evain <jbevain@novell.com>
* Mono.Tuner/CheckVisibility.cs: detect a throw_on_visibility_error
linker parameter to decide whether or not throw when an error
have been encountered.
svn path=/trunk/mcs/; revision=145304
Zoltan Varga [Tue, 3 Nov 2009 16:39:19 +0000 (16:39 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* simd-intrinsics.c (simd_intrinsic_emit_setter): Fix a warning.
svn path=/trunk/mono/; revision=145301
Zoltan Varga [Tue, 3 Nov 2009 16:36:32 +0000 (16:36 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* aot-runtime.c (mono_aot_get_method): Refactor some code into a new helper
function mono_aot_get_array_helper_from_wrapper ().
* aot-compiler.c (add_generic_class): Refactor the code a bit, really emit
array helper methods.
svn path=/trunk/mono/; revision=145298
Sebastien Pouliot [Tue, 3 Nov 2009 16:23:39 +0000 (16:23 -0000)]
2009-11-03 Sebastien Pouliot <sebastien@ximian.com>
* AssemblyInfo.cs: Open up the internals to System.Net.dll (which
needs Uri.IsDefaultPort) for NET_2_1 and remove it for
System.ComponentModel.DataAnnotations (again for NET_2_1)
svn path=/trunk/mcs/; revision=145294
Zoltan Varga [Tue, 3 Nov 2009 16:16:38 +0000 (16:16 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* Makefile: Don't define LIBRARY_PACKAGE so it gets installed normally.
svn path=/trunk/mcs/; revision=145292
Rodrigo Kumpera [Tue, 3 Nov 2009 12:52:32 +0000 (12:52 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* verify.c (verifier_inflate_type): Return the inflated type on success.
svn path=/trunk/mono/; revision=145284
Rodrigo Kumpera [Tue, 3 Nov 2009 12:52:22 +0000 (12:52 -0000)]
2009-11-03 Rodrigo Kumpera <rkumpera@novell.com>
* simd-intrinsics.c (load_simd_vreg): Add extra argument to signal if
the value was loaded from memory.
* simd-intrinsics.c (simd_intrinsic_emit_setter): Store back to memory if
the value was loader from there.
* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Fail correctly for Shuffle
without constant swizzle.
svn path=/trunk/mono/; revision=145283
Marek Habersack [Tue, 3 Nov 2009 12:13:08 +0000 (12:13 -0000)]
2009-11-03 Marek Habersack <mhabersack@novell.com>
* Assembly.cs: GetSatelliteAssembly must catch
AppDomain.LoadSatellite FileNotFoundException and attempt to load
satellites from subdirectories of current assembly's
directory. Fixes bug #548768
2009-11-03 Marek Habersack <mhabersack@novell.com>
* AppResourcesCompiler.cs: put default culture resources in a
separate collection, exposed by the DefaultCultureFiles property.
* AppResourcesAssemblyBuilder.cs: compile the default assembly
before the satellite ones. Use the default assembly as template
for generation of the satellite ones.
svn path=/trunk/mcs/; revision=145280
Carlos Alberto Cortez [Tue, 3 Nov 2009 06:12:15 +0000 (06:12 -0000)]
* TabControl.cs: In OnKeyDown call the base implementation first -
this way we let the user tell us whether we should handle the key or
not.
Fixes #543717.
2009-11-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=145273
Miguel de Icaza [Tue, 3 Nov 2009 05:34:06 +0000 (05:34 -0000)]
2009-11-03 Miguel de Icaza <miguel@novell.com>
* FileStream.cs: Check the return value of MonoIO.Write and handle
short-writes as those can happen when a FileStream is used on top
of a pipe on Unix.
Fixes bug: #531613, this should be backported to 2-4 and 2-6 after
some testing.
svn path=/trunk/mcs/; revision=145271
Zoltan Varga [Tue, 3 Nov 2009 05:29:30 +0000 (05:29 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Include netinet/in.h to fix the bsd build.
svn path=/trunk/mono/; revision=145269
Zoltan Varga [Tue, 3 Nov 2009 05:27:24 +0000 (05:27 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* configure.in: Check for netinet/in.h.
svn path=/trunk/mono/; revision=145267
Carlos Alberto Cortez [Tue, 3 Nov 2009 05:09:51 +0000 (05:09 -0000)]
* DataGrid.cs: Implement removal of rows the Correct Way by creating a
copy of the indexes, as any direct write access to the source will cause to
reset the entire selection - also, do the linear de-selection in
reverse order to avoid any index mismatch in the source, due to out of
synchronization removing the rows.
2009-11-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
svn path=/trunk/mcs/; revision=145265
Miguel de Icaza [Tue, 3 Nov 2009 05:08:39 +0000 (05:08 -0000)]
2009-11-03 Miguel de Icaza <miguel@novell.com>
* TermInfoDriver.cs (CheckWindowDimensions) Avoid extra checks, as
the condition was always checked previously.
(WriteSpecialKey): Actually write the tab character.
svn path=/trunk/mcs/; revision=145264
Carlos Alberto Cortez [Tue, 3 Nov 2009 04:37:26 +0000 (04:37 -0000)]
2009-11-02 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* DataGridTextBoxColumn.cs:
* DataGrid.cs: Don't use this add-pending behaviour to try to add a
new row until we have the first input char - it was helping us to fix
other issues we have/had, but it's not matching .net.
svn path=/trunk/mcs/; revision=145263
Jonathan Chambers [Tue, 3 Nov 2009 02:47:35 +0000 (02:47 -0000)]
2009-11-02 Jonathan Chambers <joncham@gmail.com>
* genmdesc.vcproj: Fix amd64 build.
* libmono.vcproj: Fix amd64 build.
* mono.vcproj: Fix amd64 build.
* mono.sln: Fix amd64 build.
svn path=/trunk/mono/; revision=145261
Jonathan Chambers [Tue, 3 Nov 2009 02:46:54 +0000 (02:46 -0000)]
2009-11-02 Jonathan Chambers <joncham@gmail.com>
* mini-amd64.c: Put soft debugger functions behind a
#ifdef MONO_ARCH_SOFT_DEBUG_SUPPORTED.
* mini-amd64.h: disable the soft debugger in windows.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145260
Jonathan Chambers [Tue, 3 Nov 2009 02:22:38 +0000 (02:22 -0000)]
2009-11-02 Jonathan Chambers <joncham@gmail.com>
* mini-x86.c: Put soft debugger functions behind a
#ifdef MONO_ARCH_SOFT_DEBUG_SUPPORTED.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145257
Jonathan Chambers [Tue, 3 Nov 2009 02:20:47 +0000 (02:20 -0000)]
2009-11-02 Jonathan Chambers <joncham@novell.com>
* exceptions-x86.c (win32_handle_stack_overflow): Fix parameters
to mono_arch_find_jit_info_ext.
Code contributed under MIT/X11 license.
svn path=/trunk/mono/; revision=145250
Zoltan Varga [Tue, 3 Nov 2009 01:57:59 +0000 (01:57 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c: Add support for filtering events by assemblies.
svn path=/trunk/mono/; revision=145246
Zoltan Varga [Tue, 3 Nov 2009 01:55:03 +0000 (01:55 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* EventRequest.cs (AssemblyFilter): New property to filter
events based on a list of assemblies.
* Connection.cs: Add assembly filters to the protocol implementation.
svn path=/trunk/mcs/; revision=145244
Miguel de Icaza [Tue, 3 Nov 2009 01:30:22 +0000 (01:30 -0000)]
System.Reflection.Emit's turn to be de-ifdefified
svn path=/trunk/mcs/; revision=145242
Miguel de Icaza [Tue, 3 Nov 2009 01:22:00 +0000 (01:22 -0000)]
System.Reflection's turn to be de-ifdefified
svn path=/trunk/mcs/; revision=145241
Miguel de Icaza [Tue, 3 Nov 2009 01:20:56 +0000 (01:20 -0000)]
System.Reflection's turn to be de-ifdefified
svn path=/trunk/mcs/; revision=145240
Miguel de Icaza [Tue, 3 Nov 2009 01:08:45 +0000 (01:08 -0000)]
More NET_2_0 removal
svn path=/trunk/mcs/; revision=145236
Miguel de Icaza [Tue, 3 Nov 2009 01:07:23 +0000 (01:07 -0000)]
Jumbo NET_2_0 removal
svn path=/trunk/mcs/; revision=145235
Miguel de Icaza [Tue, 3 Nov 2009 00:27:28 +0000 (00:27 -0000)]
2009-11-02 Miguel de Icaza <miguel@novell.com>
* Jumbo patch to drop support for pre-NET_2_0 code:
Remove NET_2_0 defines assuming the value is true.
svn path=/trunk/mcs/; revision=145232
Miguel de Icaza [Mon, 2 Nov 2009 23:22:40 +0000 (23:22 -0000)]
2009-11-02 Miguel de Icaza <miguel@novell.com>
* Jumbo patch to drop support for pre-NET_2_0 code:
Remove ONLY_1_1 code
Remove NET_1_0 only code
Remove NET_2_0 defines assuming the value is true.
svn path=/trunk/mcs/; revision=145230
Zoltan Varga [Mon, 2 Nov 2009 23:04:39 +0000 (23:04 -0000)]
2009-11-03 Zoltan Varga <vargaz@gmail.com>
* debugger-agent.c (mono_debugger_agent_thread_interrupt): Return false if
the agent is not enabled.
svn path=/trunk/mono/; revision=145228
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 21:02:41 +0000 (21:02 -0000)]
LAST one!
svn path=/trunk/mono/; revision=145223
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:53:59 +0000 (20:53 -0000)]
one more
svn path=/trunk/mono/; revision=145222
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:31:02 +0000 (20:31 -0000)]
2009-11-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* exceptions-x86.c: hopefully last change to fix the windows build.
This one courtesy of Jonathan Chambers.
svn path=/trunk/mono/; revision=145221
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:25:36 +0000 (20:25 -0000)]
2009-11-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* debugger-agent.c: remove unused function.
svn path=/trunk/mono/; revision=145220