Re: [Mono-list] poor mysql performance under debian testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gonzalo Paniagua Javier dijo: El lun, 17-05-2004 a las 08:09, DI Mag. Rainer Burgstaller escribió: Hi Sergio The code that comes with Mono is very very slow, but you can download the lastest bytefx code from http://sourceforge.net/projects/mysqlnet/; and you will see it is very fast. I cannot really understand why mono still bundles this old version (even though beta1 has just arrived when I tried it so I thought mysqlnet would be up to date aswell). Because the maintainer didn't update the sources in mon CVS. And who is the maintainer? ByteFX? Sergio. - -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org Socio #3274 de HispaLinuxhttp://www.hispalinux.es Socio de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAqSF9fGXf5g7Sz50RAvcaAJ9K+GUousvmzhxKsbI0OWD2784lwwCeIDg+ /q4zBdNPB8FBt2QUxXFPidg= =Omhq -END PGP SIGNATURE- ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] poor mysql performance under debian testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer Burgstaller dijo: Hello I have an extremely weird problem. I have 2 linux installations on my machine. One is debian woody (upgraded to testing) and the other is suse linux 9. Somehow it seems that under debian the mysql performance is 10x slower than on suse (where it runs just fine). I did a lot of investigation already but it seems that a) the normal mono performance on debian is fine (see benchmark program below). Its even a bit better than on suse b) the general mysql performance (without mono) seems to be equally good (tested with a simple perl DBI script) c) as soon as the bytefx driver is used debian is 10x slower than suse The code that comes with Mono is very very slow, but you can download the lastest bytefx code from http://sourceforge.net/projects/mysqlnet/; and you will see it is very fast. I don't know why there is this problem with mono, the mono code of bytefx is not up to date? What I don't understand is why you have this problem depending on the distribution, maybe in SuSE you have the lastest bytefx code installed already? Sergio. - -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org Socio #3274 de HispaLinuxhttp://www.hispalinux.es Socio de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFApKFrfGXf5g7Sz50RAq3eAJ92PlS1bfPftsuiX9nPeTmkUu480gCeIw5q y6sbd0pdiBq32fzNZn5b8us= =1jZT -END PGP SIGNATURE- ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] IDE for mono/linux
El sáb, 21-02-2004 a las 14:55, Patrik Olterman escribió: If anyone is interested I have an IDE that is working ok called eZsharp its a simple editor with syntax highlighting and a compile and run fuction it can be downloaded with It doesn't work for me (I have installed the gtksourceview version of your svn): - ./eZsharp.exe ** (unknown:13301): WARNING **: Missing method Init in assembly ./eZsharp.exe typeref index 5 The application failed because: System.NullReferenceException: A null value was found where an object instance was required in (unmanaged) eZsharp.Hilite:.ctor () in 0x0002b eZsharp.App:Main (string[]) Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required in 0x00119 eZsharp.App:Main (string[]) - And I cannot compile (maybe the compilation needs something else): - mcs ezsharp.cs -r:System.Drawing -r:gdk-sharp -r:gtk-sharp -r:gtk-sharp -r:gtksourceview-sharp ezsharp.cs(86) error CS0103: The name `GtkSourceView.Init' could not be found in `eZsharp.Hilite' Compilation failed: 1 error(s), 0 warnings - Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] IDE for mono/linux
El sáb, 21-02-2004 a las 14:55, Patrik Olterman escribió: If anyone is interested I have an IDE that is working ok called eZsharp its a simple editor with syntax highlighting and a compile and run fuction it can be downloaded with It doesn't work for me (I have installed the gtksourceview version of your svn): - ./eZsharp.exe ** (unknown:13301): WARNING **: Missing method Init in assembly ./eZsharp.exe typeref index 5 The application failed because: System.NullReferenceException: A null value was found where an object instance was required in (unmanaged) eZsharp.Hilite:.ctor () in 0x0002b eZsharp.App:Main (string[]) Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required in 0x00119 eZsharp.App:Main (string[]) - And I cannot compile (maybe the compilation needs something else): - mcs ezsharp.cs -r:System.Drawing -r:gdk-sharp -r:gtk-sharp -r:gtk-sharp -r:gtksourceview-sharp ezsharp.cs(86) error CS0103: The name `GtkSourceView.Init' could not be found in `eZsharp.Hilite' Compilation failed: 1 error(s), 0 warnings - Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] Little question ...
El sáb, 07-02-2004 a las 17:21, Miguel de Icaza escribió: Hey, Only one little question: What are the main differences between using event keyword or not when creating delegates? Example: delegate void ProbeDelegate (string msg); ProbeDelegate d1; event ProbeDelegate d2; events can notify more than one function, a delegate only points to a single method. So you can have multiple listeners. But, only using delegates you can do: DelegadoOperacion multiD; multiD = new DelegadoOperacion(s.suma); multiD += new DelegadoOperacion(s.resta); And then call multiD which will call more than one method. So what is the real difference with events ?? Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] New dasBlog port version problem (XSP problem?)
I have just updated mono, mcs and xsp from CVS and I have tried the new Jackson's dasBlog port. It seems as if cookies were not running well :? After the admin identification dasBlog (or XSP) forgets me and say that I'm not authenticated. Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
RE: [Mono-list] DasBlog
El mar, 03-02-2004 a las 15:30, Urs Muff escribió: On that note: it would be interesting to see: - Why did you have to patch it? - What are the typical mistakes? - What are the patterns for 'porting'/'patching'? The first thing I have seen is that DasBlog port has a pre-compiled xml-rpc.net version: CookComputing.XmlRpc.NoSN.dll Maybe this is a limitation, I have downloaded the original xml-rpc.net from: http://www.xml-rpc.net/ But no way to compile it easily. Anybody has succeed in this? I have also tryed to use DasBlog port with gaim-blogger (using Blogger API) with no success :-( Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] DasBlog
I have tested DasBlog port and it is fantastic, but I have a question: the original DasBlog team will support the patches to make it compatible with Mono or this DasBlog port is just for testing? Thanks in advance. Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
RE: [Mono-list] DasBlog
El mar, 03-02-2004 a las 19:21, Jackson Harper escribió: I am working on getting the latest dasBlog source running on Mono, I think that will fix this problem. So... there is no communication with the original dasBlog team? If for every new version of dasBlog somebody must do a port implies a lot of work! :-( Anyway, congratulations and thanks for the port, Jackson :-) When the new version gets ready inform us, please. Sergio. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] DasBlog
El mar, 03-02-2004 a las 20:16, Jordi Mas escribió: Ravindra, Sanjay and myself are working on System.Drawing. DasBlog uses basically some basic drawing primitives and bitmaps. There is a couple of places where they include System.Drawing but really only the classes MailToWeblog and DrawingHelpers same to use it. I don't understand that, why DasBlog uses System.Drawing?? What relationship exists between Sytem.Drawing and a web application like DasBlog? -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] XSP codebehind1.aspx sample error
There is a little error in the XSP codebehind1.aspx sample, it contains: %@ Page language=c# Inherits=MonoTest.Test% And I think it should be: %@ Page language=c# Inherits=MonoTest.Test Src=codebehind1.cs % -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] Converting float to string for a MySQL db and internationalisation
El sáb, 27-12-2003 a las 08:59, [EMAIL PROTECTED] escribió: On Fri, Dec 26, 2003 at 08:48:48PM +0100, Sergio Blanco Cuaresma wrote: I have a little problem and I don't know how to solve it in an elegant way, due to internationalisation (my locales are [EMAIL PROTECTED]) when I convert from a float type to string the decimal separator is ,, thats fantastic but I'm trying to insert that value in a MySQL database, and it seems to need . as decimal separator: string sql = INSERT INTO indexed VALUES (' + (fileInfo.Length).ToString(#.##) + ');; How would you solve this little problem? Is there any more elegant way of inserting data in a MySQL database? I'm using ByteFX.Data. You can change DecimalSeparator to .: using System.Globalization; ... NumberFormatInfo.CurrentInfo.NumberDecimalSeparator = .; It seems to be read only: Excepcion: The current instance is read-only and a set operation was attempted -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] Converting float to string for a MySQL db and internationalisation
I have a little problem and I don't know how to solve it in an elegant way, due to internationalisation (my locales are [EMAIL PROTECTED]) when I convert from a float type to string the decimal separator is ,, thats fantastic but I'm trying to insert that value in a MySQL database, and it seems to need . as decimal separator: string sql = INSERT INTO indexed VALUES (' + (fileInfo.Length).ToString(#.##) + ');; How would you solve this little problem? Is there any more elegant way of inserting data in a MySQL database? I'm using ByteFX.Data. Thanks ;-) -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] Documents about mono
I have uploaded a little study I did about mono and the slides of the conference I did at my University. Both documents are in Spanish but maybe can be useful for someone: http://www.marblestation.com/publicaciones/ Any bug report is welcome ;-) -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] What is Rotor?
Can somebody explain me what is Rotor? License? URL? Thanks! -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] What is Rotor?
El dom, 09-11-2003 a las 20:40, Tobias DiPasquale escribió: On Sun, 2003-11-09 at 14:21, Sergio Blanco Cuaresma wrote: Can somebody explain me what is Rotor? License? URL? Rotor is a Microsoft product, released under their Shared-Source license (which basically allows you to do nothing with the code aside from look at it). I see... but now what I don't understand is this: Rotor (.NET academic release) mostly ported to linux http://lists.free.net.ph/pipermail/compsci/2002-June/000493.html http://msdn.microsoft.com/net/sscli/ Thanks for the information! Although with that conditions I prefer not to see the code :-S -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] What is Rotor?
El dom, 09-11-2003 a las 21:28, Sergio Blanco Cuaresma escribió: El dom, 09-11-2003 a las 20:40, Tobias DiPasquale escribió: On Sun, 2003-11-09 at 14:21, Sergio Blanco Cuaresma wrote: Can somebody explain me what is Rotor? License? URL? Rotor is a Microsoft product, released under their Shared-Source license (which basically allows you to do nothing with the code aside from look at it). I see... but now what I don't understand is this: Rotor (.NET academic release) mostly ported to linux http://lists.free.net.ph/pipermail/compsci/2002-June/000493.html I answer myself: http://www.ondotnet.com/pub/a/dotnet/2002/03/04/rotor.html The code from MS is not modified, it is just the layer that communicates rotor with the O.S. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] Mono Conference at Rovira i Virgili University (Tarragona)
I'm from a spanish LUG called GPL URV (http://www.gplurv.org) and I'm going to do a Mono conference at Rovira i Virgili University, Tarragona (Spain), does anyone have any advice for me? ;-) More info (in Catalan): http://deim.etse.urv.es/deiminaris/veure.php?did=44x=49y=10 -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] General .NET question: curses style libraries?
El lun, 13-10-2003 a las 15:03, Chris Seaton escribió: Are there any curses style libraries for .NET? Or bindings to the curses and ncurses libraries themselves? Maybe this could help you: http://www.southern-storm.com.au/portable_net.html pnetcurses-0.0.2.tar.gz - Curses binding http://www.southern-storm.com.au/download/pnetcurses-0.0.2.tar.gz -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] Mono early history.
El lun, 13-10-2003 a las 18:48, Miguel de Icaza escribió: Rhys contacted me about this time, he had been reverse engineering the file format and had some early code to load the files. It was an interesting effort, and there was some early cooperation between a group of three people: Rhys, Saurik and myself. I have information about Rhys Weatherley, but who is Saurik? Jay Freeman? Is he a Ximian Worker? About this time Sam Ruby was pushing at the ECMA committee to get the binary file format published, something that was not part of the original agenda. I do not know how things developed, but by April 2001 ECMA had published the file format. Is Sam Ruby a ECMA committee worker? The Labsl team effort's eventually resulted in work in Bonobo-conf, ORBit2, bonobo-activation, Soup, and the Perl/Gtk bindings. The intention was to build tools to improve our productivity: create more applications in less time, bring more abstractions and standards to the desktop and reduce our time and cost of development. The Labs1 team? A group of Ximian programmers? We remained quiet, as we moved the teams over from their existing projects to the Mono effort, they were winding down on their existing projects, and only a couple remained behind: Alex Graveley (building Soup) and Michael Meeks (working on Bonobo and ORBit). The rest, Dietmar, Paolo, Dick and myself started work on Mono. All these people were part of the Labs1 team? Ravi will join us later to assist in the C# compiler development. A new Ximian worker, isn't it? I'm sorry for my ignorance and my curiosity, but I think that it's an important and interesting story and I would like to know the details. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] [off-topic] What editor do you use?
Hello! While I was speaking with a friend about Mono, he asked me what editor is commonly used by mono developers and I didn't know what to answer, I just said that I use jEdit. So, I would like to know which is your favourite editor for programming with Mono, specially on Linux. Thanks! -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] Configuring apache to run mod_mono
El dom, 14-09-2003 a las 13:20, Gonzalo Paniagua Javier escribió: There was a bug in the documentation (INSTALL.txt) regarding the directive name. For mod_mono_unix, something like: Listen 8080 LoadModule mono_unix_module /home/gpanjav/httpd/modules/mod_mono_unix.so MonoApplicationUnix /mono /tmp/mod_mono_server works. That's perfect, thanks! But with the current CVS version of mod_mono the correct configuration is: Listen 8080 LoadModule mono_unix_module /home/gpanjav/httpd/modules/mod_mono_unix.so MonoApplicationUnix /tmp/mod_mono_server Without the alias /mono, now this is controlled directly by mod_mono_server.exe, so you can specify virtual directories with: mono mod-mono-server.exe --applications /virtual:/real/path More info with mono mod-mono-server.exe --help -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] How to build a monodoc provider?
How can you build a monodoc provider? I understand that the process must start using updater.exe to generate the .xml files, then with assembler.exe build the .zip and .tree and copy those files to /usr/local/lib/monodoc. But what else is necessary in order to see this info from monodoc (GTK# or web version) ??? -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] How to build a monodoc provider?
El dom, 14-09-2003 a las 20:48, Miguel de Icaza escribió: Hello, How can you build a monodoc provider? I understand that the process must start using updater.exe to generate the .xml files, then with assembler.exe build the .zip and .tree and copy those files to /usr/local/lib/monodoc. But what else is necessary in order to see this info from monodoc (GTK# or web version) ??? You could read the monodoc/browser/NOTES file and see the sample `simple-provider.cs' that is meant to be a tutorial on writing providers. Thank you, I was confused and these NOTES make me realice that I was using the concepts wrongly. Now I understand that a monodoc provider is used to access other help file's format. I'm more interested in how to create documentation that could be accessed with the ecma provider, so I can generate XML files containing the skeleton of a library with updater.exe and then build the *.tree and *.zip with assembler.exe. I've been successful in such task, and also I found an interesting web in the google's cache: http://216.239.51.104/search?q=cache:QWESmKRW0SoJ:www.go-mono.com/monodoc-xml.html+monodoc+schema+xmlhl=esie=UTF-8 It describes the possibilities of the XML format used by monodoc, but this page doesn't exist in go-mono.com. Has it been moved? Anybody knows where is it? -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
Re: [Mono-list] Configuring apache to run mod_mono
El mar, 19-08-2003 a las 10:15, Øyvind Hvamstad escribió: On Tue, 2003-08-19 at 03:43, Gonzalo Paniagua Javier wrote: Hi, When starting apache with mod_mono I get: Can't locate API module structure `mono_module' in file /usr/local/lib/libmod_mono.so: /usr/sbin/apache: undefined symbol: mono_module This is apache 1.3, i guess. You're not the first one running into this trouble. I'll take a look at this issue ASAP. Thanks for reporting. Well, yes. Though I get the same with apache2. I have a similar problem with apache2: sol mod_mono # /etc/init.d/apache2 start * Starting apache2... Syntax error on line 192 of /etc/apache2/conf/apache2.conf: Can't locate API module structure `mono_module' in file /usr/local/lib/libmod_mono_unix.so: /usr/lib/libapr-0.so.0: undefined symbol: mono_module [ !! ] Is there any solution? Thanks. -- [aka Marble] Web Personalhttp://www.marblestation.com Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dhkp://pgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] Remoting and web services
Hello, I don't have very clear the relationship between this 2 concepts: Remoting and Web Services. Is Remoting a kind of Web Service? Are they different things? What are the differences? What are the advantages of using one or another? Thanks! -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
[Mono-list] Microsoft Mutex example doesn't work
I've tested an example from: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmutex.asp And it doesn't work correctly with Mono. It uses 2 mutex no control 4 threads, lets see each one: t1Start: Waits to finish until all mutex are released t2Start: Waits until mutex 1 is released t3Start: Waits until any mutex is released (1 or 2) t4Start: Waits until mutex 2 is released The program launch the 4 threads and Release mutex 1 and then mutex 2. The output of the program shows: MutexSample.cs ... - Main Owns gM1 and gM2 t1Start started, Mutex.WaitAll(Mutex[]) t2Start started, gM1.WaitOne( ) t3Start started, Mutex.WaitAny(Mutex[]) t4Start started, gM2.WaitOne( ) - Main releases gM1 t2Start finished, gM1.WaitOne( ) - Main releases gM2 t4Start finished, gM2.WaitOne( ) And the program doesn't finish. As we can see only the threads t2 and t4 have finished, so the calls WaitAll and WaitAny of thread t1 and t3 don't work properly. The code is attached. Is it a bug? -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org using System; using System.Threading; public class MutexSample{ static MutexgM1; static MutexgM2; const int ITERS = 100; static AutoResetEvent Event1 = new AutoResetEvent(false); static AutoResetEvent Event2 = new AutoResetEvent(false); static AutoResetEvent Event3 = new AutoResetEvent(false); static AutoResetEvent Event4 = new AutoResetEvent(false); public static void Main(String[] args){ Console.WriteLine(MutexSample.cs ...); gM1 = new Mutex(true,MyMutex); // Create Mutext initialOwned, with name of MyMutex. gM2 = new Mutex(true); // Create Mutext initialOwned, with no name. Console.WriteLine( - Main Owns gM1 and gM2); AutoResetEvent[]evs = new AutoResetEvent[4]; evs[0] = Event1; // Event for t1. evs[1] = Event2; // Event for t2. evs[2] = Event3; // Event for t3. evs[3] = Event4; // Event for t4. MutexSample tm = new MutexSample( ); Thread t1 = new Thread(new ThreadStart(tm.t1Start)); Thread t2 = new Thread(new ThreadStart(tm.t2Start)); Thread t3 = new Thread(new ThreadStart(tm.t3Start)); Thread t4 = new Thread(new ThreadStart(tm.t4Start)); t1.Start(); // Calls Mutex.WaitAll(Mutex[] of gM1 and gM2). t2.Start(); // Calls Mutex.WaitOne(Mutex gM1). t3.Start(); // Calls Mutex.WaitAny(Mutex[] of gM1 and gM2). t4.Start(); // Calls Mutex.WaitOne(Mutex gM2). Thread.Sleep(2000); Console.WriteLine( - Main releases gM1); gM1.ReleaseMutex( ); // t2 and t3 will end and signal. Thread.Sleep(1000); Console.WriteLine( - Main releases gM2); gM2.ReleaseMutex( ); // t1 and t4 will end and signal. WaitHandle.WaitAll(evs); // Waiting until all four threads signal that they are done. Console.WriteLine(... MutexSample.cs); } public void t1Start(){ Console.WriteLine(t1Start started, Mutex.WaitAll(Mutex[])); Mutex[] gMs = new Mutex[2]; gMs[0] = gM1; // Create and load an array of Mutex objects for WaitAll call. gMs[1] = gM2; Mutex.WaitAll(gMs); // Waits until both Mutex objects are released. Thread.Sleep(2000); Console.WriteLine(t1Start finished, Mutex.WaitAll(Mutex[])); Event1.Set( ); // AutoResetEvent.Set( ) flagging method is done. } public void t2Start(){ Console.WriteLine(t2Start started, gM1.WaitOne( )); gM1.WaitOne( ); // Waits until Mutex gM1 is released. Console.WriteLine(t2Start finished, gM1.WaitOne( )); Event2.Set( ); // AutoResetEvent.Set( ) flagging method is done. } public void t3Start(){ Console.WriteLine(t3Start started, Mutex.WaitAny(Mutex[])); Mutex[] gMs = new Mutex[2]; gMs[0] = gM1; // Create and load an array of Mutex objects for WaitAny call. gMs[1] = gM2; Mutex.WaitAny(gMs); // Waits until either Mutex object is released. Console.WriteLine(t3Start finished, Mutex.WaitAny(Mutex[])); Event3.Set( ); // AutoResetEvent.Set( ) flagging method is done. } public void t4Start(){ Console.WriteLine(t4Start started, gM2.WaitOne( )); gM2.WaitOne( ); // Waits until Mutex gM2 is released. Console.WriteLine(t4Start finished, gM2.WaitOne( )); Event4.Set( ); // AutoResetEvent.Set( ) flagging method
[Mono-list] ThreadPool, why?
Hello! I don't understand the benefits of using a ThreadPool instead of launching simple Threads, I have read in several articles that its just more efficient, but I don't know why? What are the advantages of using ThreadPools ? Thanks! -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
[Mono-list] DataSets + MySQL
Hi, Does somebody have some example showing how to connect to a MySQL using DataSets ? Is it currently supported by mono? Thanks! -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
RE: [Mono-list] DataSets + MySQL
El lun, 25-08-2003 a las 03:17, Reggie Burnett escribió: If you are using the ByteFX provider, the following code will update (check for compile errors) from a dataset. This will work on .NET but I have not run code like this on Mono but it should work (or be very close anyway). The code you gave me didn't compile in mono but it helps me a lot, with some little modifications I get it to work: string connectionString = Server=localhost; + Database=monotest; + User ID=mono; + Password=X;; MySQLConnection conn = new MySQLConnection(connectionString); MySQLDataAdapter da = new MySQLDataAdapter(select * from personas, conn); DataSet ds = new DataSet(); da.Fill(ds, personas); //ds.Tables[0].Rows[0][firstname] = Sergio2; ds.Tables[personas].Rows[0][firstname] = Sergio2; ds.Tables[0].Rows[2].Delete(); Console.WriteLine({0}, ds.Tables[0].Rows[0][firstname]); // now perform the update MySQLCommandBuilder cb = new MySQLCommandBuilder(da); da.Update(ds, personas); Thanks Reggie! Now I have a base from where I can learn :-) -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
[Mono-list] Bug adding a new row with DataSets ?
I have attached some code that fails, it does a consult to a MySQL using DataSets and adds a new Row to that DataSet. It fails when it tries to update the Data Base: $ mcs -r:System.Data -r:ByteFX.Data mysql-dataset-bug.cs Compilation succeeded $ mono mysql-dataset-bug.exe Unhandled Exception: ByteFX.Data.MySQLClient.MySQLException: A system exception has occurred. in 0x0012b 00 ByteFX.Data.MySQLClient.MySQLParameterCollection:IndexOf (string) in 0x00058 08 ByteFX.Data.MySQLClient.MySQLParameterCollection:IndexOf (string) in 0x0001f 00 ByteFX.Data.MySQLClient.MySQLParameterCollection:get_Item (string) in 0x00058 08 ByteFX.Data.MySQLClient.MySQLParameterCollection:get_Item (string) in 0x002aa 00 ByteFX.Data.MySQLClient.MySQLCommand:ConvertSQLToBytes (string) in 0x00058 08 ByteFX.Data.MySQLClient.MySQLCommand:ConvertSQLToBytes (string) in 0x0008c 00 ByteFX.Data.MySQLClient.MySQLCommand:ExecuteNonQuery () in 0x004bd 00 System.Data.Common.DbDataAdapter:Update (System.Data.DataRow[],System.Data.Common.DataTableMapping) in 0x00076 00 System.Data.Common.DbDataAdapter:Update (System.Data.DataTable,System.Data.Common.DataTableMapping) in 0x0006b 08 System.Data.Common.DbDataAdapter:Update (System.Data.DataTable,System.Data.Common.DataTableMapping) in 0x000d9 00 System.Data.Common.DbDataAdapter:Update (System.Data.DataSet,string) in 0x0006b 08 System.Data.Common.DbDataAdapter:Update (System.Data.DataSet,string) in 0x00183 00 .Test:Main (string[]) I'm doing something wrong or it is a bug? I've been searching throw the code of mcs but I'm lost :S I don't know where could be the error. Any ideas? Should I report it to bugzilla ? Thanks! -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
Re: [Mono-list] Bug adding a new row with DataSets ?
El lun, 25-08-2003 a las 20:01, Sergio Blanco Cuaresma escribió: I have attached some code that fails, it does a consult to a MySQL using DataSets and adds a new Row to that DataSet. It fails when it tries to update the Data Base: Ups! I forgot the attach! Sorry! -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org using System; using System.Data; using ByteFX.Data.MySQLClient; public class Test { public static void Main(string[] args) { string connectionString = Server=localhost; + Database=monotest; + User ID=mono; + Password=X;; /* personas is a table with 2 string columns: firstname, lastname*/ MySQLConnection conn = new MySQLConnection(connectionString); MySQLDataAdapter da = new MySQLDataAdapter(select * from personas, conn); DataSet ds = new DataSet(); da.Fill(ds, personas); DataTable dt = ds.Tables[personas]; //CREATE A NEW ROW DataRow nuevaFila = dt.NewRow(); nuevaFila[firstname] = Pepe; nuevaFila[lastname] = Salvador; dt.Rows.Add(nuevaFila); // now perform the update MySQLCommandBuilder cb = new MySQLCommandBuilder(da); da.Update(ds, personas); } } signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
Re: [Mono-list] Winforms progress and goals.
El lun, 25-08-2003 a las 19:36, Miguel de Icaza escribió: We want to push for a particular milestone: running WebMatrix out of the box on Linux and MacOS with Mono. This is a fairly large Winforms application that excercises plenty of areas in Winforms and the runtime. I know it requires a lot of work so sorry for my suggestion with no real help, but it would be nice to also run SharpDevelop ;-) -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmadadigitalmente
Re: [Mono-list] Mono - SWF/Wine/OpenLib
El mar, 08 de 07 de 2003 a las 20:58, Timothy Parez escribió: Hi, I'm using Red Hat 9. I have Mono and I have Wine (working correctly). I followed the instructions for the Wine OpenLib patches and it installed. Now when I run an application wich uses SWF I get: ... a lot of output. ** (string2bytes.exe:6002): WARNING **: Failed to load library /libuser32.dll.so (user32.dll): ./libuser32.dll.so: cannot open shared object file: Onbekend bestand of map [...] What am I doing wrong ? Btw, this is a simple SWF application with 2 textboxes and a button. Before executing the application try to do that: export SWF=1 win32server And then execute. Have you done this steps before? Can you share your code to test it in my system? :-) -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: PGP signature
RE: [Mono-list] building from CVS
El sáb, 05 de 07 de 2003 a las 13:14, Sergio Blanco Cuaresma escribió: I have the same problem with libgc and when I do what you have suggested: saturno /home/marbleman/downloads/mono/build/mono/libgc # ./autogen.sh --prefix=/home/marbleman/downloads/mono/build/mono/ Running aclocal ... Running automake --gnu ... Running autoconf ... aclocal.m4:661: error: m4_defn: undefined macro: _m4_divert_diversion libtool.m4:177: _LT_AC_CHECK_DLFCN is expanded from... aclocal.m4:661: the top level autom4te-2.57: /usr/bin/m4 failed with exit status: 1 **Error**: autoconf failed. Solved! The problem was in my version of libtool 1.4.1, I have installed 1.4.3 and this error disappeared! :-) So now I can compile mono from CVS. -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: PGP signature
RE: [Mono-list] building from CVS
El vie, 04 de 07 de 2003 a las 18:23, Gonzalo Paniagua Javier escribió: El vie, 04-07-2003 a las 17:54, Reggie Burnett escribió: I had copied in some of the error message. But here is more of it: Creating docs/Makefile Creating data/Makefile Creating mono.spec Creating config.h Configuring in libgc Running /bin/sh ./configure --enable-maintainer-mode --enable-compiler-warnings --prefix=/home/reggie/mymono/install --cache-file=.././config.cache --srcdir=. ./configure: ./configure: No such file or directory configure: error: ./configure failed for libgc Try running ./autogen.sh --prefix=/home/reggie/mymono/install in mono/libgc directory and then again run the script. I have the same problem with libgc and when I do what you have suggested: saturno /home/marbleman/downloads/mono/build/mono/libgc # ./autogen.sh --prefix=/home/marbleman/downloads/mono/build/mono/ Running aclocal ... Running automake --gnu ... Running autoconf ... aclocal.m4:661: error: m4_defn: undefined macro: _m4_divert_diversion libtool.m4:177: _LT_AC_CHECK_DLFCN is expanded from... aclocal.m4:661: the top level autom4te-2.57: /usr/bin/m4 failed with exit status: 1 **Error**: autoconf failed. Versions of my installed software on a Gentoo GNU/Linux: m4 1.4 autoconf 2.57 -- [aka Marble] Registered LiNUX user #140941http://counter.li.org/ Socio #3274 de HispaLinuxhttp://www.hispalinux.es Miembro de GPL URVhttp://www.gplurv.org GnuPG key: 0x0ED2CF9Dpgp.escomposlinux.org signature.asc Description: PGP signature