Re: [Mono-list] Is there something like a 32bit emulation mode on OS/mono 64 ?

2010-04-06 Thread Jonathan Pryor
On Tue, 2010-04-06 at 15:38 +0200, Robert Jordan wrote: I'm quite ignorant on the this topic on MONO. Is there something like that on mono on 64 bit OS ? Should i install o 32 bit version of mono on the 64bit OS .. or what ? It's the same as under Windows up to the fact that you must

Re: [Mono-list] Built-in Conditional Directives for various platforms #IF MONO, #IF WINDOWS_DOTNET, #IF MACOSX ?

2010-04-04 Thread Jonathan Pryor
On Sat, 2010-04-03 at 18:36 +0200, cimodev wrote: are there built-in conditional directives in MONO like In general, compile-time conditionals are to be avoided, as it means you have to recompile your code for each target platform. Runtime checks are consequently preferred. That said... On

Re: [Mono-list] UnixDirectoryInfo::IsSymbolicLink does not work properly

2010-04-04 Thread Jonathan Pryor
On Sat, 2010-04-03 at 18:56 +0200, cimodev wrote: \on my machine (OpenSuse 11.2 with Mono 2.6) both IsSymbolicLink-Properties from UnixDirectoryInfo and UnixFileInfo return always false, even on symbolic links i've just created for testing. This is by design. UnixDirectoryInfo and

Re: [Mono-dev] [PATCH] Don't rely on SIGIO

2010-03-22 Thread Jonathan Pryor
On Sun, 2010-03-21 at 23:44 +0100, Andreas Färber wrote: SIGIO is not part of POSIX, Haiku does not support it. You might want to mention that fact in the ChangeLog, otherwise we'll need to care why SIGIO is special but not SIGWINCH (which according to signal(7) is from 4.3BSDand Sun).

Re: [Mono-dev] Can't build svn head on Linux/x86

2010-03-16 Thread Jonathan Pryor
On Tue, 2010-03-16 at 10:31 +0100, Thierry Lafage wrote: I've followed what is written on the website and in the README in mono to build mono from svn (head of trunk), and the build process fails on my Linux/x86 box (see trace below). ... $ make [...] make[7]:

[Mono-dev] Removing Mono.GetOptions dependency from svcutil

2010-03-04 Thread Jonathan Pryor
As per the Removing Obsolete Code from Mono 2.8 thread, I've removed Mono.GetOptions.dll use from mcs/tools/svcutil, migrating it to use Mono.Options instead. These are in r153039. However, I'm unable to fully test these changes, as providing .wsdl or assemblies on the command line result in no

Re: [Mono-dev] Using Mono Assemblies under terms of LGPL

2010-03-03 Thread Jonathan Pryor
On Wed, 2010-03-03 at 10:16 -0500, Jacques Beaurain wrote: I think the final and easiest solution is writing our own assembly with native interop to libintl. We already have such a thing: Mono.Unix.Catalog, in Mono.Posix.dll, which is MIT/X11 licensed (no LGPL worries) and is already

Re: [Mono-dev] Using Mono Assemblies under terms of LGPL

2010-03-02 Thread Jonathan Pryor
On Tue, 2010-03-02 at 12:21 -0500, Jacques Beaurain wrote: ... The issue that we face is that this assembly is not signed and we need to be able to place the assembly in the GAC of Microsoft Windows systems. What is the recommended way to handle this situation? In particular we are

Re: [Mono-dev] Equivalent to LockFileEx on Linux

2010-03-02 Thread Jonathan Pryor
On Tue, 2010-03-02 at 12:29 -0800, Daniel Morgan wrote: Is there an equivalent to LockFileEx on Linux? What would it be? No. There's flock(2) and fcntl(2), but these are advisory in nature only. (Meaning that any other process with access rights to the file can come along, ignore the advisory

Re: [Mono-dev] Equivalent to LockFileEx on Linux

2010-03-02 Thread Jonathan Pryor
On Tue, 2010-03-02 at 21:03 -0500, Avery Pennarun wrote: Probably the question needs to be rephrased a little. sqlite itself obviously works fine on Linux, so clearly Linux has the kind of locking that is needed in order to make sqlite work... Yes, work. There's a difference between working

Re: [Mono-dev] Portable phone apps

2010-02-24 Thread Jonathan Pryor
On Tue, 2010-02-23 at 22:45 +, James Mansion wrote: Jonathan Pryor wrote: It will instead be write the core once, write the UI once for each target platform, as (currently) the UI layers are platform specific (Silverlight for Windows Phone 7 Series, MonoTouch for iPhone, and MonoDroid

Re: [Mono-dev] Portable phone apps

2010-02-22 Thread Jonathan Pryor
On Mon, 2010-02-22 at 08:30 +, James Mansion wrote: Is it really going to be that case that the ONLY way to write a mobile phone app once so that it can run on Winphone 7 and iPhone and Linux mobile and Android, will be to use mono/silverlight for the non-MS platforms? Looks like it, but

Re: [Mono-list] Which version of Mono do I need for Linux?

2010-02-17 Thread Jonathan Pryor
On Tue, 2010-02-16 at 12:36 -0800, Chu wrote: Our product is written in .NET, using WinForms. The product needs to be deployed and be flexible enough to run on any version of Linux. Ideally, we'd like to deploy mono with our installation package. Any version of Linux is quite a requirement.

Re: [Mono-list] Moblin

2010-02-17 Thread Jonathan Pryor
On Thu, 2010-02-04 at 10:26 -0800, SimonPBond wrote: I am looking to use Moblin as I have an Atom-based motherboard. Is there a particular implementation of mono that I should be using (I want to run a system I have developed in c#, asp.net, wcf...)? Atom is x86, so any x86 version of Mono

Re: [Mono-list] embedding mono runtime

2010-02-17 Thread Jonathan Pryor
On Sat, 2010-02-06 at 03:11 -0800, stobi wrote: With great interest I read the article on how to Embedding Mono ! http://www.mono-project.com/Embedding_Mono Cause I'm new to Mono I'm not sure if this means what I think ! Can I embed the mono runtime into my application exe so that I do not

Re: [Mono-list] Re lease cycle

2010-02-17 Thread Jonathan Pryor
On Thu, 2010-02-11 at 04:19 -0800, Stellenbosser wrote: Does anyone have an idea as to the planned release date for Mono 2.8? http://www.mono-project.com/Roadmap#Upcoming_Releases No date has been announced yet, but that URL will contain the date once it has been chosen. - Jon

Re: [Mono-dev] Getting the list of all AppDomains in a process

2010-02-12 Thread Jonathan Pryor
On Fri, 2010-02-12 at 13:10 +0100, Lionel Cuir wrote: Thank for the quick answer. Alas, the AppDomainManager is not a solution for us, as the assembly is not supposed to be in the GAC. I may be blind, but I don't see how AppDomainManager is a solution, as I don't see any APIs that would

Re: [Mono-dev] Getting the list of all AppDomains in a process

2010-02-12 Thread Jonathan Pryor
On Fri, 2010-02-12 at 16:55 +0100, Robert Jordan wrote: AppDomainManager is a base class that can be used to implement an own manager. Overriding CreateDomain and maintaining a list of created appdomains shouldn't take more the 2 line of code. This is something that hadn't occurred to me. It

Re: [Mono-list] SqlMetal to PostgreSQL

2010-02-08 Thread Jonathan Pryor
On Sun, 2010-02-07 at 21:36 -0500, Abe Gillespie wrote: I had brought this issue up a while back along with the money type. And although the issue was marked as fixed, it seems as though there was a major refactoring and now I cannot find the source file that included these type mappings.

Re: [Mono-list] SqlMetal to PostgreSQL

2010-02-08 Thread Jonathan Pryor
On Sun, 2010-02-07 at 19:45 -0500, Costantino Pipero wrote: Having failed to use sqlmetal for MySql, I ported my data to Postgres. Now, this time the sqlmetal command finds the right provider, but it chokes on a data type with the error: sqlmetal failed:System.ArgumentException: Don't

Re: [Mono-list] Change mono process name in ps/top

2010-01-25 Thread Jonathan Pryor
On Sun, 2010-01-24 at 16:55 +0100, Robert Jordan wrote: Yes, native applications with access to main's argv[0] can achieve it easily under Linux, but managed apps simply cannot access this location. System.Environment.GetCommandLineArgs()[0], anyone? This will return the value of C main's

Re: [Mono-docs-list] Best way to contribute Mono documentation?

2010-01-20 Thread Jonathan Pryor
On Tue, 2010-01-19 at 21:32 -0500, John Feminella wrote: * Are these source and not generated files? Yes (these are source) and No (they are ALSO generated). That is, it was my understanding is that things in a path matching **/Documentation/** are generated by an external

Re: [Mono-docs-list] Best way to contribute Mono documentation?

2010-01-19 Thread Jonathan Pryor
On Mon, 2010-01-18 at 15:11 -0500, John Feminella wrote: However, I'm a little bit perplexed about the best place to start. The main Mono pages don't have much to say about the best way to contribute documentation or even the best way to get started with such contributions (e.g. here's how to

Re: [Mono-list] sqlmetal on Mono 2.6 stable

2010-01-19 Thread Jonathan Pryor
On Sun, 2010-01-17 at 19:59 -0500, Costantino Pipero wrote: I parked this issue for a while and reinstalled my code in a fresh OpenSuse 11.2 setup (with the latest Mono stable release and MySQL 5.1...). I tried sqlmetal again with all the options that we discussed and I am stuck with the

Re: [Mono-list] Using System.Data.SQLite from both windows and linux

2010-01-19 Thread Jonathan Pryor
On Mon, 2010-01-18 at 13:46 -0600, Dan Winslow wrote: I am trying to write a single source that can run on both windows and linux, and that uses Sqlite as its data storage. I am using the current mono build ( I built from latest tarball ). 1. I downloaded and installed the

Re: [Mono-list] difference between Mono et Microsoft.Net

2010-01-19 Thread Jonathan Pryor
On Sat, 2010-01-09 at 21:13 -0800, Vu Duy Truong wrote: Hello I am a student. And I study Mono and Microsoft.Net. In my study, I found that there are differences between Mono and Microsoft.Net. This is to be expected. .NET is huge, and Mono hasn't had time to reimplement everything. For

Re: [Mono-list] Mono 2.6 for Ubuntu

2010-01-14 Thread Jonathan Pryor
On Thu, 2010-01-14 at 14:40 +0100, Bálint Kardos wrote: my dream would be to have a real Linq2Sql implementation in mono (plus dynamic data), DBlinq has a lng way to go. While DbLinq has a long way to go, it could use more help, more test cases, more demo sites showing lacking problems.

Re: [Mono-docs-list] using mdoc to report doc/code differences?

2010-01-12 Thread Jonathan Pryor
On Mon, 2010-01-11 at 16:32 -0800, Arne Claassen wrote: I've been using the inline Xml Docs for one main reason: Separate documentation too often leads to documentation rot. I especially like that I get warnings about missing or extra documentation members as part of my build. But I have

Re: [Mono-list] Mono 2.6 for Ubuntu

2010-01-12 Thread Jonathan Pryor
On Tue, 2010-01-12 at 20:03 +, James Mansion wrote: You have to make the installation effectively self-contained. Everything you say would apply to Java too - but there's just two files for that - a .bin and a .rpm. Right, but there's one crucial difference between Java and Mono. Mono

Re: [Mono-dev] [Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll

2010-01-04 Thread Jonathan Pryor
Background is below, but the pertinent question for mono-devel-list is this: should monodoc.dll follow the framework version numbering scheme (Consts.FxVersion) or do something else? The lack of a compiler-dependent version in monodoc is breaking use under the 2.0 profile. On Mon, 2010-01-04 at

Re: [Mono-dev] [Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll

2010-01-04 Thread Jonathan Pryor
On Tue, 2010-01-05 at 00:10 +0200, A.M. Abdelaziz wrote: I also didn't know that there are two mscorlib.dll one in mono/2.0/ and another in /mono/4.0/ There would be 3, as the 1.0 mscorlib.dll is also different, but we dropped 1.0 profile support for 2.8. and when comparing with gui-compare

Re: [Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll

2010-01-04 Thread Jonathan Pryor
Background is below, but the pertinent question for mono-devel-list is this: should monodoc.dll follow the framework version numbering scheme (Consts.FxVersion) or do something else? The lack of a compiler-dependent version in monodoc is breaking use under the 2.0 profile. On Mon, 2010-01-04 at

Re: [Mono-list] Fwd: monodoc.dll looking for missing method in mscorlib.dll

2010-01-04 Thread Jonathan Pryor
On Tue, 2010-01-05 at 00:10 +0200, A.M. Abdelaziz wrote: I also didn't know that there are two mscorlib.dll one in mono/2.0/ and another in /mono/4.0/ There would be 3, as the 1.0 mscorlib.dll is also different, but we dropped 1.0 profile support for 2.8. and when comparing with gui-compare

Re: [Mono-list] monodoc.dll looking for missing method in mscorlib.dll

2009-12-29 Thread Jonathan Pryor
Uh, what? On Wed, 2009-12-30 at 05:50 +0200, A.M. Abdelaziz wrote: * I have just installed openSUSE 11.2 * dist-upgrade --repo mono-stable (the repo mentioned on mono-project.com) * mono, debugger, gtk-2.12, mono-tools from svn (all to /usr/local of course,

[Mono-dev] Announcing DbLinq 0.19

2009-12-18 Thread Jonathan Pryor
The DbLinq team is proud to announce the release of DbLinq 0.19, following the venerable DbLinq 0.18 release from September 2008. DbLinq is a reimplementation of System.Data.Linq.dll for use with SQL servers in addition to Microsoft SQL Server. Support is provided for: * Firebird [0]

Re: [Mono-list] Monodoc 2.0 and Monodevelop 2.2 compilation issues

2009-12-18 Thread Jonathan Pryor
Monodic should no longer be built. Its functionality was merged into mono in mono 2.2. - Jon On Dec 18, 2009, at 5:44 PM, Tomi bosak.to...@gmail.com wrote: Hi, I was trying to compile and install Monodevelop 2.2 from source (I have Mono daily build tarball from 15 December 2009 on

Re: [Mono-list] Entity Framework status

2009-12-17 Thread Jonathan Pryor
On Thu, 2009-12-17 at 20:17 +0100, Tomi wrote: can someone tell me what is the current status of Entity Framework in Mono? I found this link (http://www.mono-project.com/EntityFramework) but don't know how old it is. Thanks alot. Development has not started in any fashion. Partial development

Re: [Mono-dev] System.Reflection.Assembly::Load Performance?

2009-12-09 Thread Jonathan Pryor
On Wed, 2009-12-09 at 16:20 +0100, Leszek Ciesielski wrote: This foreach loop is a common pattern for loading subclasses/plugins from an assembly, is there a better pattern for this? Yes: assembly-level attributes. http://weblogs.asp.net/justin_rogers/articles/61042.aspx See the 1.

Re: [Mono-list] sqlmetal on Mono 2.6 preview

2009-12-09 Thread Jonathan Pryor
Inline... On Tue, 2009-12-08 at 18:09 -0500, Costantino Pipero wrote: But it still gets an error complaining about worng syntax near '?db'... it looks like it's not resolving the database name that I pass in the conn string (I also try using separate arguments instead of the conn, but very

Re: [Mono-list] sqlmetal on Mono 2.6 preview

2009-12-07 Thread Jonathan Pryor
On Mon, 2009-12-07 at 19:42 -0500, Costantino Pipero wrote: No matter what syntax I try (I am trying to connect to a MySQL db called adventureworks), I get the same error. As a side note, you're missing the /provider option, so you should actually be seeing an error message about missing the

Re: [Mono-dev] [PATCH] Bind d(n)gettext in Mono.Unix.Catalog

2009-12-03 Thread Jonathan Pryor
On Thu, 2009-12-03 at 13:22 +0100, Stephane Delcroix wrote: Here's a patch for Mono.Unix that P/Invoke d(n)gettext in addition to (n)gettext. It's quite useful for writing libraries requiring translations (think of Mono.Addins.Gui), esp. since GNU-gettext doesn't support multiple domains. One

Re: [Mono-dev] gmcs version #define

2009-11-11 Thread Jonathan Pryor
On Wed, 2009-11-11 at 17:22 +0200, Stefanos A. wrote: According to the documentation, gmcs #defines the __MonoCS__ constant when compiling C# code. However, it doesn't seem to provide a constant that identifies the compiler version. ... Does this sound like a reasonable feature? Would it be

Re: [Mono-list] C# Console on Windows

2009-11-09 Thread Jonathan Pryor
On Mon, 2009-11-09 at 03:12 -0800, Valery D wrote: Are you sure you're running csharp.exe and your custom app with Mono and not .NET? For example, with the command mono csharp.exe... Do you want to say, that impossible to use Evaluator with Microsoft.NET? That's correct -- you cannot

Re: [Mono-list] Mono 2.6 release

2009-11-08 Thread Jonathan Pryor
On Fri, 2009-11-06 at 17:42 -0500, Costantino Pipero wrote: I am very anxious to look at the new Linq-to-SQL shipped with 2.6 . Any particular reason to wait for 2.6? If you're able to build software, you can build the mono-2-6 branch now, or you can build the upstream DbLinq source code:

Re: [Mono-list] Android

2009-11-04 Thread Jonathan Pryor
On Wed, 2009-11-04 at 07:40 +0100, Thomas Jam Pedersen wrote: Let me tell you what we want. ... What we want to do, is to make it possible to build an application in Visual Studio. That's very easy to do -- even MonoTouch apps can be built in Visual Studio. (Testing is another matter

Re: [Mono-list] Does mono support VC++

2009-10-21 Thread Jonathan Pryor
On Tue, 2009-10-20 at 21:16 -0700, Bharti Mishra wrote: I am migrating vb.net application onto linux(open suse) platform using mono 2.4.3. I have one dll for printing which is based on 'VC++' code. when have tested this dll through MoMA, it shows this is not a proper dll. let me know does

Re: [Mono-list] Location of MonoPosixHelper source code

2009-10-11 Thread Jonathan Pryor
On Oct 10, 2009, at 4:53 PM, Miguel de Icaza mig...@novell.com wrote: Hi all. I want to ask where I can download the source code of MonoPosixHelper.dll. Documentation for this library will also be useful. Thanks. The code lives in mono/support Please note that thus library is for

Re: [Mono-list] Why there is no wiki for mono project ?

2009-10-09 Thread Jonathan Pryor
On Fri, 2009-10-09 at 00:00 -0700, j23tom wrote: I'would love to see mono had more up-to date documentation, If you're running linux, you can run the 'monodoc' program and edit and submit documentation from within it. (Granted, it's a terrible editing experience, but it does work.) so the

Re: [Mono-dev] there is a free mono for Andrioid or Wii?

2009-10-07 Thread Jonathan Pryor
On Wed, 2009-10-07 at 10:03 -0400, buhochil...@gmail.com wrote: There is some free mono version for Andrioid Mono should be buildable from source for Android, though I don't know how complicated or involved the process is. You might try following:

Re: [Mono-list] Re lated to COM support by mono

2009-10-06 Thread Jonathan Pryor
On Mon, 2009-10-05 at 23:03 -0700, Bharti Mishra wrote: my appliction is using COM component. As mono material, mono doesn't support COM. so we commented out that portion. I would like to know, does mono provide any solution for that. or new version of mono is supporting COM component? As

Re: [Mono-list] Re lated to visual basic in mono

2009-10-06 Thread Jonathan Pryor
On Tue, 2009-10-06 at 01:09 -0700, Bharti Mishra wrote: Does it mean visual basic is not supported by mono Visual Basic.NET will run under Mono, which is Visual Basic = 7.0. I suspect that your Visual Basic DLL isn't a .NET DLL, and thus won't run under Mono. It might be usable under Wine;

Re: [Mono-dev] Mono requires /proc to be mounted

2009-09-24 Thread Jonathan Pryor
On Thu, 2009-09-24 at 12:55 -0400, Ryan Bair wrote: Chroots commonly have bind mounts to /proc and /dev. ie mount -o bind /proc /path/to/chroot/proc I'm not sure if Mono on Linux depends on proc being there or not, but there is one really easy way to find out. And the answer is...it

Re: [Mono-list] Simd...which dll?

2009-09-24 Thread Jonathan Pryor
On Thu, 2009-09-24 at 14:49 -0700, LKeene wrote: Hello, which mono.simd.dll should I reference in my project? I have two choices it seems: 1) C:\Program files (x86)\Mono-2.2\lib\mono\2.0\Mono.SIMD.dll 2) C:\Program Files

Re: [Mono-list] Building mono 2.4.2.3 on Solaris 10

2009-09-23 Thread Jonathan Pryor
On Sep 23, 2009, at 7:10 AM, ra...@onlinehome.de wrote: So for example the README tells that there is the requirment of glib 2.4 and it could be downloaded on gtk.org. But on gtk.org there is only the version 2.22 available. 22 4, so 2.22 2.4. That should work. - Jon

Re: [Mono-list] Anyone checked out the mono-list archives recently?

2009-09-18 Thread Jonathan Pryor
On Sep 18, 2009, at 2:01 AM, Markus Ewald cy...@nuclex.org wrote: The current archive page is rather interesting -- it's got entires for August 2009, September 2009 and... November 2020! The November 2020 entry has been there for years. Looks almost as if the the mlm believes any date stated

Re: [Mono-list] Are we in need for a Cross platform library similar to DirectX?

2009-09-17 Thread Jonathan Pryor
On Thu, 2009-09-17 at 09:01 -0700, docesam wrote: OK,let me explain my point: programmers (Game Programmers) use DirectX because openGL sucks and because it does not include sound and input functions ,right ? Then use OpenTK, which DOES combine video (OpenGL), sound (OpenAL), computation

Re: [Mono-docs-list] Monodoc error

2009-09-14 Thread Jonathan Pryor
You say you're using xsp? Please run xsp with MONO_OPTIONS=--debug set, as that will provide line numbers. My current guess is that you're missing a monodoc.xml file, which should be installed to $prefix/lib/monodoc/monodoc.xml. Thanks, - Jon ___

Re: [Mono-dev] Does MonoTouch use GC?

2009-09-14 Thread Jonathan Pryor
On Sep 14, 2009, at 6:40 PM, pablosantosl...@terra.es pablosantosl...@terra.es wrote: Hi there, Does MonoTouch use GC when running on the iPhone? Yes. - Jon ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] Compacting GC

2009-09-12 Thread Jonathan Pryor
Inline... On Sep 12, 2009, at 9:38 AM, psant...@codicesoftware.com psant...@codicesoftware.com wrote: Trying again I got some more info: MCS [net_1_1] System.dll ** ERROR:sgen-gc.c:3491:mono_gc_alloc_obj: assertion failed: (*p == NULL) Remember when we said that sgen wasn't quite

Re: [Mono-docs-list] Monodoc error

2009-09-11 Thread Jonathan Pryor
On Fri, 2009-09-11 at 11:25 -0700, Roopa Krishnan wrote: Mono version info is - Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433 That's not a mono version, that's an assembly version. What's the output of 'mono --version'? - Jon

Re: [Mono-docs-list] Monodoc error

2009-09-11 Thread Jonathan Pryor
On Fri, 2009-08-21 at 13:44 -0700, rk14 wrote: I am very new to Mono MonoDoc. Apologies if i am missing something very basic. Sorry for the delay. Which version of Mono is this? We use monodoc to generate internal API documentation. Our monodoc webserver is ok, but monodoc is unable to

Re: [Mono-list] Cross-platform apps question

2009-08-23 Thread Jonathan Pryor
On Aug 22, 2009, at 10:24 PM, Kiel Wadner wadn...@gmail.com wrote: Microsoft has a utility called NGEN.exe that compiles byte code down to machine code. I'm not aware of something similar for Linux world. Behold Mono AOT support -- the equivalent of NGEN: http://mono-project.com/AOT

Re: [Mono-list] Start from CD

2009-08-23 Thread Jonathan Pryor
On Thu, 2009-08-13 at 09:18 -0700, PeterFalkenberg wrote: Hello, There is a possibility of mono from a CD without installing to run? I'd like to use my tool, which passed on a CD, without installation can start? If you need to support only specific operating systems, then sure. For example,

Re: [Mono-list] Fixing 2.4.2p2 NotImplementedException

2009-07-20 Thread Jonathan Pryor
On Mon, 2009-07-20 at 13:26 +0300, Andrus Moor wrote: In Mono 2.4.2p2 method private object NormalizeDbType(object value) { System.Data.Linq.Binary b = value as System.Data.Linq.Binary; if (b != null) return b.ToArray(); return value; } causes

Re: [Mono-list] Active X/Java to Linux question

2009-07-08 Thread Jonathan Pryor
On Tue, 2009-07-07 at 11:58 -0700, olumax wrote: An active X component application has the capability to convert HTML into an image file (e.g JPEG, GIF, BMP etc). This component can be wrapped via JNI, making it available in Java source, which can then be compiled into a Java class. Can

Re: [Mono-list] Low level mouse hook via SetWindowsHookEx

2009-07-04 Thread Jonathan Pryor
For the love of $deity, you shouldn't do this on Windows either. The problem is that hooks involve inserting your DLL into every process' address space, which will thus require loading the CLR. However, until .NET 4.0 (unreleased), only one version of the CLR can be loaded. Result: you may

Re: [Mono-dev] PATH: PostgreSQL Linq2Sql provider fix

2009-06-12 Thread Jonathan Pryor
On Fri, 2009-06-12 at 10:19 +0200, Federico Di Gregorio wrote: Currently it is impossible to use the DbLinqProvider and DbLinqConnectionType connection parameters with PostgreSQL because Npgsql does not like extra aguments. The attached patch fixes this. Four comments. 1. It would likely be

Re: [Mono-list] Agreement Novell - Microsoft

2009-06-09 Thread Jonathan Pryor
On Tue, 2009-06-09 at 10:15 -0700, 666lawyer wrote: Richard Stallman: Mono is a free implementation of Microsoft's language C#. Microsoft has declared itself our enemy and we know that Microsoft is getting patents on some features of C#. I do love the implication here that if Microsoft is

Re: [Mono-list] PINVOKE can't find 32 bit shared library on 64 bit MONO

2009-06-07 Thread Jonathan Pryor
On Sat, 2009-06-06 at 08:30 -0700, johnslaby wrote: johnslaby wrote: I am trying to use PInvoke in an application. The library is a 32 bit .so. When I try to run the app, I get a 'DLL not found' exception. Looking into more detail, there is a message in the

Re: [Mono-list] using dll in linux

2009-06-05 Thread Jonathan Pryor
On Fri, 2009-06-05 at 04:08 -0700, Chaiser wrote: But how can I generate a dll file for linux ? At this point using clearer terminology would help, as .dll refers to both managed code (assemblies) and native code (Dynamic Link Libraries / Shared Libraries). For shared libraries, you don't

Re: [Mono-dev] Resolving dependencies while compiling

2009-05-20 Thread Jonathan Pryor
On Wed, 2009-05-20 at 13:18 +0200, paszczi wrote: I recently found very annoying thing about mono compiler. Let's say that we have the following file structure lib/X/X.dll lib/Y/Y.dll Where X.dll depends on Y.dll Now I try to compile project Z which references X.dll and Y.dll. ... VS

Re: [Mono-dev] Resolving dependencies while compiling

2009-05-20 Thread Jonathan Pryor
On Wed, 2009-05-20 at 17:23 +0200, Grzegorz Sobanski wrote: I can sucessfully compile c.dll in VS if it only calls Met1, without referencing a.dll, and without having any copies of a.dll laying around. ... Unfortunately to compile c.dll in gmcs I need a a.dll even if c.dll does not use any

Re: [Mono-dev] System.Data.SQLite under mono

2009-05-12 Thread Jonathan Pryor
On Mon, 2009-05-11 at 23:08 -0700, Arne Claassen wrote: I'm trying to get phxsoftware's System.Data.SQLite managed-only dll working under mono. The readme claims i should just need the binary in the same directory and it works for mono. It does work for windows, i just drop sqlite3.dll

Re: [Mono-dev] Red Hat/Fedora packaging

2009-05-12 Thread Jonathan Pryor
On Tue, 2009-05-12 at 07:36 -0400, Vladimir Giszpenc wrote: It really bothers me that Red Hat/Fedora considers CIL packages not to be noarch. I would like to propose using the config file to allow relocating the aot-ed file to some arch dependent location. The problem they have is that the

Re: [Mono-dev] C# scripting

2009-05-06 Thread Jonathan Pryor
On Tue, 2009-05-05 at 11:27 -0700, bradvin wrote: I read a cool article the other day where the author says that it is possible to dynamically compile C# code at runtime using mono: See: http://tirania.org/blog/archive/2008/Sep-10.html. That page is somewhat out of date -- you now compile with

Re: [Mono-list] assembly bind tracking

2009-05-04 Thread Jonathan Pryor
On Mon, 2009-05-04 at 13:23 -0700, fozzie wrote: Is there a way to track assembly binding in Mono? I tried fuslogvw, but it seems MS-specific. I have code in one appdomain which calls code in another.. i think i'm being careful but i want to make sure assemblies aren't getting loaded in the

Re: [Mono-dev] Ug

2009-05-01 Thread Jonathan Pryor
On Fri, 2009-05-01 at 18:00 -0400, Miguel de Icaza wrote: mono-devel-list context: Scott found a bug in sqlmetal today, in that it wouldn't connect to a MySQL database. The problem was that sqlmetal.exe.config is used to specify which connection type to use for a given /provider option,

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-30 Thread Jonathan Pryor
On Thu, 2009-04-30 at 07:45 -0700, Ian Dichkovsky wrote: Thank you for the advices. We have discussed NIS configuration with our SA gang. They changed line in /etc/nsswitch.conf from passwd: files nis to passwd: compat In this case test NonReentrantSyscalls passed successfully.

Re: [Mono-dev] Ug

2009-04-30 Thread Jonathan Pryor
mono-devel-list context: Scott found a bug in sqlmetal today, in that it wouldn't connect to a MySQL database. The problem was that sqlmetal.exe.config is used to specify which connection type to use for a given /provider option, and the MySQL entry was referencing an invalid assembly. The fix

Re: [Mono-list] which .NET version is supported?

2009-04-30 Thread Jonathan Pryor
On Wed, 2009-04-29 at 13:04 -0700, slessard wrote: Mono 2.4 is compatible with which version of .NET? Is it .NET 2.0, .NET 3.0 or .NET 3.5? Yes. Mono supports most of .NET 1.1 and 2.0, but some things are missing (and likely always will be, such as System.EnterpriseServices, the COM+

Re: [Mono-list] mscorlib.dll is an invalid CIL image

2009-04-29 Thread Jonathan Pryor
On Tue, 2009-04-28 at 19:28 -0700, Chris Plasun wrote: So what you _can_ do is build e.g. Mono 2.4 on openSUSE, Mono 2.4 on Linux/PPC, and copy the mscorlib.dll from your openSUSE build to Linux/PPC, but you cannot e.g. take an mscorlib.dll from Mono 2.0 (openSUSE packaged version) and run

Re: [Mono-dev] Problems with running mono executables as a native app on Ubuntu

2009-04-28 Thread Jonathan Pryor
On Tue, 2009-04-28 at 16:28 +0100, James Smith wrote: in order to overcome the problem I outlined in my previous post I’ve gone ahead and compiled the mono packages from source using a script kindly furnished by Boris Scheiman here,

Re: [Mono-list] 64bit gmcs/mcs in SLES/openSuSE rpms?

2009-04-28 Thread Jonathan Pryor
On Tue, 2009-04-28 at 02:08 -0700, David Henderson wrote: 2) Is there a way to store char/string data as something smaller than UTF-16? The data are SNP genotypes, i.e. a single SNP genotype looks like A T and there are almost a million of these per individual. I'm thinking that what I need

Re: [Mono-list] mscorlib.dll is an invalid CIL image

2009-04-28 Thread Jonathan Pryor
On Tue, 2009-04-28 at 14:29 -0700, Chris Plasun wrote: I'm trying to get Mono working on a Freescale MPC8313 PowerPC embedded Linux board. When I try to run a 'hello world' application I get the following error: mscorlib.dll is an invalid CIL image This came up on #mono a few weeks ago,

Re: [Mono-list] mscorlib.dll is an invalid CIL image

2009-04-28 Thread Jonathan Pryor
On Tue, 2009-04-28 at 18:01 -0700, Chris Plasun wrote: So the Mono build **does** create a MSCORLIB.DLL? Yes. The Mono build creates every assembly listed in mcs/class, e.g. mscorlib.dll, System.dll, System.Core.dll, System.Web.dll, etc. I understand that the *.dll/*.exe files are platform

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-27 Thread Jonathan Pryor
So, in short: your /etc/passwd database is corrupt, and instead of fixing the database you want to fix UnixUserInfo to ignore invalid users, where invalid users are those with a name of +. (And why just +, as opposed to any larger set of strings? Because that makes things work with your corrupt

Re: [Mono-dev] [PATCH] Bug in Mono.Posix handling '+::::::' entry in /etc/passwd

2009-04-27 Thread Jonathan Pryor
On Mon, 2009-04-27 at 23:41 +0200, Robert Jordan wrote: Jonathan Pryor wrote: So why do you have '+::' in your /etc/passwd to begin with? That's not a valid entry anyway (no user id)! It's for NIS. '+::' - include all users returned by the NIS passwd map. '-::' - allow

Re: [Mono-list] How to get linux constants like PATH_MAX into mono

2009-04-21 Thread Jonathan Pryor
On Tue, 2009-04-21 at 18:08 +0200, Andreas Heertsch wrote: I try to port libusb via LibUsbDotNet to Linux/OSX. The authors from libusb wrote structures with PATH_MAX as field lenght. So I have to integrate this malformed code. :( You're screwed. The problem is that the array is inline:

Re: [Mono-list] How to get linux constants like PATH_MAX into mono

2009-04-20 Thread Jonathan Pryor
On Sun, 2009-04-19 at 12:51 -0700, Heertsch wrote: is there a way to get the value auf PATH_MAX (linux constant for lenght of a pathname in bytes) into c# code? I would suggest not using any such mechanism, if possible, as not all platforms have an actual filename limit (e.g. GNU HURD). Even

Re: [Mono-list] teste.exe - mscorlib.dll not found

2009-04-13 Thread Jonathan Pryor
On Sun, 2009-04-12 at 14:22 -0700, fozzie wrote: I would also like to reduce the size of the lib/mono folder (currently ~ 160Mb). Is there a minimal set of folders? I'm not sure if i need boo or monodoc.. The minimal set of folders is: - lib/mono/PROFILE - PROFILE == 1.0, 2.0, etc.,

Re: [Mono-dev] About memory management

2009-04-11 Thread Jonathan Pryor
On Sat, 2009-04-11 at 14:22 +0200, CaStarCo wrote: If a user starts Banshee (as a example) and other user (in the same machine) also starts the Banshee player... Can Mono shares the code sections of the program to optimize the usage of memory? It depends on whether the application has been AOT

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-09 Thread Jonathan Pryor
On Thu, 2009-04-09 at 12:56 -0700, Casey Marshall wrote: Nope. At least, it doesn't if I run monodoc like this: mdoc update --out=generated-docs --import=xmldoc/bar.xml bin/Debug/bar.dll ...and don't specify all the .dlls that foo.dll links to on the command line. That should still

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-09 Thread Jonathan Pryor
On Thu, 2009-04-09 at 15:19 -0700, Casey Marshall wrote: On Apr 9, 2009, at 2:20 PM, Jonathan Pryor wrote: It sounds like mdoc needs to support a -r:ASSEMBLY argument (or -lib:PATH), to reference assemblies (for later lookup) but NOT document them, thus assisting these cross-assembly

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-08 Thread Jonathan Pryor
On Wed, 2009-04-08 at 13:37 -0700, Casey Marshall wrote: I don't think that will fix it — I dug around with mdb and it looks like the assembly resolver being used (a DefaultAssemblyResolver) only has the default directories in the search path, . and bin. This is exactly what I needed to

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-07 Thread Jonathan Pryor
On Tue, 2009-04-07 at 16:06 -0700, Casey Marshall wrote: Another common thing I'll see is this, using `mdoc update': mdoc: The node to be removed is not a child of this node. See `mdoc help' for more information. There doesn't seem to be any way to tell mdoc to print internal

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-07 Thread Jonathan Pryor
On Tue, 2009-04-07 at 17:54 -0700, Casey Marshall wrote: `foo.dll' is an assembly I've built (forgive the obfuscation). It's typically a very core assembly, i.e., one very high up in the dependency tree, and most certainly is in the same directory as the assembly depending on it, and

Re: [Mono-dev] Using mdoc for internal documentation

2009-04-06 Thread Jonathan Pryor
On Mon, 2009-04-06 at 17:06 -0700, Casey Marshall wrote: Sometime ago, though, it looks like `monodocer' became an alias for `mdoc update'. I'm having trouble getting mdoc-update to do the right thing. This happened with Mono 2.0. I tried this, in makefile syntax (DOC_TARGETS is a list

Re: [Mono-docs-list] Mono basic docs from ECMA

2009-04-04 Thread Jonathan Pryor
On Sat, 2009-04-04 at 18:39 +0200, Amrein-Marie Christophe wrote: I hope that nobody has already asked this question: Why not merge Mono documentation with original documentation from ECMA CLILibraryTypes.xml file? www.ecma-international.org/publications/files/ECMA-ST/ECMA-335.zip Been

Re: [Mono-list] ironpython with mono.fuse

2009-04-04 Thread Jonathan Pryor
On Fri, 2009-04-03 at 15:03 -0700, Jeffry wrote: I got a working ironPython setup but want to add the Mono.Fuse (assembly?). I can clr.AddReference() the Mono.Posix library but when try to add Mono.FUse it can not find it. I updated ld.so.config tried to copy the .dll to ironpython as well as

Re: [Mono-list] How to get an arrow key input on Linux Console.

2009-04-02 Thread Jonathan Pryor
On Thu, 2009-04-02 at 17:12 +0900, Jia Lu wrote: My command line app cannot get the arrow key input on Linux console. I just want to get a up-arrow key and display the last command I entered. Is there anyway to do that with mono? Look into Mono.Terminal.Editor; see:

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