Re: [Mono-list] gunicode.c:234: error: `ENOTSUP' undeclared (first use in this function)

2011-04-24 Thread Robert Jordan
On 24.04.2011 20:53, Rod wrote: First of all I have tried four different methods to compile Win32 and the only one that got close to working is MinGW/MSys. So please tell me your supported method of compiling Win32 from Source with instructions on how to do it and I will do it. Because

Re: [Mono-winforms-list] problem with system.windows.forms and CentOs 5.3 x64 and Deadline

2011-04-21 Thread Robert Jordan
On 21.04.2011 00:40, Ian Norton wrote: Looks pretty much like it can't find any c libraries, do any mono program's work? What makes you think it can't find any shared libraries? You're probably confusing the probes with error messages. The only file that doesn't seem to exist is

Re: [Mono-list] How does the Mono Project build the Win32 EXE?

2011-04-21 Thread Robert Jordan
On 21.04.2011 22:43, Rod wrote: Hi Alex, I tried you process with Cygwin. 1) alias gcc to gcc-3 (this was already done) 2) downloaded http://www.go-mono.com/archive/helper/make-3.80-1.tar.bz2 3) extracted and overwrote existing files in cygwin 4) ./autoconf.sh That is as far as I got,

Re: [Mono-list] How does the Mono Project build the Win32 EXE?

2011-04-21 Thread Robert Jordan
On 21.04.2011 22:03, Rod wrote: When I say it doesn't work, I mean as documented by the Mono Project. Why doesn't it require the alias, and why would I want to uninstall the latest version of gcc? Is there any official documentation on how to do this? Is there any 3rd party documentation on

Re: [Mono-dev] compile mono on windows

2011-04-17 Thread Robert Jordan
On 17.04.2011 09:11, Quandary wrote: Hi, From my experience, MinGW is usually faster. But it probably depends on the version of gcc they both use. However, speed is not the main issue. The main difference is, MinGW links against the native Windows libc runtime (crtdll.dll), while Cygwin

Re: [Mono-dev] compile mono on windows

2011-04-16 Thread Robert Jordan
Hi, On 15.04.2011 22:51, Frank Fuchs wrote: After some more successful tests I can confirm that I build a more or less functional version of a 64 bit native Windows mono runtime using Mingw-w64 and MSys (without cygwin). How does the Mingw build time compare to cygwin's? Robert

Re: [Mono-list] Does mono-service4 exist?

2011-04-16 Thread Robert Jordan
On 16.04.2011 13:52, Volodia wrote: I'm developing a service application which references .NET Framework 4.0. Can I run it using mono-service or mono-service2? Does mono-service2 execute only .NET 2.0 apps? Mono-service is actually mono-service4 under all Mono versions = 2.8. Robert

Re: [Mono-list] Does mono-service4 exist?

2011-04-16 Thread Robert Jordan
On 16.04.2011 19:07, Abe Gillespie wrote: I'm not sure that's totally correct ... it doesn't get my service running anyhow. This is how I do it: Please post the output of grep exec `type -p mono-service` | head -n 1 Robert #!/bin/bash export MONO_OPTIONS=--runtime=v4.0.30319 export

Re: [Mono-list] using piep with Process

2011-04-16 Thread Robert Jordan
On 15.04.2011 22:33, Leonel Florin Selles wrote: Hi, here I'm again: Well, now I want to execute this Linux shell command users | wc -w, through this I get the numbers of users that are using the system, for example, if there are the user Florin and root logged, that command will give me the

Re: [Mono-dev] when to call mono_thread_attach

2011-04-15 Thread Robert Jordan
On 15.04.2011 17:19, Ng, Victor wrote: Also, how do I know what objects I have to call mono_free on? I can't seem to find a good reference on that topic. This is usually well-documented. Where can I find this documentation? So far, I only now about mono_string_new from the embedding

Re: [Mono-dev] mkbundle2 and libMonoPosixHelper.so

2011-04-13 Thread Robert Jordan
On 13.04.2011 09:03, danwalmsley wrote: Is there a problem with mkbundle2 (this also happens with mkbundle)? Surely we shouldn't have to distribute these library modules alongside our application? I used the mkbundle2 --deps command to make sure all dependancies are included. It's by

Re: [Mono-dev] when to call mono_thread_attach

2011-04-13 Thread Robert Jordan
On 13.04.2011 19:19, Ng, Victor wrote: Hi all, I'm trying to embed a Mono process inside of CPython but I'm having some trouble with threads. When am I supposed to call mono_thread_attach? From within threads not created by Mono... Right now, I'm invoking it immediately after

Re: [Mono-dev] compile mono on windows

2011-04-12 Thread Robert Jordan
On 12.04.2011 08:56, Frank Fuchs wrote: Hi, I think I finally manged to build mono (2.10.1) on windows using mingw-w64 (TDM build) together with the patches from here: https://build.opensuse.org/package/files?package=mingw64-monoproject=windows%3Amingw%3Awin64. I did end up with a

Re: [Mono-dev] MonoStartXSP is dropped?

2011-04-10 Thread Robert Jordan
On 10.04.2011 04:50, Годько Алексей wrote: Hello folks! I'm training to use mod_mono on shared hosting with a few websites, and found that MonoStartXSP is no longer supported - is it true? The directive is called MonoRunXSP. Robert ___

Re: [Mono-dev] Bug in System.Windows.Forms.WebBrowser

2011-04-09 Thread Robert Jordan
On 09.04.2011 19:59, Quandary wrote: But the problem is: object objReturnValue = this.wbSQLhighlighter.Document.InvokeScript(getSqlStatement); returns on the first run, and crashes when run for a second time... It seems like InvokeScript is buggy. It's a bug in gluezilla's string marshaling

Re: [Mono-dev] Bug in System.Windows.Forms.WebBrowser

2011-04-09 Thread Robert Jordan
On 09.04.2011 20:42, Quandary wrote: Oh, and I still forgot: The cursor is not visible, and it doesn't become visible when one clicks on the edit area... That's also a bug. And a quite terminal one I might add. For a syntax-highlighting control where you should be able to edit text at

Re: [Mono-dev] Olive working with 2.10.1?

2011-04-08 Thread Robert Jordan
On 08.04.2011 22:06, Brad Cunningham wrote: I have installed mono via yum to the default location (/opt/novell/mono) so I do make prefix=/opt/novell/mono it appears to build but it doesn't move any dll's in the mono folders and my app's that depend on things in, say, PresentationCore

Re: [Mono-list] Loading assemblies from a different places

2011-04-07 Thread Robert Jordan
On 07.04.2011 12:01, Sermus wrote: With Mono 2.6.7 it behaves differently. It always returns reference to dir1/assembly.dll whatever path i pass to LoadFrom(). I suppose this is because Mono detects that the assemblies are really the same (BTW how?) and after loading the first one it doesn't

Re: [Mono-list] Loading assemblies from a different places

2011-04-07 Thread Robert Jordan
On 07.04.2011 12:39, Sermus wrote: I suppose this is the same as http://lists.ximian.com/pipermail/mono-bugs/2007-January/052615.html But the latter is in new state for 4 years already?! Yes, it's still not fixed because it's a non-issue for well-designed applications. Defeating the loader

Re: [Mono-list] Loading assemblies from a different places

2011-04-07 Thread Robert Jordan
On 07.04.2011 13:06, Sermus wrote: Sigh... Again, you're right, but one quite common exception must be considered. Two well designed components done by different people often become an ugly system after integrating with each other. This is a situation i'm in now. I understand that complaining

Re: [Mono-list] Loading assemblies from a different places

2011-04-07 Thread Robert Jordan
Robert Jordan [via Mono] ml-node+3433212-806412664-228...@n4.nabble.com On 07.04.2011 13:06, Sermus wrote: Sigh... Again, you're right, but one quite common exception must be considered. Two well designed components done by different people often become an ugly system after integrating

Re: [Mono-dev] Possible QuickSort optimizations for Array.Sort()

2011-04-06 Thread Robert Jordan
Hi, On 06.04.2011 15:48, Jeffrey Stedfast wrote: static readonly int INSERTIONSORT_THRESHOLD = 7; Why not to used const int ? I never learned when to use const vs static/readonly in C# :-( Consts will be expanded inline by the compiler. pros: fast cons: versioning trouble when the const is

Re: [Mono-list] Need Business Case for Mono

2011-04-06 Thread Robert Jordan
On 06.04.2011 14:04, Stapleton, Steven J. wrote: In Java - If you want to unload a java module you've dynamically loaded runtime, you need to get rid of all references to the loaded module and hope the GC has decided to delete it. If you do not, or the GC has not, then when you request the

Re: [Mono-list] [Fwd: Re: Can someone analyze this code and tell me what happens]

2011-04-06 Thread Robert Jordan
On 06.04.2011 17:33, Leonel Florin Selles wrote: I have put the [Serializable] attribute on the class but I steel get this Details : System.IO.FileNotFoundException has been thrown Could not load file or assembly 'cliente' or one of this dependencies. The system cannot find the file

Re: [Mono-dev] FW: gmcs : compiling website periodically 3-4 minutes

2011-03-25 Thread Robert Jordan
- From: mono-devel-list-boun...@lists.ximian.com [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Robert Jordan Sent: quarta-feira, 23 de Março de 2011 17:43 To: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] gmcs : compiling website periodically 3-4 minutes

Re: [Mono-dev] gmcs : compiling website periodically 3-4 minutes

2011-03-23 Thread Robert Jordan
On 23.03.2011 18:19, Hugo Ribeiro wrote: all was good, the problem arises passing 3-4minutes he does this again without any changes. This is being done periodically in intervals of 3-4 minutes. Any reason for him keep getting compiled on the temporary? Try to disable Mono's file system watcher

Re: [Mono-dev] WCF Web API

2011-03-22 Thread Robert Jordan
On 22.03.2011 16:48, Joe Dluzen wrote: Hi all, Anyone able to run the new WCF Web API on Mono? Will the license allow it to be included in the core when it's ready? The current license does not even allow to execute the code on operating systems != Windows. Robert

Re: [Mono-dev] Embedding Mono

2011-03-18 Thread Robert Jordan
On 18.03.2011 11:48, vinay_rk wrote: While mono_jit_init gets a valid looking pointer, the mono_domain_assembly_open returns a null pointer. Is this because of something I did wrong with the mono.lib I' am linking against.. ? I created the Mono.lib using the mono.def file and with the command:

Re: [Mono-dev] Embedding Mono

2011-03-17 Thread Robert Jordan
On 17.03.2011 11:01, vinay_rk wrote: Hi, I' am compiling my App from MonoDevelop (with Gcc under the hood). I tried using mono_assembly_setrootdir to set the path to the mono Libraries where MonoPosixHelper.dll and libMonoPosixHelper.dylib are present but it doesn't change anything, I still

Re: [Mono-dev] TFS code

2011-03-13 Thread Robert Jordan
Hi, On 13.03.2011 22:19, pablosantosl...@terra.es wrote: Hi there, Looong ago I remember I read some Team Foundation Server client code was developed and uploaded to the mono repo. Since we're heavily working on Plastic SCM interop with TFS, Git and others, I'd like to use the TFS Client

Re: [Mono-dev] Internet code which is fine under .NET, but dies on mono

2011-03-11 Thread Robert Jordan
On 11.03.2011 13:56, Paul Johnson wrote: The code will fire up fine under mono, but fails to communicate with the google service complaining that it was able decode the returned string or the end of the string has been found, Odds are that you did not install any root certs on your machine.

Re: [Mono-list] Problem with Monocharge installing

2011-03-11 Thread Robert Jordan
On 11.03.2011 09:35, ketzer wrote: System: Dell Inspirion 6400 Core Duo T2300 @ 1.66 Ghz 1.5 Gb RAM on Ubuntu 10.10 alex@dell6400:~/Загрузки/monocharge-20110309$ mono -V Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1) Copyright (C) 2002-2010 Novell, Inc and Contributors.

Re: [Mono-dev] Embedding Mono

2011-03-10 Thread Robert Jordan
On 10.03.2011 08:26, vinay_rk wrote: I' am trying to Embed Mono with C/C++ and so far I've been able to compile and link my c++ project with the required Mono headers and lib. My code looks something like this: MonoDomain *domain; MonoAssembly *assembly; This will initialize the

Re: [Mono-dev] Mono-Service2 queries which one is good mono-service2 or simple app with UnixSignal.WaitAny()

2011-03-08 Thread Robert Jordan
On 08.03.2011 13:00, srinin wrote: Hi all, We are planning to develop a user services like windows services in windows for MAC. And we wanted to communicate both services with shared memory IPC. Here i wanted to know following things 1. Looks like mono-service2 is sufficient for requirement

Re: [Mono-dev] building mono on OpenSolaris x86_64

2011-03-07 Thread Robert Jordan
On 07.03.2011 15:45, Απόστολος Συρόπουλος wrote: To continue my story I have disabled dtrace, that is, I have used the following: CC=x86_64-pc-solaris2.11-gcc CXX=x86_64-pc-solaris2.11-g++ \ CFLAGS=-I/opt/mono/include LDFLAGS=-m64 -L/opt/mono/lib -R/opt/mono/lib \ ./configure

Re: [Mono-list] gmcs crashes on C#3 solution

2011-03-05 Thread Robert Jordan
On 05.03.2011 11:16, Felix Natter wrote: hello, when trying to compile a CSharp3 solution using monodevelop, gmcs crashes: /usr/bin/gmcs /noconfig /out:/home/felix/doks/CSMath/ANTLR/antlr-3.3/runtime/CSharp3/Sources/Antlr3.Runtime/bin/Debug/Antlr3.Runtime.dll /r:System.dll

Re: [Mono-dev] SessionStateStoreProviderBase problem

2011-03-04 Thread Robert Jordan
On 04.03.2011 15:51, René E. Kalverboer wrote: In MONO runtime you get the error : -- Argument cannot be null. Parameter name: id Description: HTTP 500. Error

Re: [Mono-dev] Emedding mono: System.Windows.Form trouble

2011-03-03 Thread Robert Jordan
On 03.03.2011 11:09, Guy Sherman wrote: The program then continues on to process the main event loop of the C++ side of things. It seems like you don't start WinForms' event loop machinery at all. This is done by invoking Application.Run(Form) or one of its overloads. Of course, this won't fly

Re: [Mono-list] mono-service doesn't catch any signal

2011-03-02 Thread Robert Jordan
On 02.03.2011 10:51, cometeor wrote: I'm using mono-2.8.2 on debian (virtual machine by openvz). My test service: class Test : ServiceBase { static void Main() { ServiceBase.Run(new Test()); } static void Run() { while (!finished) { } } static

Re: [Mono-dev] Mono-2.8.2 Cross Compiled for ARM processor (Interesting issue with Generics)

2011-03-01 Thread Robert Jordan
On 28.02.2011 23:30, Sean Hubbell wrote: Given the following example, could someone confirm if this is an issue or just my misunderstanding of the methods? The below is Mono 2.8.2 Cross Compiled for an ARM processor. The issue comes up when I would like to do a couple of things with generics:

Re: [Mono-dev] creating excel files

2011-02-28 Thread Robert Jordan
On 28.02.2011 14:55, eng. Ahmed Youssef wrote: But it doesn't behave this way under .net. It doesn't dispose the stream. Please file a bug at http://mono-project.com/Bugs. MS.NET is actually only closing part streams (as documented), while Mono is closing the underlying package stream as well,

Re: [Mono-list] System.Runtime.Serialization missing

2011-02-26 Thread Robert Jordan
On 26.02.2011 19:04, David Auzinger wrote: Some Additional Information: When i upload the System.Runtime.Serialization.dll i get the same error again but with System.Data, when i upload the System.Data.dll the runtime crashes ;) But I'm not sure of the mono Verison installed on the sever, so

Re: [Mono-dev] Third Party dll error, member function returns null, but works in .NET

2011-02-18 Thread Robert Jordan
On 17.02.2011 21:14, and...@cogmation.com wrote: Hi, I have been fighting this issue for a couple weeks now. I have a small test program which works in .net, but when running in mono, i get a System.NullReferenceException. I have attached my test program, including the necessary third

Re: [Mono-dev] Third Party dll error, member function returns null, but works in .NET

2011-02-18 Thread Robert Jordan
On 18.02.2011 11:29, Robert Jordan wrote: On 17.02.2011 21:14, and...@cogmation.com wrote: Hi, I have been fighting this issue for a couple weeks now. I have a small test program which works in .net, but when running in mono, i get a System.NullReferenceException. I have attached my test

Re: [Mono-list] RemotingServices.Marshal() segfaults randomly (SIGSEGV)

2011-02-15 Thread Robert Jordan
On 15.02.2011 11:25, Arvindkumar Tiwary wrote: For package management tool 'ZMD' , based on mono and provided in SLES 11 distro , i see a random behavior where on start of ZMD service on 64bit , it fails with SIGSEGV. The last API call in ZMD where it got failed was

Re: [Mono-aspnet-list] what is the difference between apache+mod_mono+xsp and xsp single?

2011-02-14 Thread Robert Jordan
On 14.02.2011 08:30, avltree wrote: Dear all: as far as i know, both mono+apache+mod_mono+xsp and mono+xsp could host the asp.net project on linux. but what is the actual differences between them? Mod_mono a module for the Apache HTTP server, while XSP is a standalone HTTP server.

Re: [Mono-list] DllImport and modifying library search path

2011-02-14 Thread Robert Jordan
On 14.02.2011 08:15, Uli Hertlein wrote: But the basic issue is still stands: I can set the LD_LIBRARY_PATH to complete garbage from within Mono but dlopen (and hence DllImport?) just ignores it. It's almost like the dlopen is executed from another process, and so doesn't pick up the

Re: [Mono-dev] Unable to build Mono 2.10 RC4 on x86_64

2011-02-12 Thread Robert Jordan
On 12.02.2011 17:07, Paul F. Johnson wrote: Hi, I'm trying to build the latest release candidate for mono on my 64 bit box and it keeps moaning about an assert failure make[8]: Entering directory `/home/paul/rpmbuild/BUILD/mono-2.10/mcs/tools/gacutil' MCS [basic] gacutil.exe

Re: [Mono-aspnet-list] One VirtualHost runs, with a second the first fails

2011-02-11 Thread Robert Jordan
Hi, On 11.02.2011 11:43, flowdy wrote: GC Warning: Marker thread creation failed, errno = 12. ** ERROR **: _wapi_collection_init: Couldn't create handle collection thread: Resource temporarily unavailable aborting... You're running out of resources on this machine. Is it somehow limited (is

Re: [Mono-list] DllImport and modifying library search path

2011-02-11 Thread Robert Jordan
Hi, On 11.02.2011 08:26, Uli Hertlein wrote: Now, to pickup the correct shared library I thought I'd prefix the the respective search path (LD_LIBRARY_PATH on Linux, DYLD_LIBRARY_PATH on OS X, and PATH on Windows) with this directory. This is then set using

Re: [Mono-winforms-list] MessageBox.Show() segmentation fault in Mac OS X

2011-02-10 Thread Robert Jordan
On 10.02.2011 17:15, bpipe wrote: I tried setting different mono --security= options and it show MEssageBox with Core-CLR or CAS (i have no idea what it means) but app freezes after this. mono --security is an experimental feature. It won't fix your issue anyway. See my answer to you original

Re: [Mono-list] mono error: DllNotFoundException when calling from C code

2011-02-10 Thread Robert Jordan
On 10.02.2011 07:12, coolmanu07 wrote: Hello, I have developed an application in mono .Net. I call a method of this application from C code and that is working fine. Then i included a new method in my .net class which is using System.Net dll of .Net. now the C code is not able to call that

Re: [Mono-list] Call managed from unmanaged code?

2011-02-10 Thread Robert Jordan
On 10.02.2011 20:00, rarthi wrote: Hi Jonathan, Can you explain on this point a little more ? 3. Mono does have some support for COM Interop, but note that there is minimal to no tool support for generating the wrapper interfaces and interop libraries.

Re: [Mono-list] Mono 2.8.2/Solaris 10 (Sparc) UDP Socket Send/Receive Timeout Exceptions

2011-02-10 Thread Robert Jordan
On 10.02.2011 20:33, rpollestad wrote: I recently compiled mono 2.8.2 on both Linux and Solaris 10 and am in the process of testing a small UDP client program out (written on Windows). The linux install works without issue and reports no errors. However, Solaris throws some exceptions when

Re: [Mono-list] logging to remote syslog servers

2011-02-10 Thread Robert Jordan
On 10.02.2011 22:14, GARRISON, TRAVIS J. wrote: I have been able to log requests to the local syslog server just fine. How to I edit my code to send the logs to a remote syslog server? Remote logging cannot be controlled by code. You must configure the local syslogd daemon to forward its

Re: [Mono-dev] Issues with StructureToPtr- and PtrToStructure-wrapper building

2011-02-08 Thread Robert Jordan
On 08.02.2011 10:51, Martin Däumler wrote: When trying to adopt the pre-compilation routine to the mscorlib, some classes cause a SIGABRT. For example, 'System.MonoEnumInfo', 'System.Configuration.Assemblies.AssemblyHash' or 'ProcessMessageRes' do not work. The stacktrace is always as follows:

Re: [Mono-dev] Issues with StructureToPtr- and PtrToStructure-wrapper building

2011-02-08 Thread Robert Jordan
On 08.02.2011 11:31, Robert Jordan wrote: On 08.02.2011 10:51, Martin Däumler wrote: When trying to adopt the pre-compilation routine to the mscorlib, some classes cause a SIGABRT. For example, 'System.MonoEnumInfo', 'System.Configuration.Assemblies.AssemblyHash' or 'ProcessMessageRes' do

Re: [Mono-dev] Issues with StructureToPtr- and PtrToStructure-wrapper building

2011-02-08 Thread Robert Jordan
Martin, On 08.02.2011 15:30, Martin Däumler wrote: On 08.02.11 11:31, Robert Jordan wrote: On 08.02.2011 10:51, Martin Däumler wrote: [...] So, my question is: Which classes and structs allow the generation of StructureToPtr- and PtrToStructure-wrappers at all and how to determine

Re: [Mono-aspnet-list] Bug With Default Index Files (MonoServerDefaultIndexFiles) and Pre-compiled Sites with Xsp2

2011-02-05 Thread Robert Jordan
On 05.02.2011 13:51, Dave Glick wrote: AFAIR, precompiling does not remove the .aspx et al. It just strips them out of content and leaves one line saying that the file is a place holder... So 'Default.aspx' should be there with that line but the actual class is loaded from the 'bin' directory.

Re: [Mono-aspnet-list] Bug With Default Index Files (MonoServerDefaultIndexFiles) and Pre-compiled Sites with Xsp2

2011-02-05 Thread Robert Jordan
Hi Dave, On 05.02.2011 15:05, Dave Glick wrote: When I precompile my sites with MS.NET 3.5, all *.as?x files are kept in place with their content replaced with: This is a marker file generated by the precompilation tool, and should not be deleted! So they are actually physically existent,

Re: [Mono-dev] StreamReader.ReadToEnd crashes sometimes

2011-02-04 Thread Robert Jordan
On 04.02.2011 14:06, cs_eps wrote: Hallo experts! Once in a while StreamReader.ReadToEnd() crashes with the following stack trace: Mprotect failed at 0x4621e000 (length 20480) with errno 12 Stacktrace: at (wrapper managed-to-native) object.__icall_wrapper_mono_array_new_specific

Re: [Mono-dev] Recent C# compiler changes

2011-02-03 Thread Robert Jordan
Marek, On 03.02.2011 13:48, Marek Safar wrote: On top of that mcs.exe is now .net 4 application which means you need to install mono including .net 4.0 support to be able to compile any C# program. What's the lowest Mono version that can be used to bootstrap the current git version? Robert

Re: [Mono-list] Mono.Posix

2011-02-02 Thread Robert Jordan
On 02.02.2011 11:54, Steve Lessard wrote: I just wrote a simple command line tool using the Mono.Unix.Native namespace in the Mono.Posix assembly. This tool basically checks a file's permissions to see if the file is executable by any or all of user, group, other. It works great on my

Re: [Mono-dev] Alignment issue when interoperate with native code

2011-01-30 Thread Robert Jordan
Christian, On 30.01.2011 21:56, Christian Krause wrote: It would be great if someone could confirm whether my findings are correct. ;-) Thank you very much in advance! Your findings are correct :) Mono is aligning its structs and classes using GCC's __alignof__ builtin which returns optimal

Re: [Mono-list] System.Diagnostic.Process and event handlers

2011-01-29 Thread Robert Jordan
On 29.01.2011 13:28, noda wrote: Hi, I'm trying to port my .net console application on mono, and I'm experiencing strange problems with external Process running with event handlers. Here is what I'm doing: - creating a new System.Diagnostic.Process, to run mencoder with some specific

Re: [Mono-dev] Patch to HashSet (System.Core) to enable serialization

2011-01-28 Thread Robert Jordan
On 28.01.2011 14:04, Nicklas Overgaard wrote: Hi everyone, I'm kind of stuck with adding support for this. After looking at the .net binary serialization of their HashSet via a hex editor, it seems that they only store: Version Comparer Capacity Elements Now,

Re: [Mono-list] multilingual

2011-01-28 Thread Robert Jordan
On 28.01.2011 14:42, David Tristram wrote: Hello I have a program written C# under VS2005. I have to put on this program under Linux. I think that mono can help me to realize it. If I understood well : - I can integrate MONO into VS2005 not to change environment of development You don't

Re: [Mono-dev] Exception in runtime-invoke Wrapper

2011-01-27 Thread Robert Jordan
Hi Martin, On 27.01.2011 18:15, Martin Däumler wrote: Hello Robert, thank you for your answer! On 24.01.2011 18:08, Robert Jordan wrote: You may want to look at how Mono is handling those wrappers with its full-AOT subsystem. Actually, my pre-compilation code bases on the Full-AOT code

Re: [Mono-list] dlopen problem on Mono 2.4.4

2011-01-27 Thread Robert Jordan
On 27.01.2011 13:57, batuakan wrote: Hello, I upgraded to mono version 2.6.7 but I still have the same problem. So of the hex numbers has changed but I still get the same output. Does it work on your system? What Linux system are you on? I cannot reproduce it with Mono 2.4, 2.6, 2.8, 2.10.

Re: [Mono-dev] Unit testing an assembly: Makefile, std test suite, and reviewing.

2011-01-26 Thread Robert Jordan
Hi, On 26.01.2011 14:10, Antoine Cailliau wrote: Hi all, I implemented System.ComponentModel.DataAnnotations. RegularExpressionAttribute. And I wrote some unit tests to check if it works. I've 3 questions for you. First, my tests are not compiled, nor run. Where should I add a reference

Re: [Mono-list] OutOfMemory Segmentation fault for Hashtable

2011-01-25 Thread Robert Jordan
On 25.01.2011 13:16, Yury Serdyuk wrote: Can I post a corresponding entry on the bugzilla? You can, but consider that even on 64 bit systems *a single object* cannot exceed 2GB (except Mono's big arrays), so the error you've encountered is probably not a bug (in doesn't work under MS.NET 64-bit

Re: [Mono-dev] Finalizers in CriticalHandle

2011-01-24 Thread Robert Jordan
On 24.01.2011 11:11, Dick Porter wrote: On Sat, 2011-01-22 at 00:09 -0500, Gonzalo Paniagua Javier wrote: I think a more correct patch would be the one attached. Avoids having 'if (Invalid) return;' followed by 'if (!Invalid)...'. Sure. I just wanted to highlight the obviousness of the

Re: [Mono-dev] Exception in runtime-invoke Wrapper

2011-01-24 Thread Robert Jordan
On 24.01.2011 16:57, Martin Däumler wrote: But now I am not sure if these methods ever need a runtime-invoke wrapper. So my question is: Which methods might ever need a runtime-invoke wrapper? Or, what does a runtime-invoke wrapper exactly do? Runtime-invoke wrappers are used for late-bound

Re: [Mono-dev] Patch to HashSet (System.Core) to enable serialization

2011-01-21 Thread Robert Jordan
Hi Nicklas, On 21.01.2011 10:35, Nicklas Overgaard wrote: Hi, Attached is a patch that makes the HashSet class serializable. Included are unittests to check the functionality. Thanks for the patch. There are some issues with it, though: 1) it's not allowed to expose public members as you do

Re: [Mono-list] Large memory applications

2011-01-20 Thread Robert Jordan
On 20.01.2011 19:05, David Henderson wrote: Here are the details: Software/mono-2.8.2 ls /opt/bin/mono --version ls (GNU coreutils) 7.1 You should tell Richard that his 'ls' is erroneously accepting excess arguments while processing the --version option ;) Robert Copyright (C) 2009 Free

Re: [Mono-list] Command line parameters with spaces

2011-01-20 Thread Robert Jordan
On 20.01.2011 23:58, karolo84 wrote: Hi all, having found nothing on the web when searching for it made me fear it will either be trivial or very special. [user@cluster ~]$ /opt/novell/mono/bin/mono /home/user/bin/a.exe SELECT Is /opt/novell/mono/bin/mono a shell script by chance? Robert

Re: [Mono-list] Command line parameters with spaces

2011-01-20 Thread Robert Jordan
On 21.01.2011 00:39, karolo84 wrote: Indeed it is: cat /opt/novell/mono/bin/mono #!/bin/sh . /opt/novell/mono/bin/mono-addon-environment.sh exec /opt/novell/mono/bin/mono.bin $@ You must double quote $@: exec /opt/novell/mono/bin/mono.bin $@ Robert

Re: [Mono-dev] Trying to find source for DispatcherObject.cs

2011-01-13 Thread Robert Jordan
On 12.01.2011 23:35, Brad Cunningham wrote: I am seeing a strange error in the DispatcherObject in 2.8.1 and I am having trouble finding the source code to confirm the error. For those interested my issue is this: I can confirm that my object is being constructed on the same thread that the

Re: [Mono-list] mono process keeps using CPU even when the browser is closed

2011-01-13 Thread Robert Jordan
On 13.01.2011 10:03, vanessa wrote: Hi, I'm using mono 2.4.3 version, with httpd and xsp2. When I launch the server, the mono process uses 0%, then I open the browser and executes several calls to some of my controllers ( c#) so at that moment the CPU usage increases. The problem is that

Re: [Mono-dev] Urgent: need more help with Git :(

2011-01-07 Thread Robert Jordan
On 07.01.2011 20:51, Stifu wrote: I think I messed up. Like, badly. See this: https://github.com/mono/mono/commit/22c53124ae437b2e7311f3beabd9de22d83b15db I don't know what this merge is about (I'm its author), but it looks bad to me. It's probably this situation:

Re: [Mono-dev] File not found error when using Activator.CreateInstanceFrom()

2011-01-05 Thread Robert Jordan
On 05.01.2011 15:25, mike wrote: Anybody else see this while using P/Invoke under mono? They do not even relate, so no one else will see this ;) Please explain what you're trying to do. Robert ___ Mono-devel-list mailing list

Re: [Mono-list] Use Windows or Linux paths to system references when building with VS2010 for Linux?

2010-12-28 Thread Robert Jordan
On 28.12.2010 06:25, CodeSlinger wrote: When I use VS2010 to create a new C# 4.0 command line application, by default, I get references to the below assemblies all of which are located in the C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client

Re: [Mono-dev] The assembly mscorlib.dll was not found or could not be loaded.

2010-12-27 Thread Robert Jordan
On 27.12.2010 21:02, CodeSlinger wrote: 1. I did the following to build mono on my RHEL45 system into its own directory - ./configure --prefix=/usr/mono --with-libgdiplus=installed --enable-minimal=com,simd --with-moonlight=no Don't use --enable-minimal as it may lead to a runtime that's

Re: [Mono-list] Missing method

2010-12-23 Thread Robert Jordan
On 23.12.2010 13:37, Matthew Winter wrote: Hi, After compiling and installing from source Mono 2.8.1, on a RHEL 4 platform. I am receiving the following Missing method message: Missing method System.Net.Sockets.Socket::BeginConnect(IPAddress[], int, AsyncCallback, object) Did this

Re: [Mono-dev] How can I build a minimal mono runtime system?

2010-12-21 Thread Robert Jordan
On 21.12.2010 14:43, CodeSlinger wrote: I have to respectfully disagree that being able to remove major subsystems that one does not need at all is fluff - major components such as the compilers, the GUI and ALL of the web components instead of just moonlight. Some of the current

Re: [Mono-dev] VS2010 remote debugging?

2010-12-21 Thread Robert Jordan
On 21.12.2010 04:08, CodeSlinger wrote: Since VS2010 supports remote debugging, is there a Linux debug kernel that can be contacted by VS2010 to allow full remote debugging from VS201 on WIn7 x64 to Linux? I know there are the mono tools that do this from VS2010 to Linux but I'm not sure if

Re: [Mono-list] Pending posts and top level mono forum hot link

2010-12-21 Thread Robert Jordan
On 21.12.2010 19:35, Steve Lessard wrote: Now that I've diagnosed the bug and provided a solution how can I get the solution incorporated into the forums code? -SteveL The forum is actually a mailing-list-to-web-forum gateway (http://www.nabble.com/) that runs within an iframe. Regular users

Re: [Mono-list] Process in Mono different from .Net

2010-12-21 Thread Robert Jordan
On 21.12.2010 19:53, Steve Lessard wrote: Some operating systems have a tool for asynchronously launching applications. On OS X the command line tool is called open. On Windows the command line tool is called start. Is there a similar tool in Linux? xdg-open. Mono's

Re: [Mono-dev] How can I build a minimal mono runtime system?

2010-12-20 Thread Robert Jordan
On 20.12.2010 17:27, CodeSlinger wrote: Thanks for the reply Robert. I was not able to make install mono until I added --with-libgdiplus=no to the configure options since I could not make libgdiplus since I did not have the prereqs and did not need system.drawing. The reason we tried that

Re: [Mono-dev] How can I build a minimal mono runtime system?

2010-12-19 Thread Robert Jordan
On 18.12.2010 20:12, CodeSlinger wrote: Sorry for cross posting but I think I should have posted this in the dev forum in the first place. I'm a .NET Windows guy and not a guru on Linux but with Justin Malcom's help I have the latest 2.8.1 mono installed on an older RHEL45 dev system and it

Re: [Mono-list] MonoDevelop custom commands

2010-12-17 Thread Robert Jordan
On 17.12.2010 02:33, Steve Lessard wrote: Thanks for the tip. Still something doesn't add up. These exact same commands, including wildcards, do work when building the the project with XBuild. Why does it work with XBuild but not work with MonoDevelop? AFAIK, MD does not use yet xbuild.

Re: [Mono-list] mono mkbundle + xsp2.exe problem

2010-12-17 Thread Robert Jordan
On 17.12.2010 16:58, XU, Jiangyan wrote: Thanks, Robert. I copied xsp2.exe to --root and the program was able to run. By deploying gmcs and dependencies did you mean deploying them not as part of the bundle? Yes, as a separate bundle whose executable or wrapper script must be named gmcs.

Re: [Mono-dev] Managing multipage tiff

2010-12-16 Thread Robert Jordan
On 16.12.2010 16:55, APS wrote: There's another way to manage multipaged tiff with mono without these methods? You could emit distinct pages and concat them with 'tiffcp'. This tool is usually part of the libtiff-tools package. Robert ___

Re: [Mono-list] Mono Current User

2010-12-16 Thread Robert Jordan
On 16.12.2010 12:48, Giuliano wrote: Hi, I'm currently porting an application with visual studio mono tools. My application use windows current user to identify application user. Could someone tell me what kind of library i have to use to find the linux current logged user?

Re: [Mono-list] Running On Platform?

2010-12-16 Thread Robert Jordan
On 16.12.2010 14:14, Andrew Brehm wrote: Robert Jordan wrote: On 15.12.2010 12:17, Lennie De Villiers wrote: Hi, How can I see on which platform a Mono app is running? Windows, Linux, Mac OS X? http://www.mono-project.com/FAQ:_Technical Search for How to detect the execution platform

Re: [Mono-list] mkbundle not bundling the configs

2010-12-16 Thread Robert Jordan
On 16.12.2010 22:35, XU, Jiangyan wrote: Hi all, I was trying to bundle my application MONO_OPTIONS=--runtime=v2.0.50215 mkbundle2 -o mybundle.bundle --deps --config-dir /etc --machine-config /etc/mono/2.0/machine.config --static -z myapp.exe {dlls} This command emits the following

Re: [Mono-list] MonoDevelop custom commands

2010-12-16 Thread Robert Jordan
On 16.12.2010 21:29, Steve Lessard wrote: I'm working on OS X and trying to use MonoDevelop's custom commands to copy some files and fix the file permissions after the project is built. I've found that any custom command that makes use of wild cards will fail. Is this expected behavior?

Re: [Mono-dev] Embedding Mono - NULL return value in C#

2010-12-15 Thread Robert Jordan
On 15.12.2010 09:51, marcus julius wrote: Hi, I call a c++ function from C# using mono. For instance, [MethodImplAttribute(MethodImplOptions.InternalCall)] extern internal static Object get_ai_behavior_object(int id); When the function returns a NULL object, there is a

Re: [Mono-list] Running On Platform?

2010-12-15 Thread Robert Jordan
On 15.12.2010 12:17, Lennie De Villiers wrote: Hi, How can I see on which platform a Mono app is running? Windows, Linux, Mac OS X? http://www.mono-project.com/FAQ:_Technical Search for How to detect the execution platform. Note that Mac OS X cannot be detected this way because it's treated

Re: [Mono-list] mono mkbundle + xsp2.exe problem

2010-12-15 Thread Robert Jordan
On 15.12.2010 19:49, XU, Jiangyan wrote: Hi all, I have tried to change $my_web_root to other values and it appears that the program always tries to search for xsp2.exe under the path specified by --root. I don't believe mkbundle is able to fulfill ASP.NET's AppDomain requirements. Try to

<    1   2   3   4   5   6   7   8   9   10   >