[Mono-devel-list] Re: New io-layer merged.

2005-04-12 Thread Robert Jordan
Hi Miguel, Dick's new daemon-less io-layer for Mono has been checked into the main branch on SVN. It went through extensive testing before it was merged into the main branch. If you track SVN, please use this new version and help us debug any kinks that might be there. I got a lot of

[Mono-devel-list] Re: glibc not Making on Solaris 2.9 so can't get mono working correctly

2005-05-13 Thread Robert Jordan
Doug, Just wondering if anyone has glibc working on Solaris 2.9? I get errors during the make of glibc - any You don't need glibC for Mono! glib (w/out C) is the library Mono depends on: http://ftp.gnome.org/pub/GNOME/sources/glib/ Rob ___

[Mono-devel-list] Re: Problem with DbDataAdapter...

2005-05-18 Thread Robert Jordan
Hubert, You're patch has nothing changes... I get always the same error... With the postgresql app... I can now login... but there's plenty of bugs inside... I think the best solution is to get an older version of Mono! Why do you include a patch if there's compatibility problems with data

[Mono-devel-list] Re: HttpSoapWebServiceHandler.SerializeResponse closes the HttpResponse

2005-06-06 Thread Robert Jordan
Konstantin, I don't think it's the case here: server already successfully accepted and understood the message. So it definitely was complete. Now it sends the response back and after that closes the connection. But it seems more correct to call Flush only. Close() is always correct.

[Mono-devel-list] Re: HttpSoapWebServiceHandler.SerializeResponse closes the HttpResponse

2005-06-06 Thread Robert Jordan
Robert Jordan wrote: AFAIK none of this conditions are implemented by HttpSoapWebServiceHandler, so Close() seems to be the only correct action. Ups! HttpResponse handles those conditions of course! So Flush() IS an option. Rob ___ Mono-devel-list

[Mono-devel-list] Re: Why not to use gettext ()

2005-06-15 Thread Robert Jordan
Kornl, My reasons against using English texts as identifiers: 1. Every modified character in English text has to be modified in all of the other language files as well. This prevents distributing satellite assemblies separately or using satellite assemblies that are not very up to date.

[Mono-devel-list] Re: r46035 - trunk/mono/mono/metadata

2005-06-16 Thread Robert Jordan
Hi Martin, Author: martin Date: 2005-06-15 09:03:56 -0400 (Wed, 15 Jun 2005) New Revision: 46035 Modified: trunk/mono/mono/metadata/ChangeLog trunk/mono/mono/metadata/appdomain.c trunk/mono/mono/metadata/class-internals.h trunk/mono/mono/metadata/class.c

[Mono-devel-list] Re: FW: Soap Serialization interop

2005-06-21 Thread Robert Jordan
Roei Erez wrote: I have an issue using mono soap serialization, and I want to know if it is a bug. The serialization and deserialization of the 'System.Collections' classes works ok with mono, but is not compatible with .NET, means that .NET uses other fields for serialization of these objects,

[Mono-devel-list] Re: FW: Soap Serialization interop

2005-06-21 Thread Robert Jordan
Rafael, Robert, We fix things in the interop/serialization area as needed and possible when enough information is given to us... I have an automatic test for serialization issues. Do you want the test itself or just its output? Rob ___

[Mono-devel-list] Re: FW: Soap Serialization interop

2005-06-21 Thread Robert Jordan
. For the ISerializable classes I'll post another diff ASAP. Rob Ilya Kharmatsky. Robert Jordan wrote: Rafael, Robert, We fix things in the interop/serialization area as needed and possible when enough information is given to us... I have an automatic test for serialization issues. Do

[Mono-devel-list] Re: Find Object instance that called a method..

2005-06-22 Thread Robert Jordan
S Umadevi wrote: I guess I phrased my question too simplicitly...:( Anyway I found my answer with System.Diagonistics.StackFrame. StackFrame will not provide you the object *instance* of the caller, just the its MethodInfo and so its class. BTW, you're calling for big trouble because methods

[Mono-devel-list] Re: Did mono implement the RemotelyDelegatableObject ?

2005-06-27 Thread Robert Jordan
John, [EMAIL PROTECTED]:~/Projects/ChatClient mcs ChatClient.cs /r:System.Runtime.Remoting.dll ChatClient.cs(73) error CS0246: Cannot find type 'RemotelyDelegatableObject' Compilation failed: 1 error(s), 0 warnings [EMAIL PROTECTED]:~/Projects/ChatClient

[Mono-devel-list] Re: HttpWebRequest - Where is prefix registration done?

2005-06-27 Thread Robert Jordan
Martin, Can anyone tell me where the prefix registration is done for HttpWebRequest? FOr example, if I write a pluggable protocol using WebRequest the user has to do WebRequest.RegisterPrefix(prefix:) - but not for http: - where is this defined please? in

[Mono-devel-list] Re: HttpWebRequest - Where is prefix registration done?

2005-06-27 Thread Robert Jordan
Hi Martin, Thanks Robert, I ask because FX 2 has FtpWebRequest as a built in class - can I propose a patch to the default Mono supplied machine.config? It should be part of your FtpWebRequest patch. Rob Martin On 6/27/05, Robert Jordan [EMAIL PROTECTED] wrote: Martin, Can anyone

[Mono-devel-list] Re: Problem attaching to remoting server

2005-06-27 Thread Robert Jordan
John, Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. Server stack trace: Exception rethrown at [0]: --- System.ArgumentException: Couldn't bind to method 'SubmissionCallback'.--- End of inner exception stack

[Mono-devel-list] Re: Can mono have methods(etc) not present MS implementation?

2005-07-02 Thread Robert Jordan
Alexandre, My question is simple, can we do something on a MS controlled namespace that is not part of the default implementation? Of course raising a mcs warning telling something like This method will make your app not to run on MS.NET. This comes from a desire to introduce something in

[Mono-devel-list] Re: Mono SVN / gmcs.exe compile error

2005-07-03 Thread Robert Jordan
Hisham, I've been compiling Mono from SVN regularly now but a couple of days ago I started getting the following: ** (../../gmcs/gmcs.exe:7176): WARNING **: The class System.Collections.IKeyComparer could not be loaded, used in /cruft/cvs/mono/mcs/class/lib/net_2_0/System.Xml.dll (token

[Mono-devel-list] Re: Keyword partial?

2005-07-05 Thread Robert Jordan
Sebastian Hoehn wrote: Hi, this is perhaps a little bit off-topic, but I wrote a parser for C# and it complains about the following declaration: bool partial = xyz; This is due to the fact that partial is half a keyword which indicates partial type definitions. Why does the mono compiler

[Mono-devel-list] Re: mono 1.1.8.2 problems with mdb

2005-07-07 Thread Robert Jordan
mike, i downloaded the new linux installer for 1.1.8.2, installed it. i did have to set $PATH because the new installed so maybe this is indicative of another problem at my end. I compiled my test app Main.cs using -debug I then tried running mdb and got the following error: [EMAIL

[Mono-devel-list] Re: Problem with MS.NET and Mono with Remoting

2005-07-21 Thread Robert Jordan
mtraudt wrote: Since your code might add more or less dependencies on remoting as times goes by to classes that we can not or have not edited to match the over-the-wire naming this will be a continuous source of problems for you. It would be great if the Mono team could document which

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Hi Paul, Hi, I think I've found a problem between Mono and the latest kernel and I'm trying to find what it is. I've been advised to look at threading as a potential cause. What kind of problems? Does the threading system change depending on the OS (for instance, Linux and MacOS would use

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, How do I use Control.Invoke within my code and I'm not sure this explains the r00t access the code gave me. And you really think that Mono gave you root access? ;-) Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-devel-list] Re: Threading model

2005-08-05 Thread Robert Jordan
Paul, Thanks for the heads up on that. I've looked at the C++ version at http://samples.gotdotnet.com/quickstart/util/srcview.aspx?lbLangPref=CPpath=/quickstart/howto/Samples/WinForms/ThreadMarshal/ThreadMarshal.src but I'm not sure if I've got this right. That's one of the best article I

Re: [Mono-dev] Type.GetType inside of dynamic assembly

2005-09-01 Thread Robert Jordan
Hi Jon, Might be a simple question, but I'll ask anyway. I have a small program that calls Type.GetType(MyType, MyAssembly). This works fine. The program references MyAssembly at compile time. I also reference another assembly (say MyAssembly2) in the executable. MyAssembly2 doesn't

Re: [Mono-dev] C++ to C# to C++ interop, how can I do this in a mono-compliant way?

2005-09-02 Thread Robert Jordan
J wrote: I am looking for a way of having a C++ exe integrate with a .NET dll. I have a solution working under Windows (Microsoft.NET 1.1) however I would like to make this function under Mono. Here are the details: I currently am writing a C# wrapper of a C++ game engine. (T2D by

Re: [Mono-dev] .NET Remoting: Upload of a file from a Win32 MS .NET client to a Linux Mono .NET server.

2005-09-02 Thread Robert Jordan
Yngve, The problems (now) arise when i try to upload a zip file from the client to the server. I use a parameter with a (File)Stream object to do callbacks to Read the file in blocks from the client into the server. When calling the Read(buffer, 0, buffer.Length) method I get index out of

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Jonathan, Here's a patch for the Type.GUID property. It was previously always returning Guid.Empty. It now returns the value of the GuidAttribute specified on the Type, else it returns Guid.Empty. This seems to be the behavior of .Net. Please review and commit, or give me permission to commit.

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
(t.AssemblyQualifiedName); using (System.Security.Cryptography.MD5 md5 = System.Security.Cryptography.MD5.Create ()) { return new Guid (md5.ComputeHash (bytes)); } } Is it a patch worth? Rob - Original Message - From: Robert Jordan [EMAIL PROTECTED] To: mono-devel

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Hi Kornél, Type.GUID is useful only when using COM interop. Of course there may be other uses but I don't tink it is needed for anything else. Well, it's just another name representation of the type. GUIDs are identifiers in COM so I think we should not implement a different algorythm just

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Hi Sebastien, The hash appears to change with the assembly name and type name. Renaming gt.cs will return another GUID as well as renaming App. Renaming gt.exe doesn't change the GUID. Applying an AssemblyVersionAttribute will change the GUID, so I'm pretty sure, that Type.AssemblyQualifiedName

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Hi Kornél, This explains how GUIDs are generated but it doesn't mention the actual hash algorytm used to generate GUID from the mentioned components: http://blogs.msdn.com/adam_nathan/archive/2003/10/19/56779.aspx ... also part of Adam's impressive COM Interop book. And GUID has a

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
enough to can provide compatiblity with MS.NET: http://msdn.microsoft.com/library/en-us/dnnetcomp/html/PPCGuidGen.asp Kornél - Original Message - From: Kornél Pál [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Robert Jordan [EMAIL PROTECTED] Cc: mono-devel-list@lists.ximian.com Sent: Saturday

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Vladimir Lushnikov wrote: Hi, Can I ask a slightly unrelated question - does Mono actually generate unique GUID's at the moment? I use them for a generic collection of worker sockets in a server, so wondering if they are unique enough to be used there in Mono (I know it works in .NET).

Re: [Mono-dev] Type.GUID patch

2005-09-03 Thread Robert Jordan
Hi Sebastien, MSFT's implementation (actually an InternalCall) is 3 times slower then the computation of an MD5 hash using an *unmanaged* implementation of the MD5 algorithm. Oh, that's interesting. How does this compare to your managed implementation (using Mono's managed MD5

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

2005-09-06 Thread Robert Jordan
Hi Jonathan, 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 Win32: The

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

2005-09-06 Thread Robert Jordan
count. But the returned structures must be manually marshaled: http://www.pinvoke.net/default.aspx/winspool.EnumPrinters Rob Kornél - Original Message - From: Robert Jordan [EMAIL PROTECTED] To: mono-devel-list@lists.ximian.com Sent: Tuesday, September 06, 2005 11:29 AM Subject: Re

Re: [Mono-dev] Remothing through HTTPS

2005-09-07 Thread Robert Jordan
Hi Yngve, both Mono's and .NET's Http*Server*Channel don't support https. You might try something like that: http://msdn.microsoft.com/msdnmag/issues/03/06/NETRemoting/ Rob Hi all. I am doing an remoting application and have a Win32 Client with MS .NET v1.1 and a Linux (Fedora Core 3

Re: [Mono-dev] embedded runtime questions

2005-09-10 Thread Robert Jordan
Hi, 2. Is there a facility to get a MonoMethod* that is more specific than mono_class_get_method_from_name? This works fine until you have multiple methods with the same name and the same number of arguments. You have at least 2 choices: 1. MonoMethod* mono_class_get_methods

[Mono-dev] [PATCH] Mono.Remoting.Channels.Unix bugfixes

2005-09-10 Thread Robert Jordan
=== --- class/Mono.Posix/Mono.Remoting.Channels.Unix/ChangeLog (revision 49879) +++ class/Mono.Posix/Mono.Remoting.Channels.Unix/ChangeLog (working copy) @@ -1,3 +1,9 @@ +2005-09-11 Robert Jordan [EMAIL PROTECTED] + + * UnixChannel.cs: fixed default ctor

Re: [Mono-dev] gcc/mcs problem - which is it?

2005-09-11 Thread Robert Jordan
Hi Paul, I'm trying to find if a problem I'm seeing is gcc related or a problem in some code. I am compiling mono and it keeps getting stuck at the same place with the following error (which is reproducible and other are seeing it as well) make[8]: *** [../../class/lib/basic/System.Xml.dll]

Re: [Mono-dev] gcc/mcs problem - which is it?

2005-09-11 Thread Robert Jordan
Paul F. Johnson wrote: Hi, Which Mono version did you install (make install) before you got that error? I always use the developer branch from svn. First occurance happened yesterday (10th Sept) and now compiles, but during a make install, it dies. My version was from 9th Sept, conmpiled

[Mono-dev] [PATCH] System.Web.UI.ListControl Data Binding

2005-09-25 Thread Robert Jordan
Hi! The patch fixes a problem with data binding of simple collections. The bug can be reproduced with XSP's demo site 1.1/databind/databind-attribute.aspx Rob Index: System.Web.UI.WebControls/ListControl.cs === ---

[Mono-dev] [PATCH] System.Web.UI/ObjectTagBuilder.cs ID handling

2005-09-25 Thread Robert Jordan
Hi, The following patch fixes a bug in ObjectTagBuilder.cs. The bug can be reproduced with XSP's demo site 1.1/databind/databind-arraylist.aspx Rob Index: System.Web.UI/ObjectTagBuilder.cs === ---

Re: [Mono-dev] System.Web fails to build

2005-09-28 Thread Robert Jordan
The error is the following: System.Web.UI.HtmlControls/HtmlHead.cs(162,55): error CS0122: `System.Web.UI.CssStyleCollection.BagToString()' is inaccessible due to its protection level Got that as well under Linux. I'm on revision 50934. Rob ___

Re: [Mono-dev] MapViewOfFile - I think there is a bug

2005-09-28 Thread Robert Jordan
Paul F. Johnson wrote: Hi, According to MSDN, MapViewOfFile should be LPVOID MapViewOfFile( HANDLE hFileMappingObject, DWORD dwDesiredAccess, DWORD dwFileOffsetHigh, DWORD dwFileOffsetLow, SIZE_T dwNumberOfBytesToMap ); I have some code which looks like this dataView =

Re: [Mono-dev] Big MCS Problem

2005-09-28 Thread Robert Jordan
Paul F. Johnson wrote: Hi, I think mcs see /resource:resources/WebUIValidation.js as a file to compile... (because there's a slash before resource) It's compilable now. Nope. Can't get mcs to compile from source... This is not the compiler.

Re: [Mono-dev] DotNet Remoting : Failed to read past end of stream

2005-09-30 Thread Robert Jordan
Hi, By any chance, what happens if you use a plain ASCII string or when you use a string read from somewhere else (not a literal declared in source code). A couple of weeks ago I've seen some commits on MCS regarding the codepage of the source code. I think they were first released with 1.1.9.

Re: [Mono-dev] Bug with your exception-optimization

2005-10-03 Thread Robert Jordan
Hi Hubert, I've seen that your have commited an optimization in exception handling in mini... Fri Sept 30... I've found a very very nasty bug... In the meanwhile you may try to run with that specific optimization turned off: mono --optimize=-exception ... Rob

Re: [Mono-dev] Bug with your exception-optimization

2005-10-03 Thread Robert Jordan
Hi Zoltan, Could you create a testcase which doesn't depend on System.Data+Oracle etc ? It seems that the stack frame gets corrupted. Rob using System; using System.Collections; public class CustomException : ApplicationException { } class Foo { static void Main(string[] args) {

Re: [Mono-dev] Debugging Busted CIL

2005-10-03 Thread Robert Jordan
Hi Jim, I'm currently trying to work out what is wrong with some assemblies I've generated and thought that people on the list might have some cunning techniques that I haven't thought of. How are you generating the assemblies? Are this assemblies generated by MS tools? Mono doesn't support

Re: [Mono-dev] system class

2005-10-05 Thread Robert Jordan
Matthijs ter Woord wrote: Are there any WMI alternatives on linux (opensource/closed source)? An implementation of the Windows Management Instrumentation for Linux? :-) Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

[Mono-dev] Re: Mono.Cairo Memory Leak

2005-10-06 Thread Robert Jordan
Manuel, I'm writing an interactive canvas for the MonoUML Case Tool. I'm using Cairo with Gtk# and I have experimented an ascending memory consumption when drawings are continuously performed, for example inside a MotionNotifyEvent Handler. This memory is never released and eventually SWAP

Re: [Mono-dev] system class

2005-10-06 Thread Robert Jordan
Hi Will, As I understand it the main difficulty in dealing with Microsoft's WMI implementation is that it runs over DCOM and not a standard protocol such as HTTP. I wrote a C# DCOM stack and WMI implementation for my company, but since they own it and not me I can't release it into the Mono

[Mono-dev] Question about the build system

2005-10-07 Thread Robert Jordan
Hi, I'm trying to integrate some NET_2_0 features (IPC channels) into mcs/class/ but I cannot figure out how to handle the unix vs. cygwin/Win32 differences. Background: the IPC channels for the Unix version are implemented using Mono.Remoting.Channels.Unix, while the Win32 version has its own

Re: [Mono-dev] timeouts with xsp

2005-10-14 Thread Robert Jordan
Hubert, Is there a way to set the timeout limit of a request in xsp (may be in xsp.exe.config)... (i've a very long request, that recreate a database, and xsp's doing timeouts) For the web.config: configuration system.web httpRuntime executionTimeout=seconds / Rob

Re: [Mono-dev] mono X11 rendering

2005-10-14 Thread Robert Jordan
Hi, I am developing a simple applications using Thread class to change the color of the square (Lab assignment). Everything is working properly, except I have to drag or cls /opn the windows in linux to fix theThread and the only solutions to produce the color change. Well, OnPaint is only

[Mono-dev] System.Runtime.Remoting.Channels.Ipc

2005-10-16 Thread Robert Jordan
Hi, I filled a bug with the implementation of the IPC remoting channels for NET_2_0: http://bugzilla.ximian.com/show_bug.cgi?id=76457 Please review and comment/commit. Rob ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] PInvoke ques

2005-10-23 Thread Robert Jordan
Shankari, My aim is to prevent an update to a pass-by-ref value(this is a part of my work in fault isolation). My idea is to make a copy of the managed type , so this copy will be updated rather than the original one. Well, as Zoltan told you: if the ref parameter is marked with the [In]

Re: [Mono-dev] Installers and relative paths

2005-10-24 Thread Robert Jordan
Wade, The latest Windows installer doesn't set any environment variables in the wrapper scripts and batch files (MONO_PATH, etc...). This works fine in finding the gac binaries. The path to the mono assemblies is computed from the executable's file name of the process that loads mono.dll.

[Mono-dev] System.Collections.Specialized: compatibility

2005-10-26 Thread Robert Jordan
Hi, The serialization changes to HybridDictionary ListDictionary NameValueCollection made after 1.1.9.2 are incompatible with mono 1.1.9.2 and older. I assume you are aware of that, but don't forget to update the release notes. Rob ___

Re: [Mono-dev] System.Console.CancelKeyPress

2005-10-26 Thread Robert Jordan
Andy, System.Console.CancelKeyPress does not seem to be implemented yet. Is there something I can do using Mono.Unix or otherwise to handle Cntl-C in a Linux Mono command line app? Ignoring SIGINT (Ctrl-C) is the only operation you can do at present. Rob // // compile with: mcs

Re: [Mono-dev] Patch for System.Runtime.Remoting: remove application name while extracting object uri from url

2005-10-30 Thread Robert Jordan
Hi Svetlana, In .NET the url to the remote object can contain the application name. In the IIS hosted applications it is mandatory. This application name should be removed during parsing of the url to extract object uri. I prepared patch to handle urls which contain application name. I

[Mono-dev] [PATCH] Add missing NET_2_0 remoting interfaces

2005-11-05 Thread Robert Jordan
=== --- ChangeLog (revision 51732) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2005-11-05 Robert Jordan [EMAIL PROTECTED] + + * corlib.dll.sources: Added System.Runtime.Remoting.Channels/ISecurableChannel.cs + 2005-10-07 Zoltan Varga

Re: [Mono-dev] Are there any endian issues with unsafe code?

2005-11-08 Thread Robert Jordan
Kornél Pál wrote: Hi, Could you please run the attached test case with Mono on a big-endian system and share the results with me to get to know the exact details of managed endiannes. BTW, BinaryReader/Writer is always little-endian. This is documented on MSDN. BinaryReader.ReadInt32:

Re: [Mono-dev] Are there any endian issues with unsafe code?

2005-11-08 Thread Robert Jordan
Hi Kornél, BTW, BinaryReader/Writer is always little-endian. This is documented on MSDN. They are expected to be little-endian but only BinaryReader.ReadUInt16 (no other BinaryReader or any BinaryWriter methods) is documented to be little-endian.:) BinaryWriter.Write(int) has a Remarks

Re: [Mono-dev] using internal calls in mono1.1.9 is allowed just in mscorlib.dll?

2005-11-09 Thread Robert Jordan
Hi, I tried to add a few internal calls to expose certain features to classes. With older mono version, i did it by adding them at icall.c With same approach in mono1.1.9, I got runtime error myapp.dll contains native code and mono can't run it. 1) Is it because mono doesn't allow internal

Re: [Mono-dev] .Net 2.0 code failing on mono

2005-11-10 Thread Robert Jordan
When naively running the client app with mono (1.1.9.2) I get a dialougue with ** ERROR **: file class.c line 2233 (mono_class_setup_parent): should not be reached aborting... With no additional information about the problem. An assembly is missing. Guessing it maybe related to missing

Re: [Mono-dev] embedded runtime for each application

2005-11-12 Thread Robert Jordan
Louis, i would like to know if is it possible to install and launch an application without having to install the mono framework before ?? In fact, the framework would be embedded in application (it's a fact that the application size would be enormous) Advantage would be simplicity for

[Mono-dev] [PATCH] mod_mono: startup problems with Apache 1.3

2005-11-12 Thread Robert Jordan
Hi, The attached patch fixes the problem by not starting xsp from apache's child_init handler. It's now started on demand during the first request. I'm not sure whether this is desired, because it may lead to HTTP_SERVICE_UNAVAILABLE during the first request. It just fixes the problem for me.

Re: [Mono-dev] [PATCH] mod_mono: startup problems with Apache 1.3

2005-11-12 Thread Robert Jordan
@@ -1539,6 +1545,7 @@ /* Give some time for clean up */ fork_mod_mono_server (pconf, xsp); xsp-status = FORK_SUCCEEDED; + continue; } } Sorry, the continue line is not needed.

Re: [Mono-dev] [PATCH] mod_mono: startup problems with Apache 1.3

2005-11-12 Thread Robert Jordan
Joshua, The attached patch fixes the problem by not starting xsp from apache's child_init handler. It's now started on demand during the first request. How about something more 'creative' to only start mod-mono-server once. One of the preforked processes should decide that it's going to be

Re: [Mono-dev] CS0006: Cannot find assembly `mgnat.dll'

2005-11-13 Thread Robert Jordan
Hi Laurent, Your assembly is not a valid PE file. You may check it yourself with pedump --verify all mgnat.dll Robert Hi Rafael, I set the two variables (with export x=y) but mcs didn't output any more information. I tried /warning:4 but nothing too. strace mcs log part: ...

Re: [Mono-dev] mgnat.dll saga

2005-11-13 Thread Robert Jordan
Laurent, Your assembly is not a valid PE file. You may check it yourself with pedump --verify all mgnat.dll Thanks for the hint! I removed the /key=.../TestKey.snk argument to the ilasm command generating mgnat.dll from the big .il file and it removed the CS0006 message (may be TestKey.snk

Re: [Mono-dev] mgnat.dll saga

2005-11-13 Thread Robert Jordan
Laurent, I just downloaded the package you're trying to port: The dll is compiled as a module and linked together with the IL to a dll. A bootstrap mgnat.dll seems to be used: $(CD) $(MGNAT_DIR)/lib; $(CP) $(ADALIB)/mgnat.dll . $(CD) $(MGNAT_DIR)/lib; $(CSC) /debug /t:module

Re: [Mono-dev] Questions about mod-mono-server process/AppDomain loading/unloading

2005-11-13 Thread Robert Jordan
B) Some way to restart each site and not have it effect the other sites Besides restarting a mod-mono-server process, as I said, there's no way to restart individual applications. This has to do with complicated AppDomain unloading issues. Is there any current way to put each site on it's

Re: [Mono-dev] Mono Error CS2008

2005-11-17 Thread Robert Jordan
Velazquez Angel wrote: About what is related this error at Mono??? When happend and why??? Do you mean this error? $ mcs error CS2008: No files to compile were specified Compilation failed: 1 error(s), 0 warnings This error ocurs if, well, no input file was specified. Robert

Re: [Mono-dev] http header generation

2005-11-20 Thread Robert Jordan
Ivano, You don't need to change any sources. In your webservice proxy (it's probably a HttpWebClientProtocol descendant, right?) just set the UserAgent property. Robert I have got no answert to this. Please let me know: I have downloaded mono sources and browsed the code to find the user

Re: [Mono-dev] Invalid IL code

2005-11-21 Thread Robert Jordan
Richard, I want to develop a C# application which uses a third-party assembly. The assemby is an API to the web services of the company that provides the assembly. The company supports the DLL only on .NET A simple C# programm calling a method of the API works fine on .NET but results the

[Mono-dev] mcs regression

2005-11-21 Thread Robert Jordan
Hi, I'm not sure, but it looks like this regression might break code/stub generators that rely on parameter names: http://bugzilla.ximian.com/show_bug.cgi?id=76783 Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com

Re: [Mono-dev] MySql Connectivity in Mono/xsp for linux

2005-11-30 Thread Robert Jordan
[EMAIL PROTECTED] wrote: Hello, I'm currently using VS.Net 2003 to write some asp.NET/C# pages and I'm trying to connect it with MySQL 5.0. I've installed MySql connector (MySql.Data.dll)and it works fine with .Net Framework on windows. but once I attempt to move the asp.NET pages to

[Mono-dev] [PATCH] System.Resources.ResX* fixes

2005-11-30 Thread Robert Jordan
Hi, http://bugzilla.ximian.com/show_bug.cgi?id=76864 While I filled the bug to the correct component (Windows.Forms), the 2nd problem occurs with ASP.NET too, if VS.NET projects are recompiled under Mono. May i commit? Robert ___ Mono-devel-list

[Mono-dev] [PATCH] another System.Resources.ResX* fix

2005-12-01 Thread Robert Jordan
Hi, http://bugzilla.ximian.com/show_bug.cgi?id=76870 May I commit? Robert ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-dev] Array of delegate, possible in an interface definition?

2005-12-05 Thread Robert Jordan
Hi, public class Test { public delegate TestDelegate (int a, int b); public delegate SOME_RETURN_TYPE TestDelegate(int a, int b); Robert public interface TestInterface { TestDelegate[] CalculateStuff; } } On compilation with latest mono mcs 1.1.10, this gives the

Re: [Mono-dev] Calling .NET code from unmanaged C

2005-12-07 Thread Robert Jordan
Jean Carrive wrote: I compiled the examples, but at run-time I get this error : The assembly mscorlib.dll was not found or could not be loaded. It should have been installed in the '/usr/lib/mono/1.0/mscorlib.dll' directory. Actually, when I installed Mono as a regular user, it installed

Re: [Mono-dev] xsp + jpeg's

2005-12-08 Thread Robert Jordan
Mark Gallop wrote: Hello All, I am trying to display jpeg images using xsp and mono 1.1.10 (I have also tried previous versions) unfortuneately it only works if the file extension is jpeg. If it is jpg the browser wants to download, not display. This only occurs when loading the image on its

Re: [Mono-dev] Could we use windres to compile .rc files when building mcs tree?

2005-12-08 Thread Robert Jordan
Kornél, Unmanaged Win32 resources are not MS.NET compatible however. In profile 1.x there are no AssemblyFileVersion attributes so AssemblyVersion attributes are used as versions in Win32 resources. FileVersionInfo.GetVersionInfo can be used to retrieve Win32 version resources. If we belive

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

2005-12-18 Thread Robert Jordan
mirek wrote: hello i try to use serialization for storing of configuration in my app. the problem is, i've got some data stored in ArrayList, and they are not primitive types - they are instances of classes or some structs. so it looks like this: [Serializable] public class Entry {

Re: [Mono-dev] Bytecode Verifier

2005-12-18 Thread Robert Jordan
Markus Frauenfelder wrote: Hello List As a matter of fact I'm new to this list... so I hope I don't abuse to much list rules by this question. Is there an existing bytecode verifier for mono (such as PEVerify.exe for MS .Net)? I've been looking for one at several places (such as go-mono.org

Re: [Mono-dev] HTTP Protocol Implementation: Solving the message boundary problem

2005-12-20 Thread Robert Jordan
Vladimir, I wanted to ask a quick question about how the HTTPListener etc... classes solve the message boundary problem. I took a look at the related classes, and it seems that the http commands are passed by reading/writing to a MemoryStream and delimiting each command by a \r\r\n\n in the

Re: [Mono-dev] Dropping privileges in linux

2005-12-21 Thread Robert Jordan
Georgi, I am looking for a way to drop privileges of an assembly started as 'root' to a normal user. I found two possible solutions, but didn't succeed with either of them ... a) Using Syscall Syscall.setgid(1000); Syscall.setuid(1000); there 1000 is the uid and gid of an existing

Re: [Mono-dev] Native compiler

2005-12-27 Thread Robert Jordan
Vladimir Lushnikov wrote: Hello, Before you say anything, no I am not talking about a GCC frontend for Mono, something akin to GCJ for Java. But compilation, native compilation would be nice. It has already been commercially done: http://www.remotesoft.com/linker/ The question is, could it be

Re: [Mono-dev] Open discussion for mono setuid per vhost

2005-12-27 Thread Robert Jordan
Christopher, So far I've been discussing this offlist with another Mono/.Net developer... I'm interested in open/honest feedback or code snippets which might help accomplish this.. So far there are two ways which seem reasonable so far and please pardon me if I'm missing some points.. 1)

Re: [Mono-dev] Strange bug in System.Timers.Timer i guess

2005-12-29 Thread Robert Jordan
gigi gogu wrote: Hy guys, I'm trying to port a windows.forms software in gtk with mono, and everything was ok until i tried to implement two timers That made my application crush without a reason after a while. Here is the message i received You should use the non-multithreaded

Re: [Mono-dev] @ Sign - General Question

2005-12-29 Thread Robert Jordan
Vladimir Lushnikov wrote: Hello, I have a general query. I haven't seen any mention of it on reference books, and an online search brings up http://www.oreilly.com/catalog/monoadn/inx.html so I thought I'd post the question here. I have a delegate called MyDelegate and I want to call it

Re: [Mono-dev] Get list of installed printers

2005-12-31 Thread Robert Jordan
Hey, any ideeas in how can I retreive the list of printers installed on a system? In Windows.Forms was easy: [ ... ] But in mono i get this error: Unhandled Exception: System.NotImplementedException: The requested feature is not implemented. in [0x5] (at

[Mono-dev] Re: r54963 - trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms

2006-01-02 Thread Robert Jordan
Hi, Author: aolk Date: 2006-01-02 13:23:08 -0500 (Mon, 02 Jan 2006) New Revision: 54963 Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs Log: * FileDialog.cs: Forgot too add

Re: [Mono-dev] [PATCH] MS.NET compatible Path.GetTempFileName

2006-01-06 Thread Robert Jordan
Kornél, The only thing I cannot understand it the fact that if I submit a patch that corrects an MS.NET bug in Mono it is rejected or isn't welcomed altought the same is true for a patch that implements an MS.NET bug. Well, in your first mail you did't explain why on earth mono have to

Re: [Mono-dev] [PATCH] MS.NET compatible Path.GetTempFileName

2006-01-06 Thread Robert Jordan
Kornél, Hi, How about just appending .tmp to the temp file name while still using ints for the pattern? I don't insist on 16-bit numbers if you (other people) belive that 16-bits are few and we need 32-bits I will accept it. But if we want to provide the same behavior as MS.NET we have to

Re: [Mono-dev] gluing C code into my apps

2006-01-08 Thread Robert Jordan
Hi, I recently asked a question about parallel port acces in mono, and it was suggested that I glue some C code into my apps. This is what I originally though that I might have to do but there is one problem. How do I use C code within my C# apps? Do i have to call an external progam or can i

Re: [Mono-dev] Creating AppDomains From Embedded Mono

2006-01-10 Thread Robert Jordan
Hey, I seem to have fixed my build problems: I ran make again without changing anything and managed to build the mono 1.1.13 tree in cygwin with the mono 1.1.13 windows installation. Slightly disconcerting as it crashed the last time I tried it... I can run the Second Life simulator again and

  1   2   3   4   5   6   7   8   9   10   >