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
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:23:07 +0000 (20:23 -0000)]
Add debugger-agent*
svn path=/trunk/mono/; revision=145219
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:18:47 +0000 (20:18 -0000)]
2009-11-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* debugger-agent.c: add #ifdefs for a few header files.
* mini-x86.h: disable the soft debugger in windows.
Step 1 of 2 to make this compile on windows with gcc.
svn path=/trunk/mono/; revision=145218
Gonzalo Paniagua Javier [Mon, 2 Nov 2009 20:15:11 +0000 (20:15 -0000)]
2009-11-02 Gonzalo Paniagua Javier <gonzalo@novell.com>
* configure.in: add a few missing header file checks.
svn path=/trunk/mono/; revision=145217
Sebastien Pouliot [Mon, 2 Nov 2009 20:05:35 +0000 (20:05 -0000)]
2009-11-02 Sebastien Pouliot <sebastien@ximian.com>
* Thread.cs (set_CurrentUICulture): Delay setting in_currentculture
to true until after the null check and the return statement.
svn path=/trunk/mcs/; revision=145214
Miguel de Icaza [Mon, 2 Nov 2009 19:16:56 +0000 (19:16 -0000)]
2009-11-02 Miguel de Icaza <miguel@novell.com>
* More NET_2_0 define removal, assume that it is now always true.
svn path=/trunk/mcs/; revision=145213
Jb Evain [Mon, 2 Nov 2009 16:18:46 +0000 (16:18 -0000)]
2009-11-02 Jb Evain <jbevain@novell.com>
* Mono.Tuner/MoonlightAssemblyStep.cs: adapt to the MT linker merge.
svn path=/trunk/mcs/; revision=145208
Jb Evain [Mon, 2 Nov 2009 16:15:17 +0000 (16:15 -0000)]
2009-11-02 Jb Evain <jbevain@novell.com>
Merge the MonoTouch Linker branch.
* monolinker.exe.sources: update
* Mono.Linker/Annotations.cs:
- add an preserved methods annotation on a type.
- add an annotation to get the base methods of a method.
- add an annotation to get the overriden method of a method.
* Mono.Linker/AssemblyAction.cs:
add a Delete action to remove an assembly from the output set.
* Mono.Linker.Steps/TypeMapStep.cs:
new step that create a map of virtual methods implementation.
* Mono.Linker.Steps/MarkStep.cs:
- removal of virtual methods.
- fix for custom attributes assigning properties and field
defined in a base type.
- mark scopes.
- mark default constructors of types used as a generic instance
of a generic parameter constrained with new().
- apply preserved methods.
* Mono.Linker.Steps/SweepStep.cs: remove unused assemblies.
* Mono.Linker.Steps/LoadI18nAssemblies.cs:
fix linking of i18n assemblies.
* Mono.Linker.Steps/OutputStep.cs:
fix the copied assemblies when the output directory
is the same as the origin of the assemblies.
* Mono.Linker.Steps/ResolveFromXmlStep.cs
* Mono.Linker.Steps/ResolveFromAssemblyStep.cs
* Mono.Linker.Steps/BaseStep.cs
* Mono.Linker/Driver.cs
* Mono.Linker/Pipeline.cs:
Cosmetics.
svn path=/trunk/mcs/; revision=145207
Zoltan Varga [Mon, 2 Nov 2009 16:15:17 +0000 (16:15 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* tramp-x86.c (mono_arch_get_llvm_imt_trampoline): Comment this out for now
as it breaks the build.
svn path=/trunk/mono/; revision=145206
Zoltan Varga [Mon, 2 Nov 2009 16:12:33 +0000 (16:12 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* Makefile: Add Mono.Debugger.Soft.
In Mono.Debugger.Soft:
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* New directory containing the managed interface to the soft-mode debugger.
svn path=/trunk/mcs/; revision=145204
Jérémie Laval [Mon, 2 Nov 2009 16:06:11 +0000 (16:06 -0000)]
2009-11-02 Jérémie Laval <jeremie.laval@gmail.com>
In class/corlib/System.Threading/:
* Parallel.cs: Added fix for Bug #536919.
In class/corlib/Test/System.Threading/:
* ParallelTests.cs: Added unit test for Bug #536919, cleaned up.
svn path=/trunk/mcs/; revision=145203
Zoltan Varga [Mon, 2 Nov 2009 15:44:56 +0000 (15:44 -0000)]
2009-07-01 Zoltan Varga <vargaz@gmail.com>
Merge the soft debugger branch.
* debugger-agent.h debugger-agent.c: New files containing the soft
mode debugger module.
* method-to-ir.c (mono_method_to_ir): Generate OP_SEQ_POINT opcodes
at the appropriate locations.
* mini-<ARCH>.c (mono_arch_output_basic_block): Handle OP_SEQ_POINT
opcode.
* mini-<ARCH>.c: Add new arch-specific functions to set/clear breakpoints,
enable/disable single stepping.
* exceptions-<ARCH>.c (mono_arch_find_jit_info_ext): New stack unwinding api
which returns all information in a StackFrameInfo structure, and can handle the
LMF frames added by the debugger.
* mini-<ARCH>.h (MonoLMFExt): New structure containing additional information
about an LMF frame.
* mini-exceptions.c (mono_jit_walk_stack_from_ctx_in_thread): New stack
walker function which works on a specific thread and passes a StackFrameInfo
structure to its callback.
* mini.c (mini_init): Initialize the debugger agent.
* aot-compiler.c aot-runtime.c: Add soft-debug support.
* mini-ops.h: Add OP_SEQ_POINT opcode.
* driver.c (mono_main): Add new '--debugger-agent' option for passing
arguments to the debugger agent.
svn path=/trunk/mono/; revision=145201
Zoltan Varga [Mon, 2 Nov 2009 15:18:21 +0000 (15:18 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* debug-mono-symfile.c (check_line): Fix the handling of IL offset 0.
* threads.c (mono_thread_attach): Call the profiler thread start callback.
* object-internals.h (_MonoThreadInternal): Add a 'flags' field.
* threads.c (build_wait_tids): Ignore threads which have the DONT_MANAGE
flag set.
* profiler.c: Add new profiler callbacks for runtime invoke.
* object.c (mono_runtime_invoke): Call the runtime invoke callbacks.
svn path=/trunk/mono/; revision=145200
Zoltan Varga [Mon, 2 Nov 2009 12:41:19 +0000 (12:41 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_method_compile): Disable llvm for methods with an lmf here to
speed things up.
* mini-llvm.c (mono_llvm_emit_method): Add support for OP_LOCALLOC.
svn path=/trunk/mono/; revision=145195
Zoltan Varga [Mon, 2 Nov 2009 12:22:58 +0000 (12:22 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* tramp-x86.c (mono_arch_get_llvm_imt_trampoline): Implement this for x86.
svn path=/trunk/mono/; revision=145193
Zoltan Varga [Mon, 2 Nov 2009 11:59:28 +0000 (11:59 -0000)]
2009-11-02 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_init): Avoid using the IMT trampoline in the LLVM case.
* mini-trampolines.c (mono_llvm_vcall_trampoline): Add a static rgctx trampoline
if needed.
(mono_create_llvm_imt_trampoline): New function to create a trampoline which
sets the IMT argument and makes a virtual call.
* mini-llvm.c: Enable interface calls using the llvm imt trampoline.
svn path=/trunk/mono/; revision=145191
Miguel de Icaza [Mon, 2 Nov 2009 06:25:38 +0000 (06:25 -0000)]
2009-11-02 Miguel de Icaza <miguel@novell.com>
* Copy some collections from WindowsBase here for 4.0 support.
Add a handful of methods from 4.0 as well
svn path=/trunk/mcs/; revision=145180
Zoltan Varga [Sun, 1 Nov 2009 19:24:10 +0000 (19:24 -0000)]
2009-11-01 Zoltan Varga <vargaz@gmail.com>
* configure.in: Make the LLVM warning a bit more up-to-date.
svn path=/trunk/mono/; revision=145175
Zoltan Varga [Sun, 1 Nov 2009 19:16:08 +0000 (19:16 -0000)]
2009-11-01 Zoltan Varga <vargaz@gmail.com>
* Makefile.am (llvm_sources): Enable the llvm option since it no longer breaks
the windows build.
svn path=/trunk/mono/; revision=145172
Zoltan Varga [Sun, 1 Nov 2009 19:16:00 +0000 (19:16 -0000)]
2009-11-01 Zoltan Varga <vargaz@gmail.com>
* configure.in: Pass -mno-cygwin to CXX too on windows. Enable AC_PROG_CXX
since it now works on windows too.
svn path=/trunk/mono/; revision=145171
Sebastien Pouliot [Sun, 1 Nov 2009 16:46:27 +0000 (16:46 -0000)]
2009-11-01 Sebastien Pouliot <sebastien@ximian.com>
* MoonIsolatedStorageFile.cs: Add new CheckSearchPattern
validation method. Fix GetDirectoryNames to behave like
GetFileNames wrt searchPattern
svn path=/trunk/mcs/; revision=145167
Sebastien Pouliot [Sun, 1 Nov 2009 16:45:14 +0000 (16:45 -0000)]
2009-11-01 Sebastien Pouliot <sebastien@ximian.com>
* ResourceManager.cs (GetResourceFilePath): Don't use
'resourceDir' which should always be null for Moonlight
svn path=/trunk/mcs/; revision=145165
Mark Probst [Sun, 1 Nov 2009 11:00:11 +0000 (11:00 -0000)]
2009-11-01 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: Keep track of the reason for a major collection and
write it to the heap-dump file.
svn path=/trunk/mono/; revision=145156
Miguel de Icaza [Sat, 31 Oct 2009 22:31:24 +0000 (22:31 -0000)]
2009-10-31 Miguel de Icaza <miguel@novell.com>
* threads.c: refactor the code that initializes the
thread_start_args into a reusable function and use this in the two
methods that start up threads.
svn path=/trunk/mono/; revision=145153
Miguel de Icaza [Sat, 31 Oct 2009 17:15:25 +0000 (17:15 -0000)]
Add new classes
svn path=/trunk/mcs/; revision=145149
Sebastien Pouliot [Sat, 31 Oct 2009 16:19:24 +0000 (16:19 -0000)]
2009-10-31 Sebastien Pouliot <sebastien@ximian.com>
* BinaryCommon.cs: Disable MONO_REFLECTION_SERIALIZER override
for Moonlight plugin.
svn path=/trunk/mcs/; revision=145147
Miguel de Icaza [Sat, 31 Oct 2009 16:14:57 +0000 (16:14 -0000)]
Update namespace
svn path=/trunk/mcs/; revision=145146
Miguel de Icaza [Sat, 31 Oct 2009 16:14:30 +0000 (16:14 -0000)]
Add BigInteger to System.Numerics from the Microsoft MS-PL'ed DLR
svn path=/trunk/mcs/; revision=145145
Zoltan Varga [Sat, 31 Oct 2009 14:08:38 +0000 (14:08 -0000)]
2009-10-31 Zoltan Varga <vargaz@gmail.com>
* appdomain.c (mono_domain_try_unload): Applied patch from Romain Tartière.
Fix returning when WaitForSingleObjectEx returns WAIT_IO_COMPLETION.
svn path=/trunk/mono/; revision=145141
Gonzalo Paniagua Javier [Sat, 31 Oct 2009 04:06:50 +0000 (04:06 -0000)]
2009-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-perfcounters.c: add the "_Total" instance for CPU counters.
Until now, we only had the per-cpu(core) counters.
2009-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* mono-proclib.c: hz is only multiplied by the number of cpus when
requesting "_Total".
Fixes bug #523520.
svn path=/trunk/mono/; revision=145134
Veerapuram Varadhan [Fri, 30 Oct 2009 20:57:59 +0000 (20:57 -0000)]
2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
* DataTable.cs: Reuse old utility methods for raising DataTable
clearing/cleared events.
* DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
events only for non 1.x profiles. Fixes broken 1.x build.
svn path=/trunk/mcs/; revision=145122
Sebastien Pouliot [Fri, 30 Oct 2009 20:12:20 +0000 (20:12 -0000)]
In System.Reflection.Emit:
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MethodBuilder.cs: Add missing 'names' validations in
DefineGenericParameters
In Test/System.Reflection.Emit:
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MethodBuilderTest.cs: Add (copy from TypeBuilderTest) test
cases for two DefineGenericParameters
svn path=/trunk/mcs/; revision=145118
Carlos Alberto Cortez [Fri, 30 Oct 2009 17:38:23 +0000 (17:38 -0000)]
2009-10-30 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TextBoxBase.cs: When returning the preferred height, and we are
supposed to be borderless, return the TopMargin value - usually in
borderless mode it has a value of 0, but in the ToolStrip controls we
need to set the margin manually.
Fixes #551214.
svn path=/trunk/mcs/; revision=145115
Marek Habersack [Fri, 30 Oct 2009 15:58:33 +0000 (15:58 -0000)]
2009-10-30 Marek Habersack <mhabersack@novell.com>
* PasswordRecovery.cs: mail message replacements should include <%
Password %> and <% UserName %> and matching should be
case-insensitive. Fixes bug #545370
svn path=/trunk/mcs/; revision=145109
Zoltan Varga [Fri, 30 Oct 2009 15:19:05 +0000 (15:19 -0000)]
2009-10-30 Zoltan Varga <vargaz@gmail.com>
* mini.c (mini_cleanup): Call profiler shutdown before shutting down the
runtime. Fixes #551228.
svn path=/trunk/mono/; revision=145103
Sebastien Pouliot [Fri, 30 Oct 2009 15:04:29 +0000 (15:04 -0000)]
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MonoMethod.cs: Remove CAS check in MonoCMethod.Invoke (just
like it was done for MonoMethod.Invoke sister method)
svn path=/trunk/mcs/; revision=145101
Sebastien Pouliot [Fri, 30 Oct 2009 15:02:31 +0000 (15:02 -0000)]
2009-10-30 Sebastien Pouliot <sebastien@ximian.com>
* MonoType.cs: Don't pass null value to icalls
GetCorrespondingInflated[Constructor|Method]
svn path=/trunk/mcs/; revision=145099
Marek Safar [Fri, 30 Oct 2009 14:48:29 +0000 (14:48 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* Makefile: Add System.Windows.Forms.DataVisualization
svn path=/trunk/mcs/; revision=145098
Marek Safar [Fri, 30 Oct 2009 14:39:44 +0000 (14:39 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* SecurityRuleSet.cs, SecurityRulesAttribute.cs: Implemented.
svn path=/trunk/mcs/; revision=145096
Marek Safar [Fri, 30 Oct 2009 13:32:29 +0000 (13:32 -0000)]
More tests.
svn path=/trunk/mcs/; revision=145090
Marek Safar [Fri, 30 Oct 2009 13:31:06 +0000 (13:31 -0000)]
2009-10-30 Marek Safar <marek.safar@gmail.com>
* CSharpBinder.cs, CSharpInvokeMemberBinder.cs,
CSharpSetIndexBinder.cs: Simple member binder.
svn path=/trunk/mcs/; revision=145089