[Mono-list] '$' in __dopostback script
Last week, i've talked about compatibility problems in __dopostback script. In fact ms.net call __dopostback script with '$' in the name of the component, mono call call __dopostback script with ':' Here's the patch that fix this problem, so you can now call __dopostback with '$' or ':', it doesn't matter anymore... Hubert FONGARNAND -- Hubert FONGARNAND Fiducial IT ___ Ce message et les éventuels documents joints peuvent contenir des informations confidentielles. Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. Index: class/System.Web/System.Web.UI/ChangeLog === --- class/System.Web/System.Web.UI/ChangeLog (revision 40487) +++ class/System.Web/System.Web.UI/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2005-02-14 Hubert Fongarnand [EMAIL PROTECTED] + + * Page.cs: __do_postback script now support names with '$' instead of + ':' + 2005-02-10 Lluis Sanchez Gual [EMAIL PROTECTED] * Page.cs: Added support for validation groups. Some fixes in Index: class/System.Web/System.Web.UI/Page.cs === --- class/System.Web/System.Web.UI/Page.cs (revision 40487) +++ class/System.Web/System.Web.UI/Page.cs (working copy) @@ -666,7 +666,7 @@ writer.WriteLine (\tvar theForm = document.getElementById ('{0}');, formUniqueID); writer.WriteLine (\tfunction __doPostBack(eventTarget, eventArgument) {); - writer.WriteLine (\t\ttheForm.{0}.value = eventTarget;, postEventSourceID); + writer.WriteLine (\t\ttheForm.{0}.value = eventTarget.replace('$',':');, postEventSourceID); writer.WriteLine (\t\ttheForm.{0}.value = eventArgument;, postEventArgumentID); writer.WriteLine (\t\ttheForm.submit();); writer.WriteLine (\t});
[Mono-list] difference between __thread and pthread mode
I've a nptl enable libc (gentoo) GNU C Library 20041102 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6). Compiled on a Linux 2.6.8 system on 2005-02-08. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Native POSIX Threads Library by Ulrich Drepper et al The C stubs add-on version 2.1.2. GNU Libidn by Simon Josefsson BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included. For bug reporting instructions, please see: http://www.gnu.org/software/libc/bugs.html. What's the better to use when I compile mono : --with-tls=pthread or --with-tls=__thread? Thanks -- Hubert FONGARNANDFiducial IT ___Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
[Mono-list] mono and systray icon
Hello, Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? Thanks -- Alex Roman [EMAIL PROTECTED] ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono configuration problem
Hi, I am trying to install mono-1.0.5 on Mandrake Linux 8.1 by compiling its source code, as explained on the mono-project website. I have installed pkgconfig and glib 2.0.6. When I run the command ./configure --prefix=/usr/local (or just ./configure) I get the following error message: checking size of void *... configure: error: cannot compute sizeof (void *), 77 See 'config.log' for more details. The config.log is not very helpful and does not provide any more error messages or solutions to this error. Does anyone know why I am getting this error? Where could I check (websites...) what these error messages mean and find a solution to them? Thanks very much, Guillermo Lopez ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] gdiplus.dll Not Found?
This is strange. In interop / PInvoke, Given foo.dll, mono will try: foo.dll.so, libfoo.dll.so, libfoo.so to probe for the correct unix library. So libgdiplus.so should be probed. I've tried several different permutations of symlinks and none of them seem to fix it. What distribution are you running this on. If we make RPM packages for it, I'll make sure to check that GDI+ works out of the box. Slackware 10.0 Also, it might make sense to continue this thread on the public mailing list, there might be other tricks that I'm not aware that's causing this problem right now. Done. Pasting previous conversation below. Regards, David P. Donahue [EMAIL PROTECTED] --BEGIN PASTE-- I knew I forgot to specify something in my post. Libgdiplus 1.0.5 was installed just prior to my mono install. I configured that, mono, and all the other dependencies I needed, with a /usr prefix and installed them all. There are a handful of libgdiplus files in my /usr/lib, but none with a .dll extension. Did a find from / for libgdiplus.dll and came up with nothing, not even in the source tree where i built it. Any ideas? Would it be worth an attempt to install libgdiplus 1.1.3, or would that definitely require upgrading mono as well? I'd just prefer to stay in the release versions if possible. There should be a mapping between libgdiplus.dll into libgdiplus.so. It's strange that Mono is not able to find the right library. Are you sure your mono is in the same prefix as libgdiplus's prefix? Also, it might be that you need to add some more dirs to $LD_LIBRARY_PATH. --CUT-- I just tried: ln -s /usr/lib/libgdiplus.so [wwwroot]/bin/gdiplus.dll Which produced the following stack trace when I try to load the same test page from before: --BEGIN PASTE-- Compilation Error Description: Error compiling a resource required to service this request. Review your source file and modify it to fix this error. Error message: (0,0) : error CS0006: Cannot find assembly `/home/www/.www/bin/gdiplus.dll' (0,0) : error : (0,0) : error failed: 1 error(s), 0 warnings File name: /home/www/.www/test/test2.aspx Source File: Line 1: // -- Line 2: // autogenerated Line 3: // This code was generated by a tool. Line 4: // Mono Runtime Version: 1.1.4322.573 Line 5: // Line 6: // Changes to this file may cause incorrect behavior and will be lost if Line 7: // the code is regenerated. Line 8: // /autogenerated Line 9: // -- Line 10: Line 11: namespace ASP { Line 12: using System; Line 13: using System.Collections; Line 14: using System.Collections.Specialized; Line 15: using System.Configuration; Line 16: using System.Text; Line 17: using System.Text.RegularExpressions; Line 18: using System.Web; Line 19: using System.Web.Caching; Line 20: using System.Web.Security; Line 21: using System.Web.SessionState; Line 22: using System.Web.UI; Line 23: using System.Web.UI.WebControls; Line 24: using System.Web.UI.HtmlControls; Line 25: Line 26: public class test2_aspx : cyber0ne.test2, System.Web.SessionState.IRequiresSessionState { Line 27: Line 28: private static bool __intialized = false; Line 29: Line 30: public test2_aspx () { Line 31: if ((ASP.test2_aspx.__intialized == false)) { Line 32: ASP.test2_aspx.__intialized = true; Line 33: } Line 34: } Line 35: Line 36: protected override bool SupportAutoEvents { Line 37: get { Line 38: return false; Line 39: } Line 40: } Line 41: Line 42: protected System.Web.HttpApplication ApplicationInstance { Line 43: get { Line 44: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance)); Line 45: } Line 46: } Line 47: Line 48: public override string TemplateSourceDirectory { Line 49: get { Line 50: return /test; Line 51: } Line 52: } Line 53: Line 54: private void __BuildControlTree(System.Web.UI.Control __ctrl) { Line 55: } Line 56: Line 57: protected override void FrameworkInitialize() { Line 58: this.TraceModeValue = System.Web.TraceMode.SortByTime; Line 59: this.Request.ValidateInput(); Line 60: this.__BuildControlTree(this); Line 61: } Line 62: Line 63: public override int GetTypeHashCode() { Line 64: return 493423195; Line 65: } Line 66: } Line 67: Line 68: } ---END PASTE--- Is this at all helpful, or is this expected behavior for what I tried? 1.1.4 is being released as the new latest stable version, you say? Well, as soon as the Mono website reflects
Re: [Mono-list] mono and systray icon
Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. Alex. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled: On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. regards, marek signature.asc Description: Digital signature
Re: [Mono-list] difference between __thread and pthread mode
On 02/14/05 Hubert FONGARNAND wrote: I've a nptl enable libc (gentoo) [...] What's the better to use when I compile mono : --with-tls=pthread or --with-tls=__thread? On properly compiled distributions __thread is preferable, since it's faster. lupus -- - [EMAIL PROTECTED] debian/rules [EMAIL PROTECTED] Monkeys do it better ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 13:47 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled: On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Looks good. Thanks! Any ideas how to do those things they mention there in mono? I've never done them, personally so I am a bit confused. Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. regards, marek Thanks, Alex. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
i believe the mwf team is working on this. check this link out http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination. alex c. On Mon, 14 Feb 2005 09:27:32 -0500, Alex Roman [EMAIL PROTECTED] wrote: On Mon, 2005-02-14 at 13:47 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled: On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Looks good. Thanks! Any ideas how to do those things they mention there in mono? I've never done them, personally so I am a bit confused. Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. regards, marek Thanks, Alex. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 09:37 -0500, Alex C wrote: i believe the mwf team is working on this. check this link out http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination. alex c. Thanks, I looked at that, but I do not want a Windows.Forms implementation. I don't want my application to work under Windows. All I want is to get it working under X11. Alex. On Mon, 14 Feb 2005 09:27:32 -0500, Alex Roman [EMAIL PROTECTED] wrote: On Mon, 2005-02-14 at 13:47 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled: On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Looks good. Thanks! Any ideas how to do those things they mention there in mono? I've never done them, personally so I am a bit confused. Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. regards, marek Thanks, Alex. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 14:51, Alex Roman wrote: On Mon, 2005-02-14 at 09:37 -0500, Alex C wrote: i believe the mwf team is working on this. check this link out http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination. alex c. Thanks, I looked at that, but I do not want a Windows.Forms implementation. I don't want my application to work under Windows. All I want is to get it working under X11. I think the point is that it works on *both* Windows and Linux. Alex. On Mon, 14 Feb 2005 09:27:32 -0500, Alex Roman [EMAIL PROTECTED] wrote: On Mon, 2005-02-14 at 13:47 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 07:42:31AM -0500, Alex Roman scribbled: On Mon, 2005-02-14 at 07:34 -0500, Adam Tauno Williams wrote: Is it possible to create an icon in the notification area / system tray of KDE, GNOME, Fluxbox, and all other Desktops? It is possible in GNOME; but I think each system does its systray in a different way. Well, muine (which is a gnome, or rather gtk+, based application) does it and it works on all major desktops, including gnome, kde and fluxbox. How do they do it? I'll check out the source code, hopefully I'll be able to figure something out. http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Looks good. Thanks! Any ideas how to do those things they mention there in mono? I've never done them, personally so I am a bit confused. Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. regards, marek Thanks, Alex. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list -- This e-mail is sponsored by http://www.integration-house.com/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] mono presentaions seem to have been removed from msdn
It looks like they took down Joe Hummel's presentation on mono from the msdn site. Wish I had watched it while it was still available. The slides and demos are still available from his personal site but the msdn webcasts are gone.[EMAIL PROTECTED]http://www.joeaudette.comhttp://www.mojoportal.com
Re: [Mono-list] mono and systray icon
On Mon, Feb 14, 2005 at 05:47:17PM +, Jonathan Stowe scribbled: On Mon, 2005-02-14 at 14:51, Alex Roman wrote: On Mon, 2005-02-14 at 09:37 -0500, Alex C wrote: i believe the mwf team is working on this. check this link out http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination. alex c. Thanks, I looked at that, but I do not want a Windows.Forms implementation. I don't want my application to work under Windows. All I want is to get it working under X11. I think the point is that it works on *both* Windows and Linux. I guess the point is to get something working and doing what you intend it to do. Whether it works under Linux or Windows, is a matter of the programmer's judgement, goals, personal preferences etc - therefore it is not a subject for this list. Alex, muine uses a C library to integrate with the systray, it's called libegg. To my best knowledge, this is currently the only way to get it done (C/C++ programs use it as well). Of course, you are free to implement a managed implementation of the systray protocol as per the specs - that would probably require you to use p/invoke to access the X11 API, though. The egg library in the muine sources can be found in libmuine/egg/ best regards, marek ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
I think the point is that it works on *both* Windows and Linux. I guess the point is to get something working and doing what you intend it to do. Whether it works under Linux or Windows, is a matter of the programmer's judgement, goals, personal preferences etc - therefore it is not a subject for this list. Alex, muine uses a C library to integrate with the systray, it's called libegg. To my best knowledge, this is currently the only way to get it done (C/C++ programs use it as well). Of course, you are free to implement a managed implementation of the systray protocol as per the specs - that would probably require you to use p/invoke to access the X11 API, though. The egg library in the muine sources can be found in libmuine/egg/ You missed Jonathan's point, which was that SWF contains code is there Linux as well, not just for Windows, and it's all managed and free for the taking. Also, Todd Berman of MonoDevelop fame wrote a managed implementation for Gtk without requiring libegg. It can be found here:http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs Cheers, Peter ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] C#/Mono Serial port communication
Hi George, see inline: On Wed, 2004-11-24 at 21:13, George Birbilis wrote: No, I'm not trying this on Windows. then why does the error trace say: Unhandled Exception: System.IO.IOException: Win32 IO returned ERROR_SEEK. Path: /dev/rfcomm0 should it say Win32 IO or is it a bug too? Mono returns the same Exceptions as .NET for I/O, and has a I/O Layer that mimics the behaviour of Win 32 I/O, hence the very similar message. HIH, - George Birbilis ([EMAIL PROTECTED]) http://www.kagi.com/birbilis -- -- Rafael Monoman Teixeira Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/ Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/ English Blog: http://monoblog.blogspot.com/ Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, Feb 14, 2005 at 12:07:55PM -0700, Peter Dennis Bartok scribbled: I think the point is that it works on *both* Windows and Linux. I guess the point is to get something working and doing what you intend it to do. Whether it works under Linux or Windows, is a matter of the programmer's judgement, goals, personal preferences etc - therefore it is not a subject for this list. Alex, muine uses a C library to integrate with the systray, it's called libegg. To my best knowledge, this is currently the only way to get it done (C/C++ programs use it as well). Of course, you are free to implement a managed implementation of the systray protocol as per the specs - that would probably require you to use p/invoke to access the X11 API, though. The egg library in the muine sources can be found in libmuine/egg/ You missed Jonathan's point, which was that SWF contains code is there Linux as well, not just for Windows, and it's all managed and free for the taking. Noted, thanks. I missed it indeed. Also, Todd Berman of MonoDevelop fame wrote a managed implementation for Gtk without requiring libegg. It can be found here:http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs Excellent, thanks for pointing that out. regards, marek signature.asc Description: Digital signature
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 19:27 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 05:47:17PM +, Jonathan Stowe scribbled: On Mon, 2005-02-14 at 14:51, Alex Roman wrote: On Mon, 2005-02-14 at 09:37 -0500, Alex C wrote: i believe the mwf team is working on this. check this link out http://svn.myrealbox.com/blog/archive/2005/01/28/keep_feeling_fascination. alex c. Thanks, I looked at that, but I do not want a Windows.Forms implementation. I don't want my application to work under Windows. All I want is to get it working under X11. I think the point is that it works on *both* Windows and Linux. I guess the point is to get something working and doing what you intend it to do. Whether it works under Linux or Windows, is a matter of the programmer's judgement, goals, personal preferences etc - therefore it is not a subject for this list. Alex, muine uses a C library to integrate with the systray, it's called libegg. To my best knowledge, this is currently the only way to get it done (C/C++ programs use it as well). Of course, you are free to implement a managed implementation of the systray protocol as per the specs - that would probably require you to use p/invoke to access the X11 API, though. The egg library in the muine sources can be found in libmuine/egg/ All right thanks :) By all means, i will (try to) use it :) Why not? If it's there and it works, then I should use it. Hehe, I found this: http://www.atoker.com/switcher/ and I think I'll use what they have there :) thanks a lot ppl :) you've been great! best regards, marek ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] mono and systray icon
On Mon, 2005-02-14 at 20:21 +0100, Marek Habersack wrote: On Mon, Feb 14, 2005 at 12:07:55PM -0700, Peter Dennis Bartok scribbled: I think the point is that it works on *both* Windows and Linux. I guess the point is to get something working and doing what you intend it to do. Whether it works under Linux or Windows, is a matter of the programmer's judgement, goals, personal preferences etc - therefore it is not a subject for this list. Alex, muine uses a C library to integrate with the systray, it's called libegg. To my best knowledge, this is currently the only way to get it done (C/C++ programs use it as well). Of course, you are free to implement a managed implementation of the systray protocol as per the specs - that would probably require you to use p/invoke to access the X11 API, though. The egg library in the muine sources can be found in libmuine/egg/ You missed Jonathan's point, which was that SWF contains code is there Linux as well, not just for Windows, and it's all managed and free for the taking. Noted, thanks. I missed it indeed. Also, Todd Berman of MonoDevelop fame wrote a managed implementation for Gtk without requiring libegg. It can be found here:http://codeblogs.ximian.com/blogs/tberman/archives/TrayIcon.cs I got that last night from tberman (Todd Berman, I assume) from the #mono channel, yet that one is not fully freedesktop.org compliant. It does not show up in fluxbox. libegg does though :) Excellent, thanks for pointing that out. regards, marek ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
RE: SPAM: [Mono-list] mono presentaions seem to have been removed from msdn
When I tried to view the recorded version of the presentation there was no audio... I guess they are trying to fix it. However, you can read the complete e-mail thread below... If you can't read it, let me know and I'll post it on my personal website... -=Robert Robert, I heard back from our webcast team there was a technical problem that resulted in no audio on the original recording they are working with Dr. Hummel to re-record the audio. Ill update you on timing as soon as I know. Thanks, Marc MARC MONPLAISIR Product Manager, US-BMO Enterprise Server | Integrated .NET Applications GTM 1 Microsoft Way, Redmond, WA 98052-6399 | 425-722-1826 [EMAIL PROTECTED] NETNew Weblog highlighting new releases of .NET platform content From: Brown, Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:43 PMTo: Marc MonplaisirSubject: RE: Microsoft Event/Web Cast Not Working Hey, Thanks for the quick response! Your name sounds familiar... Are you the guy who called during William Steele's MSDN presentation last Thursday? Thanks again, -=Robert From: Marc Monplaisir [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:37 PMTo: Brown, Robert; Interop Month - Microsoft CorporationSubject: RE: Microsoft Event/Web Cast Not Working Robert, Thanks for highlighting this issue I am checking with our webcast team and will let you know as soon as I hear back. - Marc MARC MONPLAISIR Product Manager, US-BMO Enterprise Server | Integrated .NET Applications GTM 1 Microsoft Way, Redmond, WA 98052-6399 | 425-722-1826 [EMAIL PROTECTED] NETNew Weblog highlighting new releases of .NET platform content From: Brown, Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:16 PMTo: Interop Month - Microsoft CorporationSubject: Microsoft Event/Web Cast Not WorkingImportance: High I registered for the Microsoft Webcast MSDN Webcast: Mono: Running .NET Applications on Linux (Level 200) at http://msevents.microsoft.com/CUI/WebCastEventDetails.aspx?EventID=1032265901Culture=en-US. However when I tried to view the recording today I am unable to get any audio at all. I have asked two co-workers here to try it and they are both unable to get any audio either. I have tried this with both Windows Media 9 and 10 but nothing is working. Is there a problem with the webcast? Thanks, Robert Brown [EMAIL PROTECTED] 513.763.8434 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joe AudetteSent: Monday, February 14, 2005 12:50 PMTo: mono-list@lists.ximian.comSubject: SPAM: [Mono-list] mono presentaions seem to have been removed from msdn It looks like they took down Joe Hummel's presentation on mono from the msdn site. Wish I had watched it while it was still available. The slides and demos are still available from his personal site but the msdn webcasts are gone.[EMAIL PROTECTED]http://www.joeaudette.comhttp://www.mojoportal.com
[Mono-list] i'd like unsubscribe
I'd like unsubscribe for this list and i don't know how. thanks ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] P/Invoke on amd64
Hi all, Ok I have the first part of my challenge solved. On Sun, 2005-02-13 at 22:23, James Fitzsimons wrote: See if specifying the path to the 64 bit version when doing g_module_open will let you open it. I tired this just out of interest changing the c test program to look like this: #include gmodule.h int main() { GModule *mod; mod = g_module_open(/lib64/libncurses.so.5.4, G_MODULE_BIND_LAZY); if (mod == NULL) printf(error: %s\n, g_module_error ()); else printf(ok: %p\n, mod); return 0; } now the output: [EMAIL PROTECTED] src $ ./a.out ok: 0x5022e0 Once I got put onto the whole gmodule thing by Peter I thought well why not try reinstalling gmodule? After rebuilding/installing gmodule the Curses example now works! Yay ;) All I can think is it was something to do with glib not liking being compiled with gcc 3.4.3, as this time I rebuilt it using gcc 3.3.4 and all is good. However now that I am (reasonably) sure that P/Invoke is working correctly I still can't use my target library libopencv.so. When trying to load it I get the following errors: Mono-INFO: DllImport loading: 'libopencv'. Mono-INFO: DllImport error loading library '/usr/local/lib/libopencv.so: undefined symbol: __gxx_personality_v0'. (CvImage.exe:8000): Mono-WARNING **: DllImport unable to load library '/usr/local/lib/libopencv.so: undefined symbol: __gxx_personality_v0'. Unhandled Exception: System.DllNotFoundException: opencv Now, I am aware that this has something to do with libstdc++, and I definately have that installed, but I don't know what to try next. Any clues would be greatly appreciated. Cheers, James -- It's 5.50 a.m Do you know where your stack pointer is ? signature.asc Description: This is a digitally signed message part
Re: [Mono-list] P/Invoke on amd64
Hi all, Sorry to keep replying to myself ;) Yay!! I have it working. On Mon, 2005-02-14 at 21:55, James Fitzsimons wrote: However now that I am (reasonably) sure that P/Invoke is working correctly I still can't use my target library libopencv.so. When trying to load it I get the following errors: Mono-INFO: DllImport loading: 'libopencv'. Mono-INFO: DllImport error loading library '/usr/local/lib/libopencv.so: undefined symbol: __gxx_personality_v0'. (CvImage.exe:8000): Mono-WARNING **: DllImport unable to load library '/usr/local/lib/libopencv.so: undefined symbol: __gxx_personality_v0'. Unhandled Exception: System.DllNotFoundException: opencv Now, I am aware that this has something to do with libstdc++, and I definately have that installed, but I don't know what to try next. So this is what I did. Previously doing an ldd on libhighgui.so what giving me this: [EMAIL PROTECTED] src $ ldd /usr/local/lib/libhighgui.so libXm.so.3 = //usr/lib/libXm.so.3 (0x002a95675000) libMrm.so.3 = //usr/lib/libMrm.so.3 (0x002a95a0a000) libUil.so.3 = //usr/lib/libUil.so.3 (0x002a95b2e000) libpng.so.3 = //usr/lib/libpng.so.3 (0x002a95cb5000) libjpeg.so.62 = //usr/lib/libjpeg.so.62 (0x002a95deb000) libz.so.1 = /lib/libz.so.1 (0x002a95f33000) libtiff.so.3 = //usr/lib/libtiff.so.3 (0x002a96046000) libavcodec.so = //usr/lib/libavcodec.so (0x002a9619a000) libm.so.6 = /lib/libm.so.6 (0x002a966f8000) libc.so.6 = /lib/libc.so.6 (0x002a9687e000) libXmu.so.6 = /usr/lib/libXmu.so.6 (0x002a96aa5000) libXt.so.6 = /usr/lib/libXt.so.6 (0x002a96bbd000) libSM.so.6 = /usr/lib/libSM.so.6 (0x002a96d2) libICE.so.6 = /usr/lib/libICE.so.6 (0x002a96e2b000) libXext.so.6 = /usr/lib/libXext.so.6 (0x002a96f46000) libXp.so.6 = /usr/lib/libXp.so.6 (0x002a97057000) libX11.so.6 = /usr/lib/libX11.so.6 (0x002a97161000) libstdc++.so.5 = /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x002a97342000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x002a9753a000) libdl.so.2 = /lib/libdl.so.2 (0x002a97645000) libmp3lame.so.0 = /usr/lib/libmp3lame.so.0 (0x002a97748000) libvorbis.so.0 = /usr/lib/libvorbis.so.0 (0x002a978de000) libvorbisenc.so.2 = /usr/lib/libvorbisenc.so.2 (0x002a97a09000) libpthread.so.0 = /lib/libpthread.so.0 (0x002a97ce7000) /lib64/ld-linux-x86-64.so.2 (0x00552000) libogg.so.0 = /usr/lib/libogg.so.0 (0x002a97e7d000) You'll notice there is no reference to libopencv in there. So I hacked the Make file and added libopencv to the linker step. Now doing ldd /usr/local/lib/libhihgui.so: [EMAIL PROTECTED] src $ ldd /usr/local/lib/libhighgui.so libXm.so.3 = //usr/lib/libXm.so.3 (0x002a95675000) libMrm.so.3 = //usr/lib/libMrm.so.3 (0x002a95a0a000) libUil.so.3 = //usr/lib/libUil.so.3 (0x002a95b2e000) libpng.so.3 = //usr/lib/libpng.so.3 (0x002a95cb5000) libjpeg.so.62 = //usr/lib/libjpeg.so.62 (0x002a95deb000) libz.so.1 = /lib/libz.so.1 (0x002a95f33000) libtiff.so.3 = //usr/lib/libtiff.so.3 (0x002a96046000) libavcodec.so = //usr/lib/libavcodec.so (0x002a9619a000) libopencv-0.9.so.5 = /usr/local/lib/libopencv-0.9.so.5 (0x002a9646d000) libm.so.6 = /lib/libm.so.6 (0x002a966f8000) libc.so.6 = /lib/libc.so.6 (0x002a9687e000) libXmu.so.6 = /usr/lib/libXmu.so.6 (0x002a96aa5000) libXt.so.6 = /usr/lib/libXt.so.6 (0x002a96bbd000) libSM.so.6 = /usr/lib/libSM.so.6 (0x002a96d2) libICE.so.6 = /usr/lib/libICE.so.6 (0x002a96e2b000) libXext.so.6 = /usr/lib/libXext.so.6 (0x002a96f46000) libXp.so.6 = /usr/lib/libXp.so.6 (0x002a97057000) libX11.so.6 = /usr/lib/libX11.so.6 (0x002a97161000) libstdc++.so.5 = /usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.3.4/libstdc++.so.5 (0x002a97342000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x002a9753a000) libdl.so.2 = /lib/libdl.so.2 (0x002a97645000) libmp3lame.so.0 = /usr/lib/libmp3lame.so.0 (0x002a97748000) libvorbis.so.0 = /usr/lib/libvorbis.so.0 (0x002a978de000) libvorbisenc.so.2 = /usr/lib/libvorbisenc.so.2 (0x002a97a09000) libpthread.so.0 = /lib/libpthread.so.0 (0x002a97ce7000) /lib64/ld-linux-x86-64.so.2 (0x00552000) libogg.so.0 = /usr/lib/libogg.so.0 (0x002a97e7d000) Hurrah. Ok, that's part of the problem fixed. The real issue was with libopencv missing a reference to libstdc++. But libhighgui has a reference to it... so now I made a very subtle change to my program. public static void Main(string[] args) { Console.WriteLine(CvImage test application);
Re: [Mono-list] mono and systray icon
Marek Habersack wrote: http://freedesktop.org/wiki/Standards_2fsystemtray_2dspec Check this spec out. I didn't look at the muine sources, but I bet it is using the f.d.o protocol. sorry, looked into it further (wxTaskBarIcon)... http://www.wxwidgets.org/manuals/2.5.3/wx_wxtaskbaricon.html looking at the status page for wx.Net http://wxnet.sourceforge.net/status.html it doesn't look like it is implimented yet... though I am sure you could add a wrapper to it for the wx.Net project. :) -- Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email) ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] '$' in __dopostback script
Last week, i've talked about compatibility problems in __dopostback script. In fact ms.net call __dopostback script with '$' in the name of the component, mono call call __dopostback script with ':' Here's the patch that fix this problem, so you can now call __dopostback with '$' or ':', it doesn't matter anymore... Hubert FONGARNAND ___ Ce message et les éventuels documents joints peuvent contenir des informations confidentielles. Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite. Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu. Index: class/System.Web/System.Web.UI/ChangeLog === --- class/System.Web/System.Web.UI/ChangeLog (revision 40487) +++ class/System.Web/System.Web.UI/ChangeLog (working copy) @@ -1,3 +1,8 @@ +2005-02-14 Hubert Fongarnand [EMAIL PROTECTED] + + * Page.cs: __do_postback script now support names with '$' instead of + ':' + 2005-02-10 Lluis Sanchez Gual [EMAIL PROTECTED] * Page.cs: Added support for validation groups. Some fixes in Index: class/System.Web/System.Web.UI/Page.cs === --- class/System.Web/System.Web.UI/Page.cs (revision 40487) +++ class/System.Web/System.Web.UI/Page.cs (working copy) @@ -666,7 +666,7 @@ writer.WriteLine (\tvar theForm = document.getElementById ('{0}');, formUniqueID); writer.WriteLine (\tfunction __doPostBack(eventTarget, eventArgument) {); - writer.WriteLine (\t\ttheForm.{0}.value = eventTarget;, postEventSourceID); + writer.WriteLine (\t\ttheForm.{0}.value = eventTarget.replace('$',':');, postEventSourceID); writer.WriteLine (\t\ttheForm.{0}.value = eventArgument;, postEventArgumentID); writer.WriteLine (\t\ttheForm.submit();); writer.WriteLine (\t});