Re: [Mono-list] Mono In Solaris

2005-12-16 Thread Jonathan Pryor
On Fri, 2005-12-16 at 13:11 +0100, Enrique Garcia Ayuda wrote: Anybody knows where the is the isnormal function in mono/dis/getc witch include?? isnormal(3) is defined in math.h, which is already included in mono/dis/get.c. However, the FC4 man page states that it's part of C99, so the Solaris

Re: [Mono-dev] DllNotFoundException and shared libraries

2005-12-15 Thread Jonathan Pryor
On Thu, 2005-12-15 at 12:33 +0530, Raja R Harinath wrote: But, do you have libfontinfo.so? Note the lack of the major number in the DllImport line. Unless you have reason to require the development package associated with a shared library, it's probably not a good idea to DllImport the

Re: [Mono-dev] VB ASP.NET

2005-12-14 Thread Jonathan Pryor
On Wed, 2005-12-14 at 11:21 +0100, Arnhoffer Károly wrote: Server Error in '/vb' Application Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. snip/ Should ASP.Mono work with VB or not? Last I

Re: [Mono-list] ikvmc java and gmsc

2005-12-05 Thread Jonathan Pryor
On Mon, 2005-12-05 at 13:40 +0100, Johan Holmgren wrote: Thanks for your answer. Sorry for my late response, a computer crash prevented me from answering earlier. When I type monodis --typedef Test.dll I get the following output: Typedef Table 1: Module (flist=1, mlist=1, flags=0x0,

Re: [Mono-list] ikvmc java and gmsc

2005-12-02 Thread Jonathan Pryor
On Thu, 2005-12-01 at 13:53 +0100, Johan Holmgren wrote: Hi, I have a problem that I could need some help with I hava a java class, Test.java, that I compiled to a assembly using the commands javac Test.java followed by ikvmc -reference:/../IKVM.GNU.Classpath.dll -target:library

Re: [Mono-list] Three questions...

2005-12-02 Thread Jonathan Pryor
On Fri, 2005-12-02 at 08:40 +0100, Salvatore Scarciglia wrote: It seems what i need, but the namespace Process was not found in the System.Diagnostics. WHere is it ?? Process is the type, not a namespace -- System.Diagnostics.Process is the classname. It's located in System.dll, which IIRC is

Re: [Mono-list] Interop Utility

2005-11-30 Thread Jonathan Pryor
On Wed, 2005-11-30 at 18:10 -0500, Abe Gillespie wrote: I seem to remember there was something lightweight out there where you might choose just one function in a C library and the utility would write the function declaration for you. Am I making this up? I haven't seen such a utility,

Re: [Mono-list] Where is Gtk.AboutDialog

2005-11-28 Thread Jonathan Pryor
On Mon, 2005-11-28 at 15:09 +0100, Salvatore Scarciglia wrote: Mono compiler says that AboutDialog does not exist in Gtk namespace. GtkAboutDialog was introduced in GTK+ 2.6, so you need Gtk# 2.6 in order to use this type. Since Gtk# 2.6 was a source-only release, it's unlikely that you

Re: [Mono-list] CustomMarshaler for structure element using P/Invoke

2005-11-15 Thread Jonathan Pryor
On Mon, 2005-11-14 at 19:54 -0800, Bill Medland wrote: Can any expert on P/Invoke tell me if what I want to do is impossible; it's looking that way to me. It's possible, it just depends on how much manual work you want to do. I want to make P/Invoke calls with structures containing strings,

Re: [Mono-list] glade files localization i18n assemblies

2005-11-15 Thread Jonathan Pryor
On Tue, 2005-11-15 at 14:45 +0100, Filip wrote: Is gettext# only way how to localize glade files ? As far as I'm aware. However, you don't necessarily need to translate the glade file. Instead, you can explicitly set all your strings in code, allowing you to use the normal System.Globalization

Re: [Mono-dev] Howto debug Mono and dev tools

2005-11-10 Thread Jonathan Pryor
On Thu, 2005-11-10 at 12:46 +0200, Christopher Bergström wrote: Quick questions 1) What are the recommended tools for debugging mod_mono/xsp/mono? If it's mono debugger or just recompile with --debug options I apologize for such an obvious question. I especially need to know for a server with

Re: [Mono-list] Problems Using P/Invoke

2005-11-10 Thread Jonathan Pryor
On Thu, 2005-11-10 at 23:51 +0800, Jeremy Tan wrote: I am trying to write some C# bindings for the C++ libdar library (http://dar.sourceforge.net)... The problem I am having now is that I can't seem to find a way to bind this library into C# APIs due to the way the functions are declared.

Re: [Mono-list] i18n

2005-11-08 Thread Jonathan Pryor
On Tue, 2005-11-08 at 13:30 +, Carlos Ble wrote: Hi! I am working in i18n with Mono.Posix. I have got build the project with autotools + i18n looking the f-spot files and this article: http://www.thehouseofblogs.com/PLANETAA/20058/Mono_i18n_Globalization_usando_Mono_Posix.php and I think

Re: [Mono-docs-list] Categories for mono

2005-11-06 Thread Jonathan Pryor
On Fri, 2005-11-04 at 14:48 +0100, Enrico Zini wrote: An obvious one would be devel::dotnet, which would be widely recognized. However we aren't sure if there are trademark issues, nor if in the Linux world we prefer a different name. If there are not problems with devel::dotnet, we would go

Re: [Mono-list] Shared Source Common Language Infrastructure 1.0 Release

2005-11-04 Thread Jonathan Pryor
On Fri, 2005-11-04 at 12:57 +0100, Jochen Wezel - CompuMaster GmbH wrote: What is this from MS? A great trick or...? http://www.microsoft.com/downloads/details.aspx?familyid=3a1c93fa-7462-4 7d0-8e56-8dd34c6292f0displaylang=en This implementation builds and runs on Windows XP, the FreeBSD

Re: [Mono-dev] To split or not to split Mono?

2005-11-03 Thread Jonathan Pryor
On Thu, 2005-11-03 at 15:49 -0500, Miguel de Icaza wrote: By keeping all of Mono in a single package (runtime, compilers, core libraries, GUI libraries, web libraries, database libraries and others) it is making our future maintenance of code more difficult. ... So am wondering whether

Re: [Mono-dev] SIGSEGV in Cairo.CairoAPI:cairo_get/set_matrix()

2005-10-31 Thread Jonathan Pryor
On Mon, 2005-10-31 at 18:54 -0700, Peter Dennis Bartok wrote: Regarding use of ref/out/neither: I think use of ref or out is *required*. It seems that (most) cairo calls involving matrices expect a cairo_matrix_t* argument. As I understand it, this means that these That is correct, cairo

[Mono-dev] Mono.Unix Future Directions, Questions

2005-10-27 Thread Jonathan Pryor
Miguel noticed yesterday that Mono.Unix currently has over 270 [Obsolete] declarations. Things will be changing soon, so here is the what, why, and questions about possible future changes (see the end for questions under consideration -- feedback is appreciated). Mono.Unix was originally

[Mono-dev] Re: [Mono-list] Re: Mono.Unix Filename Marshaling

2005-10-26 Thread Jonathan Pryor
On Wed, 2005-10-26 at 08:08 +0200, Florian Weimer wrote: It seems that the UTF-8 decoder treats the byte sequence EF BF BF as invalid. Doesn't this mean that with your changes, it is encoded as 00EF 00BF 00BF on the Mono side? The UTF-8 decoder doesn't treat EF BF BF as

Re: [Mono-dev] Re: [Mono-list] Re: Mono.Unix Filename Marshaling

2005-10-26 Thread Jonathan Pryor
On Wed, 2005-10-26 at 19:25 +0200, Michal Moskal wrote: On 10/26/05, Jonathan Pryor [EMAIL PROTECTED] wrote: I'm hoping that this scenario is sufficiently rare that things will Just Work. If it isn't, I'll have to find a different escape character. How's U+0001 sound (control character

Re: [Mono-list] Re: Mono.Unix Filename Marshaling

2005-10-26 Thread Jonathan Pryor
On Wed, 2005-10-26 at 08:08 +0200, Florian Weimer wrote: It seems that the UTF-8 decoder treats the byte sequence EF BF BF as invalid. Doesn't this mean that with your changes, it is encoded as 00EF 00BF 00BF on the Mono side? The UTF-8 decoder doesn't treat EF BF BF as

Re: [Mono-list] System.Data missing in 1.1.9.2

2005-10-26 Thread Jonathan Pryor
On Wed, 2005-10-26 at 12:27 +0200, Raúl Reina Molina wrote: First: The code completion tool doesn't recognize Data as a subspace of System. Second: When I try to compile the code I get an error of type Missing namespace System.Data. How could I correct this problem? If you're building on

[Mono-list] Mono.Unix Filename Marshaling

2005-10-25 Thread Jonathan Pryor
To permit better handling of arbitrary filenames, Mono.Unix in svn has been extended to use the following semantics: - When marshaling a filename from unmanaged to managed code (such as with Syscall.readdir() or Syscall.readdir_r()), Mono.Unix will first attempt to decode the filename

Re: [Mono-dev] Totally baffed! multithread app totally different on two environments with MONO

2005-10-24 Thread Jonathan Pryor
On Mon, 2005-10-24 at 21:12 -0400, ted leslie wrote: mono does threading different depending on whether 2.4.X vs. 2.6.X kernel ?? The handling of threading changed between Linux 2.4 and 2.6 with the introduction of NPTL -- Native Posix Thread Libraries. 2.6 is far more compliant with the POSIX

Re: [Mono-list] System.Data namespace missing?

2005-10-24 Thread Jonathan Pryor
On Mon, 2005-10-24 at 11:32 +0200, [EMAIL PROTECTED] wrote: Hi! I´m using SharpDevelop to compile a code snippet on windows with the 1.143 Net and Mono 1.19 frameworks, to check mono compatibility, I switched the compiler over to mono, and it complains about a missing System.data namespace,

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Jonathan Pryor
On Sun, 2005-10-23 at 15:21 +0200, Giuseppe Greco wrote: Jon, that you said is really interesting... and I'm wondering how can I solve another similar problem. Giving the following type: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public

Re: [Mono-list] Deep Marshaling

2005-10-23 Thread Jonathan Pryor
On Sun, 2005-10-23 at 21:09 +0200, Giuseppe Greco wrote: Another alternative would be the following: [StructLayout(LayoutKind.Sequential)] internal struct MyStruct { public int Id; public unsafe byte* Data; } public unsafe void FillMyStruct(string s) { ...

Re: [Mono-list] Deep Marshaling

2005-10-21 Thread Jonathan Pryor
On Thu, 2005-10-20 at 16:07 -0700, Shankari wrote: While marshalling class and structure members, Mono doesnt do a deep marshal. If the structure has a string member, a default of charset.auto is set. Would you prefer some other default? But if the structure has an array of integers, what

Re: [Mono-list] Reference/ Pointer passing

2005-10-21 Thread Jonathan Pryor
On Fri, 2005-10-21 at 01:38 -0700, itsme notyou wrote: I am not clear about how the CLR will act if we pass a reference OR pointer to a unmanaged code via Pinvoke. ( Both are treated alike with the only diff being we need to encapsulate the code using '' with UNSAFE and pin the location ?

Re: [Mono-dev] Mono

2005-10-20 Thread Jonathan Pryor
On Wed, 2005-10-19 at 12:05 -0700, Zymmeral wrote: When will there be a C++ compiler for Mono? The Mono team isn't working on a C++ compiler, and likely never will. So the answer to your question depends on what features you want. If you want C++/CLI support for pure-IL assemblies, there will

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-20 Thread Jonathan Pryor
On Tue, 2005-10-18 at 13:18 +0200, Florian Weimer wrote: No, this is not what I want. I want to be able to write code which can access all files the user has read access to, irrespective of their names. Thank you for pointing this out. I didn't have a test case for this scenario until now,

Re: [Mono-list] About Event Log

2005-10-20 Thread Jonathan Pryor
On Thu, 2005-10-20 at 12:08 +0600, Gayan Perera wrote: does the EventLog object is supported in Mono.if so where can i find the log details in a Linux box ? Mono's current EventLog implementation silently discards all messages. There is no location to find them, as they're never saved. - Jon

Re: [Mono-list] Re: Method signature modification

2005-10-18 Thread Jonathan Pryor
On Mon, 2005-10-17 at 19:24 -0700, Shankari wrote: one way I thought of is to pass it as a function parameter, so that mono can strip it off before pushing it to stack. So, the function that gets called still has the right parameters. Then based on the flag I am doing some assembly code

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-18 Thread Jonathan Pryor
On Tue, 2005-10-18 at 09:58 +0200, Florian Weimer wrote: * Jonathan Pryor: On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some resources are inaccessible to programs running under Mono in a multibyte localeq

Re: [Mono-dev] Win32 build broken

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 13:37 +0200, Kornél Pál wrote: Creating library file: .libs/libMonoPosixHelper.dll.a .libs/signal.o: In function `Mono_Posix_Syscall_psignal': /mono/mono/support/signal.c:47: undefined reference to `_psignal' I think Mono_Posix_Syscall_psignal is not required on Win32

Re: [Mono-list] Is there any libraries managing compressed files?

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 12:58 +0900, Jonguk Kim wrote: Is there any libraries managing compressed files like zip, rar, arj...? Actually, I need the 'un-zip' processing (Like, in perl, Archive::Zip). There is ZIP-file processing in ICSharpCode.SharpZipLib.dll, which has been bundled with Mono

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some resources are inaccessible to programs running under Mono in a multibyte localeq (such as one using UTF-8)? Care to elaborate? System.String is always used to

Re: [Mono-list] Why UTF-16 strings in Mono.Unix?

2005-10-17 Thread Jonathan Pryor
On Mon, 2005-10-17 at 17:04 -0700, Brion Vibber wrote: Jonathan Pryor wrote: On Mon, 2005-10-17 at 19:03 +0200, Florian Weimer wrote: Why are UTF-16 strings used in Mono.Unix? Doesn't this mean that some resources are inaccessible to programs running under Mono in a multibyte localeq

Re: [Mono-list] Java sources question

2005-10-15 Thread Jonathan Pryor
On Sat, 2005-10-15 at 03:55 -0300, sombriks wrote: I have some old Sources written by me in Java language to run over the java plataform (duh!), so i would like to konw: how could i made this sources work whith mono? You want IKVM. See: http://www.ikvm.net. Do be warned that IKVM uses GNU

Re: [Mono-list] Question on Unmanaged code Invocation

2005-10-15 Thread Jonathan Pryor
On Fri, 2005-10-14 at 20:50 -0700, Shankari wrote: I have some questions in unmanaged call internals. From what I understood, an unmanaged code is a function call. pedantic Unmanaged code can be anything (including Perl code), and can be an unmanaged *function*. A function call would invoke

Re: [Mono-dev] Building Mono on Windows is extremely slow

2005-10-06 Thread Jonathan Pryor
On Wed, 2005-10-05 at 13:32 +0200, Kornél Pál wrote: Building Mono on Windows is much slower than building it on Linux for example. The problem seems to be that our scripts use a lot of processes. Processes on Linux are lightweight but are heavyweight on Windows that results in delays because

Re: [Mono-dev] Mono.Unix - UnixDirectoryInfo.IsSymbolyicLinkquestion

2005-10-03 Thread Jonathan Pryor
On Tue, 2005-10-04 at 09:37 +1000, Paddy Joy wrote: Thanks for the background info and help, it all makes a lot more sense now. I'm using UnixSymbolicLinkInfo now and getting the correct results. So am I correct in saying that if you have a UnixDirectoryInfo object the IsSymbolicLink

Re: [Mono-list] to wrapp mono with C

2005-10-02 Thread Jonathan Pryor
On Thu, 2005-09-29 at 14:39 +0200, [EMAIL PROTECTED] wrote: I want to use the hash function of openssl with my code in mono. The file .h in C is : #define SHA_BLOCK 16 typedef struct SHAstate_st { unsigned long h0,h1,h2,h3,h4; unsigned long Nl,Nh; unsigned

Re: [Mono-list] Java Problem

2005-09-28 Thread Jonathan Pryor
On Wed, 2005-09-28 at 13:16 +1000, [EMAIL PROTECTED] wrote: When I attempt to create a Java project and compile it, I get the following error. [Task:File=, Line=-1, Column=-1, Type=Error, Description=Error: file not found: *.class This is the code generated by Glade# Java project /*

Re: [Mono-list] On Mono and Patents ... again

2005-09-28 Thread Jonathan Pryor
Feeding the troll... On Wed, 2005-09-28 at 18:00 +0300, Alex Nedelcu wrote: OK, I know. It's a cool technology. But it comes from Microsoft. Are you aware that Microsoft has patents on parts of CSS? Would you suggest not using CSS with HTML in the future because of this? Are you aware that

Re: [Mono-list] Running Mono on platforms that can't generate code at runtime.

2005-09-27 Thread Jonathan Pryor
On Tue, 2005-09-27 at 15:21 -0700, Bruce Wilkie wrote: Is anyone doing this / has done this? Specifically, on systems that can't alloc memory that can later be executed. No. See also: http://lists.ximian.com/pipermail/mono-devel-list/2005-February/010432.html

Re: [Mono-list] Free Mono

2005-09-25 Thread Jonathan Pryor
On Thu, 2005-09-22 at 23:20 -0500, Adolfo J. Peña wrote: I believe that Microsoft has stated that their language specification will be free for those who wish to make an implementation of it. Still, all of the evidence that I was able to find was a vague email. Is there written evidence to

Re: [Mono-dev] Implicit Polymorphy Question

2005-09-22 Thread Jonathan Pryor
On Thu, 2005-09-22 at 23:26 +0200, Samuel Abels wrote: On Do, 2005-09-22 at 18:45 +0200, Robert Jordan wrote: You're looking for something like that (untested): [...] return d.DynamicInvoke (args); [...] Thanks, I did not know this method before. I now implemented this using a

Re: [Mono-dev] questions regarding contributing

2005-09-20 Thread Jonathan Pryor
On Wed, 2005-09-14 at 10:30 -0700, Andy Waddell wrote: The first set of issues I ran into were pieces of the class library not yet in the Mono base, but in the Beta 2 version of .NET 2.0. In each case I’ve either worked around it in our code by substituting from the 1.0 Framework or gone into

Re: [Mono-dev] Event handler assigment possible bug?

2005-09-20 Thread Jonathan Pryor
On Mon, 2005-09-19 at 11:09 -0500, Sunny wrote: Anyway, the following code compiles OK with mono 1.1.9 on SuSE 9.3, but it fails to compile under .Net, and according the ECMA C# spec, possition 8.7.5. (Events), .Net behaviour is the right one, i.e. this code should fail to compile.

Re: [Mono-dev] What versions of Windows are supported by Mono?

2005-09-20 Thread Jonathan Pryor
On Tue, 2005-09-20 at 01:32 +0200, Kornél Pál wrote: Could someone tell me the versions of Windows that are supported by Mono? NT-based versions, so NT 4.0 (maybe, I'm not entirely sure), Windows 2000, Windows XP, and Windows Server 2003. Not supported is Windows 95, 98, and ME, since Mono uses

Re: [Mono-dev] Mono runtime performance

2005-09-20 Thread Jonathan Pryor
On Tue, 2005-09-20 at 14:09 -0400, Joe Shaw wrote: Is there a reason why all optimizations aren't on by default? I didn't see anything in the mono man page, but I suspect there has to be some tradeoff. There's a time tradeoff -- more optimizations requires more time to JIT the code, slowing

Re: [Mono-dev] Marshalling of strings

2005-09-20 Thread Jonathan Pryor
On Wed, 2005-09-21 at 00:16 +0100, Chris Seaton wrote: Hows marshalling of strings to native functions work in Mono and .NET in general? Implementation Defined comes to mind -- things differ between Mono and .NET. What does ANSI mean? I thought ANSI was a family of character sets? On Mono,

Re: [Mono-dev] (no subject)

2005-09-13 Thread Jonathan Pryor
On Tue, 2005-09-13 at 12:17 +0530, Sridhar Kulkarni wrote: If we have executable hello.exe created from a cs file, then to run the file we have to say mono hello.exe. I have several exe which needds to be executed to start my app. Is there a way that the executable runs just by saying

Re: [Mono-dev] (no subject)

2005-09-10 Thread Jonathan Pryor
On Thu, 2005-09-08 at 16:03 +0530, Sridhar Kulkarni wrote: Hi, I am having GetPathName method call in my C# code. I am using the same source file to compile both on windows and linux. This method calls some WIN32 APIs within it. This function also has linux specific code. As there is no

Re: [Mono-dev] Marshal Variable length structure Array in Mono

2005-09-06 Thread Jonathan Pryor
On Tue, 2005-09-06 at 12:50 +0200, Robert Jordan wrote: Indeed, variable length != variable count. But the returned structures must be manually marshaled: http://www.pinvoke.net/default.aspx/winspool.EnumPrinters They're trying *way* too hard. This should work: struct

Re: [Mono-dev] Marshal Variable length structure Array in Mono

2005-09-05 Thread Jonathan Pryor
Quick question: does anybody know of a standard Win32, POSIX, or GLib/GTK/Gnome-related function that uses variable length structures? I'd like to use one as a canonical example in the Marshaling guide: http://www.mono-project.com/Interop_with_Native_Libraries More complete answer

Re: Re:[mono-list] Is MIDI implemented with Mono

2005-09-02 Thread Jonathan Pryor
On Thu, 2005-09-01 at 13:15 -0700, Michael Geis wrote: I expect having to either write spaghetti code or find a way to map winmm.dll's midiStreamOut to libasound.so's snd_seq_schedule_note_event. It need not be spaghetti code. You just need to DllImport both functions and perform a runtime

Re: [Mono-list] Marshaling unmanaged structure

2005-09-01 Thread Jonathan Pryor
On Mon, 2005-08-29 at 01:13 -0500, Javier Diaz wrote: Hey all I have an unmanaged structure that looks like this: -- typedef struct event_struct { struct event_struct *next; int type; union { struct ev_levels levels; struct ev_text

[Mono-dev] MonoPosixHelper and namespacing

2005-08-28 Thread Jonathan Pryor
Current programming practice is that library exports should have a common prefix, forming a namespace. Common examples abound in GLib (with a g_ prefix) and GTK+ (with a gtk_ prefix). libMonoPosixHelper.so in many cases disregards this, with exports like: create_z_stream

Re: [Mono-list] Serial Port Libraries

2005-08-27 Thread Jonathan Pryor
On Fri, 2005-08-26 at 19:44 +0200, Bas Westerbaan wrote: The SerialPort class is implemented by Microsoft in the .net 2.0 framework in the System.IO.Ports namespace. Mono doesn't seem to have it implemented yet. But eventually someone will implement it. Mono has implemented it; see:

Re: [Mono-dev] COM Interop, or something like it

2005-08-25 Thread Jonathan Pryor
On Thu, 2005-08-25 at 16:27 -0400, Ring, Kevin wrote: In Microsoft’s implementation of .NET, it is possible to expose a class written in C# via a COM interface. This makes it possible (perhaps even easy!) to instantiate C# objects and call methods on them from, say, a native C++ application.

Re: [Mono-dev] The Bleeding Edge of SuSE is not Mono-friendly

2005-08-24 Thread Jonathan Pryor
On Tue, 2005-08-23 at 08:32 -0400, Steven T. Hatton wrote: For example, it's not clear how to determine or control which libraries and assemblies are visible, or being used by the currently running Mono or MCS. Two flags control that: -r and -pkg. By default, only mscorlib.dll and

Re: [Mono-list] mcs: command not found

2005-08-24 Thread Jonathan Pryor
On Wed, 2005-08-24 at 09:00 -0700, Jeremy Vaught wrote: I installed Mono two ways, with the bin, after I couldn't get that working after a successful install, then compiling from source. In both cases, I had successful installs. In both cases the command 'mcs' is not found. From what I can

Re: [Mono-docs-list] Documentation --- Book form!

2005-08-18 Thread Jonathan Pryor
On Wed, 2005-08-17 at 21:08 +1000, warwick LAKE wrote: Help!.. I need the manuals to mono C#, something like.. The Idiots Guide To The Mono C# Compilor. What *precisely* do you want to know about Mono C#? The command line arguments are described within the man page, and are 100% compatible

Re: [Mono-list] Re: Mono.Unix inside Mono.Posix?

2005-08-17 Thread Jonathan Pryor
On Wed, 2005-08-10 at 15:51 -0700, Bob Portmann wrote: OK, File.Exists would work for me (since I know already that the file exists). Is there an advantage of using File.Exists over Mono.Unix.access? For example, does Mono.Unix.access work on Windows? Mono.Unix.Syscall.access will NOT work

Re: [Mono-devel-list] Graphics merge-in status

2005-08-04 Thread Jonathan Pryor
On Thu, 2005-08-04 at 00:06 -0700, Andrew Skiba wrote: I will create a directory under sys.drawing/test for this helper and will commit the helper as is. It needs few changes, however, to be usable for Mono. Today it checks TARGET_JVM to decide whether we are creating reference results on

Re: [Mono-list] Gnome and Kde and how the mono project works with them .......

2005-08-04 Thread Jonathan Pryor
On Thu, 2005-08-04 at 22:00 -0400, ted leslie wrote: I have just recently run in to a gtk-sharp issue on a kde desktop. Went to gnome on the same machine, and all is fine. It would be useful to know what the issue is. The goal is to allow desktop-agnostic applications, by using freedesktop.org

Re: [Mono-list] Mono linux question

2005-08-02 Thread Jonathan Pryor
On Tue, 2005-08-02 at 10:37 -0400, [EMAIL PROTECTED] wrote: I am porting some C++ windows code to linux. I came across code that was using: #using mscorlib.dll #using System.xml.dll using namespace System; using namespace System::Xml; In my research i came across Mono. I wanted to

Re: [Mono-list] Mono and Win32 fibers

2005-07-29 Thread Jonathan Pryor
On Thu, 2005-07-28 at 19:51 -0700, Bruce Wilkie wrote: has anyone gotten this to work? I'd love tips. Currently, using Mono with fibers (embedding in a Win32 app) will crash when executing managed code from the fiberproc. It's unlikely to ever work. Please read the Dire warnings about

[Mono-devel-list] Re: problems with Syscall.syslog fot mono-1.1.8.3

2005-07-28 Thread Jonathan Pryor
On Thu, 2005-07-28 at 13:37 +0400, Vorobiev Maksim wrote: Today I've upgraded mono version to 1.1.8.3 and found, that it has no fixes for syslog support. Not in sources, not in binaries. That version will contain these changes? Those changes were made to svn-trunk, not the 1.1.8 branch, so

Re: [Mono-devel-list] Getting mono-tools to compile

2005-07-24 Thread Jonathan Pryor
On Sun, 2005-07-24 at 21:09 +0100, Paul wrote: I've downloading gtk-sharp from /trunk/sources on anon svn. Have I got it right that if I run the ./bootstrap file (and then make; make install) it should generate the code which correctly creates the /usr/lib/pkgconfig/gtk-sharp.pc file and the

Re: [Mono-devel-list] calli opcode

2005-07-22 Thread Jonathan Pryor
On Thu, 2005-07-21 at 22:26 -0600, Peter Dennis Bartok wrote: Jonathan, if you read through the DnD OLE code in the MWF win32 driver, you will see that I'm doing exactly that. This works because you're invoking a COM method, which has a well-defined ABI (stdcall calling convention, all

Re: [Mono-devel-list] Limit Garbage Collection

2005-07-19 Thread Jonathan Pryor
On Tue, 2005-07-19 at 12:22 +0200, Cedric Le Dressay wrote: .Net is an incredible step in the interroperability of languages. Nearly all software developpements can use garbage collection. Unfortunately, some others cannot like game developpement. Typically, a game cannot be reasonnably

Re: [Mono-devel-list] Precise allocation / leaking vtables

2005-07-19 Thread Jonathan Pryor
On Tue, 2005-07-19 at 20:14 -0400, Ben Maurer wrote: Index: object.c === --- object.c(revision 47425) +++ object.c(working copy) snip/ -#ifdef HAVE_BOEHM_GC +#if defined (HAVE_BOEHM_GC) defined (NVER_LEAK_VTABLES)

Re: [Mono-list] When??!!

2005-07-15 Thread Jonathan Pryor
On Fri, 2005-07-15 at 15:13 -0400, Abe Gillespie wrote: Because I'm impatient and eagerly awaiting the greatness of Mono ... is there an official release data of 1.2? September, last I heard. Subject to change without notice. :-) (IIRC, the holdup is in implementing System.Windows.Forms. 1.2

Re: [Mono-list] Wrapper for mono apps

2005-07-14 Thread Jonathan Pryor
On Thu, 2005-07-14 at 11:44 +0100, Chris Aitken wrote: What is the current thinking on how to execute mono apps without prepending mono? The preferred way is to use a shell-script wrapper. This is used by all programs shipped with mono (mcs, cilc, gacutil, etc.), e.g.: #!/bin/sh

Re: [Mono-list] Cross-Browser Session Mixing

2005-07-11 Thread Jonathan Pryor
On Mon, 2005-07-11 at 06:46 -0400, David P. Donahue wrote: As for using the IP address, that's entirely a matter of how .NET internally maintains sessions. All I do is create a list of session variables (HttpContext.Current.Session[variableName]) on Session_Start and use those throughout

RE: [Mono-devel-list] .export Directive in IL

2005-06-30 Thread Jonathan Pryor
On Wed, 2005-06-29 at 22:48 -0400, Jonathan S. Chambers wrote: Thanks for the answers. I'm just experimenting with methods to call managed code from unmanaged code without using COM interop, i.e. something that would work on both .Net and Mono. Any advice would be appreciated. Basic

Re: [Mono-devel-list] EventLog and syslog

2005-06-29 Thread Jonathan Pryor
On Wed, 2005-06-29 at 12:32 +0400, Vorobiev Maksim wrote: Good day. To the discussion of Syscall.syslog. Why System.Diagnostic.EventLog was not implemented for Unixes on top of syslog? Because I never got that far, and nobody else felt it was important enough to provide a patch. :-) Plus,

RE: [Mono-devel-list] problems with Syscall.syslog

2005-06-29 Thread Jonathan Pryor
On Tue, 2005-06-28 at 16:18 +0400, Vorobiev Maksim wrote: Good day. But it still has a problem in map.c for function int Mono_Posix_FromSyslogFacility (int x, int *r). It checks for constants via -mask: search for first occurrence. The next code: if ((x Mono_Posix_SyslogFacility_LOG_USRE)

Re: [Mono-devel-list] What is MonoPosixHelper-0.dll?

2005-06-29 Thread Jonathan Pryor
On Wed, 2005-06-29 at 20:22 +0200, Kornél Pál wrote: Windows installer for Mono installs MonoPosixHelper-0.dll but it seems not to be used at all. Furthermore when I compile Mono on Windows I only get MonoPosixHelper.dll not MonoPosixHelper-0.dll. Could someone tell me what

Re: [Mono-devel-list] .export Directive in IL

2005-06-29 Thread Jonathan Pryor
On Wed, 2005-06-29 at 10:26 -0400, Jonathan S. Chambers wrote: Hello All, I know that mixed mode assemblies are not supported under Mono (at least in the managed/unmanaged C++ sense). There is an older article (I've listed the link below) that demonstrates how to call managed functions

Re: [Mono-list] Building mono on Solaris 10 x86/x64 : What I did, with patches

2005-06-29 Thread Jonathan Pryor
On Wed, 2005-06-29 at 11:21 +0800, Jeremy Teo wrote: 9) mph.h had to be patched Patch is attached. Could someone explain to me the significance of defining MPH_INTERNAL? MPH_INTERNAL is the moral equivalent of C#'s internal modifier, so that a symbol is not visible to the dynamic linker

Re: [Mono-devel-list] [PATCH] Reworked unified Locale classes

2005-06-23 Thread Jonathan Pryor
On Thu, 2005-06-23 at 11:18 +0200, Kornél Pál wrote: private static ResourceManager GetResourceManager () { if (resources == null) lock (resourcesLock) { if (resources == null) resources = new GetTextResourceManager (typeof (Locale).Assembly.GetName ().Name, typeof

Re: [Mono-list] Building a cross-platform networked client on Mono...

2005-06-21 Thread Jonathan Pryor
On Mon, 2005-06-20 at 17:50 -0700, Kirk Marple wrote: i have a need to build a new client application, which does basically four things... talks via Windows Sockets (async i/o) Yes. to a remote server over both TCP and UDP, Yes. does file I/O, Yes. exposes UI for picking files on the

Re: [Mono-list] reverse engineering

2005-06-13 Thread Jonathan Pryor
On Mon, 2005-06-13 at 09:47 -0300, A Rafael D Teixeira wrote: It is illegal to reverse engineer .NET, in most countries anyway... In what country is it illegal to reverse engineer *anything*? Certainly not the U.S.A. The only typical restrictions are 1. That it be for compatibility 2. That

Re: [Mono-list] P/Invoke, Mono, .NET and Windows XP funny platform

2005-06-13 Thread Jonathan Pryor
On Mon, 2005-06-13 at 16:30 +0200, Francis Brosnan Blzquez wrote: About the library renaming issue. Renaming library basename could help us to find a solution to build application that can run on top of mono and .NET runtime ensuring the libraries the af-arch framework relies on will

Re: [Mono-devel-list] Object Browser / Reflector in Mono

2005-06-12 Thread Jonathan Pryor
On Sun, 2005-06-12 at 11:22 -0400, Paul Betts wrote: I've been looking around, and I can't seem to find any application that acts like VS 2003/SharpDevelop's object browser. Depending on your definition of acts like, Type Reflector might work:

Re: [Mono-list] P/Invoke, Mono, .NET and Windows XP funny platform

2005-06-10 Thread Jonathan Pryor
Your fundamental problem is that you're targeting Windows XP. Ha ha only serious. (A colloquialism for that's funny, but I'm serious too...) The slightly longer explanation is here: http://www.mono-project.com/Interop_with_Native_Libraries#Windows_DLL_Search_Path The real explanation

Re: [Mono-devel-list] Preparing the release notes.

2005-06-08 Thread Jonathan Pryor
On Wed, 2005-06-08 at 08:39 -0400, Miguel de Icaza wrote: Am preparing the release notes for a new release of Mono, please send any important updates that should go into the release notes to me. Mono.Unix changes - Breaking Changes: - Removed types: MapAttribute, IncludeAttribute,

Re: [Mono-docs-list] browser's code

2005-06-06 Thread Jonathan Pryor
On Mon, 2005-06-06 at 10:33 +0200, Fabian wrote: just tried to see monodoc's Gtk# browser's code, and I didin't find it in svn repository. It was moved out of the `monodoc' module and into the `mono-tools' module, under the docbrowser directory. See:

Re: [Mono-devel-list] Looking for Summer of Code Information

2005-06-01 Thread Jonathan Pryor
On Tue, 2005-05-31 at 22:05 -0400, Justin Berka wrote: 1. Ruby.NET - Just how hard is it to write a compiler. Also, what kind of existing tools would be used for this, and what would have to be written from scratch? In principal, it's not hard to write a compiler. You just need a lexer, a

Re: [Mono-list] Web Services and patents

2005-06-01 Thread Jonathan Pryor
On Wed, 2005-06-01 at 02:25 +0200, Pedro Santos Gmez wrote: Once said that, in the following map: http://www.mono-project.com/Image:Monocomponentsmap.png I see that Soap Web Clients and Soap Web Servers have same colour as ADO.NET (which is not the cyan colour - called Patent free, neither

Re: [Mono-devel-list] Marshalling char**

2005-05-29 Thread Jonathan Pryor
On Sun, 2005-05-29 at 02:48 +0300, Hisham Mardam Bey wrote: I wanna try and marshal a char** that is returned in a struct. You can see the code here: http://pastebin.com/291223 I've tried using Copy and ReadIntPtr to no avail. I might be doing something wrong. I do not believe that

Re: [Mono-devel-list] Mono.Xml.MiniParser

2005-05-28 Thread Jonathan Pryor
On Sat, 2005-05-28 at 09:28 +0200, Matthijs ter Woord (meddochat) wrote: Is this the coding style used in the class libraries? or could this be changed? This coding style (having two members that differ only in case) is somewhat common in the class libraries. The primary difference is that

Re: [Mono-list] deployment w/ run time of mono?

2005-05-24 Thread Jonathan Pryor
On Mon, 2005-05-23 at 07:15 -0500, netSQL wrote: 1. where is the run time of mono? Simple answer: build your own version of mono and install it into a custom prefix. Everything under that prefix is part of mono's runtime. :-) Alternatively, grab the x86 Linux installer, install it into a

Re: [Mono-list] deployment w/ run time of mono?

2005-05-23 Thread Jonathan Pryor
On Sun, 2005-05-22 at 18:28 -0500, netSQL wrote: I made an Exe application using Mono on Linux. How do I deploy it to Mac, Windows users? You copy the .exe and all .dll's it depends on to your target machine. You don't need to copy .dll's provided with Mono (such as mscorlib.dll and

[Mono-docs-list] Docbrowser Editor Bugs

2005-05-16 Thread Jonathan Pryor
I've encountered two bugs when using `monodoc`: 1. I can't edit namespace summaries (this also exists when not using --edit as well). For example, select the Class Library/System node, which displays the text: The System namespace contains the fundamental types of the

Re: [Mono-list] Mono.Unix documentation

2005-05-13 Thread Jonathan Pryor
On Fri, 2005-05-13 at 03:03 -0600, Poorna Pushkala wrote: Is there some documentation on Mono.Unix ? There is *some* documentation, at: http://www.go-mono.com/docs/index.aspx?link=N:Mono.Unix Documentation is something I obviously need to write more of... - Jon

<    4   5   6   7   8   9   10   11   12   >