Re: [Mono-list] Re: On Mono and Patents ... again
I don't usually respond to aggresive mails, but I only wanted to say, that the failure of OS/2 was because of thousands of reasons, and I'm sure that having windows compatibility wasn't one of them for the most part. Educate yourself a little further: http://www.linuxandmain.com/features/os2retro.html And for the rest, I dare YOU to come up with a better platform than C# or Java, as you propose, so all of us can switch to it. I for one would be dying to switch. Don't forget to include something resembling ASP.NET, ADO.NET, Gtk#, System.Xml, and so on...Also, be aware of not getting into ANY software patent over there on the process, so I can rest in peace at night. Do yourself a favor and be nicer too, for a change. On 9/28/05, Michael Thomsen [EMAIL PROTECTED] wrote: Having just skim read his post, I think you have greatly malignedteenagers who dabble in software development...On 9/28/05, Peter Dennis Bartok [EMAIL PROTECTED] wrote: One thing I don't understand is where the heck all this hostility comes from. He could have started a simple argument/discussion about the Based on his language and posts from his address to other forums it seems he is just a teenager dabbling in php and java. I wouldn't take it too serious. p ___ Mono-list maillist- Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list___Mono-list maillist- Mono-list@lists.ximian.comhttp://lists.ximian.com/mailman/listinfo/mono-list -- There are a lot of us out there who both do and do not work for SunWow! Quantum programmers! ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Is MIDI implemented with Mono
Keep me informed about this. One friend in Argentina developed a music live cd distribution (the link isn't working now but it's www.musix.org.ar), and I'd be glad to help entering your app on the live CD if you can get the port done. Regards, PabloOn 8/30/05, Michael Geis [EMAIL PROTECTED] wrote:Hello everyone!I have written a MIDI framework based on ALSA and am currently looking into how much work it would be tomake it portable. An investigation of .NET MIDI coderevealed that System.IO andSystem.Runtime.InteropServices are required. Myimpression of Mono is that huge amounts of work are going into GUIs, but not all of the .NET classlibraries have been implemented yet. Is there a listof which class libraries have been written in Mono?Searching the Archives for MIDI didnt yield anyresults. Accordingly, I would look into porting my code to Monoor .NET.Thanks in advance,Michael GeisStart your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs___Mono-list maillist-Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list-- There are a lot of us out there who both do and do not work for Sun Wow! Quantum programmers! ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono Solaris
Esta persona dijo haber creado paquetes para Solaris de Mono, espero que te sirva: From: Jonel Rienton jonel at road14 dot comTo: mono-list@lists.ximian.comDate: Mar 10, 2005 4:07 PMSubject: [Mono-list] Solaris 10 x86 Mono 1.1.4 package I have created my first package for Solaris 10 x86 for Mono 1.1.4. If you guys interested, you can get it at: x86: http://road14.com/~nelski/mono-1.1.4-SunOS5.10-i386-CSW.pkg.gz i have also created a sparc-5.8 build but it's still in testing, just email me off the list if you like to test it on your test boxes. regards, - Jonel Rienton http://blogs.road14.com Software Developer, *nix AdvocateOn 4/27/05, MONROY RODRIGUEZ ELIZABETH [EMAIL PROTECTED] wrote: Buenos días Me podrían informar si existe instalador o fuentes para instalar Mono en un servidor Solaris, si existen donde las puedo conseguir (en la página de mono no aparece en download) Gracias espero su pronta respuesta. Atentamente, Elizabeth AVISO LEGAL: -- Las opiniones que contenga este mensaje son exclusivas de su autor y no necesariamente representan la opinión oficial del Banco de la República o de sus autoridades. -- El receptor deberá verificar posibles virus informáticos que tenga el correo o cualquier anexo a él, razón por la cual el Banco de la República no aceptará responsabilidad alguna por daños causados por cualquier virus transmitido en este correo. -- La información contenida en este mensaje y en los archivos electrónicos adjuntos es confidencial y reservada, conforme a lo previsto en la Constitución y en la Ley del Banco de la República, y está dirigida exclusivamente a su destinatario, sin la intención de que sea revelada o divulgada a otras personas. El acceso al contenido de esta comunicación por cualquier otra persona diferente al destinatario no está autorizado por el Banco de la República y está sancionado de acuerdo con las normas legales aplicables. -- El que ilícitamente sustraiga, oculte, extravíe, destruya, intercepte, controle o impida esta comunicación, antes de que llegue a su destinatario, estará sujeto a las sanciones penales correspondientes. Igualmente, incurrirá en sanciones penales el que, en provecho propio o ajeno o con perjuicio de otro, divulgue o emplee la información contenida en esta comunicación. En particular, los servidores públicos que reciban este mensaje están obligados a asegurar y mantener la confidencialidad de la información en él contenida y, en general, a cumplir con los deberes de custodia, cuidado, manejo y demás previstos en el régimen disciplinario. -- Si por error recibe este mensaje, le solicitamos enviarlo de vuelta al Banco de la República a la dirección de correo electrónico que se lo envió y borrarlo de sus archivos electrónicos o destruirlo. LEGAL NOTICE: -- Any opinions contained in this message are exclusive of its author and not necessarily represent the official position of Banco de la República or of its authorities. -- The recipient must verify the presence of possible informatic viruses in the mail or in any annex thereto, and for this reason Banco de la República shall not be made liable for any damages caused by viruses transmitted hereby -- The information contained in this message and in any electronic files annexed thereto is confidential and privileged, as per the Colombian Constitution and the Law that governs Banco de la República, and is directed exclusively to its addressee, with no intention of it being disclosed or revealed to third parties. The access to the content of this communication by any person different from its addressee is not authorized by Banco de la República and shall be penalized in accordance with the applicable legal dispositions. -- Any person who illicitly removes, hides, distracts, destroys, intercepts, controls, or otherwise prevents this communication from arriving to its addressee, shall be subject to the appropriate criminal penalties. Likewise, criminal penalties shall be incurred by any who, either for his/her own benefit or on behalf of third parties, or with prejudice of a third party, discloses or employs the information contained in this communication. In particular, public servants that may receive this message shall be obliged to ensure and keep the confidentiality of the information contained therein and, in general, to comply with the duties of custody, care, handling and other provided under the disciplinary regime. -- If you should happen to receive this message by mistake, please send it back to Banco de la República to the same e-mail address and either delete it from your electronic files or destroy it.
[Mono-list] Mono open source accounting software
Hello everybody! This was just to announce that there is a project on sourceforge called mapuche , that has the intention to be a double entry accounting system for the web, and the ultimate goal of becoming an ERP system. I was doing it on .NET, but was running some parts of it on Mono for other internal developments at the company I was working on. THe thing is, I was doing it mostly because I wanted to exercise my .NET skills and to give something of value to some of the worker-taken factories at my country, product of the economic crisis. But, sadly I had to take care of my own needings, and just happened to find a PHP job that gave me a more decent pay. So, I just posted the latest snapshot on sourceforge, on http://sourceforge.net/projects/mapuche/ and http://sourceforge.net/projects/formscontrol/ and waited to have a little time to do a decent web page and some documentation, but that time never realized, so I'm making this lame announcement to see if anybody is interested in continue with the project, so it just doesn't die there. THe idea was to have powerful javascript-rich interfaces for a fast and dynamic user experience, without unnecessary page-reloads, and to have most of the business logic on the database itself. The code was planned to be reusable for any web projects, not only this particular one. If you want, just check out the code and write to me if you are interested. Sorry to be so vague about this, I'm really busy with life and work this days. Regards, Pablo Baena ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Problem with MySQL Data Provider (ByteFx)
This is a permission problem in your Mysql configuration. On Tuesday 29 June 2004 14:32, [EMAIL PROTECTED] wrote: Hi, I've just installed Mono Beta 3...but I've still problems: ## [EMAIL PROTECTED] mono]# mcs provaByteFX.cs -r System.Data.dll -r ByteFX.Data.dll Compilation succeeded [EMAIL PROTECTED] mono]# mono provaByteFX.exe Unhandled Exception: ByteFX.Data.MySqlClient.MySqlException: Host 'localhost.localdomain' is not allowed to connect to this MySQL server in 0x000d5 ByteFX.Data.MySqlClient.Driver:ReadPacket () in 0x00198 ByteFX.Data.MySqlClient.Driver:Open (ByteFX.Data.MySqlClient.MySqlConnectionString) in 0x0003c ByteFX.Data.MySqlClient.MySqlInternalConnection:Open () in 0x000ef ByteFX.Data.MySqlClient.MySqlPool:CreateNewPooledConnection () in 0x0021d ByteFX.Data.MySqlClient.MySqlPool:GetPooledConnection () in 0x00053 ByteFX.Data.MySqlClient.MySqlPool:GetConnection () in 0x00112 ByteFX.Data.MySqlClient.MySqlPoolManager:GetConnection (ByteFX.Data.MySqlClient.MySqlConnectionString) in 0x0007c ByteFX.Data.MySqlClient.MySqlConnection:Open () ## And with sqlsharp: SQL# \Provider MySql The default Provider is LOADEXTPROVIDER Assembly: Mono.Data.MySql Connection Class: Mono.Data.MySql.MySqlConnection SQL# \Provider MySqlNet The default Provider is LOADEXTPROVIDER Assembly: ByteFX.Data Connection Class: ByteFX.Data.MySQLClient.MySQLConnection SQL# \ConnectionString Server=localhost; Database=db1; UserID=root; Password=rootpwd; SQL# \Open Attempt to open connection... Loading external provider... Error: unable to load the assembly of the provider: ByteFX.Data : File 'ByteFX.Data' not found. Any ideas? thanks, Valentina. Scrive Artur Brodowski [EMAIL PROTECTED]: W li¶cie z pon, 28-06-2004, godz. 15:31, [EMAIL PROTECTED] pisze: I've mono 1 Beta with Fedora Core 2. I try to test a connection string with MySQL Data Provider (ByteFx), compilation is all right but running failed: Install latest Mono release (RC has some issues, try Beta 3) - ByteFX.Data.dll version shoul be 0.7.6.1. Earlier versions of the libary were broken due to namespace changes. artb. -- only so many songs can be sung with two lips two lungs and one tongue ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Patch: Please review and check
This is a quick hack I had to make to make my application back to life. It seems that something changed in String. Thanks! ? server/AssemblyInfo.cs ? server/AssemblyInfoModMono.cs ? server/Makefile ? server/Makefile.in Index: ChangeLog === RCS file: /mono/xsp/ChangeLog,v retrieving revision 1.50 diff -u -r1.50 ChangeLog --- ChangeLog 11 Jun 2004 06:30:43 - 1.50 +++ ChangeLog 11 Jun 2004 19:53:47 - @@ -1,3 +1,8 @@ +2004-06-11 Pablo Baena [EMAIL PROTECTED] + + * server/XSPApplicationHost.cs: fixed a little problem when comparing + paths that didn't let my applications run. + 2004-06-11 Gonzalo Paniagua Javier [EMAIL PROTECTED] * test/Makefile.am: added typedesc.* Index: server/XSPApplicationHost.cs === RCS file: /mono/xsp/server/XSPApplicationHost.cs,v retrieving revision 1.28 diff -u -r1.28 XSPApplicationHost.cs --- server/XSPApplicationHost.cs10 Jun 2004 14:44:17 - 1.28 +++ server/XSPApplicationHost.cs11 Jun 2004 19:53:48 - @@ -543,8 +543,11 @@ continue; } - if (path.StartsWith (v.vpath)) { - int matchLength = v.vpath.Length; + string delim = /; + string tmp_path = path.Trim(delim.ToCharArray()); + string tmp_vpath = v.vpath.Trim(delim.ToCharArray()); + if (tmp_path.StartsWith (tmp_vpath)) { + int matchLength = tmp_vpath.Length; if (matchLength bestMatchLength) { bestMatchLength = matchLength; bestMatch = v;
Re: [Mono-list] CVS compile errors :(
On Monday 03 May 2004 06:29, Paolo Molaro wrote: On 05/02/04 Pablo Baena wrote: Try automake1.7. Worked for me- On Friday 30 April 2004 23:29, Rodolfo Campero wrote: Running automake --gnu ... runtime/Makefile.am:9: invalid variable `dist_monobins_DATA' runtime/net_1_1/Makefile.am:81: invalid variable `dist_assemblies_DATA' We changes the makefiles back to be compatible with automake 1.4, too. The back compatibility doesn't seem to work with automake1.4 still: runtime/net_2_0/Makefile.am:74: warning: automake does not support conditional definition of gac_assemblies in EXTRA_DIST **Error**: automake failed. Pablo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] XSP curious installation
I just noticed that when installing from source, xsp does: /usr/bin/install -c -m 644 web_textbox.aspx /usr/local/share/doc/xsp/test/web_textbox.aspx but sends the bin/*dll stuff to /usr/bin/install -c tabcontrol.dll /usr/local/share/xsp/doc/test/bin/tabcontrol.dll If you pay attention, the dll look like is installing in the wrong place. Sorry I don't fill a bug report, I always forget the bugzilla password. :( ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] CVS compile errors :(
Try automake1.7. Worked for me- On Friday 30 April 2004 23:29, Rodolfo Campero wrote: I tried to update my installation to the lastest CVS, in order to see if I have the same problem that Andrew, but I'm stuck in an earlier step: $ ./autogen.sh --prefix=/usr/local Running libtoolize... Running aclocal ... Running autoheader... configure.in:681: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:781: warning: AC_TRY_RUN called without default to allow cross compiling Running automake --gnu ... runtime/Makefile.am:9: invalid variable `dist_monobins_DATA' runtime/net_1_1/Makefile.am:81: invalid variable `dist_assemblies_DATA' runtime/net_1_1/Makefile.am:73: invalid variable `dist_corlib_DATA' runtime/net_2_0/Makefile.am:81: invalid variable `dist_assemblies_DATA' runtime/net_2_0/Makefile.am:73: invalid variable `dist_corlib_DATA' **Error**: automake failed. I have a fresh Mandrake 10 CE install. $ pkg-config --version 0.15.0 $ automake --version automake (GNU automake) 1.4-p6 $ autoconf --version Autoconf version 2.13 Does anyone have a clue about this? Do I need a newer automake? Another question: do you know where can I found an rpm with gtkhtml3 for mdk10? TIA, Rodolfo From: Andrew Arnott [EMAIL PROTECTED] To: Rodolfo Campero [EMAIL PROTECTED],[EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [Mono-list] CVS compile errors :( Date: Fri, 30 Apr 2004 13:40:27 -0600 I tried downloading a MonoLite, then a MonoCharge, and finally the whole mono snapshot of the day. Now I have the binaries to the latest mscorlib.dll and mcs.exe, but mcs.exe won't run because the runtime (mono) is out of sync with mscorlib.dll I cannot find the mono executable anywhere in the snapshot (it's not with the other .exe's in the snapshot). How can I get a binary of the latest runtime? How can I compile it with a broken compiler? Sorry for the newbie'ish questions. -Original Message- From: Rodolfo Campero [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 1:30 PM To: Andrew Arnott; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [Mono-list] CVS compile errors :( You can pick a binary snapshot from http://www.go-mono.com/daily/ In your case, maybe a monolite will do, but if it's not enaugh download a monocharge. From: Andrew Arnott [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [Mono-list] CVS compile errors :( Date: Fri, 30 Apr 2004 13:12:53 -0600 So this is my round-robin problem. I can't compile the new mscorlib.dll or mcs.exe because I am using the old one (0.31.00) to compile the new ones. The old one can't manage it because of the bug. I can't get the new one because it won't compile. How can this be solved? Do I just need to get a built copy from someone? (will someone volunteer?) Thanks. From: Sebastien Pouliot [mailto:[EMAIL PROTECTED] Sent: Friday, April 30, 2004 9:01 AM To: Andrew Arnott; [EMAIL PROTECTED] Subject: RE: [Mono-list] CVS compile errors :( Andrew You get this because you have an older mscorlib.dll or mcs.exe (which had that bug). That may come from a previous Mono installation (like 0.31). Sebastien Pouliot http://pages.infinit.net/ctech/poupou.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Arnott Sent: 30 avril 2004 09:19 To: [EMAIL PROTECTED] Subject: [Mono-list] CVS compile errors :( So this is my first time compiling CVS. I finally read the INSTALL file and found out I have to run ./autoconf before building. Well, that worked well enough. But make fullbuild crashes with an exception thrown by mcs. I get this (after the memory warnings mentioned in my previous email). Can you tell me what I'm doing wrong? Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required. In 0x0002e Mono.Security.Cryptography.CryptoConvert:ToCapiKeyBlob (System.Security.Cryptography.RSA,bool) In 0x00032 Mono.Security.StrongName:get_PublicKey () In 0x00769 System.Reflection.Emit.AssemblyBuilder:Save (string) In 0x00036 Mono.CSharp.CodeGen:Save (string) In 0x014cb Mono.CSharp.Driver:MainDriver (string[]) In 0x00020 Mono.CSharp.Driver:Main (string[]) _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
Re: [Mono-list] ASP.NET bug?? (solved)
Doesn't happen in latest CVS. Pablo Baena wrote: Before I post a bug report, can you spot some stupid mistake in this code? Because the table that I'm querying has lots of records and it is showing only one. THanks html script language=C# runat=server void BindGrid() { string connectionString = server=localhost;database=somedatabase;user id=root;password=;; MySqlConnection dbcon; dbcon = new MySqlConnection(connectionString); dbcon.Open(); string sql = SELECT numero, nombre + FROM clientes; MySqlDataAdapter adapter = new MySqlDataAdapter(sql, dbcon); DataSet dataset = new DataSet (); adapter.Fill (dataset, clientes); MyDataGrid.DataSource = dataset.Tables[clientes].DefaultView; MyDataGrid.DataBind(); ShowStats(); } void Page_Load(Object sender, EventArgs e) { if (chk1.Checked) { MyDataGrid.PagerStyle.Mode=PagerMode.NumericPages; } else { MyDataGrid.PagerStyle.Mode=PagerMode.NextPrev; } BindGrid(); } void MyDataGrid_Page(Object sender, DataGridPageChangedEventArgs e) { MyDataGrid.CurrentPageIndex = e.NewPageIndex; BindGrid(); } void ShowStats() { lblCurrentIndex.Text = CurrentPageIndex is + MyDataGrid.CurrentPageIndex; lblPageCount.Text = PageCount is + MyDataGrid.PageCount; } /script body h3font face=VerdanaBasic Paging with DataGrid/font/h3 form runat=server ASP:DataGrid id=MyDataGrid runat=server AllowPaging=True PageSize=10 PagerStyle-Mode=NumericPages PagerStyle-HorizontalAlign=Right PagerStyle-NextPageText=Next PagerStyle-PrevPageText=Prev OnPageIndexChanged=MyDataGrid_Page BorderColor=black BorderWidth=1 GridLines=Both CellPadding=3 CellSpacing=0 Font-Name=Verdana Font-Size=8pt HeaderStyle-BackColor=#dd AlternatingItemStyle-BackColor=#ee / p asp:Checkbox id=chk1 runat=server Text=Show numeric page navigation buttons Font-Name=Verdana Font-Size=8pt AutoPostBack=true / p table bgcolor=#ee cellpadding=6trtd nowrapfont face=Verdana size=-2 asp:Label id=lblCurrentIndex runat=server /br asp:Label id=lblPageCount runat=server /br /font/td/tr/table /form /body /html ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] ASP.NET bug??
Before I post a bug report, can you spot some stupid mistake in this code? Because the table that I'm querying has lots of records and it is showing only one. THanks html script language=C# runat=server void BindGrid() { string connectionString = server=localhost;database=somedatabase;user id=root;password=;; MySqlConnection dbcon; dbcon = new MySqlConnection(connectionString); dbcon.Open(); string sql = SELECT numero, nombre + FROM clientes; MySqlDataAdapter adapter = new MySqlDataAdapter(sql, dbcon); DataSet dataset = new DataSet (); adapter.Fill (dataset, clientes); MyDataGrid.DataSource = dataset.Tables[clientes].DefaultView; MyDataGrid.DataBind(); ShowStats(); } void Page_Load(Object sender, EventArgs e) { if (chk1.Checked) { MyDataGrid.PagerStyle.Mode=PagerMode.NumericPages; } else { MyDataGrid.PagerStyle.Mode=PagerMode.NextPrev; } BindGrid(); } void MyDataGrid_Page(Object sender, DataGridPageChangedEventArgs e) { MyDataGrid.CurrentPageIndex = e.NewPageIndex; BindGrid(); } void ShowStats() { lblCurrentIndex.Text = CurrentPageIndex is + MyDataGrid.CurrentPageIndex; lblPageCount.Text = PageCount is + MyDataGrid.PageCount; } /script body h3font face=VerdanaBasic Paging with DataGrid/font/h3 form runat=server ASP:DataGrid id=MyDataGrid runat=server AllowPaging=True PageSize=10 PagerStyle-Mode=NumericPages PagerStyle-HorizontalAlign=Right PagerStyle-NextPageText=Next PagerStyle-PrevPageText=Prev OnPageIndexChanged=MyDataGrid_Page BorderColor=black BorderWidth=1 GridLines=Both CellPadding=3 CellSpacing=0 Font-Name=Verdana Font-Size=8pt HeaderStyle-BackColor=#dd AlternatingItemStyle-BackColor=#ee / p asp:Checkbox id=chk1 runat=server Text=Show numeric page navigation buttons Font-Name=Verdana Font-Size=8pt AutoPostBack=true / p table bgcolor=#ee cellpadding=6trtd nowrapfont face=Verdana size=-2 asp:Label id=lblCurrentIndex runat=server /br asp:Label id=lblPageCount runat=server /br /font/td/tr/table /form /body /html ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono Hispano
[EMAIL PROTECTED] it's an attempt to create an argentinian developers knowledge sharing. So far it's a little silent, but if we sum up people, we can try to take over world someday. On Saturday 03 April 2004 21:56, Angel Java Lopez wrote: Hi people! Any info about the site www.monohispano.org? Actually the site is down Any other good resource about mono in Spanish? Mailing lists? TIA Angel Java Lopez http://www.ajlopez.com ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Java and C#
Miguel: I saw your blog about IKVM. One thing I haven't been able to investigate is, how useful can be Gtk# with Java. Because, for example, I couldn't find a clue on how to attach a Java 'listener' to a C# event, or any way to use attributes in Java. Maybe creating new Java keywords will work? Please take me out of my ignorance. Pablo -- Perhaps they are singing songs to you, he said, and I just think they're asking me questions. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] FW: evangelizing mono
And with Mono, the bare metal performace still lies far ahead. Which is nothing wrong - it would be if it stayed this way but i strongly diselieve that Mono won't develop. The momentum seems to be there already. That isn't what I perceive. I haven't made measures, but overall, the loading of a Gtk# application is faster or the same compared with a Kde application startup time. And take into account that Kde is C++!!! Also, Gtk# applications are very responsive. So, I'm very satisfied with the perfomance (for desktop applications at least). ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monohispano
Como dirían en mis pagos, si no te anda Monohispano, agarramela con la mano. Pablo -- chucrut es realmente una palabra graciosa Hi people! Any problems with the mailing list at MonoHispano? No message since November And I can't send message to it... Angel Java Lopez http://www.ajlopez.com/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Autoconnect and Glade
On Wed, 2003-06-25 at 17:07, Pablo Fischer wrote: HI! A few months ago I update my version of mono (apt-get install mono, from the site located in debianplanet.com), now that I have time again to continue working in a project I get and error running a file that loads a Glade file (the GUI), the error looks like this: [EMAIL PROTECTED] Yaka]$ mono yaka.exe ** ERROR **: Invalid IL code at IL0019 in 00 .SignalConnector:Autoconnect (): IL_0019: ldsfld0x0a0a aborting... Maybe updating Gtk# too? -- Now it is human nature that however a human being is, he is inclined to think that is the right way to be. Hans Reiser ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Autoconnect and Glade
On Wed, 2003-06-25 at 17:43, Pablo Fischer wrote: Hi! Yep, I update it (gtk#). However looking in google I found that there are errors with the .8 version of the Debian Package, So I remove it (apt-get remove gtk-sharp) and compile the last version?, the result?, it works! now I can open my programs again! :-) So in the next hours I will release a debian package with the last gtk version and upload it to my website. Great! It would be cool to have CVS builds again, isn't it? Also, theres no problem running Mono .24 with gtk# .10? No idea, I use both from CVS. Thanks :-) I didn't help, so 'not at all'. ;P -- Now it is human nature that however a human being is, he is inclined to think that is the right way to be. Hans Reiser ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Gcc summit...interesting stuff
Have you seen this paper http://www.linux.org.uk/~ajh/gcc/gccsummit-2003-proceedings.pdf where someone implemented a low level virtual machine http://llvm.cs.uiuc.edu/ for gcc?? Doesn't it give you ideas? *wink* *wink* Interesting. I don't know if it could be extended to support g++. -- Now it is human nature that however a human being is, he is inclined to think that is the right way to be. Hans Reiser ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] C# generics
Sorry for the off-topic, but I read this paper http://research.microsoft.com/projects/clrgen/generics.pdf and I was wondering if there will be support for C++ like specializations of the type: template class Vectorvoid* { void** p; // ... } -- Pablo Baena [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Building problem
Guys. Have you noticed that the mini directory takes two 'make' to get itself built? Or is it just me? First 'make' run: -- make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/interpreter' Making all in mini make[3]: Entering directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' ../../mono/monoburg/monoburg -c 1 -p -e ./inssel.brg ./inssel-long32.brg ./inssel-float.brg ./inssel-x86.brg -d inssel.h -s inssel.c [[[building noise ./genmdesc ./cpu-pentium.md cpu-pentium.h pentium_desc ./genmdesc ./cpu-g4.md cpu-g4.h ppcg4 cd ../.. \ CONFIG_FILES=mono/mini/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating mono/mini/Makefile config.status: executing default-1 commands make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' make[3]: Entering directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' [building noise] creating mono make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' -- And then the second time I do 'make', the mini directory is processed again: -- make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/interpreter' Making all in mini make[3]: Entering directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' /bin/sh ../../libtool --mode=link gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o genmdesc genmdesc.o helpers.o ../../mono/metadata/libmonoruntime.la ../../mono/metadata/libmetadata.la ../../mono/io-layer/libwapi.la ../../mono/utils/libmonoutils.la -lgc -ldl -lm -lglib-2.0 -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -lnsl -lpthread -lrt gcc -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings -o genmdesc genmdesc.o helpers.o -Wl,--export-dynamic ../../mono/metadata/.libs/libmonoruntime.al ../../mono/metadata/.libs/libmetadata.al ../../mono/io-layer/.libs/libwapi.al ../../mono/utils/.libs/libmonoutils.al -lgc -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lnsl -lpthread -lrt ./genmdesc ./cpu-pentium.md cpu-pentium.h pentium_desc ./genmdesc ./cpu-g4.md cpu-g4.h ppcg4 cd ../.. \ CONFIG_FILES=mono/mini/Makefile CONFIG_HEADERS= /bin/sh ./config.status config.status: creating mono/mini/Makefile config.status: executing default-1 commands make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' make[3]: Entering directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' [[more building]]] creating mono make[3]: Leaving directory `/home/tetsuo/soft/MONO/new/mono/mono/mini' --- I have the following program versions: gcc version 3.3 (Debian) automake (GNU automake) 1.4-p6 autoconf (GNU Autoconf) 2.57 GNU Make 3.80 -- Pablo Baena [EMAIL PROTECTED] ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Passing structures to pinvoke (or: mono bug)
Finally, I can pass a class to pinvoke as an 'out' parameter. Attached are the samples that runs on .NET, but still won't run on mono. Cheers! #include stdio.h typedef struct { char* str; int i; } test_arr_t; typedef struct { test_arr_t* arr; int nr_of_arrs; } test_t; int modify_it (test_t** testme) { test_t* ptest = (test_t *) malloc (sizeof (test_t)); if (ptest==NULL) { printf (coño\n); return 0; } ptest-arr = (test_arr_t *) malloc (2 * sizeof (test_arr_t)); ptest-arr[0].i = 1; ptest-arr[0].str = (char *) malloc (sizeof(char)*24); strcpy (ptest-arr[0].str, Hello); ptest-arr[1].i = 2; ptest-arr[1].str = (char *) malloc (sizeof(char)*24); strcpy (ptest-arr[1].str, baby); ptest-nr_of_arrs = 2; *testme = ptest; return 0; } using System; using System.Runtime.InteropServices; namespace teststruct { [ StructLayout( LayoutKind.Sequential )] class test_struct_arr { public string str; public int i; } [ StructLayout( LayoutKind.Sequential )] class test_struct { public IntPtr arr; public int nr_of_arrs; } class Class1 { [DllImport (library)] static extern int modify_it (out test_struct p); [STAThread] static void Main(string[] args) { test_struct testme; modify_it (out testme); if (testme != null) { if (testme.nr_of_arrs != 2) { Console.WriteLine ({0} elements? Yeah, right..., testme.nr_of_arrs); return; } test_struct_arr[] tarr = new test_struct_arr[testme.nr_of_arrs]; IntPtr current = testme.arr; for( int i = 0; i testme.nr_of_arrs; i++ ) { tarr[ i ] = new test_struct_arr(); Marshal.PtrToStructure( current, tarr[ i ]); //Marshal.FreeCoTaskMem( (IntPtr)Marshal.ReadInt32( current )); //Marshal.DestroyStructure( current, typeof(test_struct_arr) ); current = (IntPtr)((int)current + Marshal.SizeOf( tarr[ i ] )); Console.WriteLine (i[{0}] = {1} {2}, i, tarr[i].str, tarr[i].i); } } else { Console.WriteLine (testme wasn't set); } } } }
[Mono-list] Passing structures to pinvoke
Hello! I tried to get help in other places without much luck, so I thought in posting here 'cause I know there're smart people in here, and somehow is mono related What I'm trying to do is to pass an object to a unmanaged routine. This more or less works in .NET. /* Unmanaged C */ #include windows.h #include stdlib.h typedef struct { int i; } test_arr_t; typedef struct { test_arr_t* arr; int nr_of_arrs; } test_t; __declspec (dllexport) int modify_it (test_t* testme) { test_arr_t* tarr = (test_arr_t *) malloc (2 * sizeof (test_arr_t)); /* This won't work...why oh why? /* testme = (test_t *) malloc ( sizeof(test_t)); */ testme-arr = tarr; tarr++-i = 1; tarr-i = 2; testme-nr_of_arrs = 2; return 0; } With the proper C# proggie: using System; using System.Runtime.InteropServices; namespace teststruct { [ StructLayout( LayoutKind.Sequential )] class test_struct_arr { public int i; } [ StructLayout( LayoutKind.Sequential )] class test_struct { public IntPtr arr; public int nr_of_arrs; } class Class1 { [DllImport (library)] static extern int modify_it ([In, Out] test_struct inta); [STAThread] static void Main(string[] args) { test_struct testme = new test_struct(); modify_it (testme); test_struct_arr[] tarr = new test_struct_arr[testme.nr_of_arrs]; IntPtr current = testme.arr; Console.WriteLine (Returned object has {0} elements, testme.nr_of_arrs); for( int i = 0; i testme.nr_of_arrs; i++ ) { tarr[ i ] = new test_struct_arr(); Marshal.PtrToStructure( current, tarr[ i ]); //Marshal.FreeCoTaskMem( (IntPtr)Marshal.ReadInt32( current )); Marshal.DestroyStructure( current, typeof(test_struct_arr) ); current = (IntPtr)((int)current + Marshal.SizeOf( tarr[ i ] )); Console.WriteLine (i[{0}] = {1}, i, tarr[i].i); } } } } But it doesn't work on mono!!! And that is where I'm aiming to. Also, I'd rather prefer to have the parameter passed to pinvoke to be an 'out' parameter, but it doesn't work either. These are just sample structures. The actual structures I need to pass are a little more complicated, but I'm trying to get these simpler ones right first. Thank you thank you thank you!!! -- Pablo Baena [EMAIL PROTECTED] attachment: smiley-3.png
Re: [Mono-list] Can't launch processes as normal user
Oh boy! Now I can't even launch the processes as root! It stopped working after a reboot! When executing: './ptest.exe ls .' the output is: ** (./ptest.exe:745): WARNING **: Shared memory sanity check failed. ** (./ptest.exe:745): WARNING **: Failed to attach shared memory! Falling back to non-shared handles RC: 136643012 The output is: Attached is the strace output for my test. It looks different now. I remember that I tried strace with other mono versions and it said something about get_uid or something like that, now it shows something really strange. Thank you!! On Thu, 2003-03-13 at 19:18, Gonzalo Paniagua Javier wrote: El jue, 13 de 03 de 2003 a las 16:23, Pablo Baena escribi: as user, shows nothing, but running it as root shows the contents of the directory. It is just an example, I tried to see if it actually executes the command, and it doesn't as user. I tried all the versions of mono from 0.19 to 0.23 and none of them worked. Again: is this a bug or a new policy? It works fine for me. Try the attached program (run it like 'mono ptest.exe binary_program args to binary program'). -Gonzalo -- Pablo Baena [EMAIL PROTECTED] attachment: smiley-6.pngexecve(./test.exe, [./test.exe, 2], [/* 25 vars */]) = 0 uname({sys=Linux, node=hal, ...}) = 0 brk(0) = 0x8149be8 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=76737, ...}) = 0 old_mmap(NULL, 76737, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40012000 close(3)= 0 open(/lib/libdl.so.2, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0S\27\0\000..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=7992, ...}) = 0 old_mmap(NULL, 10924, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40025000 mprotect(0x40027000, 2732, PROT_NONE) = 0 old_mmap(0x40027000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x40027000 close(3)= 0 open(/usr/lib/libgmodule-2.0.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\264\16..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=10184, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40028000 old_mmap(NULL, 13244, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40029000 mprotect(0x4002c000, 956, PROT_NONE)= 0 old_mmap(0x4002c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4002c000 close(3)= 0 open(/usr/lib/libglib-2.0.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0X\275\0..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=402376, ...}) = 0 old_mmap(NULL, 401348, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4002d000 mprotect(0x4008e000, 4036, PROT_NONE) = 0 old_mmap(0x4008e000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x61000) = 0x4008e000 close(3)= 0 open(/lib/libm.so.6, O_RDONLY)= 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2605\0..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=130964, ...}) = 0 old_mmap(NULL, 133536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4008f000 mprotect(0x400af000, 2464, PROT_NONE) = 0 old_mmap(0x400af000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1f000) = 0x400af000 close(3)= 0 open(/usr/lib/libgc.so.6, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224\221..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=123784, ...}) = 0 old_mmap(NULL, 173472, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400b mprotect(0x400cd000, 54688, PROT_NONE) = 0 old_mmap(0x400cd000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1d000) = 0x400cd000 old_mmap(0x400ce000, 50592, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ce000 close(3)= 0 open(/lib/libnsl.so.1, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0d;\0\000..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=69132, ...}) = 0 old_mmap(NULL, 76448, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400db000 mprotect(0x400eb000, 10912, PROT_NONE) = 0 old_mmap(0x400eb000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x400eb000 old_mmap(0x400ec000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400ec000 close(3)= 0 open(/lib/libpthread.so.0, O_RDONLY) = 3 read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\224D\0..., 1024) = 1024 fstat64(3, {st_mode=S_IFREG|0644, st_size=81959, ...}) = 0 old_mmap(NULL, 323104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x400ee000 mprotect(0x400fa000, 273952
[Mono-list] Can't launch processes as normal user
Hello! There was a time when I could launch processes with mono as a normal user, but that isn't the case anymore. Now I have to be logged in as root. Is it a bug or a new policy? Regards! -- Pablo Baena [EMAIL PROTECTED]
RE: [Mono-list] Write on linux, Run on Wondows?
What is this SWT you talk about? I can't find information about it on the #Develop site. Cheers! On Tue, 2003-02-25 at 16:20, Adam Treat wrote: --- Graham Allwood [EMAIL PROTECTED] wrote: I've read the faq but still have a question. If I'm developing a GUI client for a remoted service should I be using Windows.Forms or something else? What will the IDE's use when a form is designed, anyone any ideas? Thanks Graham You should try out the different options/choices and use the toolkit that best suits your needs. Currently you have a choice of WX.NET, System.Windows.Forms, Qt#, Gtk#, SWT (from the #Develop folks) and maybe others that I am not aware of. I don't know what your requirements are but, each of these is in various stages of development has strengths and weaknesses and you should evaluate them and determine which approach you like best ;) That is the great thing about Free Systems ... you get a multitude of choices! As far as the IDE I don't know which IDE you are looking to use or what. #Develop currently has a forms designer for System.Windows.Forms and I imagine they'll at least include a forms designer for the SWT port. Gtk# has Glade and Qt# has Qt/Designer. I am not aware of any GUI designer for WX, but I'd guess they have something or are working on it. Lastly, I am not sure if the eclipse plugin for C# has any forms designer. Cheers, Adam -- Pablo Baena [EMAIL PROTECTED]
Re: [Mono-list] Mono doesn't seem to like JSharp code in MSILform. - BANG
Hello! Do you have experience with J#? I downloaded it but it doesn't work with my version of Visual Studio .NET. I was wondering, does J# support delegates? If so, old code can interact with them? i.e.: passing a delegate to a event listener. Just wondering. Thank you! On Sat, 2003-02-15 at 06:50, Christian.Buchner wrote: Hi. I just experimented running an assembly created with Microsoft Visual J# with the Mono JIT. Microsoft Visual J# produces MSIL from Java source, targeting the runtime (and it's a FREE addon to Visual Studio!). My hope was that I could replace a broken C# class with with a version Java that has less bugs. ;) The bad news: Mono virtually exploded. I do know that some stuff regarding metadata in assemblies is not yet implemented. But the following looks like a serious parsing problem that ends up reporting weird binary stuff with the potential to even crash (or create buffer overflows). D:\dev\JSBZip2mono bin\debug\JSBZip2.exe ..\LogTest\windowsmedia_20030131.bz2 ** Message: Unknown heap type: ** Message: Unknown heap type: trings ** Message: Unknown heap type: ** Message: Unknown heap type: ** Message: Unknown heap type: ** Message: Unknown heap type: lob ... ** Message: [Invalid UTF-8] Unknown heap type: ???(?1??T?Y?^?c?h?? There's plenty of binary characters being reported in the Unknown Heap Type messages as well. I can provide a full ILDASM /ALL dump of that assembly on request. Christian ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list -- Pablo Baena [EMAIL PROTECTED]