Re: [Mono-dev] problem building mono, can't get monolite to work

2008-10-02 Thread Zoltan Varga
Hi, Don't use Mono's libgc. Use a recent Boehm GC. Cf. http://www.mono-project.com/Mono:Solaris No need for that, the bundled gc will work fine. The stack size warning is probably harmless. Zoltan ___ Mono-devel-list mailing list

Re: [Mono-dev] ERROR:(mini-exceptions.c:760):get_exception_catch_class

2008-10-01 Thread Zoltan Varga
Hi, As a workaround you can run mono with MONO_GENERIC_SHARING=corlib. Zoltan On Thu, Oct 2, 2008 at 3:14 AM, Tobi [EMAIL PROTECTED] wrote: Zoltan Varga wrote: Try to create a test case and attach it to a bug report. Sorry, but I wasn't able to create a small enough test

Re: [Mono-dev] ERROR:(mini-exceptions.c:760):get_exception_catch_class

2008-09-30 Thread Zoltan Varga
Hi, Try to create a test case and attach it to a bug report. Zoltan On Wed, Oct 1, 2008 at 2:21 AM, Tobi [EMAIL PROTECTED] wrote: Hi! With the recent SVN trunk at revision 114529, I get the following error: ** ERROR:(mini-exceptions.c:770):get_exception_catch_class:

Re: [Mono-dev] Patch: Generic code sharing for value types

2008-09-23 Thread Zoltan Varga
Hi, The method-to-ir.c changes look good. One improvement might be getting rid of EMIT_GET_RGCTX, i.e. integrating it into the emit_get_rgctx_ functions. Zoltan 2008/9/23 Mark Probst [EMAIL PROTECTED]: Hi, This patch enabled generic code sharing for value types. The

Re: [Mono-dev] Possible problem with 2.0RC1

2008-09-17 Thread Zoltan Varga
Hi, Its not List.Add's fault. The ctor has the arguments in the wrong order: public conversion(bool verb, bool plural, string form, string german, Zoltan 2008/9/18 Paul [EMAIL PROTECTED]: Hi, I have some very simple code which has become unpredictable. I've done some

Re: [Mono-dev] Mono 2.0 RC2 Delayed

2008-09-16 Thread Zoltan Varga
Hi, Not backported, but affects a new feature, thus not a regression?. .. 421098, Can't use --debug=casts with WinForms (etc?) We will look into putting this into 2.0.1. Zoltan ___ Mono-devel-list mailing list

Re: [Mono-dev] [PATCH] StringToHGlobalAnsi and Uni

2008-09-02 Thread Zoltan Varga
Look ok. Zoltan 2008/9/2 Bill Holmes [EMAIL PROTECTED]: Hello All, The following patch was created from the 2.0 branch. I would like to commit it to the branch as well as the trunk. Basically on Windows we need to allocate the memory using GlobalAlloc for these calls. I have

Re: [Mono-dev] Deadlock in mono (2.0 branch)

2008-08-28 Thread Zoltan Varga
Hi, This is a known bug, which is a bit hard to fix: https://bugzilla.novell.com/show_bug.cgi?id=324945 Zoltan On Fri, Aug 29, 2008 at 2:53 AM, Casey Marshall [EMAIL PROTECTED] wrote: I'm seeing a deadlock in the mono runtime, in particular while running the NUnit add-in for

Re: [Mono-dev] Patch: Linear IL for PPC/Linux

2008-08-24 Thread Zoltan Varga
Hi, - marshal.c: is that change really needed ? - exceptions-ppc.c: if the generic code works on ppc too, then the CUSTOM_EXCEPTION_HANDLING define can be killed. - mini-ppc.c: - the return value of calculate_size () needs to be freed. - it might be better to put that (guint32) cast into

Re: [Mono-dev] [PATCH] Enable reading of the ASP.NET Requests Queued counter from external process

2008-08-14 Thread Zoltan Varga
Hi, Seems harmless. Zoltan 2008/8/15 Marek Habersack [EMAIL PROTECTED]: Hello everybody, The attached patch implements reading the counter mentioned in the subject when using a named instance (on Unix it's a process ID). Please review, best, marek

Re: [Mono-dev] Leaky JIT while running MonoDevelop

2008-08-14 Thread Zoltan Varga
Hi, Try running the app with G_SLICE=always-malloc. That would force glib to allocate all memory using malloc, helping valgrind to produce more meaningful leak reports. Zoltan On Fri, Aug 15, 2008 at 1:22 AM, Casey Marshall [EMAIL PROTECTED] wrote: Rodrigo Kumpera wrote: Hi

Re: [Mono-dev] Arm overflow arithmetic

2008-08-08 Thread Zoltan Varga
Hi, I would vote for adding a flag, as it is simpler. Zoltan On Sat, Aug 9, 2008 at 12:25 AM, Rodrigo Kumpera [EMAIL PROTECTED] wrote: Hey guys, I just got myself into a roadblock today while fixing overflow arithmetic under ARM. The issue is that the emitted IR cannot be

Re: [Mono-dev] [PATCH] Fix autogen.sh warnings

2008-08-04 Thread Zoltan Varga
Hi, Looks ok to me. Zoltan 2008/8/4 Andreas Färber [EMAIL PROTECTED]: Hello, The attached patch suppresses an autogen.sh warning when run with NOCONFIGURE=1. Currently, autogen.sh claims to run configure without arguments, even when invoked in such a way as to not run configure

Re: [Mono-list] [Mono-dev] Mono preview 2.0 binary and DTrace

2008-08-04 Thread Zoltan Varga
Hi, Looking at dtrace.h, all the current probes seem to be in non-critical code-paths, so they are unlikely to have a perf impact. We could make --enable-dtrace=true the default in HEAD, so it gets some testing. Zoltan On Sat, Aug 2, 2008 at 7:16 PM, Geoff Norton

Re: [Mono-dev] [PATCH] Compilation fix for pre-C99

2008-08-03 Thread Zoltan Varga
Hi, Its ok to commit. Zoltan 2008/8/3 Andreas Färber [EMAIL PROTECTED]: Hello, Attached is a patch that fixes compilation with GCC 2.x. With this single ANSI C fix in place, Mono compiles with GCC 2.95.3. Please let me know if it's okay to commit on trunk. Andreas

Re: [Mono-dev] Mono preview 2.0 binary and DTrace

2008-08-03 Thread Zoltan Varga
barring any compelling reason we should leave the branch as is. -g On Sat, 2008-08-02 at 19:20 +0200, Zoltan Varga wrote: Hi, Looking at dtrace.h, all the current probes seem to be in non-critical code-paths, so they are unlikely to have a perf impact. We could make --enable-dtrace=true

Re: [Mono-dev] Mono preview 2.0 binary and DTrace

2008-08-02 Thread Zoltan Varga
Hi, Looking at dtrace.h, all the current probes seem to be in non-critical code-paths, so they are unlikely to have a perf impact. We could make --enable-dtrace=true the default in HEAD, so it gets some testing. Zoltan On Sat, Aug 2, 2008 at 7:16 PM, Geoff Norton

Re: [Mono-dev] [PATCH] eglib memory allocation changes

2008-08-01 Thread Zoltan Varga
Hi, Approved. Zoltan 2008/8/1 Bill Holmes [EMAIL PROTECTED]: Hello All, Attached is a patch to change eglib memory allocation methods to return NULL if the size is passed in is zero. If this is approved I would also like to put it into the 2.0 branch. I tracked a bug to

Re: [Mono-dev] Ping on nternal call builders

2008-07-30 Thread Zoltan Varga
Hi, This patch replaces a small, fast, simple piece of code in mono_emit_inst_for_method () with something far more complex. Also, about replacing icalls with generated IL code: - the code to generate the icalls is usually much bigger and more complex than the icall itself. - it replaces code

Re: [Mono-dev] Questions about the linear IR

2008-07-30 Thread Zoltan Varga
Hi, The old JIT used trees as its internal representation, and the only things which is easy with trees is code generation, everything else is hard. With the linear IR, most things are easy, and only a few things are hard, like optimizations which transform multiple operations into one, like

Re: [Mono-dev] [PATCH] Winx64 Linear IR Fixes

2008-07-28 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/7/28 Bill Holmes [EMAIL PROTECTED]: Hello All, I have a patch for the trunk that gets WInx64 back to a running state with the new Linear IR code. As Zoltan promised it was mostly relocating some of my previous commits to a new

Re: [Mono-dev] [PATCH] Win32 pinvoke3 runtime tests fixes

2008-07-28 Thread Zoltan Varga
Hi, 2008/7/28 Bill Holmes [EMAIL PROTECTED]: Hello All, I am sending an update to this patch since there have been some discussion since the original posting. The 2 changes since the previous patch are in mono_arch_emit_epilog. @@ -4186,6 +4192,11 @@ } } +

Re: [Mono-dev] HEADS UP: Linear IR branch merge

2008-07-27 Thread Zoltan Varga
in mono_runtime_invoke_array (method=0xa15d8b0, obj=0x0, params=0x24d5a0, exc=0x0) at object.c:3251 #10 0x080e30c1 in ves_icall_InternalInvoke (method=0x47c8b8, this=0x0, params=0x24d5a0, exc=0xbf9ffa28) at icall.c:3034 Everything works fine when using MONO_COUNT=0. On Thu, Jul 24, 2008 at 4:21 AM, Zoltan Varga

Re: [Mono-dev] HEADS UP: Linear IR branch merge

2008-07-27 Thread Zoltan Varga
Hi, This is now fixed in SVN. Thanks for reporting it. Zoltan On Sun, Jul 27, 2008 at 4:03 PM, Cedric Vivier [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 9:43 PM, Zoltan Varga [EMAIL PROTECTED] wrote: Does this happen with latest mono SVN HEAD ? If so, what is the output

Re: [Mono-dev] HEADS UP: Linear IR branch merge

2008-07-27 Thread Zoltan Varga
Hi, The crash is now fixed in SVN, but the other issues with the boo testsuite seem to be unrelated to the linear-ir merge. Zoltan On Sun, Jul 27, 2008 at 5:24 PM, Cedric Vivier [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 10:37 PM, Zoltan Varga [EMAIL PROTECTED] wrote

Re: [Mono-dev] HEADS UP: Linear IR branch merge

2008-07-23 Thread Zoltan Varga
, the old JIT code and this env variable will be removed. In case anyone wants to revert their tree to before the merge, the before merge revision is r108475. Zoltan On Tue, 2008-07-22 at 01:09 +0200, Zoltan Varga wrote: Hi All, Now that we have branched

Re: [Mono-dev] Profiler extension

2008-07-21 Thread Zoltan Varga
Hi, I think the best approach would be to add a method to the internal profile api to register these functions, instead of making the code manager in mono/utils depend on the profiler in mono/metadata. Also, instead of using an enum (adding another dependency between metadata and the jit), it

[Mono-dev] HEADS UP: Linear IR branch merge

2008-07-21 Thread Zoltan Varga
Hi All, Now that we have branched for mono 2.0, we would like to merge the work done on the linear IR branch to svn HEAD. The linear IR branch was created in 2005 October to explore some ideas on how to make our JIT simpler and how to make it generate better code. A lot of work

Re: [Mono-dev] HEADS UP: Linear IR branch merge

2008-07-21 Thread Zoltan Varga
, On Tue, 2008-07-22 at 01:09 +0200, Zoltan Varga wrote: Hi All, Now that we have branched for mono 2.0, we would like to merge the work done on the linear IR branch to svn HEAD. The linear IR branch was created in 2005 October to explore some ideas on how to make our JIT simpler and how

Re: [Mono-dev] [PATCH] Winx64 struct argument changes

2008-07-21 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/7/22 Bill Holmes [EMAIL PROTECTED]: Thanks Rodrigo! I still need this code considered for the branch. thanks -bill On Mon, Jul 21, 2008 at 7:25 PM, Rodrigo Kumpera [EMAIL PROTECTED] wrote: Hi Bill, You forgot to attach the patch.

Re: [Mono-dev] String.GetHashCode Discussion.

2008-07-16 Thread Zoltan Varga
Hi, Where is this hashcode implementation taken from ? I don't think we should invent new ones. Zoltan 2008/7/17 Marek Safar [EMAIL PROTECTED]: Hello, Here are some data which hopefully bring some light to this topic. I didn't measure uniqueness of

Re: [Mono-dev] [PATCH] Thread.Interrupt bug.

2008-07-07 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/7/7 Bill Holmes [EMAIL PROTECTED]: Hello All, I have a small threading patch that needs reviewed. Also contained in this patch are two unit tests that the changes to threads.c are meant to address. -bill

Re: [Mono-dev] [PATCH] Winx64 stack cleanup for calls

2008-07-07 Thread Zoltan Varga
Hi, It might be easier to define IS_STDCALL as FALSE on windows, since afaik there is no stdcall calling convention on winx64. Zoltan 2008/7/7 Bill Holmes [EMAIL PROTECTED]: Hello All, Attached (cleanStack_08_07_07.diff) is a small patch that should be specific to Winx64

Re: [Mono-dev] [PATCH] Winx64 stack cleanup for calls

2008-07-07 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan On Mon, Jul 7, 2008 at 9:22 PM, Bill Holmes [EMAIL PROTECTED] wrote: Zoltan, Agreed. I have attached an update. -bill On Mon, Jul 7, 2008 at 3:03 PM, Zoltan Varga [EMAIL PROTECTED] wrote: Hi, It might be easier to define IS_STDCALL as FALSE

Re: [Mono-dev] [PATCH] Mixed-mode: Ensure that the image is managed before calling LoadLibrary

2008-06-29 Thread Zoltan Varga
Hi, This is ok to check in. Changes to coreee.{h,c} and to the windows specific parts of image.c you wrote do not need a review. Zoltan 2008/6/29 Kornél Pál [EMAIL PROTECTED]: Hi, Currently LoadLibrary is called on the file that is possibly a CLI image. This patch

Re: [Mono-dev] Pending patches

2008-06-25 Thread Zoltan Varga
Hi, The first patch looks ok to check in. Zoltan 2008/6/25 Kornél Pál [EMAIL PROTECTED]: Hi, Please review these patches: [Mono-dev] [PATCH] Implement support for mixed-mode assemblies on Windows x64 as well:

Re: [Mono-dev] [PATCH] Marshaling structs on Winx64

2008-06-12 Thread Zoltan Varga
Hi, - ArgNone /* only in pair_storage */ + ArgNone, /* only in pair_storage */ + ArgValuetypeAddrInIReg } ArgStorage; - it would look better if ArgNone would be the last entry. + load-inst_left = (cfg)-varinfo [vtaddr-inst_c0];; -

Re: [Mono-dev] System.MathTest.TestIEEERemainder fails

2008-06-10 Thread Zoltan Varga
Hi, This is now fixed in SVN using your suggestion. Btw, some of our tests do fail on sparc, this is not a problem for most applications tough. Zoltan 2008/6/10 [EMAIL PROTECTED]: Hi, We have been able to successfully build Mono on Solaris 7 sparc (32 bit).

Re: [Mono-dev] System.MathTest.TestIEEERemainder fails

2008-06-10 Thread Zoltan Varga
, is there a possibility to know the list of test failures, known issues on Sparc. Thanks regards, Nataraj -Original Message- From: Zoltan Varga [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2008 4:20 PM To: Nataraj Ramaswamy (WT01 - Computing, Storage Software Products) Cc

Re: [Mono-dev] GC stop world stopping audio threads

2008-06-04 Thread Zoltan Varga
Hi, AFAIK, the GC only stops threads which are registered with it. This can happen in the following ways: - threads started by the runtime are registered automatically - threads registered using mono_thread_attach (). - on unix, if an application includes gc.h, the header file will redefine

Re: [Mono-dev] Paid mono hacking: Make AOT generate all code ahead of time

2008-06-04 Thread Zoltan Varga
Hi, On Wed, Jun 4, 2008 at 3:02 PM, Joachim Ante [EMAIL PROTECTED] wrote: Hi, We are looking for a skilled mono hacker who can implement some AOT features for ARM processors for us. * Currently AOT doesn't generate dynamic libraries. Instead it generates binary files from which the AOT'ed

Re: [Mono-dev] [PATCH] Mono DTrace provider v2

2008-06-03 Thread Zoltan Varga
Hi, Wouldn't be easier to pass the DTRACE and DTRACEFLAGS arguments to the prelink.sh script in Makefile.am as well, instead of creating it from an .in file ? Other than that, I think this is ok to check in. I still don't like the makefile changes, but at least they are inside an ifdef, so they

Re: [Mono-dev] [PATCH] Mono DTrace provider v3

2008-06-03 Thread Zoltan Varga
, in the meantime. It requires the same workaround for the gc-end probe as OpenSolaris. Am 03.06.2008 um 18:32 schrieb Zoltan Varga: Wouldn't be easier to pass the DTRACE and DTRACEFLAGS arguments to the prelink.sh script in Makefile.am as well, instead of creating it from an .in file ? Done

Re: [Mono-dev] [PATCH] VS Solution cleanup

2008-06-02 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/5/31 Bill Holmes [EMAIL PROTECTED]: In preparation of integrating Visual Studio compilation of the runtime as part of the cygwin make process I have done some cleanup with the solution and projects files in MSVC. I still have more to do

Re: [Mono-dev] [PATCH] Fixes for libtest.c and VS

2008-06-02 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/5/31 Bill Holmes [EMAIL PROTECTED]: Last patch for the week. I promise. These changes are to make libtest.c ready to be compiled in Visual Studio. I will be sending the patch for the new VS project and update to the solution. The

Re: [Mono-dev] [PATCH] Update to Winx64 stack patch

2008-06-02 Thread Zoltan Varga
Hi, This is ok to check in too. Zoltan 2008/5/30 Bill Holmes [EMAIL PROTECTED]: I have updated this patch based off a discussion with Zoltan on IRC. -bill On Wed, May 28, 2008 at 11:00 AM, Bill Holmes [EMAIL PROTECTED] wrote: I have a small patch that seems to have fix a

Re: [Mono-dev] System.Decimal performance

2008-06-02 Thread Zoltan Varga
Hi, The next mono release (2.0) will have better decimal performance, especially when doing divisions. Zoltan 2008/5/29 Leszek Ciesielski [EMAIL PROTECTED]: Hi, the company I work for builds finance-related software, so we use the Decimal type a lot.

Re: [Mono-dev] System.Decimal performance

2008-06-02 Thread Zoltan Varga
-devel-list- [EMAIL PROTECTED] Im Auftrag von Zoltan Varga Gesendet: Montag, 2. Juni 2008 22:15 An: Leszek Ciesielski Cc: mono-devel-list Betreff: Re: [Mono-dev] System.Decimal performance Hi, The next mono release (2.0) will have better decimal performance, especially when

Re: [Mono-dev] [Patch] Fix for leak in List`1, optimization for ArrayList

2008-05-29 Thread Zoltan Varga
Hi, This looks ok to check in. Although I would add a if (j -i 0) before the Array.Clear () call RemoveAll (). Zoltan 2008/5/29 Juraj Skripsky [EMAIL PROTECTED]: Hello, Attached you'll find two patches: * a fix for a memory leak in List`1 * a tiny optimization

Re: [Mono-dev] Double check locking pattern in Mono? (was: Some notes from my use of Gengarme...)

2008-05-13 Thread Zoltan Varga
AFAIK, the double-checking locking pattern is safe in C# if it is done using memory barriers: http://blogs.msdn.com/brada/archive/2004/05/12/130935.aspx Zoltan On Tue, May 13, 2008 at 4:58 PM, knocte [EMAIL PROTECTED] wrote: On Apr 28, 5:53 pm, Sebastien Pouliot [EMAIL

Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows (now build with cygwin as well)

2008-05-03 Thread Zoltan Varga
I have tracked down the issue. The problem is that load_aot_module_from_cache calls that calls mono_dl_open that calls LoadLibrary with just a file name without a full path. This will result in MS.NET assemblies being loaded when MS.NET is in PATH. I don't know how load_aot_module_from_cache

Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows (now build with cygwin as well)

2008-05-03 Thread Zoltan Varga
in System.Xml.dll from MS.NET being loaded when MS.NET is in PATH. Kornél - Original Message - From: Zoltan Varga [EMAIL PROTECTED] To: Kornél Pál [EMAIL PROTECTED] Cc: Jonathan Chambers [EMAIL PROTECTED]; mono-devel-list@lists.ximian.com Sent: Saturday, May 03, 2008 4:00 PM Subject: Re

Re: [Mono-dev] JIT and Inlining - why doesn't it happen?

2008-05-01 Thread Zoltan Varga
Hi, On my amd64 machine, that method does get inlined. You can check the output of mono -v -v -v -v for INLINE lines to see what gets inlined. Zoltan 2008/4/30 Alan McGovern [EMAIL PROTECTED]: This method does not get inlined: private uint Ch (uint u, uint v, uint w)

Re: [Mono-dev] JIT and Inlining - why doesn't it happen?

2008-05-01 Thread Zoltan Varga
of copies. Zoltan Alan. On Thu, May 1, 2008 at 12:47 PM, Zoltan Varga [EMAIL PROTECTED] wrote: Hi, On my amd64 machine, that method does get inlined. You can check the output of mono -v -v -v -v for INLINE lines to see what gets inlined. Zoltan

Re: [Mono-dev] Fix for Dictionary`2 applied to HashSet`1

2008-04-29 Thread Zoltan Varga
This is ok to check in. Zoltan 2008/4/29 Juraj Skripsky [EMAIL PROTECTED]: Hello, I've fixed an ugly leak(*) in Dictionary`2 today. As the code of the HashSet`1 class has been derived from the former class, it suffers from the same memory leak. The attached patch fixes this.

Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows (now build with cygwin as well)

2008-04-28 Thread Zoltan Varga
Hi, - image.c: mono_cli_rva_image_map is part of our public api, so its signature cannot be changed, you can rename it to mono_cli_rva_image_map_internal, and change the signature of that. I had a look at C:\Program Files\Mono\include and it doesn't contain any

Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows (now build with cygwin as well)

2008-04-28 Thread Zoltan Varga
Hi, This looks ok to check in. Zoltan On Mon, Apr 28, 2008 at 2:40 PM, Kornél Pál [EMAIL PROTECTED] wrote: Hi, From: Zoltan Varga Other than that, I think the patch is ok to check in. One thing that is missing is tests. Since the patch changes so many places

Re: [Mono-dev] Win64 Stack Arguments Patch

2008-04-25 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/4/25 Jonathan Chambers [EMAIL PROTECTED]: Hello, After getting some help on IRC I rewrote these changes. With this new patch, most of the regressions in mono/mono/mini run successfully (exception handling is not working). Code

Re: [Mono-dev] SIGILL in finally clause without catch

2008-04-25 Thread Zoltan Varga
Hi, Mono throws that exception when it receives a SIGILL signal while executing some code. If it receives it while executing native code, it appears that it is thrown by the (managed-to-native) wrapper. So the problem is usually in the native code. What

Re: [Mono-dev] SIGILL in finally clause without catch

2008-04-25 Thread Zoltan Varga
25.04.2008 um 12:01 schrieb Zoltan Varga: Hi, Mono throws that exception when it receives a SIGILL signal while executing some code. If it receives it while executing native code, it appears that it is thrown by the (managed-to-native) wrapper. So

Re: [Mono-dev] mono SEGFAULT problem

2008-04-25 Thread Zoltan Varga
Hi, This is now tracked as: https://bugzilla.novell.com/show_bug.cgi?id=383749 Zoltan 2008/4/25 Hubert FONGARNAND [EMAIL PROTECTED]: Hi, everibody Since about a week, my SMTP Server (which is in C#/mono) crashes about 1 time /day... It's a multithreaded program that work

Re: [Mono-dev] [PATCH] Add mixed-mode assembly support on Windows (now build with cygwin as well)

2008-04-25 Thread Zoltan Varga
Hi, Some comments to the patch: - appdomain.h: This is a public header file, so the new functions should go somewhere else, like domain-internals.h - domain.c: The code here could be put into a function in corree.c. - corree.h: Please include config.h, since that contains the definition of

Re: [Mono-dev] Mono on Nokia 770

2008-04-23 Thread Zoltan Varga
Hi, mono is currently not very usable on ARM: https://bugzilla.novell.com/show_bug.cgi?id=378735 Zoltan On Wed, Apr 23, 2008 at 1:32 PM, Rembrandt [EMAIL PROTECTED] wrote: Hi! I've tried to run my C# aplications (using Mono 1.2.5) on Nokia 770. So, I have two questions: a)

Re: [Mono-dev] Tuner fails on Windows when MS.NET is in PATH

2008-04-15 Thread Zoltan Varga
Hi, I find it hard to believe that we are loading MS's mscorlib.dll which is in some obscure directory. It is more likely the 'we are using the MS runtime' bug. Zoltan On Tue, Apr 15, 2008 at 10:22 PM, Jb Evain [EMAIL PROTECTED] wrote: Hi Kornél, On 4/15/08,

Re: [Mono-dev] verify.c compile error on cygwin

2008-04-14 Thread Zoltan Varga
Maybe 'interface' is a reserved word in some C/C++ version ? Zoltan 2008/4/14 Rodrigo Kumpera [EMAIL PROTECTED]: What's your gcc version? This is very odd. On Mon, Apr 14, 2008 at 6:11 PM, Gert Driesen [EMAIL PROTECTED] wrote: Hey, I recently updated my local cygwin install,

Re: [Mono-dev] verify.c compile error on cygwin

2008-04-14 Thread Zoltan Varga
Probably this is why we use 'iface' everywhere. Zoltan 2008/4/15 Jonathan Chambers [EMAIL PROTECTED]: I think I changed code that used 'interface' once before. Microsoft supports interface as an alias for struct. Perhaps an MS header pulled in somewhere has this #define.

Re: [Mono-dev] Mono on FreeBSD

2008-04-12 Thread Zoltan Varga
Hi, mono is not officially supported on BSDs as we have no BSD maintainer. You can try the mono packages in the FreeBSD ports collection, they might work better than the stock sources. Zoltan 2008/4/12 k0l0b0k [EMAIL PROTECTED]: Hi all! I'm plan to use mono (as service) and

Re: [Mono-dev] amd64 SSE2 Sqrt patch

2008-04-11 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/4/11 Jonathan Chambers [EMAIL PROTECTED]: Hello, Inspired by the patch for an SSE2 implementation of Abs (http://permalink.gmane.org/gmane.comp.gnome.mono.patches/111238), I tried Sqrt. This is only my 2nd JIT patch and my

Re: [Mono-dev] Data Execution Prevention and dynamic methods codegen

2008-04-08 Thread Zoltan Varga
Hi, This is tracked as: https://bugzilla.novell.com/show_bug.cgi?id=320036 Zoltan 2008/4/8 Aras Pranckevicius [EMAIL PROTECTED]: Hi, We have a problem in that when Data Execution Prevention (DEP) on Windows XP/Vista is on, some Mono scripts can't be executed. When debugging the

Re: [Mono-dev] mono_config_parse won't link, needs extern C declaration in header file

2008-04-02 Thread Zoltan Varga
Hey, That comment is obsolete, you don't need to call that function anymore. Zoltan As for the other issues, the only one remaining in 1.9 is that the Embedding Mono documentation (http://www.mono-project.com/Embedding_Mono) discusses calling another function

Re: [Mono-dev] Problems cross compiling Mono itself for ARM with uClibc

2008-03-18 Thread Zoltan Varga
Hi, I think the problem is located in the message: configure: error: C compiler cannot create executables. I don't know what to do. I really need help! Thomas This is configuration problem and has little to do with mono. You can try looking into the config.log file produced by

Re: [Mono-dev] [PATCH] [Windows] MSVC mono build fixes

2008-03-10 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan 2008/3/10 Bill Holmes [EMAIL PROTECTED]: Theses changes are needed for building the mono runtime with Visual Studio. Please review and let me know if it is OK to commit. The diff file has Windows end of lines. thanks -bill

Re: [Mono-dev] [PATCH] make MIPS port to work more

2008-02-27 Thread Zoltan Varga
Hi, Sorry for forgetting about this. This is now checked in. Zoltan 2007/11/14 Yoichi NAKAYAMA [EMAIL PROTECTED]: Hello, After the previous post, I adjusted calling convention and added missing code emission, etc (see details in ChangeLog entry). Now it passes:

Re: [Mono-dev] fix for bug #358987 in 1.9?

2008-02-21 Thread Zoltan Varga
Hi, I applied the following patch instead to the 1.9 branch: Index: HttpConnection.cs === --- HttpConnection.cs (revision 96098) +++ HttpConnection.cs (working copy) @@ -313,8 +313,11 @@ Socket s

Re: [Mono-dev] [PATCH] mcs/mkinstalldirs should have Unix line endings

2008-02-21 Thread Zoltan Varga
Yes. Zoltan Can I update SVN to use Unix line endings for mcs/mkinstalldirs? Kornél ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] xsp issu

2008-02-19 Thread Zoltan Varga
Hi, Try running it with xsp2 instead of xsp. Zoltan 2008/2/18 Sharique uddin Ahmed Farooqui [EMAIL PROTECTED]: Hi, I have created a simple web application with a grid view. I compile it with monodevelop rc1 (0.19). When I run with xsp it gives following error. **

Re: [Mono-dev] Problem with Ahead of Time Compilation on Windows because of 'as'

2008-02-15 Thread Zoltan Varga
Hi, --aot relies on GNU binutils package to assembly code. Try installing the corresponding cygwin package. Zoltan 2008/2/13 Sean [EMAIL PROTECTED]: I also posted the below here a few days ago but no one has responded.

Re: [Mono-dev] [Fwd: Mono/Alpha patches]

2008-02-12 Thread Zoltan Varga
Hi, This is now in SVN. Sorry for breaking things. Zoltan 2008/2/13 Sergey Tikhonov [EMAIL PROTECTED]: -- Forwarded message -- From: Sergey Tikhonov [EMAIL PROTECTED] To: mono-devel-list [EMAIL PROTECTED] Date: Wed, 13 Feb 2008 01:18:20 +0300 Subject: Mono/Alpha

Re: [Mono-dev] New code to build interface vtables

2008-02-04 Thread Zoltan Varga
Hi, I think it would be useful to leave the old code for a while, better yet control it with an env var so we can tell people using packages to set the env var when debugging a bug. Zoltan On Feb 4, 2008 5:39 PM, Massimiliano Mantione [EMAIL PROTECTED] wrote: On Mon, 2008-02-04 at

Re: [Mono-dev] [ARM] [WINFORMS] mono jit error

2008-01-25 Thread Zoltan Varga
Hi, This is now fixed in SVN. Zoltan 2008/1/22 Tim Cussins [EMAIL PROTECTED]: Hi guys, I'm attempting to get mono (esp WinForms) running on the Nokia N800, which requires armel binaries. I've built mono and libgdiplus from anonsvn using r93462, and I'm building and running the

Re: [Mono-dev] [PATCH] Add BadImageException to the list of class loading errors

2008-01-17 Thread Zoltan Varga
This is ok to check in. Zoltan 2008/1/17 Rodrigo Kumpera [EMAIL PROTECTED]: Hey guys, The attached patch adds BadImageException as one of the exceptions that can make class loading fail. This should happen if the class super type token is invalid. Rodrigo.

Re: [Mono-dev] interface vtables and virtual calls

2008-01-16 Thread Zoltan Varga
Hi, mono uses a method called IMT: http://primates.ximian.com/~massi/blog/archive/2007/May-10.html Zoltan On Jan 16, 2008 9:01 PM, [EMAIL PROTECTED] wrote: Hi all, I'm trying to learn about the under-the-hood workings of virtual calls to interfaces methods in languages like C#

Re: [Mono-dev] [ARM] Argument corruption problem

2008-01-15 Thread Zoltan Varga
Hey, This is now fixed in SVN: http://lists.ximian.com/pipermail/mono-patches/2008-January/107821.html Zoltan 2008/1/15 Tim Cussins [EMAIL PROTECTED]: Hi all! I'm having a pretty strange issue running mono on armel, hopefully someone can steer me in the right direction. I've

Re: [Mono-dev] Hello - monodevelopers -- goodbye problems!

2008-01-09 Thread Zoltan Varga
Hi, About the corlib.dll version problem: version 64 means you are using mono SVN, not 1.2.6. The probable fix is to recompile and reinstall mono. You probably has incompatible monoversions lying around on your system. Zoltan On Jan 9, 2008 9:21 PM, Nate Barger [EMAIL PROTECTED]

Re: [Mono-dev] [SPAM] Re: [PATCH] ToString() performace in Mono revisited

2008-01-09 Thread Zoltan Varga
Hi, I like the original version which contained managed arrays better. The new version might use less memory, but it contains lots of unsafe code using pointers, and this will become a problem when we want to do a security audit for moonlight.

Re: [Mono-dev] [PATCH] mono_exception_from_name_two_strings performance

2008-01-04 Thread Zoltan Varga
This is ok to check in. Zoltan On Jan 4, 2008 10:07 PM, Andreas Färber [EMAIL PROTECTED] wrote: Hello, I've noticed the following code in mono_exception_from_name_two_strings (metadata/exception.c): iter = NULL; while ((m = mono_class_get_methods (klass, iter))) {

Re: [Mono-dev] set culture uses serialization?

2008-01-03 Thread Zoltan Varga
Hi, The current culture is shared between appdomains so the runtime stores it in serialized form. Zoltan On Jan 3, 2008 8:21 AM, Steve Bjorg [EMAIL PROTECTED] wrote: I ran into the following error today on our system (note: I truncated the stack for legibility). The

Re: [Mono-dev] set culture uses serialization?

2008-01-03 Thread Zoltan Varga
domains, but why would it serialize inside the same app domain? Isn't CultureInfo an immutable object? - Steve -- Steve G. Bjorg http://wiki.mindtouch.com http://wiki.opengarden.org On Jan 3, 2008, at 6:49 AM, Zoltan Varga wrote: Hi, The current culture is shared

Re: [Mono-dev] set culture uses serialization?

2008-01-03 Thread Zoltan Varga
incurring the serialization cost, correct? Or am I missing something? - Steve -- Steve G. Bjorg http://wiki.mindtouch.com http://wiki.opengarden.org On Jan 3, 2008, at 8:48 AM, Zoltan Varga wrote: Because code in other appdomains might call Thread.CurrentCulture

Re: [Mono-dev] set culture uses serialization?

2008-01-03 Thread Zoltan Varga
- Steve G. Bjorg MindTouch 555 W. Beech St. Suite 501 San Diego, CA 92101 619.795.8459x1106 office 619.795.3948 fax 425.891.5913 mobile On Jan 3, 2008, at 11:17 AM, Zoltan Varga wrote: You could try calling Thread.CurrentCulture, compare the return value with the culture you

Re: [Mono-dev] FW: Mono on Solaris 10 x86 - just one question...

2007-12-31 Thread Zoltan Varga
Hi, See this: http://www.nabble.com/Building-Mono-1.1.12-on-Solaris-to2030980.html Zoltan On Dec 30, 2007 7:21 PM, Cetin Sert [EMAIL PROTECTED] wrote: I'm forwarding a question I have received. Hope someone comes up with a solution. -Original Message- From: Robert

Re: [Mono-dev] [PATCH] Perform bounds check on table decode

2007-12-30 Thread Zoltan Varga
This is ok to check in. Zoltan On Dec 30, 2007 10:58 PM, Rodrigo Kumpera [EMAIL PROTECTED] wrote: Hey, The attached patch adds an assert in both mono_metadata_decode_row(_col). I think it's better to assert than access random data. On the other hard, functions that decode metadata

Re: [Mono-dev] help subdependancies of native libraries without LD_PRELOAD

2007-12-27 Thread Zoltan Varga
Hi, You should link libk8055.so against libusb.so in the normal C way, then when libk8055.so is loaded by mono using dlopen (), libusb.so should be loaded automatically by libc. Zoltan On Dec 27, 2007 5:25 PM, Sam Liddicott [EMAIL PROTECTED] wrote: My mono code uses an external native

Re: [Mono-dev] FW: [Bug 349875] DictionaryTKey, TValue stores values out of order.

2007-12-20 Thread Zoltan Varga
Hi, We do try to mimic MS behaviour but this case is hard to solve, as what seems to be the MS behaviour is probably just an accident due to their implementation of GetHashCode. Zoltan On Dec 19, 2007 8:40 PM, Josh Mouch [EMAIL PROTECTED] wrote: I recall reading somewhere that

Re: [Mono-dev] Mono on UltraSPARC T2

2007-12-12 Thread Zoltan Varga
Hi, Mono should work on all sparc processors, even newer ones. What is not supported is the 64 bit ABI, eg. registers are always 32 bits long etc. Zoltan On Dec 12, 2007 1:05 PM, Gordon Robert Speirs [EMAIL PROTECTED] wrote: Hi folks, On the Mono runtime page on the site, it

Re: [Mono-dev] s/390x

2007-12-08 Thread Zoltan Varga
Hi, This is ok to check in. Zoltan On Dec 8, 2007 1:53 AM, Geoff Norton [EMAIL PROTECTED] wrote: The s/390x build is broken on trunk. This patch should fix it. -g ps Does anyone have the ISA for the s/390x from IBM? I can't find it on their site.

Re: [Mono-dev] Compile Mono Solaris

2007-12-06 Thread Zoltan Varga
Hi, Overall results: tests: 9006, failed: 19, opt combinations: 19 (pass: 99.79%) Regression ERRORS! This is expected. solaris is missing some C functions we use for rounding, so some tests are failing. Zoltan ___ Mono-devel-list

Re: [Mono-dev] Segfault on base class method access

2007-11-28 Thread Zoltan Varga
Hey, (this as A).ToString () still calls C's ToString () method, so you will get infinite recursion and a stack overflow leading to this crash. Zoltan On Nov 28, 2007 4:13 PM, Paul Melis [EMAIL PROTECTED] wrote: Hello, I tried to register at the bug tracker, but did not receive

Re: [Mono-dev] Int32.CompareTo() enhancement

2007-11-22 Thread Zoltan Varga
Hi, This looks ok to check in, altough the int xv = assignment is no longer needed. Zoltan On Nov 22, 2007 10:05 PM, Alan McGovern [EMAIL PROTECTED] wrote: I was just looking at the source of int32, and i noticed that there was room for improvement in the implementation of

Re: [Mono-dev] [PATCH] Generic sharing: Static field access

2007-11-20 Thread Zoltan Varga
Hi, I was referring to Mark's code which does have a managed-to-unmanaged transition. Your approach looks fine to me. Zoltan On Nov 20, 2007 10:34 AM, Paolo Molaro [EMAIL PROTECTED] wrote: On 11/19/07 Zoltan Varga wrote: The problem with the trampoline is that since the class

<    1   2   3   4   5   6   7   8   >