From lupus at ximian.com Wed Jan 2 09:54:52 2008 From: lupus at ximian.com (Paolo Molaro) Date: Wed, 2 Jan 2008 15:54:52 +0100 Subject: [Mono-list] List administrator? In-Reply-To: <477545D3.8060303@jcosby.com> References: <477545D3.8060303@jcosby.com> Message-ID: <20080102145452.GW5889@debian.org> On 12/28/07 Jon Cosby wrote: > Who's managing the mailing lists? I tried sending email to "mailman" and > "list-admin" but they were both returned due to "unknown user". For most list you can send mail to me: in general the mailman web page has a list of admin addresses in each list page (though note that they are somewhat antispam-mangled). lupus -- ----------------------------------------------------------------- lupus at debian.org debian/rules lupus at ximian.com Monkeys do it better From lars at update.uu.se Wed Jan 2 12:20:28 2008 From: lars at update.uu.se (=?ISO-8859-1?Q?Lars_Hagstr=F6m?=) Date: Wed, 02 Jan 2008 18:20:28 +0100 Subject: [Mono-list] UnmanagedFunctionPointer as out parameter from native function causes failed assertion Message-ID: <477BC7DC.6090206@update.uu.se> Hi, I'm trying to pass a function pointer as an out parameter from a native shared library. In the attached program there is a small shared library that has one GetCallback function that returns a callback function, and one that passes it as an out parameter. The version that just returns it works fine, but the one that passes by out parameter fails with this error: $ mono CallbackTest.exe ** ERROR **: file marshal.c: line 6686 (emit_marshal_object): assertion failed: (!t->byref) aborting... Stacktrace: Native stacktrace: mono [0x81705fb] [0xffffe440] /lib/libc.so.6(abort+0x108) [0xb7d528e8] /usr/lib/libglib-2.0.so.0(g_logv+0x435) [0xb7ed1f35] /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7ed1f69] /usr/lib/libglib-2.0.so.0(g_assert_warning+0x78) [0xb7ed1fe8] mono [0x80b5330] mono [0x80b5cb8] mono [0x80ba749] mono [0x80bb758] mono [0x814fed9] mono [0x815c253] mono [0x815dabb] mono [0x815dff1] mono(mono_runtime_exec_main+0xb8) [0x80e82b8] mono(mono_runtime_run_main+0x1b4) [0x80e9704] mono(mono_main+0xf9f) [0x805b5ff] mono [0x805a172] /lib/libc.so.6(__libc_start_main+0xdc) [0xb7d3dfdc] mono [0x805a0c1] Debug info from gdb: (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) 0xffffe410 in __kernel_vsyscall () ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= Aborted I'm running mono 1.2.6 and gcc 4.1.2 on gentoo-linux. Note that the line that calls the "offending" version of GetCallback is commented in the attached code, to show that the other version works well. Have I done something wrong, or is it a bug in mono? Is there a workaround (I'd prefer to keep the workaround in the c# code, rather than changing the native dll). Happy New Year, Lars -------------- next part -------------- A non-text attachment was scrubbed... Name: mono_callback_test.tar.gz Type: application/gzip Size: 886 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080102/1f4438c8/attachment.bin From oli at thepcspy.com Wed Jan 2 12:29:45 2008 From: oli at thepcspy.com (Oli Warner) Date: Wed, 02 Jan 2008 17:29:45 +0000 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper Message-ID: <477BCA09.4040901@thepcspy.com> I've just moved to Linux and I'm not happy with the state of video players. I'm quite familiar with C# so I thought I'd have a crack at making a player for myself, but in order to do so I'm going to need something I can push the actual video rendering off onto - preferably something that can handle a plethora of codecs too. An mplayer wrapper would be ideal because it handles everything, but at this stage any suggestions or similar open-source mono projects would be of great help. Happy new year! Oli From arxcruz at gmail.com Wed Jan 2 12:33:26 2008 From: arxcruz at gmail.com (Arx Cruz) Date: Wed, 2 Jan 2008 15:33:26 -0200 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <477BCA09.4040901@thepcspy.com> References: <477BCA09.4040901@thepcspy.com> Message-ID: gnome-subtitles have a good work using mplayer with c#/mono On Jan 2, 2008 3:29 PM, Oli Warner wrote: > I've just moved to Linux and I'm not happy with the state of video > players. I'm quite familiar with C# so I thought I'd have a crack at > making a player for myself, but in order to do so I'm going to need > something I can push the actual video rendering off onto - preferably > something that can handle a plethora of codecs too. > > An mplayer wrapper would be ideal because it handles everything, but at > this stage any suggestions or similar open-source mono projects would be > of great help. > > Happy new year! > > Oli > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- "A f? remove montanhas, mas eu prefiro a dinamite" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080102/6ef45d01/attachment.html From oli at thepcspy.com Wed Jan 2 13:08:23 2008 From: oli at thepcspy.com (Oli Warner) Date: Wed, 02 Jan 2008 18:08:23 +0000 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: References: <477BCA09.4040901@thepcspy.com> Message-ID: <477BD317.2060806@thepcspy.com> Super! Yeah they use GStreamer (which I completely forgot all about) and there's a GStreamer-sharp mono project! http://www.mono-project.com/Gstreamer Fantastic! Thank you for your help. Arx Cruz wrote: > gnome-subtitles have a good work using mplayer with c#/mono > > On Jan 2, 2008 3:29 PM, Oli Warner > wrote: > > I've just moved to Linux and I'm not happy with the state of video > players. I'm quite familiar with C# so I thought I'd have a crack at > making a player for myself, but in order to do so I'm going to need > something I can push the actual video rendering off onto - preferably > something that can handle a plethora of codecs too. > > An mplayer wrapper would be ideal because it handles everything, > but at > this stage any suggestions or similar open-source mono projects > would be > of great help. > > Happy new year! > > Oli > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > -- > "A f? remove montanhas, mas eu prefiro a dinamite" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080102/b0720a88/attachment.html From knocte at gmail.com Wed Jan 2 14:00:18 2008 From: knocte at gmail.com (=?UTF-8?B?IkFuZHLDqXMgRy4gQXJhZ29uZXNlcyBbIGtub2N0ZSBdIg==?=) Date: Wed, 02 Jan 2008 20:00:18 +0100 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <477BD317.2060806@thepcspy.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> Message-ID: <477BDF42.1080006@gmail.com> Oli Warner escribi?: > Super! Yeah they use GStreamer (which I completely forgot all about) and > there's a GStreamer-sharp mono project! > > http://www.mono-project.com/Gstreamer > > Fantastic! Thank you for your help. > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion on Banshee list about doing a replacement: MonoMedia [1]. Regards, Andr?s [1] http://mail.gnome.org/archives/banshee-list/2007-December/msg00025.html -- From knocte at gmail.com Wed Jan 2 14:00:18 2008 From: knocte at gmail.com (=?UTF-8?B?IkFuZHLDqXMgRy4gQXJhZ29uZXNlcyBbIGtub2N0ZSBdIg==?=) Date: Wed, 02 Jan 2008 20:00:18 +0100 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <477BD317.2060806@thepcspy.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> Message-ID: <477BDF42.1080006@gmail.com> Oli Warner escribi?: > Super! Yeah they use GStreamer (which I completely forgot all about) and > there's a GStreamer-sharp mono project! > > http://www.mono-project.com/Gstreamer > > Fantastic! Thank you for your help. > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion on Banshee list about doing a replacement: MonoMedia [1]. Regards, Andr?s [1] http://mail.gnome.org/archives/banshee-list/2007-December/msg00025.html -- From xfurious at gmail.com Wed Jan 2 17:37:00 2008 From: xfurious at gmail.com (William Lahti) Date: Wed, 2 Jan 2008 17:37:00 -0500 Subject: [Mono-list] SharpOS 0.0.1 Release Message-ID: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> 'm happy to announce that we have released version 0.0.1 of SharpOS, including our AOT compiler and a basic kernel with an interactive shell. This is a proof of concept release intended to gather awareness, support and participation from community members, so if you are interested in working on this project we encourage you to sign up for our mailing list. For those of you who don't know about SharpOS, it is a project to write an operating system purely in C#, which was actually spawned from the "Operating system in C#" thread on mono-devel-list. Although we don't have object instantiation or meta data embedding in our kernel yet, the release proves clearly that the concept is possible. Our next milestone focuses on supporting managed code in the kernel, as well as using that managed code to improve our current systems as much as possible. Our wiki and project management suite is at http://sharpos.org/. Our file releases area at SourceForge (http://sourceforge.net/project/platformdownload.php?group_id=196652) contains tarballs and zips with source code, binaries, and disk images for testing. We've also got ISO images for trying SharpOS on real computers (that don't have floppy drives, that is), as well as the usual configurations for Bochs, VMWare, and Virtual PC. And have a wonderful new year everyone! PS: I've had a lot of trouble posting to the list because Postfix says the dates on the email are in the future?? -- fury long name: William Lahti handle :: fury freenode :: xfury blog :: http://xfurious.blogspot.com/ From cabosan at gmail.com Wed Jan 2 18:26:19 2008 From: cabosan at gmail.com (John Lucas) Date: Wed, 2 Jan 2008 17:26:19 -0600 Subject: [Mono-list] Fedora 8 Install Issue Message-ID: I am trying to install mono 1.2.6 on FC 8. When I try to install libgdiplus, I get a dependency error- libexif.so.9 is needed by package libgdiplus. I currently have mono 1.2.5 installed. I tried a couple of things: 1. Downloaded the libexif.la, libexif.so.9, and libexif.so.9 , and put them in my mono install dir. 2. Then I tried ln -s libexif.so.12 libexif.so.9 (even though it seems backward) I used this rpm from http://www.go-mono.com/download-stable/rhel-4-i386/ libgdiplus-1.2.6-2.rhel4.novell.i386.rpm I don't know if this is the correct way to do it, I am new to linux, so please be kind! From kobruleht2 at hot.ee Wed Jan 2 18:29:33 2008 From: kobruleht2 at hot.ee (Andrus Moor) Date: Thu, 3 Jan 2008 01:29:33 +0200 Subject: [Mono-list] GUI and virtual grid for new desktop application Message-ID: <000c01c84d97$729866d0$3e787ec2@acer> I'm planning to create new ERP desktop application which must run in Windows, Linux and Mac. I'm planning to develop in Windows using C# Express 2008 Preferred requirement is virtual grid. This grid should displays screenful of data from a large tables using npgsql . When user uses page up/down keys to move, grid should retrieve new screen of rows from database. WinForms DataGridView and its virtual mode are not implemented in MONO. GTK# does not seems to have virtual grid at all. I can change virtual grid interface to something other if particular GUI has reasonable replacement. Which GUI should I use, Winforms, GTK# or something other ? Or is it better to use Java/Eclipse/Swing since this is more complete than MONO ? Andrus. From dannywaite7 at hotmail.com Wed Jan 2 18:32:33 2008 From: dannywaite7 at hotmail.com (Danny Waite) Date: Wed, 2 Jan 2008 23:32:33 +0000 Subject: [Mono-list] Running CGI on XSP2 Message-ID: Hi guys, Is there anyway to do that? Regards, Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080102/90b83a7d/attachment.html From vsviridov at exceede.com Wed Jan 2 18:35:33 2008 From: vsviridov at exceede.com (Vasili Sviridov) Date: Wed, 02 Jan 2008 15:35:33 -0800 Subject: [Mono-list] Running CGI on XSP2 In-Reply-To: References: Message-ID: <477C1FC5.9080206@exceede.com> You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP stuff to XSP and let apache handle all cgi requests. Regards, V. Danny Waite wrote: > Hi guys, > > Is there anyway to do that? > > Regards, > Danny > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From dannywaite7 at hotmail.com Wed Jan 2 19:44:01 2008 From: dannywaite7 at hotmail.com (Danny Waite) Date: Thu, 3 Jan 2008 00:44:01 +0000 Subject: [Mono-list] Running CGI on XSP2 In-Reply-To: <477C1FC5.9080206@exceede.com> References: <477C1FC5.9080206@exceede.com> Message-ID: Thanks Vasili, I was hoping to avoid apache as this is embedded device, I guess I might aswell run mod_mono if that is the case? Regards, Danny > Date: Wed, 2 Jan 2008 15:35:33 -0800 > From: vsviridov at exceede.com > To: dannywaite7 at hotmail.com > CC: mono-list at lists.ximian.com > Subject: Re: [Mono-list] Running CGI on XSP2 > > You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP > stuff to XSP and let apache handle all cgi requests. > > Regards, > V. > > Danny Waite wrote: > > Hi guys, > > > > Is there anyway to do that? > > > > Regards, > > Danny > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/83ec3c53/attachment.html From vsviridov at exceede.com Wed Jan 2 19:43:59 2008 From: vsviridov at exceede.com (Vasili Sviridov) Date: Wed, 02 Jan 2008 16:43:59 -0800 Subject: [Mono-list] Running CGI on XSP2 In-Reply-To: References: <477C1FC5.9080206@exceede.com> Message-ID: <477C2FCF.50207@exceede.com> Hmm, then you might try something more lightweight, that does support CGI's. Maybe something along the lines of nginx, or some other minimalist proxy server. I have no idea which ones support CGI, but there's bound to be some :) V. Danny Waite wrote: > Thanks Vasili, > > I was hoping to avoid apache as this is embedded device, I guess I > might aswell run mod_mono if that is the case? > > Regards, > Danny > > ------------------------------------------------------------------------ > > Date: Wed, 2 Jan 2008 15:35:33 -0800 > > From: vsviridov at exceede.com > > To: dannywaite7 at hotmail.com > > CC: mono-list at lists.ximian.com > > Subject: Re: [Mono-list] Running CGI on XSP2 > > > > You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP > > stuff to XSP and let apache handle all cgi requests. > > > > Regards, > > V. > > > > Danny Waite wrote: > > > Hi guys, > > > > > > Is there anyway to do that? > > > > > > Regards, > > > Danny > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > From dannywaite7 at hotmail.com Wed Jan 2 19:50:30 2008 From: dannywaite7 at hotmail.com (Danny Waite) Date: Thu, 3 Jan 2008 00:50:30 +0000 Subject: [Mono-list] Running CGI on XSP2 In-Reply-To: <477C2FCF.50207@exceede.com> References: <477C1FC5.9080206@exceede.com> <477C2FCF.50207@exceede.com> Message-ID: Yeah, I was hoping to support both in 1 web server, something like FastCGI in reverse :-) Thanks for your help anyway Vasili. > Date: Wed, 2 Jan 2008 16:43:59 -0800 > From: vsviridov at exceede.com > To: dannywaite7 at hotmail.com > CC: mono-list at lists.ximian.com > Subject: Re: [Mono-list] Running CGI on XSP2 > > Hmm, then you might try something more lightweight, that does support CGI's. > Maybe something along the lines of nginx, or some other minimalist proxy > server. I have no idea which ones support CGI, but there's bound to be > some :) > > V. > > Danny Waite wrote: > > Thanks Vasili, > > > > I was hoping to avoid apache as this is embedded device, I guess I > > might aswell run mod_mono if that is the case? > > > > Regards, > > Danny > > > > ------------------------------------------------------------------------ > > > Date: Wed, 2 Jan 2008 15:35:33 -0800 > > > From: vsviridov at exceede.com > > > To: dannywaite7 at hotmail.com > > > CC: mono-list at lists.ximian.com > > > Subject: Re: [Mono-list] Running CGI on XSP2 > > > > > > You should probably do it in a mixed apache/xsp way. I.e. proxy all ASP > > > stuff to XSP and let apache handle all cgi requests. > > > > > > Regards, > > > V. > > > > > > Danny Waite wrote: > > > > Hi guys, > > > > > > > > Is there anyway to do that? > > > > > > > > Regards, > > > > Danny > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > Mono-list maillist - Mono-list at lists.ximian.com > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/cd49647c/attachment-0001.html From hrishikesh.dewan at gmail.com Wed Jan 2 23:44:07 2008 From: hrishikesh.dewan at gmail.com (Dewan Hrishikesh) Date: Thu, 3 Jan 2008 10:14:07 +0530 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <477BDF42.1080006@gmail.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> <477BDF42.1080006@gmail.com> Message-ID: <624f096a0801022044v5ae7416bma4df7bf45885c4cd@mail.gmail.com> but do u think gstreamer is able to do all the things that a modern player can do. i was also thinking in the same line of replacing these players with a new one . On Jan 3, 2008 12:30 AM, "Andr?s G. Aragoneses [ knocte ]" wrote: > Oli Warner escribi?: > > Super! Yeah they use GStreamer (which I completely forgot all about) and > > there's a GStreamer-sharp mono project! > > > > http://www.mono-project.com/Gstreamer > > > > Fantastic! Thank you for your help. > > > > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion > on Banshee list about doing a replacement: MonoMedia [1]. > > Regards, > > Andr?s > > [1] > http://mail.gnome.org/archives/banshee-list/2007-December/msg00025.html > > -- > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- "Reality leaves a lot to the imagination." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/5ffcc27c/attachment.html From miguel at novell.com Thu Jan 3 01:10:31 2008 From: miguel at novell.com (Miguel de Icaza) Date: Thu, 03 Jan 2008 01:10:31 -0500 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <477BDF42.1080006@gmail.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> <477BDF42.1080006@gmail.com> Message-ID: <1199340631.3965.9.camel@erandi.boston.ximian.com> > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion > on Banshee list about doing a replacement: MonoMedia [1]. Aaron did some work on GStreamer# which was significantly cleaned up, but as far as I know, the code is burried under some subdirectory somewhere because he felt it was not ready for public consumption. The last time I talked to him, he felt the code was in good shape, but was too busy to publish it. From hrishikesh.dewan at gmail.com Thu Jan 3 01:41:53 2008 From: hrishikesh.dewan at gmail.com (Dewan Hrishikesh) Date: Thu, 3 Jan 2008 12:11:53 +0530 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <1199340631.3965.9.camel@erandi.boston.ximian.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> <477BDF42.1080006@gmail.com> <1199340631.3965.9.camel@erandi.boston.ximian.com> Message-ID: <624f096a0801022241t32eb605jfc9fdbf4eea37aff@mail.gmail.com> miguel, do u think that mono now requires a good tutorial (much like msdn ) on the remarkable things that it already has, i feel that it would cut the cost down to learn and use mono in many practical situations. thanks dewan On Jan 3, 2008 11:40 AM, Miguel de Icaza wrote: > > > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion > > on Banshee list about doing a replacement: MonoMedia [1]. > > Aaron did some work on GStreamer# which was significantly cleaned up, > but as far as I know, the code is burried under some subdirectory > somewhere because he felt it was not ready for public consumption. > > The last time I talked to him, he felt the code was in good shape, but > was too busy to publish it. > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -- "Reality leaves a lot to the imagination." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/710e7e31/attachment.html From mdk at mdk.am Thu Jan 3 03:57:33 2008 From: mdk at mdk.am (Michael Dominic K.) Date: Thu, 3 Jan 2008 10:57:33 +0200 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <1199340631.3965.9.camel@erandi.boston.ximian.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> <477BDF42.1080006@gmail.com> <1199340631.3965.9.camel@erandi.boston.ximian.com> Message-ID: <67ed228e0801030057k60c8ee9dg370447ccc3530197@mail.gmail.com> On Jan 3, 2008 8:10 AM, Miguel de Icaza wrote: > > > Wasn't Gstreamer# died? BTW, there's also a very interesting discussion > > on Banshee list about doing a replacement: MonoMedia [1]. > > Aaron did some work on GStreamer# which was significantly cleaned up, > but as far as I know, the code is burried under some subdirectory > somewhere because he felt it was not ready for public consumption. http://anonsvn.mono-project.com/viewcvs/branches/abock/gstreamer-sharp/ The last "theoretical" problem/issue I remember with gst-sharp was related to how to handle dynamic elements vs. "static" bindings you need to have for them. I don't think it was ever solved but maybe Aaron knows more. -- Michael. From rook at roo.k.pl Thu Jan 3 04:16:01 2008 From: rook at roo.k.pl (=?ISO-8859-2?Q?Micha=B3_Ziemski?=) Date: Thu, 03 Jan 2008 10:16:01 +0100 Subject: [Mono-list] NET S3 client Message-ID: <477CA7D1.20600@roo.k.pl> Hi! I have written a Amazon S3 client for NET and would like to release it for use to the community. It is IMHO better then the Amazon one as it handles Streams not byte arrays, foolows Net naming conventions and is generally cleaner code. Is there an established place for third party Mono libs? I remember there once was a debate about that, but AFAIR it never came to a conclusion (but maybe I missed something). Will you (the mono team) be interested in that as a new lib in the mono bundle (like Mono.S3 for example). I will be happy to hear from you, what's the best way to go. Best regards, Micha? Ziemski From ventsislav.mladenov at gmail.com Wed Jan 2 17:22:01 2008 From: ventsislav.mladenov at gmail.com (Ventsislav Mladenov) Date: Thu, 03 Jan 2008 00:22:01 +0200 Subject: [Mono-list] Speed difference Windows - Linux Message-ID: <477C0E89.8000406@mail.bg> Hi, I have a speed problem with Mono 1.2.6 I have to sort List with 88 000 records (Bulgarian and English words) on Windows Mono sort it for about 5 seconds but on Linux it takes at least 30 - 40 seconds. I think Mono have to use same algorithm for sorting? -------------- next part -------------- A non-text attachment was scrubbed... Name: v_mladenov.vcf Type: text/x-vcard Size: 209 bytes Desc: not available Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080103/252d25aa/attachment-0001.vcf From monouser at gmail.com Wed Jan 2 20:52:03 2008 From: monouser at gmail.com (Darwin Reynoso) Date: Wed, 2 Jan 2008 20:52:03 -0500 Subject: [Mono-list] How to add a combobox to a toolbar Message-ID: Hi, Can someone please help me. i need to add a combobox to a toolbar using stetic but i'm new to monodevelop and i have no clue. thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080102/479a2521/attachment-0001.html From alan.mcgovern at gmail.com Thu Jan 3 10:17:43 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Thu, 3 Jan 2008 15:17:43 +0000 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <477C0E89.8000406@mail.bg> References: <477C0E89.8000406@mail.bg> Message-ID: <117799f00801030717h39dc9dadke60ef3ceab6e44a8@mail.gmail.com> Hi, Are you using the same version of the mono runtime on both your windows box and linux box? The sorting algorithm should be the same, so if there's a difference in performance, it's from something else. Also, if you can create a testcase which easily demonstrates the problem, it'd make things easy to debug. Alan. On Jan 2, 2008 10:22 PM, Ventsislav Mladenov wrote: > Hi, I have a speed problem with Mono 1.2.6 > I have to sort List with 88 000 records (Bulgarian and English > words) > on Windows Mono sort it for about 5 seconds but on Linux it takes at least > 30 - 40 seconds. > > I think Mono have to use same algorithm for sorting? > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/bd08fbc0/attachment.html From iggy.ma at gmail.com Thu Jan 3 12:16:24 2008 From: iggy.ma at gmail.com (Iggy) Date: Thu, 3 Jan 2008 11:16:24 -0600 Subject: [Mono-list] How to add a combobox to a toolbar In-Reply-To: References: Message-ID: <527a90a10801030916m77bc9b2ct919d947aab403d6a@mail.gmail.com> well I dont know about Stetic, because I dont use MonoDevelop, but in code its pretty easy. Toolbar tb = new Toolbar(); ComboBox cb = ComboBox.NewText(); tb.Add(cb); On Jan 2, 2008 7:52 PM, Darwin Reynoso wrote: > Hi, > Can someone please help me. i need to add a combobox to a toolbar using > stetic but > i'm new to monodevelop and i have no clue. > > thanks > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > From shana.ufie at gmail.com Thu Jan 3 13:18:59 2008 From: shana.ufie at gmail.com (Andreia Gaita) Date: Thu, 3 Jan 2008 18:18:59 +0000 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> Message-ID: <3ec1038d0801031018l583ac745u84c2abe803be5e0c@mail.gmail.com> Congratulations on the release! On 1/2/08, William Lahti wrote: > PS: I've had a lot of trouble posting to the list because Postfix says > the dates on the email are in the future?? Yes, slight problem with the server, all fixed now. andreia gaita From andreas.faerber at web.de Thu Jan 3 13:34:25 2008 From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=) Date: Thu, 3 Jan 2008 19:34:25 +0100 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <3ec1038d0801031018l583ac745u84c2abe803be5e0c@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> <3ec1038d0801031018l583ac745u84c2abe803be5e0c@mail.gmail.com> Message-ID: <7F00825B-FFB0-4BC4-AF35-A1FA7940B927@web.de> Am 03.01.2008 um 19:18 schrieb Andreia Gaita: > On 1/2/08, William Lahti wrote: >> PS: I've had a lot of trouble posting to the list because Postfix >> says >> the dates on the email are in the future?? > > Yes, slight problem with the server, all fixed now. Sounds familiar ... same trouble 2006. ;) Andreas From Gavin.Landon at ignitetech.com Thu Jan 3 14:08:06 2008 From: Gavin.Landon at ignitetech.com (Gavin Landon) Date: Thu, 3 Jan 2008 13:08:06 -0600 Subject: [Mono-list] SharpOS 0.0.1 Release Message-ID: <47724CF5283C94439900996CDF98D5BE791DF4@igtdalexc002.corp.ignitetech.com> Yes indeed, I'm excited to see JIT part of the kernel. Careful, MS will steal that idea. lol There has been some serious discussions around here on how your building an OS with 100% C#. Your own compiler to translate C# to asm is the best guess. -----Original Message----- From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Andreia Gaita Sent: Thursday, January 03, 2008 12:19 PM To: William Lahti Cc: mono-list at lists.ximian.com Subject: Re: [Mono-list] SharpOS 0.0.1 Release Congratulations on the release! On 1/2/08, William Lahti wrote: > PS: I've had a lot of trouble posting to the list because Postfix says > the dates on the email are in the future?? Yes, slight problem with the server, all fixed now. andreia gaita _______________________________________________ Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list From daniel.soto2k at gmail.com Thu Jan 3 14:23:14 2008 From: daniel.soto2k at gmail.com (Daniel Soto) Date: Thu, 3 Jan 2008 16:23:14 -0300 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> Message-ID: <72e874f00801031123q59ea1e0du542494e317759f51@mail.gmail.com> I'm very impresionate... o.O And... congratulations, i never guess that C# should be able to build an operating system. When i get a some of free time, i will try it. Hopefully that Sharp OS to become a great project. Again, congratulations. And follow the suggestion of Gavin Landon: Be careful, because M$ will steal that idea. Take the precautions that corresponds. Best regards. 2008/1/2, William Lahti : > > 'm happy to announce that we have released version 0.0.1 of SharpOS, > including our AOT compiler and a basic kernel with an interactive > shell. This is a proof of concept release intended to gather > awareness, support and participation from community members, so if you > are interested in working on this project we encourage you to sign up > for our mailing list. For those of you who don't know about SharpOS, > it is a project to write an operating system purely in C#, which was > actually spawned from the "Operating system in C#" thread on > mono-devel-list. Although we don't have object instantiation or meta > data embedding in our kernel yet, the release proves clearly that the > concept is possible. Our next milestone focuses on supporting managed > code in the kernel, as well as using that managed code to improve our > current systems as much as possible. > > Our wiki and project management suite is at http://sharpos.org/. Our > file releases area at SourceForge > (http://sourceforge.net/project/platformdownload.php?group_id=196652) > contains tarballs and zips with source code, binaries, and disk images > for testing. We've also got ISO images for trying SharpOS on real > computers (that don't have floppy drives, that is), as well as the > usual configurations for Bochs, VMWare, and Virtual PC. > > And have a wonderful new year everyone! > > PS: I've had a lot of trouble posting to the list because Postfix says > the dates on the email are in the future?? > > > -- > fury > > long name: William Lahti > handle :: fury > freenode :: xfury > blog :: http://xfurious.blogspot.com/ > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/8fddb4b3/attachment.html From vsviridov at exceede.com Thu Jan 3 14:25:59 2008 From: vsviridov at exceede.com (Vasili Sviridov) Date: Thu, 03 Jan 2008 11:25:59 -0800 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <72e874f00801031123q59ea1e0du542494e317759f51@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> <72e874f00801031123q59ea1e0du542494e317759f51@mail.gmail.com> Message-ID: <477D36C7.9050800@exceede.com> Well, MS already has that Singularity project... Or whatever it's called... V. Daniel Soto wrote: > I'm very impresionate... o.O > > And... congratulations, i never guess that C# should be able to build > an operating system. > > When i get a some of free time, i will try it. > > Hopefully that Sharp OS to become a great project. > > Again, congratulations. And follow the suggestion of Gavin Landon: Be > careful, because M$ will steal that idea. Take the precautions that > corresponds. > > Best regards. > > > 2008/1/2, William Lahti >: > > 'm happy to announce that we have released version 0.0.1 of SharpOS, > including our AOT compiler and a basic kernel with an interactive > shell. This is a proof of concept release intended to gather > awareness, support and participation from community members, so if you > are interested in working on this project we encourage you to sign up > for our mailing list. For those of you who don't know about SharpOS, > it is a project to write an operating system purely in C#, which was > actually spawned from the "Operating system in C#" thread on > mono-devel-list. Although we don't have object instantiation or meta > data embedding in our kernel yet, the release proves clearly that the > concept is possible. Our next milestone focuses on supporting managed > code in the kernel, as well as using that managed code to improve our > current systems as much as possible. > > Our wiki and project management suite is at http://sharpos.org/. Our > file releases area at SourceForge > ( http://sourceforge.net/project/platformdownload.php?group_id=196652) > contains tarballs and zips with source code, binaries, and disk images > for testing. We've also got ISO images for trying SharpOS on real > computers (that don't have floppy drives, that is), as well as the > usual configurations for Bochs, VMWare, and Virtual PC. > > And have a wonderful new year everyone! > > PS: I've had a lot of trouble posting to the list because Postfix > says > the dates on the email are in the future?? > > > -- > fury > > long name: William Lahti > handle :: fury > freenode :: xfury > blog :: http://xfurious.blogspot.com/ > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > From alan.mcgovern at gmail.com Thu Jan 3 14:28:05 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Thu, 3 Jan 2008 19:28:05 +0000 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <72e874f00801031123q59ea1e0du542494e317759f51@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> <72e874f00801031123q59ea1e0du542494e317759f51@mail.gmail.com> Message-ID: <117799f00801031128s4f985c53j2d5cc85ec572ad10@mail.gmail.com> Before people go off on a huge tangent about how MS are going to steal the idea, you've already stolen theirs ;) http://en.wikipedia.org/wiki/Singularity_(operating_system) Still, it's an interesting project. Alan. On Jan 3, 2008 7:23 PM, Daniel Soto wrote: > I'm very impresionate... o.O > > And... congratulations, i never guess that C# should be able to build an > operating system. > > When i get a some of free time, i will try it. > > Hopefully that Sharp OS to become a great project. > > Again, congratulations. And follow the suggestion of Gavin Landon: Be > careful, because M$ will steal that idea. Take the precautions that > corresponds. > > Best regards. > > > 2008/1/2, William Lahti : > > > 'm happy to announce that we have released version 0.0.1 of SharpOS, > > including our AOT compiler and a basic kernel with an interactive > > shell. This is a proof of concept release intended to gather > > awareness, support and participation from community members, so if you > > are interested in working on this project we encourage you to sign up > > for our mailing list. For those of you who don't know about SharpOS, > > it is a project to write an operating system purely in C#, which was > > actually spawned from the "Operating system in C#" thread on > > mono-devel-list. Although we don't have object instantiation or meta > > data embedding in our kernel yet, the release proves clearly that the > > concept is possible. Our next milestone focuses on supporting managed > > code in the kernel, as well as using that managed code to improve our > > current systems as much as possible. > > > > Our wiki and project management suite is at http://sharpos.org/. Our > > file releases area at SourceForge > > ( http://sourceforge.net/project/platformdownload.php?group_id=196652) > > contains tarballs and zips with source code, binaries, and disk images > > for testing. We've also got ISO images for trying SharpOS on real > > computers (that don't have floppy drives, that is), as well as the > > usual configurations for Bochs, VMWare, and Virtual PC. > > > > And have a wonderful new year everyone! > > > > PS: I've had a lot of trouble posting to the list because Postfix says > > the dates on the email are in the future?? > > > > > > -- > > fury > > > > long name: William Lahti > > handle :: fury > > freenode :: xfury > > blog :: http://xfurious.blogspot.com/ > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080103/f06d61cc/attachment-0001.html From surfzoid at gmail.com Fri Jan 4 02:45:23 2008 From: surfzoid at gmail.com (Petit Eric) Date: Fri, 4 Jan 2008 11:45:23 +0400 Subject: [Mono-list] trying to compil moon In-Reply-To: <1199026102.3959.18.camel@moonlight.novell.com> References: <84776a970712300420i3789b76co69c9b448b99e6727@mail.gmail.com> <1199026102.3959.18.camel@moonlight.novell.com> Message-ID: <84776a970801032345r3a2cb08bt7874c7e601d6fe1e@mail.gmail.com> hey, thank's sorry for the latter respons, i spend holliday at reunion island (very far from france). In fact i try with the latest rpm from MDV in first, after this error i uninstall them and install expat directly from oficial source (configure && make && make install), and then post here. I'm go back in france in 2 week in an half From =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_knocte_=5D?= Fri Jan 4 02:51:06 2008 From: =?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_knocte_=5D?= (=?ISO-8859-1?Q?=22Andr=E9s_G=2E_Aragoneses_=5B_knocte_=5D?=) Date: Fri, 04 Jan 2008 08:51:06 +0100 Subject: [Mono-list] SharpOS 0.0.1 Release In-Reply-To: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> References: <925b3e000801021437s73908577rc18df32dd34f5b89@mail.gmail.com> Message-ID: <477DE56A.7080607@gmail.com> William Lahti escribi?: > 'm happy to announce that we have released version 0.0.1 of SharpOS, > including our AOT compiler and a basic kernel with an interactive > shell. This is a proof of concept release intended to gather > awareness, support and participation from community members, so if you > are interested in working on this project we encourage you to sign up > for our mailing list. For those of you who don't know about SharpOS, > it is a project to write an operating system purely in C#, which was > actually spawned from the "Operating system in C#" thread on > mono-devel-list. Although we don't have object instantiation or meta > data embedding in our kernel yet, the release proves clearly that the > concept is possible. Our next milestone focuses on supporting managed > code in the kernel, as well as using that managed code to improve our > current systems as much as possible. > > Our wiki and project management suite is at http://sharpos.org/. Our > file releases area at SourceForge > (http://sourceforge.net/project/platformdownload.php?group_id=196652) > contains tarballs and zips with source code, binaries, and disk images > for testing. We've also got ISO images for trying SharpOS on real > computers (that don't have floppy drives, that is), as well as the > usual configurations for Bochs, VMWare, and Virtual PC. > > And have a wonderful new year everyone! > > PS: I've had a lot of trouble posting to the list because Postfix says > the dates on the email are in the future?? > > I'm curious, do you have rough numbers about performance loss compared to a non-managed OS like Linux (I guess the difference is huge right now, but what do you think you can reach if it begins to get optimized?). BTW, does this approach have the advantage of a micro-kernel safe approach or is it only safe from the point of view of memory leaks (thanks to the garbage collector)? Thanks in advance, and congratulations for this great project. Andr?s [ knocte ] -- From twostepted at yahoo.com Fri Jan 4 03:13:02 2008 From: twostepted at yahoo.com (Travis Staloch) Date: Fri, 4 Jan 2008 00:13:02 -0800 (PST) Subject: [Mono-list] service lock file disappears, service keeps running Message-ID: <178676.43813.qm@web43137.mail.sp1.yahoo.com> When I start my mono service app on fedora core 8 with `/sbin/service myservice start`, the lock file disappears while the app continues to run. This prevents the app from being properly shutdown with `/sbin/service myservice stop`. I wrote the init.d script. The init.d script uses this line to start the app: mono-service -l:/tmp/myservice.lock -d:/etc/myservice /usr/bin/myservice I'm wondering what might cause this to happen? Do I have a threading problem? Am I improperly launching the service since the working directory is set to different from the directory where the assembly is located? Regards, Travis ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/77b5710e/attachment.html From bjansen at etro.vub.ac.be Fri Jan 4 05:08:36 2008 From: bjansen at etro.vub.ac.be (Jansen Bart) Date: Fri, 4 Jan 2008 11:08:36 +0100 Subject: [Mono-list] webbrowser on linux Message-ID: Hi all, "To have webbrowser support, you need libgluezilla installed" Where can I find libgluezilla (for (k)ubuntu) ? Regards, Bart DISCLAIMER(S): http://www.etro.vub.ac.be/disclaimer http://www.eqcologic.be/disclaimer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/a4870449/attachment.html From alcherenga at gmail.com Fri Jan 4 06:27:32 2008 From: alcherenga at gmail.com (alcherenga alcherenga) Date: Fri, 4 Jan 2008 16:57:32 +0530 Subject: [Mono-list] npgsql and notifications Message-ID: <29073d310801040327xd994c2dme47306103804bad7@mail.gmail.com> hi, i wrote a small code to see the notificationsevent handler in npgsql but the code seems to be not working at all - in that it is not receiving/displaying any notifications. i have pasted the code here, could n't ascertain where it's going wrong using System; using System.Data; using Npgsql; using NpgsqlTypes; namespace ConsoleApplication1 { class Program { static void con_Notification(object sender, NpgsqlNotificationEventArgs e) { Console.WriteLine("Notification received"); Console.WriteLine(e.Condition); } static void Main(string[] args) { string connection_string; connection_string = "Server=127.0.0.1 ;Database=rss_reader;username=postgres;password=password;SyncNotification=true" ; NpgsqlConnection con = new NpgsqlConnection(connection_string); try { con.Open(); NpgsqlCommand cmd = new NpgsqlCommand("notify notifytest;", con); cmd.ExecuteNonQuery(); con.Notification += new NotificationEventHandler(con_Notification); cmd = new NpgsqlCommand(";", con); cmd.ExecuteNonQuery(); } catch (Exception e) { Console.WriteLine(e.Message); } Console.WriteLine("reached here"); Console.ReadLine(); con.Close(); } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/3e5529cf/attachment.html From alan.mcgovern at gmail.com Fri Jan 4 07:31:30 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Fri, 4 Jan 2008 12:31:30 +0000 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <6c04e4380801040415j7e7d7ddaqfb9951b94316c5bc@mail.gmail.com> References: <477C0E89.8000406@mail.bg> <117799f00801030717h39dc9dadke60ef3ceab6e44a8@mail.gmail.com> <6c04e4380801040415j7e7d7ddaqfb9951b94316c5bc@mail.gmail.com> Message-ID: <117799f00801040431k4130d251m716da89050a8ebc9@mail.gmail.com> Hi, I'm seeing the same performance delta you're seeing. Mono 1.2.5 is roughly speaking 4 times slower loading the dictionary and 10 times slower running the sort. I'll update myself to mono 1.2.6 later on today and see if there's much of a difference with that, if not, i'll see if i can find a way to improve. If there's anyone out there who's more familiar with this area of code, you could also take a gander ;) Alan On Jan 4, 2008 12:15 PM, Ventsislav Mladenov wrote: > Hi again, obviously my test was wrong i completely rewrote my code and now > is much faster and there is no difference between Windows (1.2.6) and > Linux (Ubuntu 1.2.5.1) but there is still huge performance difference > between Microsoft .NET and Mono : > Load XML (Deserialize) + Sorting records in it. > > Microsoft .NET : 2 - 3 seconds > Mono : 10 - 11 seconds > > The PC is - Intel Pentium 4 - 3.0Ghz and 1.5GB RAM - running Ubuntu Gutsy. > > > Here it is source and XML: SortTest.7z > > P.P. > Now I'm glad to see my English - Bulgarian dictionary working both on > Windows and Linux. Thanks Mono Team keep moving ahead. > > 2008/1/3, Alan McGovern < alan.mcgovern at gmail.com>: > > > Hi, > > > > Are you using the same version of the mono runtime on both your windows > > box and linux box? The sorting algorithm should be the same, so if there's a > > difference in performance, it's from something else. Also, if you can create > > a testcase which easily demonstrates the problem, it'd make things easy to > > debug. > > > > Alan. > > > > On Jan 2, 2008 10:22 PM, Ventsislav Mladenov > > wrote: > > > > > Hi, I have a speed problem with Mono 1.2.6 > > > I have to sort List with 88 000 records (Bulgarian and English > > > words) > > > on Windows Mono sort it for about 5 seconds but on Linux it takes at > > > least 30 - 40 seconds. > > > > > > I think Mono have to use same algorithm for sorting? > > > > > > > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/4680e5d0/attachment-0001.html From js at hotfeet.ch Fri Jan 4 07:44:55 2008 From: js at hotfeet.ch (Juraj Skripsky) Date: Fri, 04 Jan 2008 13:44:55 +0100 Subject: [Mono-list] Speed difference Windows - Linux Message-ID: <1199450696.2751.13.camel@leonardo.hotfeet.ch> Hi Ventsislav, Could you post the source of your test case to the mailing list (assuming it's just a few KBs)? - Juraj From mdk at mdk.am Fri Jan 4 07:51:39 2008 From: mdk at mdk.am (Michael Dominic K.) Date: Fri, 4 Jan 2008 14:51:39 +0200 Subject: [Mono-list] GUI and virtual grid for new desktop application In-Reply-To: <000c01c84d97$729866d0$3e787ec2@acer> References: <000c01c84d97$729866d0$3e787ec2@acer> Message-ID: <67ed228e0801040451w14fa41ddxcdce23e62193f8e2@mail.gmail.com> On Jan 3, 2008 1:29 AM, Andrus Moor wrote: > I'm planning to create new ERP desktop application which must run in > Windows, Linux and Mac. > I'm planning to develop in Windows using C# Express 2008 > > Preferred requirement is virtual grid. This grid should displays screenful > of data from a large tables using npgsql . When user uses page up/down keys > to move, grid should retrieve new screen of rows from database. > WinForms DataGridView and its virtual mode are not implemented in MONO. > GTK# does not seems to have virtual grid at all. > I can change virtual grid interface to something other if particular GUI has > reasonable replacement. What visual representation you're after? Numbers/text like in a spreadsheet view? > Which GUI should I use, Winforms, GTK# or something other ? Or is it better > to use Java/Eclipse/Swing since this is more complete than MONO ? > > Andrus. > -- Michael. From alan.mcgovern at gmail.com Fri Jan 4 08:07:31 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Fri, 4 Jan 2008 13:07:31 +0000 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <1199450696.2751.13.camel@leonardo.hotfeet.ch> References: <1199450696.2751.13.camel@leonardo.hotfeet.ch> Message-ID: <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> He sent it attached to his last email, but it's about 4MB so it may get bounced from some email services. For lack of a better place to put it, i uploaded to megaupload: http://www.megaupload.com/?d=D5NFRPEB Hope that helps, Alan. On Jan 4, 2008 12:44 PM, Juraj Skripsky wrote: > Hi Ventsislav, > > Could you post the source of your test case to the mailing list > (assuming it's just a few KBs)? > > - Juraj > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/c50e30e2/attachment.html From garthk at gdcjk.com Fri Jan 4 09:07:34 2008 From: garthk at gdcjk.com (Garth Keesler) Date: Fri, 04 Jan 2008 08:07:34 -0600 Subject: [Mono-list] VS for dev, Linux for server Message-ID: <477E3DA6.8030004@gdcjk.com> I am starting to develop a new app using XP and VS2005 w/ASP.Net AJAX for deployment to Ubuntu (probably) servers. Any special things to keep in mind since the web server will be Apache/Tomcat and not IIS? Thanx, Garth From garthk at gdcjk.com Fri Jan 4 09:18:31 2008 From: garthk at gdcjk.com (Garth Keesler) Date: Fri, 04 Jan 2008 08:18:31 -0600 Subject: [Mono-list] VS for dev, Linux for server In-Reply-To: <477E3DA6.8030004@gdcjk.com> References: <477E3DA6.8030004@gdcjk.com> Message-ID: <477E4037.7060304@gdcjk.com> Garth Keesler wrote: > I am starting to develop a new app using XP and VS2005 w/ASP.Net AJAX > for deployment to Ubuntu (probably) servers. Any special things to keep > in mind since the web server will be Apache/Tomcat and not IIS? > > Thanx, > Garth > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > . > > Sorry. I just saw the above email with Subject: Re: [Mono-list] C# and web applications in visual studio. I'll give it a try. Any other advice welcome. Thanx, Garth From hrishikesh.dewan at gmail.com Fri Jan 4 09:19:21 2008 From: hrishikesh.dewan at gmail.com (Dewan Hrishikesh) Date: Fri, 4 Jan 2008 19:49:21 +0530 Subject: [Mono-list] npgsql and notifications In-Reply-To: <29073d310801040327xd994c2dme47306103804bad7@mail.gmail.com> References: <29073d310801040327xd994c2dme47306103804bad7@mail.gmail.com> Message-ID: <624f096a0801040619k5246365er3129a3853e356e1c@mail.gmail.com> just replace the command string with listen and notify. for more, pl look on to pgsql manula for listen and notify. On Jan 4, 2008 4:57 PM, alcherenga alcherenga wrote: > hi, > i wrote a small code to see the notificationsevent handler in npgsql but > the code seems to be not working at all - in that it is not > receiving/displaying any notifications. i have pasted the code here, could > n't ascertain where it's going wrong > > using > System; > > > > using > System.Data; > > using > Npgsql; > > using > NpgsqlTypes; > > namespace > ConsoleApplication1 > > { > > class Program > > { > > static void con_Notification(object sender, NpgsqlNotificationEventArgs e) > > > { > > Console.WriteLine("Notification received"); > > Console.WriteLine(e.Condition); > > } > > static void Main(string[] args) > > { > > string connection_string; > > connection_string = > "Server=127.0.0.1 > ;Database=rss_reader;username=postgres;password=password;SyncNotification=true"; > > NpgsqlConnection con = new NpgsqlConnection (connection_string); > > try > > { > > con.Open(); > > NpgsqlCommand cmd = new NpgsqlCommand ("notify notifytest;", con); > > cmd.ExecuteNonQuery(); > > con.Notification += > new NotificationEventHandler(con_Notification); > > cmd = > new NpgsqlCommand(";" , con); > > cmd.ExecuteNonQuery(); > > > > } > > catch (Exception e) > > { > > Console.WriteLine(e.Message); > > } > > Console.WriteLine("reached here"); > > Console.ReadLine(); > > con.Close(); > > } > > } > > } > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- "Reality leaves a lot to the imagination." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/81a962da/attachment.html From twostepted at yahoo.com Fri Jan 4 09:45:26 2008 From: twostepted at yahoo.com (Travis Staloch) Date: Fri, 4 Jan 2008 06:45:26 -0800 (PST) Subject: [Mono-list] service lock file disappears, service keeps running Message-ID: <646278.68824.qm@web43131.mail.sp1.yahoo.com> I think I've answered my own question. Sorry. I forgot to build the service in 'release mode' with these lines: System.ServiceProcess.ServiceBase[] ServicesToRun; ServicesToRun = new System.ServiceProcess.ServiceBase[] { new ServiceBaseDerivedClass() }; System.ServiceProcess.ServiceBase.Run(ServicesToRun); Rather than these: ServiceBaseDerivedClass DebugService = new ServiceBaseDerivedClass(); DebugService.OnStart(null); ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/c13f304a/attachment.html From js at hotfeet.ch Fri Jan 4 10:10:02 2008 From: js at hotfeet.ch (Juraj Skripsky) Date: Fri, 04 Jan 2008 16:10:02 +0100 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> References: <1199450696.2751.13.camel@leonardo.hotfeet.ch> <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> Message-ID: <1199459402.2751.28.camel@leonardo.hotfeet.ch> I've found one potential problem in Array.Sort (called by List.Sort) that could account for quite some slowdown. All of the following "Sort" method overloads call a "Sort" overload with null as the values/items array to get their work done: public static void Sort (T [] array) public static void Sort (T [] array, IComparer comparer) public static void Sort (T [] array, int index, int length) public static void Sort (T [] array, int index, int length, IComparer comparer) This is suboptimal as those methods in turn use the swap method which needs to check (and then ignore) the values/items array. So we're push popping a lot of unnecessary nulls on and off the stack and checking them. And as swap is a lot smaller than swap its chances for being inlined by the JIT compiler are much higher. - Juraj On Fri, 2008-01-04 at 13:07 +0000, Alan McGovern wrote: > He sent it attached to his last email, but it's about 4MB so it may > get bounced from some email services. For lack of a better place to > put it, i uploaded to megaupload: > > http://www.megaupload.com/?d=D5NFRPEB > > Hope that helps, > Alan. > > On Jan 4, 2008 12:44 PM, Juraj Skripsky wrote: > Hi Ventsislav, > > Could you post the source of your test case to the mailing > list > (assuming it's just a few KBs)? > > - Juraj > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From js at hotfeet.ch Fri Jan 4 10:35:19 2008 From: js at hotfeet.ch (Juraj Skripsky) Date: Fri, 04 Jan 2008 16:35:19 +0100 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <1199459402.2751.28.camel@leonardo.hotfeet.ch> References: <1199450696.2751.13.camel@leonardo.hotfeet.ch> <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> <1199459402.2751.28.camel@leonardo.hotfeet.ch> Message-ID: <1199460919.2751.31.camel@leonardo.hotfeet.ch> I've filed a bug report for this: https://bugzilla.novell.com/show_bug.cgi?id=351638 - Juraj On Fri, 2008-01-04 at 16:10 +0100, Juraj Skripsky wrote: > I've found one potential problem in Array.Sort (called by > List.Sort) that could account for quite some slowdown. > > All of the following "Sort" method overloads call a "Sort TValue>" overload with null as the values/items array to get their work > done: > > public static void Sort (T [] array) > public static void Sort (T [] array, IComparer comparer) > public static void Sort (T [] array, int index, int length) > public static void Sort (T [] array, int index, int length, > IComparer comparer) > > This is suboptimal as those methods in turn use the swap method > which needs to check (and then ignore) the values/items array. > > So we're push popping a lot of unnecessary nulls on and off the stack > and checking them. And as swap is a lot smaller than swap its > chances for being inlined by the JIT compiler are much higher. > > - Juraj From kobruleht2 at hot.ee Fri Jan 4 11:26:37 2008 From: kobruleht2 at hot.ee (Andrus Moor) Date: Fri, 4 Jan 2008 18:26:37 +0200 Subject: [Mono-list] GUI and virtual grid for new desktop application References: <000c01c84d97$729866d0$3e787ec2@acer> <67ed228e0801040451w14fa41ddxcdce23e62193f8e2@mail.gmail.com> Message-ID: <04a701c84ef0$e0be13d0$7b01a8c0@acer> Michael, > What visual representation you're after? Numbers/text like in a > spreadsheet view? Yes. This grid contains invoice headers, customers, items. User can edit them directly in grid, each row is commited to database when moving out of row. Desktop GUI issues in MONO: WinForms - MONO WinForms does not have DataGridView nor its Virtual grid implemented. WinForms is no more developed by Microsoft. Even MonoDevelop itself does not use it. So there is no future. GTK # - No Virtual Grid support. Few use in .NET applications, no binding support. Less documentation, less samples, less users than WinForms WPF - according to MONO Winforms mailing list will probably never implemented. So there is no reasonable desktop GUI in MONO . Any idea how to resolve this crisis ? Andrus. From rosenqvist9 at telia.com Fri Jan 4 13:12:45 2008 From: rosenqvist9 at telia.com (Bo Rosenquist) Date: Fri, 04 Jan 2008 19:12:45 +0100 Subject: [Mono-list] Fedora 8 Install Issue In-Reply-To: References: Message-ID: <1199470365.7412.2.camel@snok.hemma.borosen> You find repo file and rpm-packages for FC8 at http://download.opensuse.org/repositories/Mono/Fedora_8/ thanks to the guys who put them there... On Wed, 2008-01-02 at 17:26 -0600, John Lucas wrote: > I am trying to install mono 1.2.6 on FC 8. When I try to install > libgdiplus, I get a dependency error- libexif.so.9 is needed by > package libgdiplus. > > I currently have mono 1.2.5 installed. > > I tried a couple of things: > 1. Downloaded the libexif.la, libexif.so.9, and libexif.so.9 , and put > them in my mono install dir. > 2. Then I tried ln -s libexif.so.12 libexif.so.9 (even though it seems backward) > > I used this rpm from http://www.go-mono.com/download-stable/rhel-4-i386/ > > libgdiplus-1.2.6-2.rhel4.novell.i386.rpm > > I don't know if this is the correct way to do it, I am new to linux, > so please be kind! > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From alan.mcgovern at gmail.com Fri Jan 4 13:58:30 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Fri, 4 Jan 2008 18:58:30 +0000 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <1199460919.2751.31.camel@leonardo.hotfeet.ch> References: <1199450696.2751.13.camel@leonardo.hotfeet.ch> <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> <1199459402.2751.28.camel@leonardo.hotfeet.ch> <1199460919.2751.31.camel@leonardo.hotfeet.ch> Message-ID: <117799f00801041058n62e62c83te4c0ee5f28c668b8@mail.gmail.com> Hi, I really doubt that calling the Key, Value overload would give that much of a slowdown. I'd believe a slowdown of 10%, or maybe 15%, but not 600%. I'd say the slowdown is due to an inefficient algorithm as opposed to anything else. Alan. On Jan 4, 2008 3:35 PM, Juraj Skripsky wrote: > I've filed a bug report for this: > https://bugzilla.novell.com/show_bug.cgi?id=351638 > > - Juraj > > On Fri, 2008-01-04 at 16:10 +0100, Juraj Skripsky wrote: > > I've found one potential problem in Array.Sort (called by > > List.Sort) that could account for quite some slowdown. > > > > All of the following "Sort" method overloads call a "Sort > TValue>" overload with null as the values/items array to get their work > > done: > > > > public static void Sort (T [] array) > > public static void Sort (T [] array, IComparer comparer) > > public static void Sort (T [] array, int index, int length) > > public static void Sort (T [] array, int index, int length, > > IComparer comparer) > > > > This is suboptimal as those methods in turn use the swap method > > which needs to check (and then ignore) the values/items array. > > > > So we're push popping a lot of unnecessary nulls on and off the stack > > and checking them. And as swap is a lot smaller than swap its > > chances for being inlined by the JIT compiler are much higher. > > > > - Juraj > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/aafbd830/attachment.html From alan.mcgovern at gmail.com Fri Jan 4 15:18:37 2008 From: alan.mcgovern at gmail.com (Alan McGovern) Date: Fri, 4 Jan 2008 20:18:37 +0000 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <117799f00801041058n62e62c83te4c0ee5f28c668b8@mail.gmail.com> References: <1199450696.2751.13.camel@leonardo.hotfeet.ch> <117799f00801040507w7b8d0bc4x5120616f95726d91@mail.gmail.com> <1199459402.2751.28.camel@leonardo.hotfeet.ch> <1199460919.2751.31.camel@leonardo.hotfeet.ch> <117799f00801041058n62e62c83te4c0ee5f28c668b8@mail.gmail.com> Message-ID: <117799f00801041218j6d55deaat89098f84f92fc19b@mail.gmail.com> Ok, i've found the main cause of the issue: The problem is that comparing strings using the current culture (which is what the instance method of string.Compare does) is incredibly slow. To verify this, just change the code in 'DictionaryValue' to do it's comparision using the StringComparer.Ordinal. Using StringComparer.CurrentCulture results in the same slow behavior as the instance method on string does. Alan. On Jan 4, 2008 6:58 PM, Alan McGovern wrote: > Hi, > > I really doubt that calling the Key, Value overload would give that much > of a slowdown. I'd believe a slowdown of 10%, or maybe 15%, but not 600%. > I'd say the slowdown is due to an inefficient algorithm as opposed to > anything else. > > Alan. > > > On Jan 4, 2008 3:35 PM, Juraj Skripsky wrote: > > > I've filed a bug report for this: > > https://bugzilla.novell.com/show_bug.cgi?id=351638 > > > > - Juraj > > > > On Fri, 2008-01-04 at 16:10 +0100, Juraj Skripsky wrote: > > > I've found one potential problem in Array.Sort (called by > > > List.Sort) that could account for quite some slowdown. > > > > > > All of the following "Sort" method overloads call a "Sort > > TValue>" overload with null as the values/items array to get their > > work > > > done: > > > > > > public static void Sort (T [] array) > > > public static void Sort (T [] array, IComparer comparer) > > > public static void Sort (T [] array, int index, int length) > > > public static void Sort (T [] array, int index, int length, > > > IComparer comparer) > > > > > > This is suboptimal as those methods in turn use the swap method > > > which needs to check (and then ignore) the values/items array. > > > > > > So we're push popping a lot of unnecessary nulls on and off the stack > > > and checking them. And as swap is a lot smaller than swap its > > > chances for being inlined by the JIT compiler are much higher. > > > > > > - Juraj > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/354f422c/attachment.html From zpon.dk at gmail.com Fri Jan 4 18:19:05 2008 From: zpon.dk at gmail.com (=?ISO-8859-1?Q?S=F8ren_Juul?=) Date: Sat, 5 Jan 2008 00:19:05 +0100 Subject: [Mono-list] Send cookies in HttpWebRequest's Message-ID: Hi all Shouldn't i be able to send a cookie in a HttpWebRequest by adding a CookieContainer to the request? Something like this: HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); CookieContainer CookieJar = new CookieContainer(); CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); (...) Thanks in advance -- Med venlig hilsen / Kind Regards S?ren Juul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/7ba0a1f3/attachment.html From cdhowie at gmail.com Fri Jan 4 18:28:58 2008 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 4 Jan 2008 18:28:58 -0500 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: References: Message-ID: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > Shouldn't i be able to send a cookie in a HttpWebRequest by adding a > CookieContainer to the request? > > Something like this: > > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); > CookieContainer CookieJar = new CookieContainer(); > CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); > HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); > (...) > Yes you should, and in fact you can, but somewhere in there you need to do: webRequest.CookieContainer = CookieJar; C# may be magical but it's not *that* magical. :) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/ba87d8b3/attachment-0001.html From felipe.lessa at gmail.com Fri Jan 4 18:29:30 2008 From: felipe.lessa at gmail.com (Felipe Lessa) Date: Fri, 4 Jan 2008 21:29:30 -0200 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: References: Message-ID: On Jan 4, 2008 9:19 PM, S?ren Juul wrote: > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); > CookieContainer CookieJar = new CookieContainer(); > CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); webRequest.CookieContainer = CookieJar; > HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); > (...) -- Felipe. From zpon.dk at gmail.com Fri Jan 4 18:37:19 2008 From: zpon.dk at gmail.com (=?ISO-8859-1?Q?S=F8ren_Juul?=) Date: Sat, 5 Jan 2008 00:37:19 +0100 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> References: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> Message-ID: I'm sorry i forgot that line in my the sample code in my first line, but in my real code I got it as it should be, something like this: using System; using System.Net; using System.IO; public class Test { public static void Main (string[] args) { HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(" http://example.com"); CookieContainer CookieJar = new CookieContainer(); CookieJar.Add(new Cookie("name", "value", "/path", ".example.com")); webRequest.CookieContainer = CookieJar; HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); } } 2008/1/5, Chris Howie : > > On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > > > Shouldn't i be able to send a cookie in a HttpWebRequest by adding a > > CookieContainer to the request? > > > > Something like this: > > > > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); > > CookieContainer CookieJar = new CookieContainer(); > > CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); > > HttpWebResponse webResponse = (HttpWebResponse)webRequest.GetResponse(); > > > > (...) > > > > Yes you should, and in fact you can, but somewhere in there you need to > do: > > webRequest.CookieContainer = CookieJar; > > C# may be magical but it's not *that* magical. :) > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Med venlig hilsen / Kind Regards S?ren Juul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/a7d23ce2/attachment.html From cdhowie at gmail.com Fri Jan 4 18:41:12 2008 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 4 Jan 2008 18:41:12 -0500 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: References: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> Message-ID: <3d2f29dc0801041541n746f3776g13ac22923e46249f@mail.gmail.com> Can you use Wireshark or another packet sniffer to verify that the cookie is in fact not being sent? On Jan 4, 2008 6:37 PM, S?ren Juul wrote: > I'm sorry i forgot that line in my the sample code in my first line, but > in my real code I got it as it should be, something like this: > > using System; > using System.Net; > using System.IO; > > public class Test > { > public static void Main (string[] args) > { > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(" > http://example.com"); > CookieContainer CookieJar = new CookieContainer(); > CookieJar.Add(new Cookie("name", "value", "/path", > ".example.com")); > webRequest.CookieContainer = CookieJar; > HttpWebResponse webResponse = > (HttpWebResponse)webRequest.GetResponse(); > } > } > > 2008/1/5, Chris Howie : > > > > On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > > > > > Shouldn't i be able to send a cookie in a HttpWebRequest by adding a > > > CookieContainer to the request? > > > > > > Something like this: > > > > > > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); > > > CookieContainer CookieJar = new CookieContainer(); > > > CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); > > > HttpWebResponse webResponse = > > > (HttpWebResponse)webRequest.GetResponse(); > > > (...) > > > > > > > Yes you should, and in fact you can, but somewhere in there you need to > > do: > > > > webRequest.CookieContainer = CookieJar; > > > > C# may be magical but it's not *that* magical. :) > > > > -- > > Chris Howie > > http://www.chrishowie.com > > http://en.wikipedia.org/wiki/User:Crazycomputers > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > -- > Med venlig hilsen / Kind Regards > S?ren Juul > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/88cc3e9e/attachment.html From zpon.dk at gmail.com Fri Jan 4 18:53:03 2008 From: zpon.dk at gmail.com (=?ISO-8859-1?Q?S=F8ren_Juul?=) Date: Sat, 5 Jan 2008 00:53:03 +0100 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: <3d2f29dc0801041541n746f3776g13ac22923e46249f@mail.gmail.com> References: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> <3d2f29dc0801041541n746f3776g13ac22923e46249f@mail.gmail.com> Message-ID: As far as i can see in wireshark it is not there, and when I look in webRequest.Hostes I cannot see it neither 2008/1/5, Chris Howie : > > Can you use Wireshark or another packet sniffer to verify that the cookie > is in fact not being sent? > > On Jan 4, 2008 6:37 PM, S?ren Juul wrote: > > > I'm sorry i forgot that line in my the sample code in my first line, but > > in my real code I got it as it should be, something like this: > > > > using System; > > using System.Net; > > using System.IO; > > > > public class Test > > { > > public static void Main (string[] args) > > { > > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(" > > http://example.com"); > > CookieContainer CookieJar = new CookieContainer(); > > CookieJar.Add(new Cookie("name", "value", "/path", > > ".example.com")); > > webRequest.CookieContainer = CookieJar; > > HttpWebResponse webResponse = > > (HttpWebResponse)webRequest.GetResponse(); > > } > > } > > > > 2008/1/5, Chris Howie : > > > > > > On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > > > > > > > Shouldn't i be able to send a cookie in a HttpWebRequest by adding a > > > > CookieContainer to the request? > > > > > > > > Something like this: > > > > > > > > HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(url); > > > > CookieContainer CookieJar = new CookieContainer(); > > > > CookieJar.Add(new Cookie("name", "value", "/path", ".domain.com")); > > > > HttpWebResponse webResponse = > > > > (HttpWebResponse)webRequest.GetResponse(); > > > > (...) > > > > > > > > > > Yes you should, and in fact you can, but somewhere in there you need > > > to do: > > > > > > webRequest.CookieContainer = CookieJar; > > > > > > C# may be magical but it's not *that* magical. :) > > > > > > -- > > > Chris Howie > > > http://www.chrishowie.com > > > http://en.wikipedia.org/wiki/User:Crazycomputers > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > -- > > Med venlig hilsen / Kind Regards > > S?ren Juul > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Med venlig hilsen / Kind Regards S?ren Juul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/f0d28e1f/attachment-0001.html From cdhowie at gmail.com Fri Jan 4 19:15:21 2008 From: cdhowie at gmail.com (Chris Howie) Date: Fri, 4 Jan 2008 19:15:21 -0500 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: References: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> <3d2f29dc0801041541n746f3776g13ac22923e46249f@mail.gmail.com> Message-ID: <3d2f29dc0801041615r4e198f37k3bf07e3e37532463@mail.gmail.com> I just tried your test case (substituting my own test server in) and Wireshark did see a cookie get sent. Are you sure that the path and domain parameters on the cookie match the URL you are testing against? Mono will not send the cookie otherwise. On Jan 4, 2008 6:53 PM, S?ren Juul wrote: > As far as i can see in wireshark it is not there, and when I look in > webRequest.Hostes I cannot see it neither > > > 2008/1/5, Chris Howie : > > > > Can you use Wireshark or another packet sniffer to verify that the > > cookie is in fact not being sent? > > > > On Jan 4, 2008 6:37 PM, S?ren Juul < zpon.dk at gmail.com > wrote: > > > > > I'm sorry i forgot that line in my the sample code in my first line, > > > but in my real code I got it as it should be, something like this: > > > > > > using System; > > > using System.Net; > > > using System.IO; > > > > > > public class Test > > > { > > > public static void Main (string[] args) > > > { > > > HttpWebRequest webRequest = > > > (HttpWebRequest)WebRequest.Create(" http://example.com"); > > > CookieContainer CookieJar = new CookieContainer(); > > > CookieJar.Add(new Cookie("name", "value", "/path", > > > ".example.com")); > > > webRequest.CookieContainer = CookieJar; > > > HttpWebResponse webResponse = > > > (HttpWebResponse)webRequest.GetResponse(); > > > } > > > } > > > > > > 2008/1/5, Chris Howie : > > > > > > > > On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > > > > > > > > > Shouldn't i be able to send a cookie in a HttpWebRequest by adding > > > > > a CookieContainer to the request? > > > > > > > > > > Something like this: > > > > > > > > > > HttpWebRequest webRequest = > > > > > (HttpWebRequest)WebRequest.Create(url); > > > > > CookieContainer CookieJar = new CookieContainer(); > > > > > CookieJar.Add(new Cookie("name", "value", "/path", > > > > > ".domain.com")); > > > > > HttpWebResponse webResponse = > > > > > (HttpWebResponse)webRequest.GetResponse(); > > > > > (...) > > > > > > > > > > > > > Yes you should, and in fact you can, but somewhere in there you need > > > > to do: > > > > > > > > webRequest.CookieContainer = CookieJar; > > > > > > > > C# may be magical but it's not *that* magical. :) > > > > > > > > -- > > > > Chris Howie > > > > http://www.chrishowie.com > > > > http://en.wikipedia.org/wiki/User:Crazycomputers > > > > _______________________________________________ > > > > Mono-list maillist - Mono-list at lists.ximian.com > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > > > > > > -- > > > Med venlig hilsen / Kind Regards > > > S?ren Juul > > > > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > -- > > Chris Howie > > http://www.chrishowie.com > > http://en.wikipedia.org/wiki/User:Crazycomputers > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > -- > Med venlig hilsen / Kind Regards > S?ren Juul > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080104/a5787e51/attachment.html From zpon.dk at gmail.com Fri Jan 4 19:23:52 2008 From: zpon.dk at gmail.com (=?ISO-8859-1?Q?S=F8ren_Juul?=) Date: Sat, 5 Jan 2008 01:23:52 +0100 Subject: [Mono-list] Send cookies in HttpWebRequest's In-Reply-To: <3d2f29dc0801041615r4e198f37k3bf07e3e37532463@mail.gmail.com> References: <3d2f29dc0801041528j79c39816w4347659d8be4cd21@mail.gmail.com> <3d2f29dc0801041541n746f3776g13ac22923e46249f@mail.gmail.com> <3d2f29dc0801041615r4e198f37k3bf07e3e37532463@mail.gmail.com> Message-ID: You are right, it helped when the path matched the location of the file on the server. Thanks :) 2008/1/5, Chris Howie : > > I just tried your test case (substituting my own test server in) and > Wireshark did see a cookie get sent. > > Are you sure that the path and domain parameters on the cookie match the > URL you are testing against? Mono will not send the cookie otherwise. > > On Jan 4, 2008 6:53 PM, S?ren Juul wrote: > > > As far as i can see in wireshark it is not there, and when I look in > > webRequest.Hostes I cannot see it neither > > > > > > 2008/1/5, Chris Howie < cdhowie at gmail.com >: > > > > > > Can you use Wireshark or another packet sniffer to verify that the > > > cookie is in fact not being sent? > > > > > > On Jan 4, 2008 6:37 PM, S?ren Juul < zpon.dk at gmail.com > wrote: > > > > > > > I'm sorry i forgot that line in my the sample code in my first line, > > > > but in my real code I got it as it should be, something like this: > > > > > > > > using System; > > > > using System.Net; > > > > using System.IO; > > > > > > > > public class Test > > > > { > > > > public static void Main (string[] args) > > > > { > > > > HttpWebRequest webRequest = > > > > (HttpWebRequest)WebRequest.Create(" http://example.com"); > > > > CookieContainer CookieJar = new CookieContainer(); > > > > CookieJar.Add(new Cookie("name", "value", "/path", > > > > ".example.com")); > > > > webRequest.CookieContainer = CookieJar; > > > > HttpWebResponse webResponse = > > > > (HttpWebResponse)webRequest.GetResponse(); > > > > } > > > > } > > > > > > > > 2008/1/5, Chris Howie : > > > > > > > > > > On Jan 4, 2008 6:19 PM, S?ren Juul wrote: > > > > > > > > > > > Shouldn't i be able to send a cookie in a HttpWebRequest by > > > > > > adding a CookieContainer to the request? > > > > > > > > > > > > Something like this: > > > > > > > > > > > > HttpWebRequest webRequest = > > > > > > (HttpWebRequest)WebRequest.Create(url); > > > > > > CookieContainer CookieJar = new CookieContainer(); > > > > > > CookieJar.Add(new Cookie("name", "value", "/path", > > > > > > ".domain.com")); > > > > > > HttpWebResponse webResponse = > > > > > > (HttpWebResponse)webRequest.GetResponse(); > > > > > > (...) > > > > > > > > > > > > > > > > Yes you should, and in fact you can, but somewhere in there you > > > > > need to do: > > > > > > > > > > webRequest.CookieContainer = CookieJar; > > > > > > > > > > C# may be magical but it's not *that* magical. :) > > > > > > > > > > -- > > > > > Chris Howie > > > > > http://www.chrishowie.com > > > > > http://en.wikipedia.org/wiki/User:Crazycomputers > > > > > _______________________________________________ > > > > > Mono-list maillist - Mono-list at lists.ximian.com > > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > > > > > > > > > > > -- > > > > Med venlig hilsen / Kind Regards > > > > S?ren Juul > > > > > > > > _______________________________________________ > > > > Mono-list maillist - Mono-list at lists.ximian.com > > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > > > > > > -- > > > Chris Howie > > > http://www.chrishowie.com > > > http://en.wikipedia.org/wiki/User:Crazycomputers > > > > > > _______________________________________________ > > > Mono-list maillist - Mono-list at lists.ximian.com > > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > > > > > > -- > > Med venlig hilsen / Kind Regards > > S?ren Juul > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > > > -- > Chris Howie > http://www.chrishowie.com > http://en.wikipedia.org/wiki/User:Crazycomputers > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > -- Med venlig hilsen / Kind Regards S?ren Juul -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/6b11b620/attachment-0001.html From miguel at novell.com Sat Jan 5 01:59:11 2008 From: miguel at novell.com (Miguel de Icaza) Date: Sat, 05 Jan 2008 01:59:11 -0500 Subject: [Mono-list] Looking for an mplayer (or similar) wrapper In-Reply-To: <624f096a0801022241t32eb605jfc9fdbf4eea37aff@mail.gmail.com> References: <477BCA09.4040901@thepcspy.com> <477BD317.2060806@thepcspy.com> <477BDF42.1080006@gmail.com> <1199340631.3965.9.camel@erandi.boston.ximian.com> <624f096a0801022241t32eb605jfc9fdbf4eea37aff@mail.gmail.com> Message-ID: <1199516351.5921.24.camel@erandi.boston.ximian.com> > > do u think that mono now requires a good tutorial (much like msdn ) on > the remarkable things that it already has, i feel that it would cut > the cost down to learn and use mono in many practical situations. Yes. Or alternatively, improve our existing documentation. Miguel > From miguel at novell.com Sat Jan 5 02:02:57 2008 From: miguel at novell.com (Miguel de Icaza) Date: Sat, 05 Jan 2008 02:02:57 -0500 Subject: [Mono-list] GUI and virtual grid for new desktop application In-Reply-To: <04a701c84ef0$e0be13d0$7b01a8c0@acer> References: <000c01c84d97$729866d0$3e787ec2@acer> <67ed228e0801040451w14fa41ddxcdce23e62193f8e2@mail.gmail.com> <04a701c84ef0$e0be13d0$7b01a8c0@acer> Message-ID: <1199516577.5921.28.camel@erandi.boston.ximian.com> > Desktop GUI issues in MONO: > > WinForms - MONO WinForms does not have DataGridView nor its Virtual grid > implemented. > WinForms is no more developed by Microsoft. Even MonoDevelop itself does not > use it. > So there is no future. Although Microsoft's focus is now on WPF, Windows.Forms will be around for a long time. There are too many applications already built with it and a solid ecosystem that is going to be around for a long time. > Any idea how to resolve this crisis ? DataGridView is in the plans to be implemented. But if you are unable to use Gtk# or Windows.Forms on their current state, then you should consider using Swing. Miguel. From miguel at novell.com Sat Jan 5 02:05:57 2008 From: miguel at novell.com (Miguel de Icaza) Date: Sat, 05 Jan 2008 02:05:57 -0500 Subject: [Mono-list] NET S3 client In-Reply-To: <477CA7D1.20600@roo.k.pl> References: <477CA7D1.20600@roo.k.pl> Message-ID: <1199516757.5921.32.camel@erandi.boston.ximian.com> Hey, > Is there an established place for third party Mono libs? > I remember there once was a debate about that, but AFAIR it never came > to a conclusion (but maybe I missed something). Our recommendation is that new libraries are hosted independently; They can be hosted in our SVN repository, or in code.google.com. The main advantage of our server is that others can update/modify it at will. We used to bundle libraries with Mono, but due to Mono's own release schedule, its API guarantees (see "Application Deployment Guidelines" in the web site) it is very cumbersome for the developer and for ourselves so we tend to recommend this distributed approach. Once the library is ready to ship (tarball, distcheck) we would certainly like to create ready-to-install packages and distribute those as part of Mono (see OpenSUSE build service). Miguel From miguel at novell.com Sat Jan 5 02:07:05 2008 From: miguel at novell.com (Miguel de Icaza) Date: Sat, 05 Jan 2008 02:07:05 -0500 Subject: [Mono-list] Speed difference Windows - Linux In-Reply-To: <117799f00801040431k4130d251m716da89050a8ebc9@mail.gmail.com> References: <477C0E89.8000406@mail.bg> <117799f00801030717h39dc9dadke60ef3ceab6e44a8@mail.gmail.com> <6c04e4380801040415j7e7d7ddaqfb9951b94316c5bc@mail.gmail.com> <117799f00801040431k4130d251m716da89050a8ebc9@mail.gmail.com> Message-ID: <1199516825.5921.34.camel@erandi.boston.ximian.com> Hello, One possibility is that Mono is using a managed string collation library as opposed to using a native library to do this. > I'm seeing the same performance delta you're seeing. Mono 1.2.5 is > roughly speaking 4 times slower loading the dictionary and 10 times > slower running the sort. I'll update myself to mono 1.2.6 later on > today and see if there's much of a difference with that, if not, i'll > see if i can find a way to improve. > > If there's anyone out there who's more familiar with this area of > code, you could also take a gander ;) > > Alan > > On Jan 4, 2008 12:15 PM, Ventsislav Mladenov > wrote: > Hi again, obviously my test was wrong i completely rewrote my > code and now is much faster and there is no difference between > Windows ( 1.2.6) and Linux (Ubuntu 1.2.5.1) but there is > still huge performance difference between Microsoft .NET and > Mono : > Load XML (Deserialize) + Sorting records in it. > > Microsoft .NET : 2 - 3 seconds > Mono : 10 - 11 seconds > > The PC is - Intel Pentium 4 - 3.0Ghz and 1.5GB RAM - running > Ubuntu Gutsy. > > Here it is source and XML: SortTest.7z > > P.P. > Now I'm glad to see my English - Bulgarian dictionary > working both on Windows and Linux. Thanks Mono Team keep > moving ahead. > > 2008/1/3, Alan McGovern < alan.mcgovern at gmail.com>: > > Hi, > > Are you using the same version of the mono runtime on > both your windows box and linux box? The sorting > algorithm should be the same, so if there's a > difference in performance, it's from something else. > Also, if you can create a testcase which easily > demonstrates the problem, it'd make things easy to > debug. > > Alan. > > On Jan 2, 2008 10:22 PM, Ventsislav Mladenov > wrote: > > Hi, I have a speed problem with Mono 1.2.6 > I have to sort List with 88 000 > records (Bulgarian and English words) > on Windows Mono sort it for about 5 seconds > but on Linux it takes at least 30 - 40 > seconds. > > I think Mono have to use same algorithm for > sorting? > > > > _______________________________________________ > Mono-list maillist - > Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > > > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From hrishikesh.dewan at gmail.com Sat Jan 5 03:01:54 2008 From: hrishikesh.dewan at gmail.com (Dewan Hrishikesh) Date: Sat, 5 Jan 2008 13:31:54 +0530 Subject: [Mono-list] mono winforms and gtk# Message-ID: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> what is the development status of winforms in mono. we are building a software app and we would like to make it cross compatible with linux. although the app is coded in vstudio 2005 using .net framework 2.0 , we are interested in porting it to the linux. we did saw the existing developments in gtk# but found it too confusing for practical use in a production environment because of the learning curve of the developers. gtk# features are almost undocument and it's a whole lot of difference while dealing with them. for example, making a form's background gradient still needs a whole lot of code to be written whereas in winforms using system.drawing2d, it could be done just with a few lines of code. are there any existing applications that we could see and view wherein winforms are used and applied. thanks dewan -- "Reality leaves a lot to the imagination." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/76e9c203/attachment.html From kobruleht2 at hot.ee Sat Jan 5 05:11:26 2008 From: kobruleht2 at hot.ee (Andrus Moor) Date: Sat, 5 Jan 2008 12:11:26 +0200 Subject: [Mono-list] GUI and virtual grid for new desktop application References: <000c01c84d97$729866d0$3e787ec2@acer> <67ed228e0801040451w14fa41ddxcdce23e62193f8e2@mail.gmail.com> <04a701c84ef0$e0be13d0$7b01a8c0@acer> <1199516577.5921.28.camel@erandi.boston.ximian.com> Message-ID: <00d301c84f87$c58f47e0$35787ec2@acer> Miquel, > But if you are unable to use Gtk# or Windows.Forms on their current > state, then you should consider using Swing. There was recommendation in this list to run Swing java bytecode using IKVM. I'm unable to find any MONO / .NET application which uses Swing for GUI. Is anybody seen one ? If this is reasonable solution then there must be some appications which use this. Andrus. From twostepted at yahoo.com Sat Jan 5 09:09:47 2008 From: twostepted at yahoo.com (Travis Staloch) Date: Sat, 5 Jan 2008 06:09:47 -0800 (PST) Subject: [Mono-list] Environment.GetFolderPath() on fedora core 8 Message-ID: <296570.66426.qm@web43140.mail.sp1.yahoo.com> When using Environment.GetFolderPath(Environment.SpecialFolder.Desktop), I get a funny looking result on FC 8. I get the following string (with quotes included in the string). /home/username/"$HOME/Desktop" This seems like a bug. Should I file a bug report? Also, Environment.SpecialFolder.Programs, Environment.SpecialFolder.StartMenu, Environment.SpecialFolder.Startup return empty strings when passed to Environment.GetFolderPath(). I might expect Environment.SpecialFolder.Programs to return something like /usr/bin. Can anyone comment on whether this is the expected behavior on FC 8? Thanks, Travis ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/5a0c789d/attachment.html From cdhowie at gmail.com Sat Jan 5 09:34:25 2008 From: cdhowie at gmail.com (Chris Howie) Date: Sat, 5 Jan 2008 09:34:25 -0500 Subject: [Mono-list] Environment.GetFolderPath() on fedora core 8 In-Reply-To: <296570.66426.qm@web43140.mail.sp1.yahoo.com> References: <296570.66426.qm@web43140.mail.sp1.yahoo.com> Message-ID: <3d2f29dc0801050634s35f5347dm38d7006c881877ed@mail.gmail.com> (Sorry if you get this twice Travis, I didn't reply to the list last time.) On Jan 5, 2008 9:09 AM, Travis Staloch wrote: > When using Environment.GetFolderPath(Environment.SpecialFolder.Desktop), I > get a funny looking result on FC 8. I get the following string (with quotes > included in the string). > > /home/username/"$HOME/Desktop" > > This seems like a bug. Should I file a bug report? > Yes, that's not at all what you should be getting. Also, Environment.SpecialFolder.Programs, > Environment.SpecialFolder.StartMenu, Environment.SpecialFolder.Startupreturn empty strings when passed to > Environment.GetFolderPath(). I might expect > Environment.SpecialFolder.Programs to return something like /usr/bin. Can > anyone comment on whether this is the expected behavior on FC 8? > Yes. Those special folders are not supported on Linux, and according to the MSDN documentation this method returns: > The path to the specified system special folder, if that folder physically exists on your computer; otherwise, the empty string (""). -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/de20d1b3/attachment-0001.html From robertj at gmx.net Sat Jan 5 12:02:31 2008 From: robertj at gmx.net (Robert Jordan) Date: Sat, 05 Jan 2008 18:02:31 +0100 Subject: [Mono-list] GUI and virtual grid for new desktop application In-Reply-To: <04a701c84ef0$e0be13d0$7b01a8c0@acer> References: <000c01c84d97$729866d0$3e787ec2@acer> <67ed228e0801040451w14fa41ddxcdce23e62193f8e2@mail.gmail.com> <04a701c84ef0$e0be13d0$7b01a8c0@acer> Message-ID: Andrus Moor wrote: > Michael, > >> What visual representation you're after? Numbers/text like in a >> spreadsheet view? > > Yes. > This grid contains invoice headers, customers, items. > User can edit them directly in grid, each row is commited to database when > moving out of row. > > Desktop GUI issues in MONO: > > WinForms - MONO WinForms does not have DataGridView nor its Virtual grid > implemented. > WinForms is no more developed by Microsoft. Even MonoDevelop itself does not > use it. > So there is no future. :-) WinForms will remain supported as long the underlying APIs (user.dll etc.) are supported. It's common sense that those APIs won't be removed from Windows in the next 10 years. > GTK # - No Virtual Grid support. Few use in .NET applications, no binding > support. Less documentation, less samples, less users than WinForms > > WPF - according to MONO Winforms mailing list will probably never > implemented. > > So there is no reasonable desktop GUI in MONO . > > Any idea how to resolve this crisis ? Provide patches for Mono's DataGridView and virtual grid. Or learn GTK#. > > Andrus. > Robert From monkey at jpobst.com Sat Jan 5 12:35:23 2008 From: monkey at jpobst.com (Jonathan Pobst) Date: Sat, 05 Jan 2008 11:35:23 -0600 Subject: [Mono-list] mono winforms and gtk# In-Reply-To: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> References: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> Message-ID: <477FBFDB.70404@jpobst.com> Hey, There are some programs listed here: http://www.mono-project.com/Winforms_Samples. There are some screenshots on the screenshots page here: http://www.mono-project.com/Screenshots. You can download the mono VMWare image which has about 20 small samples here: http://www.mono-project.com/Downloads. And we have a nifty tool to help you determine if mono will support you application or not, called MoMA. For details, you can check out our guide to porting winforms applications here: http://www.mono-project.com/Guide:_Porting_Winforms_Applications. Jonathan Dewan Hrishikesh wrote: > what is the development status of winforms in mono. we are building a > software app and we would like to make it cross compatible with linux. > although the app is coded in vstudio 2005 using .net framework 2.0 , we > are interested in porting it to the linux. we did saw the existing > developments in gtk# but found it too confusing for practical use in a > production environment because of the learning curve of the developers. > gtk# features are almost undocument and it's a whole lot of difference > while dealing with them. for example, making a form's background > gradient still needs a whole lot of code to be written whereas in > winforms using system.drawing2d, it could be done just with a few lines > of code. > are there any existing applications that we could see and view wherein > winforms are used and applied. > thanks > dewan > > -- > "Reality leaves a lot to the imagination." > > > ------------------------------------------------------------------------ > > _______________________________________________ > Mono-list maillist - Mono-list at lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list From hrishikesh.dewan at gmail.com Sat Jan 5 13:01:07 2008 From: hrishikesh.dewan at gmail.com (Dewan Hrishikesh) Date: Sat, 5 Jan 2008 23:31:07 +0530 Subject: [Mono-list] mono winforms and gtk# In-Reply-To: <477FBFDB.70404@jpobst.com> References: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> <477FBFDB.70404@jpobst.com> Message-ID: <624f096a0801051001u6c243d95i95140f0f69252a40@mail.gmail.com> thanks jonathan, will check all these and will use the tool to find the compatibility. i read the guide written by u and it is really very good. i hope more things will be added from time time . On Jan 5, 2008 11:05 PM, Jonathan Pobst wrote: > Hey, > > There are some programs listed here: > http://www.mono-project.com/Winforms_Samples. > > There are some screenshots on the screenshots page here: > http://www.mono-project.com/Screenshots . > > You can download the mono VMWare image which has about 20 small samples > here: > http://www.mono-project.com/Downloads. > > And we have a nifty tool to help you determine if mono will support you > application or not, called MoMA. For details, you can check out our > guide to porting winforms applications here: > http://www.mono-project.com/Guide:_Porting_Winforms_Applications . > > Jonathan > > > Dewan Hrishikesh wrote: > > what is the development status of winforms in mono. we are building a > > software app and we would like to make it cross compatible with linux. > > although the app is coded in vstudio 2005 using .net framework 2.0 , we > > are interested in porting it to the linux. we did saw the existing > > developments in gtk# but found it too confusing for practical use in a > > production environment because of the learning curve of the developers. > > gtk# features are almost undocument and it's a whole lot of difference > > while dealing with them. for example, making a form's background > > gradient still needs a whole lot of code to be written whereas in > > winforms using system.drawing2d, it could be done just with a few lines > > of code. > > are there any existing applications that we could see and view wherein > > winforms are used and applied. > > thanks > > dewan > > > > -- > > "Reality leaves a lot to the imagination." > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Mono-list maillist - Mono-list at lists.ximian.com > > http://lists.ximian.com/mailman/listinfo/mono-list > > -- "Reality leaves a lot to the imagination." -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080105/0f42b397/attachment.html From adam at morrison-ind.com Sat Jan 5 17:28:07 2008 From: adam at morrison-ind.com (Adam Tauno Williams) Date: Sat, 05 Jan 2008 17:28:07 -0500 Subject: [Mono-list] mono winforms and gtk# In-Reply-To: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> References: <624f096a0801050001p2488a1f9ne132ac2e679632fb@mail.gmail.com> Message-ID: <1199572087.12406.40.camel@aleph.morrison.iserv.net> > what is the development status of winforms in mono. we are building a > software app and we would like to make it cross compatible with linux. > although the app is coded in vstudio 2005 using .net framework 2.0 , > we are interested in porting it to the linux. we did saw the existing > developments in gtk# but found it too confusing for practical use in a > production environment because of the learning curve of the > developers. gtk# features are almost undocument and it's a whole lot > of difference while dealing with them. for example, making a form's I'm not arguing for one or the other solution; but as someone who is *not* a full-time developer I have to point out that I disagree with the undocumented claim concerning Gtk#. I've been able, in just my spare time, to create fairly complicated applications with Mono/Gtk# . The documentation in monodoc is pretty good and there are tutorials to cover most of the other important stuff . I hadn't done any GUI development since Borland's OWL on WfWg 3.11 and Gtk# seemed pretty straight forward, when I did get stuck the gtk-sharp has been very responsive. Over the holidays I was, in just my spare time, able to create a basically functional and not terribly ugly (IMHO) calendar widget I'd recommend [and do] Gtk# to anybody. The documentation could be better but is (IMO) adequate; the two deficits in my view of Gtk# are lack of any data-binding support (aside from TreeView, which is an awesome widget) and the death of 'third-party' widgets/controls (witness I had to create a scheduling widget). -- Consonance: an Open Source .NET OpenGroupware client. Contact:awilliam at whitemiceconsulting.com http://freshmeat.net/projects/consonance/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 194 bytes Desc: This is a digitally signed message part Url : http://lists.ximian.com/pipermail/mono-list/attachments/20080105/5529af5a/attachment.bin From alexmipego at gmail.com Sat Jan 5 19:56:26 2008 From: alexmipego at gmail.com (Alexandre Miguel Pedro Gomes) Date: Sun, 6 Jan 2008 00:56:26 +0000 Subject: [Mono-list] Bug in Mono Dns resolution (unable to connect to virtual machine) Message-ID: <170f4a080801051656n4cfec908i2866a5e67f522bfc@mail.gmail.com> Hi, I've been trying to connect to an Sql Server instance inside a guest virtual machine (VirtualBox) and using Ubuntu 7.10 as host. The networking is setup using bridge utils as instructed by the VirtualBox manuals. I was unable to connect getting several "Sql Server Not found" and timeouts from the host but not from a separate windows box running .Net 2.0. I tracked down the problem and found that the method GetHostEntry was recuring an HostEntry with 1 and only 1 IP which was 127.0.0.1. I assume this has something to do with the bridge and the internal C mono code getting this IP but after some trials with .Net to several machines and virtual machine with similar configurations I found that .Net only returned the IP specified in the parameters even if the host had more IPs attributed. >From my observations, and that makes sense after all if one specifies an IP there is no logic to try to get more IPs, I've created a patch that successfully fixed my problem. I've created bug #351908 (https://bugzilla.novell.com/show_bug.cgi?id=351908) and included the patch there. Cheers, -- Alexandre Gomes, Portugal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080106/c2a4ec76/attachment.html From alexmipego at gmail.com Sat Jan 5 20:44:21 2008 From: alexmipego at gmail.com (Alexandre Miguel Pedro Gomes) Date: Sun, 6 Jan 2008 01:44:21 +0000 Subject: [Mono-list] Bug in Mono Dns resolution (unable to connect to virtual machine) In-Reply-To: <170f4a080801051656n4cfec908i2866a5e67f522bfc@mail.gmail.com> References: <170f4a080801051656n4cfec908i2866a5e67f522bfc@mail.gmail.com> Message-ID: <170f4a080801051744n29c70198u127aa1e365692d09@mail.gmail.com> Another bug I found is that resolving the InstanceName to a port (via Sql Monitor Browser udp port 1434) had a very small timeout value (100ms) which is very low in case the network path has high latency or the server is under heavy load. I created another bug and attached the patch for this problem here: https://bugzilla.novell.com/show_bug.cgi?id=351911 I believe both can be approved at the same time. On Jan 6, 2008 12:56 AM, Alexandre Miguel Pedro Gomes wrote: > Hi, > > I've been trying to connect to an Sql Server instance inside a guest > virtual machine (VirtualBox) and using Ubuntu 7.10 as host. The networking > is setup using bridge utils as instructed by the VirtualBox manuals. > > I was unable to connect getting several "Sql Server Not found" and > timeouts from the host but not from a separate windows box running .Net > 2.0. I tracked down the problem and found that the method GetHostEntry was > recuring an HostEntry with 1 and only 1 IP which was 127.0.0.1. I assume > this has something to do with the bridge and the internal C mono code > getting this IP but after some trials with .Net to several machines and > virtual machine with similar configurations I found that .Net only returned > the IP specified in the parameters even if the host had more IPs attributed. > > > From my observations, and that makes sense after all if one specifies an > IP there is no logic to try to get more IPs, I've created a patch that > successfully fixed my problem. > > I've created bug #351908 ( > https://bugzilla.novell.com/show_bug.cgi?id=351908) and included the patch > there. > > Cheers, > > -- > Alexandre Gomes, Portugal -- Alexandre Gomes, Portugal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080106/622d2f69/attachment-0001.html From dannywaite7 at hotmail.com Sun Jan 6 08:37:01 2008 From: dannywaite7 at hotmail.com (Danny Waite) Date: Sun, 6 Jan 2008 13:37:01 +0000 Subject: [Mono-list] Mono Linker Message-ID: Hi guys, I'm trying to use Jb's Linker but seems that his SVN is down. Does anyone know where I can get hold of his app? Kind Regards, Danny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080106/c055a1fc/attachment.html From jb at nurv.fr Sun Jan 6 08:42:47 2008 From: jb at nurv.fr (Jb Evain) Date: Sun, 6 Jan 2008 14:42:47 +0100 Subject: [Mono-list] Mono Linker In-Reply-To: References: Message-ID: <69f7d8470801060542m1dcef30br446cd7ef33ab17bb@mail.gmail.com> Hey, On 1/6/08, Danny Waite wrote: > I'm trying to use Jb's Linker but seems that his SVN is down. Does anyone > know where I can get hold of his app? SVN works here. You can grab it from here: http://anonsvn.mono-project.com/source/trunk/mcs/tools/linker/ -- Jb Evain From yoavhacohen at gmail.com Sun Jan 6 10:30:00 2008 From: yoavhacohen at gmail.com (Yoav Hacohen) Date: Sun, 6 Jan 2008 09:30:00 -0600 Subject: [Mono-list] Bug with TimeZone on Windows Message-ID: <025f01c85079$0322db20$09689160$@com> Hello, I found that mono 1.2.6 doesn't work when TimeZone is set to "Jerusalem +2.00". It throws: "(ves_icall_System_CurrentSystemTimeZone_GetTimeZoneData):assertion failed: (err) aborting.". When changing it to "Central Time (US & Canada) -6.00" it works fine. (I checked it on Vista ultimate) Yoav -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080106/a61eed24/attachment.html From yoavhacohen at gmail.com Sun Jan 6 11:41:24 2008 From: yoavhacohen at gmail.com (Yoav Hacohen) Date: Sun, 6 Jan 2008 10:41:24 -0600 Subject: [Mono-list] Problem with Porting OpenCV to Mono Message-ID: <028501c85082$fbaeda10$f30c8e30$@com> Hi, I'm trying to translate the main part of OpenCVDotNet which is written in managed C++ (and cannot be compiled using clr:safe) to C# using P/Invokes. I have encounter the following exception: Stacktrace: at (wrapper managed-to-native) OpenCVDotNet.PInvoke.cvGetImageROI (intptr) <0x 00004> at (wrapper managed-to-native) OpenCVDotNet.PInvoke.cvGetImageROI (intptr) <0x ffffffff> at OpenCVDotNet.CVImage.get_RegionOfInterest () <0x00064> at OpenCVDotNet.CVImage.Split () <0x00054> at OpenCVDotNet.CVImage.CalcHistogram (int[],OpenCVDotNet.CVPair[],OpenCVDotNe t.CVImage) <0x0009e> at OpenCVDotNet.CVImage.CalcHistogram (int,OpenCVDotNet.CVImage) <0x0012a> at OpenCVDotNet.CVImage.CalcHistogram (int) <0x0000f> at Test.Program.Main (string[]) <0x00036> at (wrapper runtime-invoke) Test.Program.runtime_invoke_void_string[] (object, intptr,intptr,intptr) <0xffffffff> This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Under .Net it runs fine. To run this example you can download the code from https://opencvdotnet.googlecode.com/svn/trunk/src/sandbox , and have the original OpenCV Dll files (Usually at C:\program files\OpenCV\Bin\) in your C:\windows\System32\ folder. Yoav -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080106/2250fad2/attachment.html From daniel.soto2k at gmail.com Sun Jan 6 12:48:33 2008 From: daniel.soto2k at gmail.com (Daniel Soto) Date: Sun, 06 Jan 2008 14:48:33 -0300 Subject: [Mono-list] dependencies problem trying to compile monodevelop Message-ID: <47811471.2020109@gmail.com> Hi guys. I need some help to compile monodevelop 0.18. When i compile the sources in the following order as suggest Monodevelop.org mono-addins-0.3 gtk-sharp-2.8.4 gtksourceview-sharp-2.0.10 monodoc-1.2.6 monodevelop-source at ./configure mono-addins appears an error that says "checking for GTK_SHARP_20... configure: error: Package requirements (gtk-sharp-2.0) were not met: No package 'gtk-sharp-2.0' found". Well, gtk-sharp must be compiled before than mono-addins. But, when i want to compile monodevelop, it says that glade-sharp not was found. Compiling gtk-sharp, i see that output of ./configure is: Configuration summary * Installation prefix = /usr/local * C# compiler: /usr/local/bin/mcs -define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 Optional assemblies included in the build: * art-sharp.dll: no * gnomevfs-sharp.dll: no * gnome-sharp.dll: no * glade-sharp.dll: no * rsvg-sharp.dll: no * gtkhtml-sharp.dll: no * vte-sharp.dll: no * gtk-dotnet.dll: yes NOTE: if any of the above say 'no' you may install the corresponding development packages for them, rerun autogen.sh to include them in the build. Glade-sharp is set to "no", and i must activate it in autogen.sh. Then ?where is autogen.sh? It isn't in the directory. ?How i must do to compiling monodevelop correctly? Best regards. From cdhowie at gmail.com Mon Jan 7 08:43:52 2008 From: cdhowie at gmail.com (Chris Howie) Date: Mon, 7 Jan 2008 08:43:52 -0500 Subject: [Mono-list] dependencies problem trying to compile monodevelop In-Reply-To: <47811471.2020109@gmail.com> References: <47811471.2020109@gmail.com> Message-ID: <3d2f29dc0801070543h255cad6frb12df7c2030a8bd3@mail.gmail.com> Pretty sure that it should say "configure" and not "autogen.sh". Anyway, make sure you have the glade development package installed for your distro, then rerun configure. On Jan 6, 2008 12:48 PM, Daniel Soto wrote: > Hi guys. > > I need some help to compile monodevelop 0.18. When i compile the sources > in the following order as suggest Monodevelop.org > > mono-addins-0.3 > gtk-sharp-2.8.4 > gtksourceview-sharp-2.0.10 > monodoc-1.2.6 > monodevelop-source > > at ./configure mono-addins appears an error that says "checking for > GTK_SHARP_20... configure: error: Package requirements (gtk-sharp-2.0) > were not met: No package 'gtk-sharp-2.0' found". Well, gtk-sharp must be > compiled before than mono-addins. But, when i want to compile > monodevelop, it says that glade-sharp not was found. > > Compiling gtk-sharp, i see that output of ./configure is: > > Configuration summary > > * Installation prefix = /usr/local > * C# compiler: /usr/local/bin/mcs -define:GTK_SHARP_2_6 > -define:GTK_SHARP_2_8 > > Optional assemblies included in the build: > > * art-sharp.dll: no > * gnomevfs-sharp.dll: no > * gnome-sharp.dll: no > * glade-sharp.dll: no > * rsvg-sharp.dll: no > * gtkhtml-sharp.dll: no > * vte-sharp.dll: no > * gtk-dotnet.dll: yes > > NOTE: if any of the above say 'no' you may install the > corresponding development packages for them, rerun > autogen.sh to include them in the build. > > Glade-sharp is set to "no", and i must activate it in autogen.sh. Then > ?where is autogen.sh? It isn't in the directory. > > ?How i must do to compiling monodevelop correctly? > > Best regards. > -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080107/18c32676/attachment-0001.html From twostepted at yahoo.com Mon Jan 7 10:49:39 2008 From: twostepted at yahoo.com (Travis Staloch) Date: Mon, 7 Jan 2008 07:49:39 -0800 (PST) Subject: [Mono-list] Environment.GetFolderPath() on fedora core 8 Message-ID: <826042.61247.qm@web43135.mail.sp1.yahoo.com> In light of the MSDN recommendation below, Environment.GetFolderPath(Environment.SpecialFolder.Desktop) should return a good value since the Desktop folder does exist on my fc8 box. > The path to the specified system special folder, if that folder physically exists on your computer; otherwise, the empty string (""). So this is a bug. Can anyone recommend a next step to get this fixed? Shall I file a bug report? Thanks, Travis ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080107/0c168c80/attachment.html From cdhowie at gmail.com Mon Jan 7 10:58:29 2008 From: cdhowie at gmail.com (Chris Howie) Date: Mon, 7 Jan 2008 10:58:29 -0500 Subject: [Mono-list] Environment.GetFolderPath() on fedora core 8 In-Reply-To: <826042.61247.qm@web43135.mail.sp1.yahoo.com> References: <826042.61247.qm@web43135.mail.sp1.yahoo.com> Message-ID: <3d2f29dc0801070758i24ad6e24icc320f98e9b68256@mail.gmail.com> On Jan 7, 2008 10:49 AM, Travis Staloch wrote: > In light of the MSDN recommendation below, Environment.GetFolderPath( > Environment.SpecialFolder.Desktop) should return a good value since the > Desktop folder does exist on my fc8 box. > > The path to the specified system special folder, if that folder > physically exists on your computer; otherwise, the empty string (""). > > So this is a bug. Can anyone recommend a next step to get this fixed? > Shall I file a bug report? > You could file a bug and see what happens. (Note that the $HOME/Desktop directory is *not* required to exist at all, and that may be why the corlib developers decided not to have it return that path.) -- Chris Howie http://www.chrishowie.com http://en.wikipedia.org/wiki/User:Crazycomputers -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080107/7c29afab/attachment.html From jptrosclair at judelawfirm.com Mon Jan 7 18:03:12 2008 From: jptrosclair at judelawfirm.com (J.P. Trosclair) Date: Mon, 7 Jan 2008 17:03:12 -0600 Subject: [Mono-list] mono, linux, and iis integrated authentitcation Message-ID: <00a801c85181$7a940090$6101a8c0@devxp> Hi, I've run into a small problem dealing with http authentication, wsdl and mono. We have an IIS server that hosts all of our web services. The virtual directory for the web services is protected with windows integrated authentication. I first noticed that there was a problem when attempting to use wsdl to generate a proxy class for an existing tried and tested web service. Here is the exact command (mostly) that I used: wsdl -u:foo -p:bar -n:MyWebService -o:MyWebService.cs http://foobar.net/MyWebService.asmx?wsdl No matter which combination of username and password I specified (all valid accounts) I received a 401 unauthorized error. I eventually gave up on this, connected with firefox and downloaded the wsdl manually and used the wsdl command to generate the proxy based on that file instead. After this I attempted to write code to utilize this web service and ran into the same authentication problems. In visual studio 2005 before I made a web service call I would set the credentials, for example: MyWebService myWs = new MyWebService(); myWs.Credentials = System.Net.CredentialCache.DefaultCredentials; This worked fine in visual studio 2005 but not with mono. In mono I also tried: NetworkCredential nc = new NetworkCredential(); nc.UserName = "foo"; nc.PassWord = "bar"; myWs.Credentials = nc; No go with this method either. At this point I am confused on how to authenticate with our IIS server to access these web services using mono. If anyone has any information they can provide on what I'm doing wrong or where I'm misunderstanding mono and http authentication against an IIS server using windows integrated auth I would greatly appreciate it. I'm developing on linux with mono 1.2.6 and gmcs 1.2.6.0. TIA, J.P. From vsviridov at exceede.com Mon Jan 7 18:17:36 2008 From: vsviridov at exceede.com (Vasili Sviridov) Date: Mon, 07 Jan 2008 15:17:36 -0800 Subject: [Mono-list] mono, linux, and iis integrated authentitcation In-Reply-To: <00a801c85181$7a940090$6101a8c0@devxp> References: <00a801c85181$7a940090$6101a8c0@devxp> Message-ID: <4782B310.7080505@exceede.com> Hello J.P. Integrated authentication might expect to see the DOMAIN\ as part of the username. like "DOMAIN\username" instead of just "username". Regards, V. J.P. Trosclair wrote: > Hi, > > I've run into a small problem dealing with http authentication, wsdl and > mono. We have an IIS server that hosts all of our web services. The virtual > directory for the web services is protected with windows integrated > authentication. I first noticed that there was a problem when attempting to > use wsdl to generate a proxy class