Re: [Mono-dev] (no subject)

2006-08-07 Thread Jonathan Pryor
On Mon, 2006-08-07 at 18:20 -0500, [EMAIL PROTECTED] wrote: Is there any work being done on System.Collections.ObjectModel? Work _has_ been done, with the following classes already in svn: System.Collections.ObjectModel.Collection System.Collections.ObjectModel.KeyedCollection

Re: [Mono-dev] Problems with gtk# on a mandriva system.

2006-07-24 Thread Jonathan Pryor
On Sun, 2006-07-23 at 23:27 +1000, Peter Nunn wrote: I've just tried to install mono on a mandriva system and so far most of it seems to be working, but.. I can't get gtk# working. If I do mcs SimpleApp.cs -pkg:gtk-sharp You want -pkg:gtk-sharp-2.0. gtk-sharp is Gtk# 1.0, which is

Re: [Mono-list] video player wraper?

2006-07-16 Thread Jonathan Pryor
www.google.comOn Sat, 2006-07-15 at 21:18 -0700, netsql wrote: Is there any video player wraper started in mono? For streaming player? Anyone start anything? There is a Google Summer of Code project to create a C# binding for GStreamer. See:

Re: [Mono-dev] Dllimporting Fortran API in C#

2006-07-14 Thread Jonathan Pryor
This message really belongs on mono-list, but I'll answer it here... On Fri, 2006-07-14 at 11:51 +0530, Sunil Venkateswara wrote: I am exporting a function in fortran...[and] to import the same fortran code by DLLIMPORT, using the following code ( added a write call and removed module

Re: [Mono-list] gpib + mono

2006-07-14 Thread Jonathan Pryor
On Thu, 2006-07-13 at 23:39 -0700, gnuplot post wrote: I do not know where to start. Basically, the question is very simple. I would like to talk to the GPIB based lab equipment via C#. In other words, I would like to run lab equipment through mono. I've installed mono framework and open

Re: [Mono-list] installing complete mono framework on CentOS 4.3

2006-07-06 Thread Jonathan Pryor
On Thu, 2006-07-06 at 00:46 -0700, gnuplot post wrote: mcs does __not__ work if the .wapi directory resides on the network drive (for example /home ) I think there's something else which is going on. I have an RHEL4 box with Mono 1.1.13.6 installed on it, with /home NFS mounted, and mcs

Re: [Mono-list] Why no ioctl call in Mono.Unix.Native

2006-07-04 Thread Jonathan Pryor
On Tue, 2006-07-04 at 17:58 +0200, Johannes Fortner wrote: Im looking for ioctl call in Mono but I can't find it in mono. Why Mono have no wrapper for ioctl? Two reasons: 1. ioctl(2) isn't very portable. 2. I haven't had a chance to start wrapping it, much less figure out the best way to

Re: [Mono-dev] .Net TCP/IP remoting with unmanaged C++ endpoint?

2006-06-29 Thread Jonathan Pryor
On Wed, 2006-06-28 at 12:47 +0200, Marek Habersack wrote: I've just been asked a question whether it would be possible to create a TCP/IP{ (native .NET binary protocol) connection between an unmanaged server written in C++ and a managed client. Your subject says TCP/IP remoting, while the

Re: [Mono-list] Running System processes from within mono

2006-06-26 Thread Jonathan Pryor
On Sat, 2006-06-24 at 15:06 -0400, Lee wrote: Can someone provide a sample of calling an external application from within a C# app? I've tried a vew simple things like: System.Diagnostics.Process.Start(shutdown -r now); This will only work for programs which are in your $PATH, and

Re: [Mono-docs-list] xml problem with monodoc

2006-06-23 Thread Jonathan Pryor
On Mon, 2006-06-19 at 23:17 +0200, Alexandre Grin wrote: string ui_info = menubar\n + menu name=\MenuFile\ action=\firstMenu\ \n + ... But Monodoc doesn't like it because there are xml structure in it... Does anyone know how I can get the stuff? Escape the XML

Re: [Mono-list] Mono on CD

2006-06-21 Thread Jonathan Pryor
On Wed, 2006-06-21 at 10:21 +0100, PFJ wrote: I have searched, unsuccessfully, for information on how to run Mono off of a CD. Is there some information on this somewhere? Have a look on the mono website - it lists a live Linux distro with mono on it. I assume he means a Windows-based

Re: [Mono-dev] Performance of Invoke

2006-06-14 Thread Jonathan Pryor
I don't think that design is very good, for a number of reasons: - Performance will suck (due to reflection) - It's highly magical (due to reflection) - Documentation will likely be problematic (due to magic) A cleaner, faster, and more easily documented version would be this (untested):

Re: [Mono-dev] Serialization strategies for compatibility.

2006-06-05 Thread Jonathan Pryor
On Mon, 2006-06-05 at 00:42 -0400, Miguel de Icaza wrote: Now in .NET 1.1 SP-N I noticed that they introduced some changes. Some classes now implemented some new interfaces that were not present in .NET 1.1. My question is: what is the justification to add new implemented interfaces to

Re: [Mono-list] Re: Final method in C# (as the final keyword in Java)

2006-06-04 Thread Jonathan Pryor
On Tue, 2006-05-30 at 17:14 +0200, Ympostor wrote: By default, all methods are non-virtual. So, as it is hasn't got the virtual keyword, it is non-virtual already, am I right? Not quite. `virtual' means `dynamic method dispatch' (i.e. the actual method that is invoked is determined at

Re: [Mono-list] *** glibc detected *** double free or corruption (fasttop): 0x0a574240 ***

2006-05-27 Thread Jonathan Pryor
On Fri, 2006-05-26 at 19:45 +0100, Nikki Locke wrote: In view of the fact that this is a critical application, which would you recommend as being more stable? SVN head + Windows Forms SVN head + GTK 1.1.15 with GTK 1.1.13.x (shown as stable on the web page) with GTK 1.1.13.x + Gtk#,

Re: [Mono-dev] Help needed with UnixDriveInfo

2006-05-24 Thread Jonathan Pryor
On Wed, 2006-05-24 at 10:56 +0200, Arnhoffer Károly wrote: I would like to try UnixDriveInfo but I can not know how to start. As I can see to construct a UnixDriveInfo object I have to give a mount point. How can I get the mount point part of a path? In general, you don't, since a mount point

Re: [Mono-list] Re: Mono - mkbundle

2006-05-22 Thread Jonathan Pryor
On Mon, 2006-05-22 at 12:16 +0200, Robert Jordan wrote: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Stdlib --- System.DllNotFoundException: libMonoPosixHelper.so in (wrapper managed-to-native)

Re: [Mono-list] Ldap and Mono.Unix, is it a bug?

2006-05-18 Thread Jonathan Pryor
On Thu, 2006-05-18 at 15:33 -0300, Arx Henrique wrote: UnixUserInfo[] usuarios = Mono.Unix.UnixUserInfo.GetLocalUsers(); and my ldap server is up, i got this exception: Unhandled Exception: System.IO.FileNotFoundException: Mono.Unix.UnixIOException: in [0x5] (at

Re: [Mono-dev] Question, How to Migrate a .NET application with a third party dependencies

2006-05-14 Thread Jonathan Pryor
On Sat, 2006-05-13 at 20:23 -0500, Ettore Pelliccioni wrote: I am developing a C# application in VS .NET 2005, that uses OPOS hardware (bar readers and receipt printer/cash drawer). Actually, this application, dependends on Windows/COM (.dll) api that manages the OPOS hardware. COM Based

Re: [Mono-dev] A question about MS Office and Mono.

2006-05-13 Thread Jonathan Pryor
On Fri, 2006-05-12 at 13:19 +0530, Manish Patil wrote: So I was wondering if Mono could be used to work with MS Office application on Windows or Mac. Not yet. (Jonathan Chambers, please correct me if I'm wrong. :-) Interacting with MS Office on Windows requires COM Interop support, which is

Re: [Mono-list] problem with unicode strings

2006-05-13 Thread Jonathan Pryor
On Fri, 2006-05-12 at 15:48 +0700, Yury Kuznesov wrote: when i try to output unicode string (e.g. with russian letters) via System.Console.WriteLine, i get string with '?'. E.g.: What operating system are you on? The problem is that Mono converts all strings to UTF-8 when writing to the

Re: [Mono-list] Visual Studio and non-Windows deployment

2006-05-10 Thread Jonathan Pryor
On Tue, 2006-05-09 at 19:08 -0600, Glen Farrell wrote: there's currently no Mono IDE for a Windows environment? Correct, there is no Mono-specific IDE on Windows. However, there is SharpDevelop, which MonoDevelop was originally ported from: http://www.icsharpcode.net/OpenSource/SD

Re: [Mono-list] Visual Studio and non-Windows deployment

2006-05-10 Thread Jonathan Pryor
On Wed, 2006-05-10 at 12:35 -0600, Glen Farrell wrote: I haven't read it all yet, but it sounds like I can just use VS2003 as normal? Mostly, yes. Do be warned that when copying VS.NET-compiled code to Linux/Mac you need to compile the code as Release. Debug code won't always work reliably

Re: [Mono-dev] Re: How to get the assembly version?

2006-05-08 Thread Jonathan Pryor
On Thu, 2006-05-04 at 15:21 +0200, Ympostor wrote: Why? This question arised when developing *with* Mono, as stated at: http://www.mono-project.com/Mailing_Lists Apparently the word with is ambiguous. mono-devel-list is for developers developing mono itself, as can be seen from the Examples

Re: [Mono-dev] typeof(Byte[]).GetInterfacesMap

2006-05-08 Thread Jonathan Pryor
On Tue, 2006-05-02 at 17:54 -0500, Voigt, Benjamin wrote: Would someone please be so kind as to run the following unit test on Mono? A similar test would likely be this: using System; using System.Reflection; class GetInterfaceMap { public

Re: [Mono-list] full duplex sockets and threads

2006-05-08 Thread Jonathan Pryor
On Sun, 2006-05-07 at 13:48 -0400, P. Oscar Boykin wrote: All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe. Which I believe is boilerplate, but would imply that it might not be safe to read in one thread and

Re: [Mono-dev] Problem with Console.In.Peek() [hungs]

2006-05-06 Thread Jonathan Pryor
On Sat, 2006-05-06 at 00:59 +0200, Manfred Braun wrote: I am new on the road to make some things on my Unix box [which is NetBSD 3.0/i386] and I started using some simple console programs. My problem is, that the method Console.In.Peek() hungs, if no input stream is provided and I just execute

Re: [Mono-list] Does FileMode.Append have O_APPEND semantics on Unix?

2006-05-03 Thread Jonathan Pryor
On Wed, 2006-05-03 at 08:43 +0200, Jaroslaw Kowalski wrote: My question is: is FileMode.Append supposed to have O_APPEND semantics on Unix? Sadly, no. Mono's System.IO layer is layered upon io-layer, which exports a Win32 API. FileMode.Append is mapped to OPEN_ALWAYS for the CreateFile()

RE: [Mono-list] Duplicate emails from list

2006-05-01 Thread Jonathan Pryor
On Sun, 2006-04-30 at 16:03 -0700, Tony G wrote: This is exactly the header that I was looking at. Thank you very much. I completely agree that the TO recipient might receive two copies depending on mailman and the recipient's MUA. I suspect that 99.999% of the time, the TO recipient *will*

Re: [Mono-docs-list] Manuals and Docs

2006-04-28 Thread Jonathan Pryor
On Fri, 2006-04-28 at 00:49 -0400, Nate Chadwick wrote: Reading this was the first time I noticed that the go-mono.com site was a wiki. It doesn't seem like the create account function works. Is that by design?

Re: [Mono-dev] Template and assignment operator in C#

2006-04-28 Thread Jonathan Pryor
On Thu, 2006-04-27 at 17:20 -0700, Rusmin Susanto wrote: 1. Is there any trick in C# similar to Expression Template in C++ to avoid pairwise evaluation? No yet. Expression Templates are possible in C++ because templates are a turing-complete sub-language within C++; C++ templates were never

Re: [Mono-list] where is System.Windows.Forms ?

2006-04-27 Thread Jonathan Pryor
On Thu, 2006-04-27 at 08:53 +0200, [EMAIL PROTECTED] wrote: Using [MonoDevelop] I generated a dfault GTK# 2.0 Project (empty main window). Next I wanted to check on the System.Windows.Forms, but typing in System. code in sight did not come up with Windows. What do I have to do to get SWF on

Re: [Mono-dev] Patches. One exception raising and alot of xmldoc cleanups.

2006-04-23 Thread Jonathan Pryor
On Sun, 2006-04-23 at 08:26 -0400, Justin Dearing wrote: Ok I have a few patches here. The biggest one is for LdapCOnnection. First of all I updated all the exception xml comments like so: -exception LdapException Thrown if TLS cannot be started. If a exception cref=LdapExceptionThrown if

RE: [Mono-list] Cannot install Mono 1.1.13.6 rpms on CentOS 4

2006-04-23 Thread Jonathan Pryor
On Sat, 2006-04-22 at 13:01 -0700, Tony G wrote: I'm wondering why Mono depends on SQLite anyway. Mono doesn't depend on SQLite. The Mono.Data.SqliteClient classes depend on SQLite. :-) Simple solution: if you don't need Mono.Data.SqliteClient, don't install it. Alas, if you try to install

Re: [Mono-dev] safe way about Marshal.UnsafeAddrOfPinnedArrayElement

2006-04-18 Thread Jonathan Pryor
On Tue, 2006-04-18 at 12:27 +0800, GaoXianchao wrote: hi all, I'm wrapping epoll api on linux. To pass address of managed struct array to unmanaged code, I use Marshal.UnsafeAddrOfPinnedArrayElement . But the method is unsafe. Is there a safe way to do what the

Re: [Mono-list] ECall methods must be packaged into a system module.

2006-04-18 Thread Jonathan Pryor
On Sun, 2006-04-16 at 21:20 +0200, Antonello Provenzano wrote: I created an application that emulates the GNU ReadLine library, entirely written in C# language, merging part of the sources of the Mono Console API and the project DotGNU.Terminal (you can checkout it at

Re: [Mono-list] Open sourcing an application

2006-04-17 Thread Jonathan Pryor
On Sun, 2006-04-16 at 18:56 -0700, Paul Oremland wrote: Is there a place that has a step by step guide to open sourcing an application? Not that I'm aware of. Usually all that's necessary is choosing a license, creating a .tar.gz of your sources, and inserting your license into that .tar.gz

Re: [Mono-list] Google Summer of Code 2006.

2006-04-17 Thread Jonathan Pryor
On Sun, 2006-04-16 at 19:02 -0700, Julien Sobrier wrote: Now that the gstreamer API are more stable, it make even more sense to have good gstreamer bindings available with Mono. Just to point out the obvious, more stable isn't Stable. I have no idea if things will change between 0.10 and 1.0,

Re: [Mono-list] Duplicate emails from list

2006-04-12 Thread Jonathan Pryor
On Tue, 2006-04-11 at 19:07 -0700, Tony G wrote: I've also found the need to reply all is very irritating, and I suspect this is partially responsible for the above issue. If I just reply, mail goes back to the person who posted a note because the mail list sets their address as the reply-to.

Re: [Mono-list] calling a delegate from unmanaged code to managed code

2006-04-10 Thread Jonathan Pryor
On Mon, 2006-04-10 at 13:44 +0800, GaoXianchao wrote: Can this prevents the garbage collector from *moving* the delegate object in memory? There are two separate things, actually. There's the managed delegate instance. This can be moved around memory by the GC. There's also the unmanaged

Re: [Mono-dev] CreateFile() leaks memory?

2006-04-07 Thread Jonathan Pryor
On Fri, 2006-04-07 at 11:35 +0800, [EMAIL PROTECTED] wrote: I'm studying Mono. Today I read the code of CreateFile() function, I found that if the function forget to call g_free() to release the memory after conversion from utf16 to utf8. Right? Where are you seeing this? In

Re: [Mono-list] Feodra Core 5 and LD_LIBRARY_PATH

2006-04-07 Thread Jonathan Pryor
On Fri, 2006-04-07 at 12:05 +1000, Paddy Joy wrote: I installed mono and monodevelop from SVN, first thing I did after installing FC5 was remove the mono packages ;-) Then where did you install mono to? Which prefix? The default prefix is /usr/local, so /usr/local/lib/libMonoPosixHelper.so

Re: [Mono-list] Feodra Core 5 and LD_LIBRARY_PATH

2006-04-06 Thread Jonathan Pryor
On Thu, 2006-04-06 at 21:19 +1000, Paddy Joy wrote: Thanks I tried adding /usr/local/lib to /etc/ld.so.conf and running ldconfig but it didn't make a difference so for now I have just added the lines to my .bash_profile. You're using the Mono that comes with FC5? Is there a

Re: [Mono-dev] Re: Mono-devel-list Digest, Vol 11, Issue 85

2006-03-31 Thread Jonathan Pryor
On Thu, 2006-03-30 at 22:55 -0800, Jason S wrote: What I would like to see, is a nice way of interoping from a native C ++ program into Mono. As you mention, Microsoft's solution is C++/CLI. There isn't likely to be C++/CLI support for Mono any time soon. However, Microsoft has another

Re: [Mono-list] Mod_mono

2006-03-30 Thread Jonathan Pryor
On Wed, 2006-03-29 at 13:06 -0500, David P. Donahue wrote: But what does head mean in that? head is the same as TRUNK -- that is, the source that you check out by default, as opposed to source from some particular branch. Is it something different than just anonymously checking out the Mono

Re: [Mono-dev] What would you like to see in Mono?

2006-03-29 Thread Jonathan Pryor
On Wed, 2006-03-29 at 11:33 +0100, Alex Chudnovsky wrote: Don't want to throw stones as its amazing what was achieved in Mono, but IMO, Microsoft's implementation of Garbage Collection is considerably better - not speed wise, but reclaiming memory that is no longer in use. This is because

Re: [Mono-dev] What would you like to see in Mono?

2006-03-29 Thread Jonathan Pryor
On Wed, 2006-03-29 at 13:02 +0300, Tomi Valkeinen wrote: - More support for dynamic languages. Perhaps there's an unsafe way (read: you have to know what you are doing) to unload types. Or perhaps a modified mcs could generate code for dynamic methods. Or something else I haven't thought

Re: [Mono-list] Just a simple question

2006-03-29 Thread Jonathan Pryor
On Wed, 2006-03-29 at 11:59 +0200, Norbert Berzen wrote: Yesterday, while doing some dumb fitness training, one question came into my mind. What if microsoft decides not to support the native executable (PE) format any longer? What if they say: The one and only executable file format we

Re: [Mono-list] could linux be MORE .Net then windows ?

2006-03-27 Thread Jonathan Pryor
On Mon, 2006-03-27 at 04:28 -0500, ted leslie wrote: This article, with at least a bit of (hopefully accurate) research behind it, seems to state a shocking conclusion: article: http://www.grimes.demon.co.uk/dotnet/vistaAndDotnet.htm#conclusion And the rebuttal:

Re: [Mono-list] Handling external programs

2006-03-27 Thread Jonathan Pryor
On Sat, 2006-03-25 at 19:08 -0500, Lee Connell wrote: Is there any articles/tutorials out that explains how to execute external programs from mono. I want to grab stdout and write to stdin. You need an article on System.Diagnostics.Process. A reasonably short search found this article, though

Re: [Mono-list] Mono(Develop) crossplatform?

2006-03-26 Thread Jonathan Pryor
On Sun, 2006-03-26 at 14:54 -0800, Martin Olsson wrote: I keep reading that Mono creates binaries that run with no modifications on any platform. If this is true, why does not MonoDevelop run on Windows? Let's clarify that then. You *can* create binaries with Mono that run without

Re: [Mono-dev] Re: _wapi_handle_update_refs

2006-03-24 Thread Jonathan Pryor
On Fri, 2006-03-24 at 16:02 +0100, Jakub Cermak wrote: And a stupid (maybe) question? What is wapi? Windows API. For portability reasons, Mono uses Win32 APIs for I/O and related operations (semaphores, process creation, etc). You can find the Unix versions of these Win32 APIs in

Re: [Mono-dev] C++ embedding

2006-03-21 Thread Jonathan Pryor
On Mon, 2006-03-20 at 18:02 +0100, Denis ERCHOFF wrote: Hi all, I am controlling some .Net class from C++ application. I would like to know if from the C++ context i can add a delegate like to a .Net property. I want to catch when a property's getter or a property's setter is called

Re: [Mono-dev] Embedding C

2006-03-21 Thread Jonathan Pryor
On Tue, 2006-03-21 at 14:01 -0800, Rusmin Susanto wrote: I followed the instruction above. But I always get this error: ./teste: error while loading shared libraries: libmono.so.0: cannot open shared object file: No such file or directory Where is your libmono.so.0 located? If it's not in

Re: [Mono-list] A new tutorial is online

2006-03-21 Thread Jonathan Pryor
On Tue, 2006-03-21 at 21:25 +0100, Pierro wrote: Hello, i have read this article : http://www.mono-project.com/Embedding_Mono is it possible to use an embedding_Mono code to target both Mono CLR and MS CLR ? No. Mono uses a C API and libmono for embedding. .NET uses a set of COM

Re: [Mono-list] Mono.Unix.Native.Syscall.readlink memory corruption

2006-03-14 Thread Jonathan Pryor
On Tue, 2006-03-14 at 11:33 +, Colin JN Breame wrote: On Tuesday 14 March 2006 00:16, Jonathan Gilbert wrote: At 04:12 PM 13/03/2006 -0500, Gonzalo Paniagua Javier wrote: On Mon, 2006-03-13 at 17:32 +, Colin JN Breame wrote: using System.Text; public class main_t { public

Re: [Mono-list] Something like Java Web Start

2006-03-14 Thread Jonathan Pryor
On Tue, 2006-03-14 at 13:12 -0800, trncyng wrote: Hello I am new to Mono. I'd like to know if there is something like Java Web Start in Mono whereby I can deploy apps through the web but these apps aren't themselves web applications--that is they are desktop type apps but delivered through a

Re: [Mono-list] Mono.Unix.Native.Syscall.readlink memory corruption

2006-03-14 Thread Jonathan Pryor
On Tue, 2006-03-14 at 10:37 -0500, Gonzalo Paniagua Javier wrote: Here's a patch that fixes the corruption problem. May I commit? - if (items_written mono_stringbuilder_capacity (sb)) + if (items_written mono_stringbuilder_capacity (sb)) { items_written =

Re: [Mono-list] Mono.Unix.Native.Syscall.readlink memory corruption

2006-03-14 Thread Jonathan Pryor
On Tue, 2006-03-14 at 17:37 -0500, Gonzalo Paniagua Javier wrote: On Tue, 2006-03-14 at 17:00 -0500, Jonathan Pryor wrote: I may be missing something, but I'm missing how this actually fixes the corruption problem. The corruption comes from the sb-str MonoString not being null-terminated

Re: [Mono-dev] c# / c++ interop question

2006-03-10 Thread Jonathan Pryor
On Thu, 2006-03-09 at 15:10 -0800, J wrote: However, going from C++ to C#, I am using C++/CLI. Another approach would be to port the entire C++ library to C++/CLI with /clr:safe (i.e. no unmanaged code). The resulting assembly should run under Mono (and if it doesn't, makes a good test case

Re: [Mono-list] how to get processes' stats in mono(redhat9)?

2006-03-10 Thread Jonathan Pryor
On Fri, 2006-03-10 at 16:36 +0800, Li wrote: I'd like to get the process's stats,e.g. MEM%,CPU% and CPU_idle %,MEN_idle% in mono platform. Anybody could help me? Thank you very much! There are no classes within Mono to obtain this information; thus, you'll have to do so manually. To do so,

[Mono-dev] Re: [Mono-list] Silly question (for documentation)

2006-03-06 Thread Jonathan Pryor
On Mon, 2006-03-06 at 03:53 -0600, Zac Bowling wrote: This is a silly question. Does anyone know of a good term or really good short name that sums up the difference between a compiler that uses reflection.emit like mcs does and one that uses a traditional object compile, link, and execute

Re: [Mono-list] UnixEndPoint issues

2006-03-06 Thread Jonathan Pryor
On Mon, 2006-03-06 at 12:33 +0100, Philipp Baer wrote: Index: UnixEndPoint.cs === --- UnixEndPoint.cs (revision 57605) +++ UnixEndPoint.cs (working copy) @@ -93,6 +95,10 @@ public override string ToString() {

Re: [Mono-list] Silly question (for documentation)

2006-03-06 Thread Jonathan Pryor
On Mon, 2006-03-06 at 03:53 -0600, Zac Bowling wrote: This is a silly question. Does anyone know of a good term or really good short name that sums up the difference between a compiler that uses reflection.emit like mcs does and one that uses a traditional object compile, link, and execute

Re: [Mono-list] The Mono Virtual Machine...

2006-03-03 Thread Jonathan Pryor
On Thu, 2006-03-02 at 08:06 -0800, Redefined Horizons wrote: How do I learn about the virtual machine used in Mono? (I'm not sure if the virtual machine is the correct term. I'm talking about the software that actually executes the compiled byte code.) What *precisely* do you want to know

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-23 Thread Jonathan Pryor
On Wed, 2006-02-22 at 19:52 +0100, László Monda wrote: On Fri, 2006-02-17 at 06:28 -0500, Jonathan Pryor wrote: On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on top of the Unix VFS API, but I'll stick with syscalls

Re: [Mono-dev] Bug in System.Web.UI.WebControls.BoundColumn

2006-02-17 Thread Jonathan Pryor
On Thu, 2006-02-16 at 20:51 -0500, Chris Toshok wrote: This patch looks okay, except for the switch from 'df != ' to 'df.Length != 0'. I'd prefer the former (and in general I'd rather adapt whatever my thoughts are on the matter to what the original author wrote.) `df != ' may make more

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-17 Thread Jonathan Pryor
On Fri, 2006-02-17 at 00:36 +0100, László Monda wrote: UnixFileSystemInfo seems to be a well-designed abstraction on top of the Unix VFS API, but I'll stick with syscalls, because I don't like UnixFileSystemInfo's exception policy. What don't you like about its exception policy? Thanks, -

Re: [Mono-list] Mono.Unix.Native.Syscall.(l)stat weirdness

2006-02-15 Thread Jonathan Pryor
On Wed, 2006-02-15 at 12:15 +0100, László Monda wrote: I've been playing with stat() and lstat() in the past few days and things seem to be weird. I made two test programs to demonstrate the problem. The first is written in C and behaves correctly, the second is written in C# and is quite

Re: [Mono-list] namespace

2006-02-15 Thread Jonathan Pryor
On Wed, 2006-02-15 at 16:12 +0100, Tomas Olofsson wrote: Trying to create a Gtk.FileChooserDialog but when I compile the following error occur: error CS0234: The type or namespace name `FileChooserDialog' does not exist in the namespace `Gtk'. Are you missing an assembly reference? You

Re: [Mono-list] 'g_get_home_dir' Equivlent

2006-02-14 Thread Jonathan Pryor
On Tue, 2006-02-14 at 20:48 -0500, Glenn Martin wrote: Im sorry if its there but ive looked for about an hour and i cant seem to find where... is there an equivalent for GLib's (C Function) g_get_home_dir in GTK/GLib#? Is there something wrong with using

Re: [Mono-dev] Distributing an application with Mono

2006-02-13 Thread Jonathan Pryor
On Mon, 2006-02-13 at 14:14 +, Alex Chudnovsky wrote: Julien De Groote wrote: i would like to make a demo package of the software I am developing. I'd prefer for my Windows users not to do a full Mono install. I think Windows users would prefer to use .NET - so long as you do not

Re: [Mono-list] Numbers with ,

2006-02-11 Thread Jonathan Pryor
On Sat, 2006-02-11 at 00:56 +, Paulo Augusto wrote: In portuguese (in fact, every language i know except english), numbers are separated by a , comma, instead of by a . dot. So, when my mono program needs a number from an Entry(): Convert.ToSingle (string); and then i want to pass that

Re: [Mono-dev] DriveInfo

2006-02-09 Thread Jonathan Pryor
On Thu, 2006-02-09 at 14:40 +1300, Thong Nguyen wrote: I notice that there is already a UnixDriveInfo. I'm implementing a System.IO.DriveInfo that currently just reflects on UnixDriveInfo. As a sanity check, you should make sure your DriveInfo members reflect the final .NET 2.0 DriveInfo

Re: [Mono-dev] Reading and writing excel files

2006-02-01 Thread Jonathan Pryor
On Tue, 2006-01-31 at 10:24 +0100, ZABALA CALVO, IÑAKI wrote: I am trying to read and write Excel .xls files I have tried it with COM: Mono does not currently support COM interop, though Jonathan Chambers is attempting such functionality... If you want to write Excel files, you'll either need

Re: [Mono-list] what structure should I use

2006-02-01 Thread Jonathan Pryor
On Wed, 2006-02-01 at 23:12 +0100, Malte Dreschert wrote: I want to read a textfile that contains the description of a hierarchy. The hierarchy has nodes, which hae certain Attributes like name, parentnode, translation and orientation. What is the best way to store this kind of information?

RE: SPAM-LOW: Re: [Mono-dev] NUnit 2.2.6 Portability Bug

2006-01-29 Thread Jonathan Pryor
On Sat, 2006-01-28 at 18:15 -0800, Charlie Poole wrote: Hi Jonathan, I'll write a test. :-) PathRelativePathTo: this variation on your PathUtils.RelativePath works for me (minimally tested): This looks too simple to work, but I'll try it. ;-) Attached is a better version, complete

Re: [Mono-list] EventLog.Exists

2006-01-29 Thread Jonathan Pryor
On Fri, 2006-01-27 at 12:59 +0100, Bastiaan Naber wrote: My program runs correctly until it gets to a call to the static method: EventLog.Exists(eventIS, .) The EventLog public interface has been implemented (which is why the class status page doesn't show any issues), but the implementation

Re: [Mono-dev] NUnit 2.2.6 Portability Bug

2006-01-27 Thread Jonathan Pryor
On Fri, 2006-01-27 at 12:25 -0800, Charlie Poole wrote: I have some code that can be modified to replace the functions I use, but before I re-invent the wheel, can anyone point to portable implementations of Windows PathCanonicalize and PathRelativePathTo? Better yet, does anyone want to

Re: [Mono-list] calling library functions

2006-01-27 Thread Jonathan Pryor
On Fri, 2006-01-27 at 12:21 +0100, Mario Munda wrote: I wrote library with cca 10 functions, and they all work ok, but one. Declaration in library (mlibr.dll): public void SendData(string Data,string RemoteIP,ushort RemotePort) { // } Call in Main (Main.exe):

Re: [Mono-list] Speed of MethodInfo.Invoke?

2006-01-27 Thread Jonathan Pryor
On Fri, 2006-01-27 at 08:50 -0500, Chad Robinson wrote: I have a question about Mono internals (or CLR internals?). How is MethodInfo.Invoke actually implemented? I'm trying to write an extensible application that would support loading custom modules in external DLLs. However, the

Re: [Mono-dev] [PATCH]TraceEventType

2006-01-25 Thread Jonathan Pryor
On Tue, 2006-01-24 at 22:46 -0500, joel reed wrote: thanks Jon for the feedback, i've made all suggested changes and attached a patch below. (i just deleted comments for now till i figure out monodoc) That's much better. I look forward to seeing your future TraceSource patches. - Jon

Re: [Mono-list] Getting parent process

2006-01-25 Thread Jonathan Pryor
On Wed, 2006-01-25 at 11:03 -0300, Mariano Benedettini wrote: How can I build a process tree ? Say, starting from the current process id, get the parent of it and successively. With Mono.Unix.Process.GetCurrentProcessId() and Mono.Unix.UnixEnvironment.GetParentProcessId() I can get the

Re: [Mono-list] Chrome

2006-01-25 Thread Jonathan Pryor
On Wed, 2006-01-25 at 16:25 +0100, Malte Dreschert wrote: The second question I have is more general. Concerning the whole .net / Mono thing, is it important for the overall performance of an application, which language it is written in? It seems that is only a question of personal taste.

Re: [Mono-list] unix and unix.native shared component 0.9 monodevelop

2006-01-24 Thread Jonathan Pryor
On Tue, 2006-01-24 at 20:29 +0100, Mikkel Bøttger wrote: Hi all, I'm Having a problem installing MonoDevelop 0.9. First It said, that the shared library gtk-gekko-sharp was not installed. Found a new version and added the path to ld.so.conf and ran ldconfig. Okay, problem solved. It then

Re: [Mono-dev] [PATCH]TraceEventType

2006-01-23 Thread Jonathan Pryor
On Sun, 2006-01-22 at 22:13 -0500, joel reed wrote: I'd like to implement System.Diagnostics.TraceSource if no one has already planned to do so. This is a 2.0 class. I've only submitted one bug fix previously to the mono project, so I thought I'd post the patch for TraceEventType, in the

Re: [Mono-dev] Building Mono on Linux/Alpha

2006-01-20 Thread Jonathan Pryor
On Fri, 2006-01-20 at 20:27 +0300, Sergey Tikhonov wrote: Well, it it really pity since it seem that even this unsupported interpretator does a lot of work and give chance other arches to try Mono. :) Ok, I will see if I could find what the problem is The problem is that it's impossible

Re: [Mono-list] Is StringToCoTaskMemUni UTF-16?

2006-01-20 Thread Jonathan Pryor
On Fri, 2006-01-20 at 18:25 -0500, Joshua Tauberer wrote: Does Marshal.StringToCoTaskMemUni return a UTF-16 string, or UCS-2, or...? StringToCoTaskMemUni just copies each character from the source string to the destination buffer, so the buffer returned contains a UTF-16 string (the same

Re: [Mono-dev] OS X Intel support

2006-01-18 Thread Jonathan Pryor
On Wed, 2006-01-18 at 20:31 +, Andy Norman wrote: On Thu Jan 5 17:57:26 EST 2006, Jonathan Pryor wrote: Mono has been ported to Intel Mac, in that the JIT will properly execute under Mac OS X on an Intel box. As such you could install mono on an x86 mac with little trouble. Does

Re: [Mono-dev] Replacement for Mono.Unix.UnixFile.TryReadLink

2006-01-12 Thread Jonathan Pryor
On Thu, 2006-01-12 at 16:40 +0100, Paolo Molaro wrote: On 01/11/06 Jonathan Pryor wrote: // 1.1.12 Code: string target = UnixFile.TryReadLink (sym-link); // 1.1.13 Code: UnixSymbolicLinkInfo symlink = new UnixSymbolicLinkInfo (sym

Re: [Mono-list] Has Mono delivered?

2006-01-12 Thread Jonathan Pryor
On Thu, 2006-01-12 at 05:42 +, [EMAIL PROTECTED] wrote: Dave Murphy wrote: but for that to really work the developers working with (not on) Mono need to be convinced to use the stable release and stop tracking the development ones. That's a question that really interests me! But how

Re: [Mono-list] Has Mono delivered?

2006-01-12 Thread Jonathan Pryor
On Wed, 2006-01-11 at 15:13 +, Dave Murphy wrote: On 11/01/06, Jonathan Pryor [EMAIL PROTECTED] wrote: Something implied by better tools to develop software is more productive developers. Mono *does* do this, as is seen with F-Spot, an imaging application written entirely by one person

Re: [Mono-dev] Replacement for Mono.Unix.UnixFile.TryReadLink

2006-01-11 Thread Jonathan Pryor
On Tue, 2006-01-10 at 05:47 -0700, Buderya Roshan wrote: In Mono 1.1.13 The class Mono.Unix.UnixFile is marked obsolete. UnixFile doesn't exist in 1.1.13. It was in 1.1.12. This class used to provide a static method TryReadLink to get the target of a symbolic link. Is the class

Re: [Mono-dev] gacutil problem

2006-01-11 Thread Jonathan Pryor
On Tue, 2006-01-10 at 10:35 -0500, Joshua Tauberer wrote: Something about mcs not using the GAC to find assemblies, but only looking at 'installed' packages with .pc files, or in /usr/lib/mono/1.0/. You could specify the full path, or use -L. Could we reevaluate exactly why we avoid using

Re: [Mono-dev] Replacement for Mono.Unix.UnixFile.TryReadLink

2006-01-11 Thread Jonathan Pryor
On Wed, 2006-01-11 at 17:25 +0100, Paolo Molaro wrote: On 01/11/06 Jonathan Pryor wrote: The behaviour of TryReadLink and UnixSymbolicLinkInfo.ContentsPath seems to be the same. Wanted to counter check if this is indeed the case. Those aren't direct equivalents

Re: [Mono-list] Has Mono delivered?

2006-01-11 Thread Jonathan Pryor
On Tue, 2006-01-10 at 22:53 +, Dave Murphy wrote: I came across this quote from Miguel: One of the reasons that we developed Mono was because we wanted to have better tools to develop software – Miguel de Icaza ...and I was wondering: does Mono really provide a better environment for

Re: [Mono-list] xsp as a daemon

2006-01-02 Thread Jonathan Pryor
On Mon, 2006-01-02 at 10:30 +, peter wrote: Gonzalo Paniagua Javier wrote: What I would really like is for the daemon to start up when I boot the system. Is that possible? Yes. OK, I'll bite. How? Edit /etc/rc.local, and add the following line: nohup /path/to/mono

Re: [Mono-dev] serialization of structured data in ArrayList

2005-12-19 Thread Jonathan Pryor
On Mon, 2005-12-19 at 14:26 +0100, mirek wrote: 1. it is good to use xml serialization or binary? as i read the articles, the binary is faster, but maybe not so usefull when need to change the configuration file by my own. If it's not performance critical, I would suggest going with the more

Re: [Mono-list] How to writing daemons in Mono with c#?

2005-12-18 Thread Jonathan Pryor
On Sun, 2005-12-18 at 12:23 +0800, li wrote: I am writting a file transfering server base on mono1.1.10 in redhat9.0 with c#. I want it to be daemon process, then how to do it with c#? You might look into using System.ServiceProcess.ServiceBase in System.ServiceProcess.dll and the

Re: [Mono-list] Binary attachments and Soap

2005-12-16 Thread Jonathan Pryor
On Fri, 2005-12-16 at 13:25 +0200, Angel Gruev wrote: I am using web services with mono. Is there a way a web method to return soap message with binary attachments. In .NET there is DIME, implemented in WSE. But mono does not support WSE for now. Any idea how to deal with this problem ? Ye

<    3   4   5   6   7   8   9   10   11   12   >