Mark Probst [Wed, 19 Jan 2011 23:18:06 +0000 (00:18 +0100)]
[sgen] Make the second bridge DFS pass use an implicit stack to avoid stack overflow.
Mark Probst [Wed, 19 Jan 2011 22:26:41 +0000 (23:26 +0100)]
[sgen] Use an explicit stack instead of recursion for the first DFS pass in the bridge code.
Mark Probst [Wed, 19 Jan 2011 21:24:31 +0000 (22:24 +0100)]
[build] pkg-config support for libmonosgen.
Mark Probst [Sun, 16 Jan 2011 15:58:56 +0000 (16:58 +0100)]
[sgen] Bridge cross references pass.
This is an extension for the benefit of the Mono/Java bridge on
MonoDroid. We go through all finalizable objects and report the
strongly connected components of bridge objects and their
connections between each other.
Rodrigo Kumpera [Mon, 10 Jan 2011 22:21:41 +0000 (23:21 +0100)]
Move coree functionality under a specific define.
* assembly.c:
* domain.c:
* image.c:
* coree.c: Coree funcionality is now under the
ENABLE_COREE define that is not set by default. The
current code breaks the verification infrastructure.
Marek Safar [Mon, 10 Jan 2011 22:16:38 +0000 (22:16 +0000)]
Fix IKVM float encoding on big-endian
Ankit Jain [Mon, 10 Jan 2011 21:55:54 +0000 (03:25 +0530)]
[xbuild] Fix bug #663180, second part.
Fix the way RunningOnMac is detected (use `uname`=="Darwin"), thanks
to Michael Hutchinson.
And use "/Library/Frameworks/Mono.framework/External/pkgconfig" as a
search path for pkg-config files on MacOSX.
* Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Import.cs:
Change the order of paths.
* Microsoft.Build.Engine/Microsoft.Build.Engine.dll.sources:
Use MS.Build.Tasks/Utilities.cs, for using RunningOnMac .
* Microsoft.Build.Tasks/Microsoft.Build.Tasks/PcFileCache.cs:
Look in "/Library/Frameworks/Mono.framework/External/pkgconfig"
for .pc files, on Mac.
* Microsoft.Build.Tasks/Microsoft.Build.Tasks/Utilities.cs
(RunningOnMac): New.
Marek Habersack [Mon, 3 Jan 2011 13:52:34 +0000 (14:52 +0100)]
Fix for bug #659064. Resource URLs must always be the same. UpdatePanel triggers must always be initialized.
String hash cache must not be thread-local. Hashes computed for a string once must be shared by
all the threads or different URLs may be generated for the same assembly+resource pair.
UpdatePanel triggers must be initialized not only during the Load event but also when they are
inserted after that point.
Zoltan Varga [Mon, 10 Jan 2011 20:39:17 +0000 (21:39 +0100)]
Force a build.
Zoltan Varga [Mon, 10 Jan 2011 19:27:06 +0000 (20:27 +0100)]
Implement all SIMD intrinsics in LLVM used by basic-simd.exe.
Marek Safar [Mon, 10 Jan 2011 17:26:27 +0000 (17:26 +0000)]
Fixed another missing protected internal modifier
Zoltan Varga [Mon, 10 Jan 2011 16:49:08 +0000 (17:49 +0100)]
Fix the loadable llvm build.
Martin Baulig [Sun, 9 Jan 2011 18:34:13 +0000 (19:34 +0100)]
Fix short trampoline branch.
Zoltan Varga [Mon, 10 Jan 2011 15:45:04 +0000 (16:45 +0100)]
Add another bunch of SIMD intrinsics to the LLVM backend.
Ankit Jain [Mon, 10 Jan 2011 14:40:20 +0000 (20:10 +0530)]
[xbuild] Fix bug #663159 .
Emit location information in error messages for condition parsing
errors.
* Microsoft.Build.BuildEngine/Token.cs: Add position information.
* Microsoft.Build.BuildEngine/ConditionParser.cs: Track api changes.
Improve error messages.
(ExpectToken): Rename to ..
(IsAtToken): .. this, to better reflect its behavior.
* Microsoft.Build.BuildEngine/ConditionTokenizer.cs: Track api
changes and improve error messages.
* Microsoft.Build.BuildEngine/ConditionFactorExpresion.cs: Track api
changes
Ankit Jain [Mon, 10 Jan 2011 07:53:30 +0000 (13:23 +0530)]
[xbuild] Sync *PcFileCache.cs changes from monodevelop.
Marek Safar [Mon, 10 Jan 2011 14:37:17 +0000 (14:37 +0000)]
Fixed more protected internal modifiers
Marek Safar [Mon, 10 Jan 2011 14:36:31 +0000 (14:36 +0000)]
Report correct base modifier for inaccessible protected internal members
Rodrigo Kumpera [Mon, 10 Jan 2011 14:36:05 +0000 (15:36 +0100)]
Couple with missing methods in MonoClass::methods.
* class.c (mono_class_get_virtual_methods): Handle missing
methods in the methods array.
Fixes #572223
Patch by Sebastien Pouliot <spouliot@novell.com>
Rodrigo Kumpera [Mon, 10 Jan 2011 13:32:42 +0000 (14:32 +0100)]
Fix a deadlock on the interrupt guard machinery.
* mini-exceptions.c (mono_walk_stack): Change the do_il_offset
parameter into unwind_options which is an enum that allows
multiple options to be passed.
* mini-exceptions.c (mono_jit_walk_stack_from_ctx): Ditto.
* mini.h: Introduce MonoUnwindOptions which allow stack
unwinding callers to specify that they don't want precise
method lookup (IOW, no need to deal with gsharing) which
allow those functions to be signal safe.
* mini-exceptions.c (mono_install_handler_block_guard): Ask
mono_walk_stack to perform signal safe unwinding.
Fixes #662741
Zoltan Varga [Mon, 10 Jan 2011 13:09:23 +0000 (14:09 +0100)]
Mark mono_print_method_from_ip () with __attribute__((used)) to prevent the linker from optimizing it away in embedding setups.
Rodrigo Kumpera [Mon, 10 Jan 2011 10:52:46 +0000 (10:52 +0000)]
Implement mono.simd new conversion ops on amd64
Marek Habersack [Mon, 10 Jan 2011 10:16:05 +0000 (11:16 +0100)]
[asp.net,mcs] Fixed 'protected internal' build errors and removed System.Web-specific hack from mcs
Rodrigo Kumpera [Mon, 10 Jan 2011 09:40:12 +0000 (10:40 +0100)]
Implement a few conversion operations.
Add conversion operations between 4f, 2d and 4i.
Implemented only on x86 for now.
Rodrigo Kumpera [Sun, 9 Jan 2011 19:55:01 +0000 (20:55 +0100)]
Fix 64bits Shuffle/3 when simd intrinsics are disabled
Marek Safar [Mon, 10 Jan 2011 08:44:19 +0000 (08:44 +0000)]
Fixed more missing protected internal modifiers
Ankit Jain [Sun, 9 Jan 2011 21:04:12 +0000 (02:34 +0530)]
[xbuild] Fix bug #663180 .
Add "/Library/Frameworks/Mono.framework/External/xbuild" to
MSBuildExtensionsPath on MacOSX.
From the bug report:
The purpose of this directory is to provide a place for third-party
installers to place extensions where they will not be removed by Mono
upgrades. MonoDevelop patches this into the xbuild MSBuildExtensionsPath
for builds within MD but it would be useful to have it work outside of MD.
Jérémie Laval [Sun, 9 Jan 2011 19:26:18 +0000 (19:26 +0000)]
[System.Web] Add web fonts mimetypes to let browser do caching on client-side
Sebastien Pouliot [Sun, 9 Jan 2011 15:57:45 +0000 (10:57 -0500)]
Add NIE stubs for new 4.0 methods to ease running IronPython test suite
* SecurityManager.cs: Add new stubs for 4.0 methods. Add [Obsolete]
attributes on most methods (new in 4.0)
barkerm [Mon, 3 Jan 2011 20:08:31 +0000 (20:08 +0000)]
Ignore files ending in '~'
barkerm [Mon, 3 Jan 2011 20:34:01 +0000 (20:34 +0000)]
Fix for running against RabbitMQ 2.2
Miguel de Icaza [Sun, 9 Jan 2011 04:08:24 +0000 (23:08 -0500)]
[eglib] Another bug fix for g_shell_parse
We do not create a new string after a quotation, unless the next
character after a closing quote is a space. This allows parsing
the string:
"foo","bar"
As:
foo,bar
This fixes #655896
1# Explicit paths specified without -i nor -o; assuming --only paths...
Miguel de Icaza [Sun, 9 Jan 2011 04:08:15 +0000 (23:08 -0500)]
[eglib] Add more tests for the g_shell_parse
Zoltan Varga [Sat, 8 Jan 2011 20:44:54 +0000 (21:44 +0100)]
Pass -relocation-model=static to llc in static mode.
Geoff Norton [Sat, 8 Jan 2011 20:13:34 +0000 (15:13 -0500)]
Add CPSR to Apple arm ucontext macros as well
Marek Safar [Sat, 8 Jan 2011 19:26:02 +0000 (19:26 +0000)]
[663059] Add check for protected modifier in InternalsVisibleTo assembly
Marek Safar [Sat, 8 Jan 2011 19:21:22 +0000 (19:21 +0000)]
Test update
Marek Safar [Sat, 8 Jan 2011 19:20:32 +0000 (19:20 +0000)]
Fixed missing protected internal modifier
Marek Safar [Sat, 8 Jan 2011 19:20:13 +0000 (19:20 +0000)]
Update System.ServiceModel.Discovery version info
Marek Safar [Sat, 8 Jan 2011 19:17:49 +0000 (19:17 +0000)]
Allow trailing comma for resource argument
Zoltan Varga [Sat, 8 Jan 2011 19:22:41 +0000 (20:22 +0100)]
Apply .no_dead_strip to all symbols. Unify __APPLE__/__MACH__ defines.
Zoltan Varga [Sat, 8 Jan 2011 17:13:52 +0000 (18:13 +0100)]
Emit .no_dead_strip directives for all LLVM methods on OSX.
Zoltan Varga [Sat, 8 Jan 2011 17:11:30 +0000 (18:11 +0100)]
Emit .no_dead_strip directives for all LLVM methods on OSX.
Zoltan Varga [Sat, 8 Jan 2011 16:16:06 +0000 (17:16 +0100)]
Avoid an assert if System.Diagnostics.DebuggableAttribute is linked away.
Zoltan Varga [Sat, 8 Jan 2011 13:12:33 +0000 (14:12 +0100)]
Fix the arm dyncall code after the this passing changes.
Zoltan Varga [Sat, 8 Jan 2011 13:12:15 +0000 (14:12 +0100)]
Disallow loading of non-llvm compiled aot modules into llvm runtimes on arm.
Zoltan Varga [Sat, 8 Jan 2011 11:51:29 +0000 (12:51 +0100)]
Tidy up AOT trace messages a bit more.
Zoltan Varga [Sat, 8 Jan 2011 11:49:02 +0000 (12:49 +0100)]
Generate an icall wrapper for CompareExchange<object> into the mscorlib image.
Zoltan Varga [Sat, 8 Jan 2011 11:37:16 +0000 (12:37 +0100)]
Make an AOT trace message shorter.
Zoltan Varga [Sat, 8 Jan 2011 03:40:40 +0000 (04:40 +0100)]
Fix the previous fix.
Zoltan Varga [Sat, 8 Jan 2011 03:33:53 +0000 (04:33 +0100)]
Fix the apple aot problem.
Zoltan Varga [Sat, 8 Jan 2011 03:23:30 +0000 (04:23 +0100)]
Include the assembly name in AOT symbol names in static mode to avoid duplicate symbol errors.
Zoltan Varga [Sat, 8 Jan 2011 03:06:53 +0000 (04:06 +0100)]
Change how double/long alignment is saved in the AOT image on arm to support cross-compilation.
Zoltan Varga [Sat, 8 Jan 2011 03:04:16 +0000 (04:04 +0100)]
Various changes to make thumb work under osx.
Zoltan Varga [Sat, 8 Jan 2011 02:38:55 +0000 (03:38 +0100)]
Emit thumb unbox trampolines for thumb functions.
Zoltan Varga [Sat, 8 Jan 2011 01:21:07 +0000 (02:21 +0100)]
Use 'globals' instead of '.Lglobals' to name an aot symbol.
Zoltan Varga [Fri, 7 Jan 2011 20:05:20 +0000 (21:05 +0100)]
Add 'no-write-symbols' aot option.
Zoltan Varga [Fri, 7 Jan 2011 20:03:32 +0000 (21:03 +0100)]
Add an 'llvm-path' aot option.
Zoltan Varga [Fri, 7 Jan 2011 19:48:14 +0000 (20:48 +0100)]
Avoid 0b notation, older gcc's can't handle it.
Thomas Goldstein [Fri, 7 Jan 2011 19:27:12 +0000 (20:27 +0100)]
Merge branch 'master' of github.com:mono/mono
Thomas Goldstein [Fri, 7 Jan 2011 19:18:12 +0000 (20:18 +0100)]
Add new NumericUpDown tests.
Thomas Goldstein [Fri, 7 Jan 2011 19:15:26 +0000 (20:15 +0100)]
Add unit test for bug 661750.
Zoltan Varga [Fri, 7 Jan 2011 19:05:35 +0000 (20:05 +0100)]
Use emit_zero_bytes () instead of .skip directive.
Thomas Goldstein [Fri, 7 Jan 2011 18:48:47 +0000 (19:48 +0100)]
Remove NumericUpDownTest.cs from the -crlf list (file line-ending encoding converted by mistake)
Rodrigo Kumpera [Fri, 7 Jan 2011 17:23:05 +0000 (18:23 +0100)]
Remove debug spew
Jonathan Pobst [Fri, 7 Jan 2011 17:19:25 +0000 (11:19 -0600)]
Add __default_codegen__ to *all* msvc profiles.
Jonathan Pryor [Fri, 7 Jan 2011 16:57:01 +0000 (11:57 -0500)]
[monodroid] Look for zlib support functions from __Internal.
Partial fix for #660928; the rest of the fix will require embedding
the zlib functions within libmonodroid.so.
Jonathan Pobst [Fri, 7 Jan 2011 16:45:00 +0000 (10:45 -0600)]
Add __default_codegen__ define to fix the msvc build.
Zoltan Varga [Fri, 7 Jan 2011 16:41:31 +0000 (17:41 +0100)]
Make 'mono_aot_assembly_name' a local symbol as well.
Zoltan Varga [Fri, 7 Jan 2011 16:37:36 +0000 (17:37 +0100)]
Fix the DISABLE_JIT build.
Marek Safar [Fri, 7 Jan 2011 16:20:05 +0000 (16:20 +0000)]
Ignore more files
Marek Safar [Fri, 7 Jan 2011 16:18:44 +0000 (16:18 +0000)]
Tests update
Zoltan Varga [Fri, 7 Jan 2011 15:15:00 +0000 (16:15 +0100)]
Reorganize the static AOT support a bit more: the 'mono_aot_.._info' symbol will now point the MonoAotFileInfo structure itself, not to a table of globals.
Rodrigo Kumpera [Fri, 7 Jan 2011 15:11:33 +0000 (16:11 +0100)]
Properly search overwrites for custom attributes.
* MonoCustomAttr.cs (GetBase): For the purpoise of
searching for custom attributes we need to use the
immediate overwritee and not the base definition.
Fixes #662867 and possibly more.
Zoltan Varga [Fri, 7 Jan 2011 14:04:37 +0000 (15:04 +0100)]
Add sanity check to AOT for long/double alignment.
Jérémie Laval [Fri, 7 Jan 2011 13:40:45 +0000 (13:40 +0000)]
Remove now unused internal classes
Zoltan Varga [Fri, 7 Jan 2011 13:37:21 +0000 (14:37 +0100)]
Disallow the 'soft-debug' aot option when compiling using LLVM.
Zoltan Varga [Fri, 7 Jan 2011 12:37:19 +0000 (13:37 +0100)]
Use symbolic constants and sizeof(mgreg_t) instead of 4/sizeof(gpointer)/sizeof(gulong) in the arm backend.
Jérémie Laval [Fri, 7 Jan 2011 11:16:03 +0000 (11:16 +0000)]
Add bigger unit test for Intersect and Union
Jérémie Laval [Fri, 7 Jan 2011 11:11:34 +0000 (11:11 +0000)]
Directly use ConcurrentDictionary with PLinq set operations
Marek Safar [Fri, 7 Jan 2011 09:55:44 +0000 (09:55 +0000)]
Better anonymous methods require same parameter types
Rodrigo Kumpera [Fri, 7 Jan 2011 00:19:03 +0000 (00:19 +0000)]
AMD64 version of the new mono.simd ops
Rodrigo Kumpera [Thu, 6 Jan 2011 21:01:55 +0000 (22:01 +0100)]
remove stupid debug spew
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 21:02:43 +0000 (16:02 -0500)]
Revert
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 20:52:54 +0000 (15:52 -0500)]
[windows] Improve drive search
Windows allows "A", "A:", @"a:\"... as synonyms for the same drive.
Patch by Vincent Povirk that fixes bug #660911.
Rodrigo Kumpera [Thu, 6 Jan 2011 20:36:31 +0000 (21:36 +0100)]
Implement Shuffle for 64bits types.
* x86-codegen.h: Add macro and define to emit pshufpd.
* mini-ops.h: Add OP_SHUPD.
* cpu-x86.md:
* mini-x86.h: Implement x86 support.
* simd-intrinsics.c: Handle shuffle on 64bit types.
* VectorOperations.cs: Add new methods.
Rodrigo Kumpera [Thu, 6 Jan 2011 18:31:04 +0000 (19:31 +0100)]
Implement Shuffle/3
Rodrigo Kumpera [Thu, 6 Jan 2011 17:45:03 +0000 (18:45 +0100)]
Implement runtime support (x86 only) for 3 args Shuffle.
* cpu-x86.md: Add shufps.
* mini-ops.h: Add OP_SHUFPS.
* mini-x86.c (mono_arch_output_basic_block): Emit
OP_SHUFPS.
* simd-intrinsics.c (simd_intrinsic_emit_shuffle): Handle
3 args variant.
Rodrigo Kumpera [Thu, 6 Jan 2011 17:43:59 +0000 (18:43 +0100)]
Add SHUFPS and macro to emit it.
Rodrigo Kumpera [Thu, 6 Jan 2011 17:42:00 +0000 (18:42 +0100)]
Add test for call clobbering of XMM regs
Rodrigo Kumpera [Thu, 6 Jan 2011 17:38:13 +0000 (18:38 +0100)]
Properly free xmm hregs.
* mini-codegen.c (free_up_hreg): Use the bank argument instead of
a hardcoded one.
Gonzalo Paniagua Javier [Thu, 6 Jan 2011 20:42:52 +0000 (15:42 -0500)]
[Windows] Implement GetDrives.
Drive names are ok, but the type is always 'Fixed'.
Fixes bug #660907.
Thomas Goldstein [Thu, 6 Jan 2011 20:24:55 +0000 (21:24 +0100)]
Replace decimal to hex string conversion code with a much more simple alternative (suggested by Oliver Thimm). Fixes bug 661750.
Thomas Goldstein [Thu, 6 Jan 2011 20:07:02 +0000 (21:07 +0100)]
Remove #if NET_2_0.
Zoltan Varga [Thu, 6 Jan 2011 19:29:02 +0000 (20:29 +0100)]
Re-enable and fix the nacl changes.
Zoltan Varga [Thu, 6 Jan 2011 18:35:45 +0000 (19:35 +0100)]
Put back a macro definition accidently removed by the nacl changes.
Jérémie Laval [Thu, 6 Jan 2011 16:08:31 +0000 (16:08 +0000)]
Fix .NET 4 API
Jérémie Laval [Thu, 6 Jan 2011 16:07:48 +0000 (16:07 +0000)]
Add missing Debugger and ReliabilityContract attributes to .NET 4 types
Jérémie Laval [Thu, 6 Jan 2011 15:16:35 +0000 (15:16 +0000)]
Avoid random failure in CountdownEvent unit test
Rodrigo Kumpera [Thu, 6 Jan 2011 14:51:15 +0000 (15:51 +0100)]
Fail nice if the current profiler doesn't support ICustomMarshaler.
* marshal.c (emit_marshal_custom): If the lookup for ICustomMarshaler
fails, emit code to raise an exception instead of asserting.
Fixes #560334