Re: [Gambas-user] DataCombo, key_press
distro? gambas version? 2009/11/18 Tomas Costa rivas tomascostari...@gmail.com Hello: Does'nt work a datacombo with key events? How can I solve this problem? Regards -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] bug?
Looks like all is ok. Maybe you can try writing Error.Clear() on before of TRY $DBConn.Open I'm not sure if problem is related with posgresql because I'm using mysql in my apps. Hope this help you. Regards, Ricardo 2009/11/17 Jean-Yves F. Barbier 12u...@gmail.com Debian sid gb 2.17 == Hi, I've got a module with public string connection: PUBLIC $DBConn AS NEW Connection PUBLIC MyHost AS String PUBLIC MyDB AS String PUBLIC MyUsr AS String PUBLIC MyPass AS String '- PUBLIC FUNCTION DBConnect() AS Boolean PRINT MyDB . MyHost . MyUsr : MyPass WITH $DBConn .Type = postgresql .Host = MyHost .Name = MyDB .Port = 5432 .Login = MyUsr .Password = MyPass END WITH TRY $DBConn.Open IF ERROR THEN Message.Error((Can't connect to DB) \n\n Error.Text) RETURN FALSE ELSE RETURN TRUE ENDIF END If I forget to fill MyHost MyDB from the class that calls it, the function don't raise any error and returns TRUE (?) How can that be? JY -- I don't care what star you're following, get that camel off my front lawn! -- Heard in Bethlehem -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] bug?
Ricardo Díaz Martín a écrit : Looks like all is ok. Maybe you can try writing Error.Clear() on before of TRY $DBConn.Open it don't change anything: this time I stripped the DB name and it goes its way to 1st reading and failed (result is unavailable) I'm not sure if problem is related with posgresql because I'm using mysql in my apps. may be -- Offer may end without notice. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] DataCombo, key_press
snip all Try setting .type as the last assignment, don't know, works for me in postgresql. It seems that as soon as you give it a type and host and user postgresql makes a connect. Anyway, as I said, dont know works for me. b -- View this message in context: http://old.nabble.com/DataCombo%2C-key_press-tp26411440p26421293.html Sent from the gambas-user mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] wish
On Tuesday 17 November 2009 09:55:03 Jean-Yves F. Barbier wrote: Hi, It would be (very) nice to have the possibility to freely format text in ValueBox for I/O (may be the same syntax as in DBase screens). My wish would be the ability to compile gambas and not have to drag in anything from KDE or Gnome It should be optional It is optional. Just type ./configure --help, and you will see that you can disable the compilation of any component. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] wish
Hi, It would be (very) nice to have the possibility to freely format text in ValueBox for I/O (may be the same syntax as in DBase screens). The ValueBox should be redone, but it must be carefully designed before. So ideas are welcome! And if I don't do it, aren't there other people that can program a control in Gambas? -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] wish
On Tuesday 17 November 2009, Jerry McBride wrote: On Tuesday 17 November 2009 09:55:03 Jean-Yves F. Barbier wrote: Hi, It would be (very) nice to have the possibility to freely format text in ValueBox for I/O (may be the same syntax as in DBase screens). My wish would be the ability to compile gambas and not have to drag in anything from KDE or Gnome It should be optional It can be compiled as you wish and optional is also true. :) But think seriously about you question. If you want to make a program and it must be visible in a graphical way, how should it been shown?. QT/KDE is uded for the IDE so that one must be drag in. QT as toolkit and for KDE the basic libs at least. Gambas is simple a Basic language to interact with the box. People use it as replacement for the bash/python/perl/awk scripts and C/Java/Pascal/Delphi program languages. Both can make shell and graphical programs. If you do not want KDE/Gnome drag in then you can program your files with VI/VIM/Emacs/nano/joe as you like and manage on your own the files and structure of them. Ohh and don't cry if you can't use it on the desktop because missing QT/GTK. Best regards, Ron_1st Gambas IDE does not need KDE, only QT. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Licensing problems in Gambas
Hi, There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Thanks in advance for your comments. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas XMLRPC Server and method with more than 1 parameter
Hi, anyone has the above working by any chance? It works with parameter (NULL) and 1 parameter but not with more than 1. The XMLRPC Client is ok, I have tested it against a non Gambas XMLRPC server. But if you post more than one parameter to the Gambas XMLRPC server, it doesn't check the correct amount, and it only passes the first one to the Callback routine. I need it for my project, but I'm afraid I have to dive into the Component again. ;-( Yes, it would be cool. :-) If you want to trace both your project and the gb.xml.rpc source code, put the gb.xml.rpc source code in your project, or put your project source code in gb.xml.rpc project. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Exist says OK, but the File.Load fails
Salut, this is my code (I added the line numbers) Exist says OK but the File.Load fails with : File or directory does not exist args[0] = Reports/US-presidents-3.xml is a relative path If I use the Fullpath it works. AND: this only happens if the code is used in a component ! In the project-code it works. 807 IF Exist(args[0]) THEN 808 809sString = File.Load(args[0]) This I get if I run it : args[0] = Reports/US-presidents-3.xml CLogic.FromXML.809: #45: File or directory does not exist A relative path is resolved inside the project. So if you use your project as a component, the file must be inside the component, otherwise it won't work. If you want a component to access a file located inside the project that uses this component, there is a trick: starting the relative path with ../. But Exist() should be coherent with File.Load(), so can you send me the code, so that I have a clear view of what you do? Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] DataCombo, key_press
Hello: Does'nt work a datacombo with key events? How can I solve this problem? Regards What do you want to achieve exactly? -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] XML-RPC component bug?
Hi, I'm having problems with the XML-RPC component. The same piece of code (and actually the compiled program too) works fine in one computer an gives an error in another. System where it works: Ubuntu 9.10 32bits System where it fails: Ubuntu 8.10 64bits Both systems have the same Gambas version: Gambas 2.17 (revision 2415) With exactly the same XML, the RpcStruct that the RpcClient.Call method returns is alright in one of the systems but in the other, all its dataType are incorretly set to xStruct, and so I always get Type mismatch: wanted XXX got RpcStruct instead when trying to use the Value property. Is it a bug in the component? Does the component relay on a system package that is broken in one of my two systems? If so, which one? Thanks! Toni P.S. Maybe it's already doable, but I think that it would be really nice if there was the possibility of stepping into the Gambas components code while debugging an application. Hi, I tried your project on my Mandriva 2010.0 32 bits and on my Ubuntu 9.10 64 bits, and I don't have any error. I use the latest revision, but it should not make any difference with revision 2415. So, it is strange. Can you try to recompile Gambas from scratch on the faulty system? -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Compiling Gambas3
Benoit, How can we add something to wiki? This is explained on the main page of the wiki. Send me your full name and your password, and I will create a write account for you. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] bug?
Debian sid gb 2.17 == Hi, I've got a module with public string connection: PUBLIC $DBConn AS NEW Connection PUBLIC MyHost AS String PUBLIC MyDB AS String PUBLIC MyUsr AS String PUBLIC MyPass AS String '- PUBLIC FUNCTION DBConnect() AS Boolean PRINT MyDB . MyHost . MyUsr : MyPass WITH $DBConn .Type = postgresql .Host = MyHost .Name = MyDB .Port = 5432 .Login = MyUsr .Password = MyPass END WITH TRY $DBConn.Open IF ERROR THEN Message.Error((Can't connect to DB) \n\n Error.Text) RETURN FALSE ELSE RETURN TRUE ENDIF END If I forget to fill MyHost MyDB from the class that calls it, the function don't raise any error and returns TRUE (?) How can that be? JY Because there is a default host (localhost) and a default database. It works that way so that you can connect to the database server to get the list of existing databases. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Setting and environment variable in a Gambas app.
Hi, Setting the GDK_NATIVE_WINDOWS var in the environment tab of the project only works while using the gambas app within the IDE but with the generated executable this var doesn't get set, and so the controls get erroneously rendered. About setting it in ~/.gnomerc the point was not having to set it manually in each affected system... or did you suggest adding the var programatically to this file? Regards, Toni Logically, doing: Application.Env[GDK_NATIVE_WINDOWS]=1 before showing your first form should work. If not, you will have to wait for the next release (soon!), where this setting will be automatically done. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] form_open not raised when embedding form
Forget last message. Setting GDK_NATIVE_WINDOWS=1 makes the Form_Open event run! But theres a few glitches like columnview and textarea background colours not being right. Thanks. Please send a project that shows these glitches so that I can fix them. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Optional arguments and IDE
Optional arguments now shows as wished, thanks! But byref arguments are not showing correctly, I'm not sure if this is new problem... maybe I just haven't notice it earlier (I don't use byref much). This problem occurs generally with byref arguments, not just optional byref arguments. They show like this BYREF As AS. Jussi This was finally fixed in revision 2424. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
Maybe not too usefull but 1- Can we use GPL 3 for wiki? 2- I think the first stet will be write a mail to www.ibpp.org and ask them for permition. :) And we can make a list of all gb.db.firebird users to see if they how many their are, and maybe write a Letter in name of all of them to let know their will to use Firebird Gambas. Regards -- David - Original Message From: Benoît Minisini gam...@users.sourceforge.net To: gambas-user@lists.sourceforge.net Sent: Thu, November 19, 2009 6:09:52 AM Subject: [Gambas-user] Licensing problems in Gambas Hi, There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Thanks in advance for your comments. Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On 19/11/09 20:09, Benoît Minisini wrote: Hi, There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... The most obvious choice would be some sort of Creative Commons license, I think. http://en.wikipedia.org/wiki/Creative_Commons_licenses 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Thanks in advance for your comments. Regards, -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
I would go for the GNU Free Documentation License (GNU FDL http://www.gnu.org/licenses/fdl.html) Creative commons (CC) isn't a bad choice either and it's quite popular nowadays. But it has 2 issues, the first one is that it isn't exactly the same in every country, and the second is that when choosing a CC license, you have to take a combination of the four major conditions: - Attribution (BY): if selected the use of materials will have to contain attribution to the original author. - Share Alike (SA): if selected derivative works will have to be released under the same or a similar license (later or jurisdiction version). - Non-Commercial (NC): if selected no commercial work can be done with the material. - No Derivative Works (ND): if selected no Derivative works of the material are allowed. If NC or NC are choosen then the resulting Creative commons license can't be considered a free license. Further I think that some people won't consider as a valid free license a Creative commons with condition of Attribution (BY). Regards, Toni En/na Werner ha escrit: On 19/11/09 20:09, Benoît Minisini wrote: Hi, There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... The most obvious choice would be some sort of Creative Commons license, I think. http://en.wikipedia.org/wiki/Creative_Commons_licenses 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Thanks in advance for your comments. Regards, -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On Thursday 19 November 2009 07:09 am, Benoît Minisini wrote: There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... Wikipedia uses the GNU FDL, and of course there are the various Creative Commons licenses that are better suited to documentation than programs. I guess the next question is whether everyone who's contributed to the wiki will go for whichever license you pick; I'm certainly okay with the GFDL or CC-BY-SA, but I have no idea how other people would feel. I thought I had some text in the old Wiki on the editor page that required the user to submit their entries under some free license, but that page wasn't included in the static dumps for obvious reasons and I can't find the old tarballs of our TWiki installation that I made after the spammers attacked. At any rate, I don't see anything like that in the current Wiki's editor. 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Who wrote gb.db.firebird? Maybe they could maintain it as a separate package, though I guess whichever Gambas headers they built against would have to be relicensed as LGPL in that case. I didn't know anyone used firebird anymore. Rob -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On Thursday 19 November 2009 09:52 am, Toni wrote: If NC or NC are choosen then the resulting Creative commons license can't be considered a free license. Further I think that some people won't consider as a valid free license a Creative commons with condition of Attribution (BY). The CC-BY license is essentially a BSD-style license for non-code uses, and CC-BY-SA is meant as a copyleft like the GPL, though it's fundamentally less stringent because it doesn't require source materials to be provided (I've been looking for that kind of license for my music for years and no one has come up with one, probably because of the difficulty in establishing what constitutes source materials for artistic works). As far as BY goes, there are no CC licenses without attribution anymore, see here: http://creativecommons.org/licenses/ Rob -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
Am Donnerstag, den 19.11.2009, 10:06 -0500 schrieb Rob: On Thursday 19 November 2009 07:09 am, Benoît Minisini wrote: There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... Wikipedia uses the GNU FDL, and of course there are the various Creative Commons licenses that are better suited to documentation than programs. I guess the next question is whether everyone who's contributed to the wiki will go for whichever license you pick; I'm certainly okay with the GFDL or CC-BY-SA, but I have no idea how other people would feel. I thought I had some text in the old Wiki on the editor page that required the user to submit their entries under some free license, but that page wasn't included in the static dumps for obvious reasons and I can't find the old tarballs of our TWiki installation that I made after the spammers attacked. At any rate, I don't see anything like that in the current Wiki's editor. 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Who wrote gb.db.firebird? Maybe they could maintain it as a separate package, though I guess whichever Gambas headers they built against would have to be relicensed as LGPL in that case. I didn't know anyone used firebird anymore. Rob Salut Rob, gambas-1.0.17/help/VisualIntroductionToGambas.html is this what your looking for ? -- Amicalment Charlie -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On Thursday 19 November 2009 10:36 am, Charlie Reinl wrote: gambas-1.0.17/help/VisualIntroductionToGambas.html is this what your looking for ? No, by the editor page I meant the page that lets you enter stuff into the wiki, not the page with screenshots of the IDE. Rob -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On Thursday 19 November 2009 07:09 am, Benoît Minisini wrote: There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... Wikipedia uses the GNU FDL, and of course there are the various Creative Commons licenses that are better suited to documentation than programs. It is difficult to determine the attribution of each page. By reading the page history, you can know all users that modified something on a specific page. But sometimes it is an error, so you cannot automate the process. I suggest the following: - Using the GNU FDL, as it is used by Wikipedia. - All users having a write access to the wiki will be considered as an author. Now I think all wiki users should tell if he agrees with the license. Or maybe should we fix a date in the future, and if nobody explicitely disagrees until that date, we apply the license. Because I'm not sure that all wiki users do modify it. I guess the next question is whether everyone who's contributed to the wiki will go for whichever license you pick; I'm certainly okay with the GFDL or CC-BY-SA, but I have no idea how other people would feel. I thought I had some text in the old Wiki on the editor page that required the user to submit their entries under some free license, but that page wasn't included in the static dumps for obvious reasons and I can't find the old tarballs of our TWiki installation that I made after the spammers attacked. At any rate, I don't see anything like that in the current Wiki's editor. 2) The bad problem: gb.db.firebird uses two sources files from www.ibpp.org whose license (the Borland Interbase Public License) is not compatible with the GPL. This point was raised by Kelly Hopkins, the maintainer of the gnu.org free software directory. I'm afraid Gambas will have to lose firebird support, but maybe we should ask www.ibpp.org about that. I need help there too! Who wrote gb.db.firebird? Maybe they could maintain it as a separate package, though I guess whichever Gambas headers they built against would have to be relicensed as LGPL in that case. I didn't know anyone used firebird anymore. Daniel Vostanikian wrote it, Laurent Carlier and I did some little changes. But personnally I don't want to manage a non GPL package, I don't use firebird at all, and I don't have time. So firebird users are welcome to deal with that problem! Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On 20/11/09 00:54, Benoît Minisini wrote: On Thursday 19 November 2009 07:09 am, Benoît Minisini wrote: There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... Wikipedia uses the GNU FDL, and of course there are the various Creative Commons licenses that are better suited to documentation than programs. It is difficult to determine the attribution of each page. By reading the page history, you can know all users that modified something on a specific page. But sometimes it is an error, so you cannot automate the process. I suggest the following: - Using the GNU FDL, as it is used by Wikipedia. - All users having a write access to the wiki will be considered as an author. Now I think all wiki users should tell if he agrees with the license. Or maybe should we fix a date in the future, and if nobody explicitely disagrees until that date, we apply the license. Because I'm not sure that all wiki users do modify it. If you want a date, it should be in the near future, (months max). If someone disagrees, that person is free to remove their entries. Then, the wiki editor should have a text on the top that says that if a user commits an entry it means acceptance to the xxx license (IANAL). -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] File select broken ?
I have just realized that my old code does not work any more in selecting .jpg files. Now I am using Gambas 2.17 but I do not know which release made it wrong. Selecting the directory with my .jpg files it appears empty. I have to select All Graphics .* to see them and then the selection works. Here is a segment of the code. Regards Pino - ' Filter for our user file open dialog. All image types supported by Gambas PRIVATE FUNCTION FileFilter(OPTIONAL All AS Boolean = FALSE) AS String[] DIM filter AS NEW String[] IF All THEN filter.Add(*.png *.jpeg *.jpg *.bmp *.gif *.xpm) filter.Add(All Graphics) END IF filter.Add(*.png) filter.Add(Portable Network Graphics) filter.Add(*.jpeg *.jpg) filter.Add(Joint Photographic Experts Group) filter.Add(*.bmp) filter.Add(Windows Bitmap) filter.Add(*.gif) filter.Add(Graphics Interchange Format) filter.Add(*.xpm) filter.Add(X PixMap) IF All THEN filter.Add(*) filter.Add(All Files) END IF RETURN filter END Filters must be separated by semicolons, not spaces. Try with semicolons, it should normally work. filter.Add(*.jpeg;*.jpg) Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] qte disabled
Hello everybody on the list and congrats to the developers of this excellent package. I have downloaded and compiled successfully 2.17 and today 2.18 of Gambas. I have installed all the necessary packages for my system kubuntu 9.10 with KDE 4.3.3 but at the end of configure I am getting the message gb.gte disabled. This happened at both versions. Is there an extra library for this that I have to download? Also, if qte is disabled how come I can select the corresponding box at my project's preferences? Best Regards, Andreas --- --- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user gb.qte is not important at all, it uses the Qt/Embedded library, and I never see packages for that library. Now, with Qt4, this library is deprecated, and gb.qte was removed from Gambas 3. So, just don't care! But it is strange that you see gb.qte in the list of components in the IDE project property dialog, if gb.qte was not installed! Regards, -- Benoît Minisini -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Changing the key value in a collection
I have a situation where the key for an item in a collection is an editable value in the collection item. Obviously, when that value changes, I need to update the collection and change the key. However, when I do this the item is in a new position in the collection. This is a problem because the collection is sorted via a different item field. I can handle the sort when the collection is built from the database, but is there any way to get the collection back into the correct order when the key value changes? I don't want to persist the changes at the point where the user changes one item. The goal is to have them work with the set of items, make adjustments to one or more and then persist their changes under their control when they are happy with the overall set. Alternatively, is there a way to sort a gridview? (This is the real problem I suppose, as when the key value or any other value in the item changes, I reload the gridview by iterating the collection.) tia bruce -- View this message in context: http://old.nabble.com/Changing-the-key-value-in-a-collection-tp26422299p26422299.html Sent from the gambas-user mailing list archive at Nabble.com. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Licensing problems in Gambas
On Thu, 2009-11-19 at 13:09 +0100, Benoît Minisini wrote: Hi, There are two licensing problems in Gambas that must be solved. 1) The first one should not be difficult: we must find a license for the gambas wiki documentation that makes it free. I need suggestions... Creative Commons - Attribution - Sharealike. GPL compatible, and definitely free. -- Horst. signature.asc Description: This is a digitally signed message part -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user