Re: [Gambas-user] Unable to split string containing ascii characters
El 06/06/11 09:25, Caveat escribió: > > I don't really know what it is you're ultimately trying to achieve but > if you need to do extensive string manipulations perhaps even involving > regular expressions, perl might be a better choice. If you're trying to > parse web-pages, then python with a healthy dose of BeautifulSoup may > suit your needs better... > And don't forget you also can use a custom made or an existing C library for use from within Gambas. Look for EXTERN in the manuals. Regards -- Jesus Guardon -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Discover what all the cheering's about. Get your free trial download today. http://p.sf.net/sfu/quest-dev2dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Multiline RegExp
El 27/07/11 12:53, Demosthenes Koptsis escribió: > Thanks Ian! > > It would be more easy the RegExp to return an Array of results like grep > returns all the matches of multiline text. > > > On Wed, 2011-07-27 at 20:13 +1000, Ian Haywood wrote: >> On Wed, Jul 27, 2011 at 5:34 PM, Demosthenes Koptsis >> wrote: >> >>> 2) The Pattern i use is: >>> (?i)\b[a-z0-9._%\-]+@[a-z0-9._%\-]+\.[A-Z]{2,4}\b >>> >>> 3) The result is only one email: >>> di...@yahoo.gr >>> >>> and not the rest of them. If I am not wrong, it would be possible by using .RegexpSubmatches virtual class. It returns an array of sub-matches against your pattern on a given subject. The only thing you must do is to enclose your entire regexp between parenthesis. By the way, I didn't test it. Regards -- Jesus -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gb3 requirements on openSUSE 11.4
Sorry for the noise, but it is just the reason why I've dropped openSuse definitely some years ago... I'm far more comfortable with debian based distros. Yeah, I know it doesn't help you at all, sorry but I can't resist! Good luck, dude -- Jesus Guardon El 30/07/11 15:21, Matti escribió: > Installing the requirements, I run from one trouble into another, it's > horrible. > > Right now, 'make' complains about a missing file '-ljscore'. > > I found a mail from Paolo in this list, but the link to his "Extended" repo > of > 11.4 doesn't work. > Then I downloaded libqt4-4.7.3-8.1.i586.rpm, but this won't install because > of a > wrong version of libstdc++.so.6. Downloaded > libstdc++46-4.6.1_20110701-2.10.i586.rpm, but this is in conflict with > something > else, and so on... > > Has anyone of you fixed the '-ljscore' problem and can give me a hint? > > Thanks > Matti > > -- > Got Input? Slashdot Needs You. > Take our quick survey online. Come on, we don't ask for help often. > Plus, you'll get a chance to win $100 to spend on ThinkGeek. > http://p.sf.net/sfu/slashdot-survey > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Sting declared as Const are not translated
El 01/08/11 17:39, Emanuele Sottocorno escribió: > Hi to all, > declaring a string like: > > MyClass.Class > > Create Private > > PRIVATE CONST MYSTRING As String = ("A string") > > and using that string in another class like > > MyForm.Class > > MyForm.Caption = MyClass.MYSTRING > > even if the string is correctly translated trough the Translate Tool in > the IDE when the form opens the caption appears in the default language. > Is this correct or could be fixed? > Thanks in advance, > Emanuele Shouldn't a constant to be "constant"? Hope Benoit will enlighten us. -- Jesus Guardon -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Making code pretty
El 04/08/11 21:38, Kevin Fishburne escribió: > On 08/04/2011 03:07 PM, Ron wrote: >> Empty lines yes, keep them! >> >> But Kevin and I mean remove spaces on empty lines. >> >> Looks like this: >> >>Dim sTest as string >> ...<- remove these >>sTest = "this is a test" >> >>' here above normal empty line, without spaces on it. > > Agreed. I do use empty lines all the time, but death to unnecessary spaces. > > It would also be nice if variable/procedure/etc. names were > autocorrected to use the case/capitalization of their declarative > statement. This is already done for things like Print, Public, Private, > Dim, Inc, Return, etc. For example: > > Public SoEasyToRead As String > > Print soeasytoread ' "soeasytoread" should be autocorrected, just like > "print" is, to match the case of the declaration "SoEasyToRead". > > Public Function LovelyProcedureName(Input As String) As String >' Blah, blah. > End Sub > > Print lovelyprocedurename("Please make me lovely") ' > "lovelyprocedurename" should be autocorrected to match the function > declaration "LovelyProcedureName". > > Also, changing the case of the declaration should automatically change > the case throughout the program. If that's too CPU intensive to do in > real-time, it could be done at compile or execution time. > Yes, yes! And as some time ago I wrote: >>> >> El 26/09/10 21:36 >>>>> >>>> Hi, Benoît >>>>> >>>> >>>>> >>>> It would be fine if you could implement a 'tasks system', like in >>>>> >>>> other >>>>> >>>> IDEs, to keep track of pending tasks or fixes. >>>>> >>>> >>>>> >>>> For example, if the text editor finds a comment beginning with >>>>> >>>> >>>>> >>>> ' TODO: my stuff >>>>> >>>> or >>>>> >>>> ' FIXME: fix whatever >>>>> >>>> >>>>> >>>> then a little icon will shows into the line numbers and an additional >>>>> >>>> tab in the console/breakpoints tabstrip will lists the current >>>>> >>>> tasks/fixes text, which also should be marked as done/undone. >>>>> >>>> >>>>> >>>> This could be made in a way we can inspect globally or per class >>>>> >>>> file. >>>>> >>>> >>>>> >>>> Hope this make sense, and not a huge job... :-) >>>>> >>>> >>>>> >>>> Anyway, thanks for your efforts. >>>> >>> >>>> >>> What other keywords are needed, beside TODO and FIXME? >>> >> >>> >> No, nothing more is needed. Both keywords are widely used as an standard >>> >> for that purpose in almost all code editors. >>> >> >>>> >>> And we can decide that to mark something undone, the comment has just >>>> >>> to >>>> >>> be removed. I know it is in the Benoit "to do" list, but also I know he has little time. So thanks anyway. -- Jesus Guardon -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambasdoc] Missing "style.css"
Hi, just a minor issue: Browsing Gambasdoc today, it shows only plain text, no style cascade sheet found. Regards -- Jesus Guardon -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Gambasdoc] Missing "style.css"
El 08/08/11 21:49, Benoît Minisini escribió: >> El 08/08/11 21:33, Benoît Minisini escribió: >>>> Hi, just a minor issue: >>>> >>>> Browsing Gambasdoc today, it shows only plain text, no style cascade >>>> sheet found. >>>> >>>> >>>> Regards >>> >>> Mmm. Everything is normal there. Can you check your browser? >> >> Well, I've checked twice, but still I get this: >> >> See attachment. > > Screenshot just done... > Wow! This is stupidly weird... you might be right, I've tested it using Google chrome and no problems at all... I'm stumped! Sorry for the noise -- Jesus Guardon -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Gambasdoc] Missing "style.css"
El 08/08/11 21:49, Benoît Minisini escribió: >> El 08/08/11 21:33, Benoît Minisini escribió: >>>> Hi, just a minor issue: >>>> >>>> Browsing Gambasdoc today, it shows only plain text, no style cascade >>>> sheet found. >>>> >>>> >>>> Regards >>> >>> Mmm. Everything is normal there. Can you check your browser? >> >> Well, I've checked twice, but still I get this: >> >> See attachment. > > Screenshot just done... Deleted site cookies and back to normal... strange ¿? Regards -- Jesus Guardon -- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos & much more. Register early & save! http://p.sf.net/sfu/rim-blackberry-1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] write to file question
El 15/08/11 14:03, wally escribió: > Hi, > > i try to write data to a new file in the following way: > > Public hFile As File 'because i need to write in a serial_read_event > > hFile = Open Application.Path &/ "prot.log" For Write Create > > Write #hFile, Hex$(iByte, 2) > > hFile.Close > > Problem is that the filesize is growing during run and the containing data is > as wanted. If i break the execution all is OK. > When i use hFile.Close the file remain but is empty. > > What i need to do ? > thank you > wally It sounds like you are executing that code into a loop, may be a for..next or While..wend; That's not so important. The fact is that "Write create" is creating a new file each time the loop executes, erasing the content of your recent created file. If in the last step of your loop you're not writing something, the file appears as empty. You could try appending content to the file instead, using the "append" keyword at the end of your statement: > hFile = Open Application.Path &/ "prot.log" For Write Append Hope that helps, regards. -- Jesus Guardon -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] A little off topic - internet
El 09/10/11 06:17, Kevin Fishburne escribió: > On 10/07/2011 03:37 PM, Dag-Jarle Johansen wrote: >> Hi All, >> >> after shuffelling through pages after pages of so called know how, I still >> can't get my Wireless adapter to work. Some of you may have got the >> information - I moved from Argentina (cabled and no problem) to Oslo, where >> I can't use a cable.. I really know, this is off topic, and I have a bad >> feeling about it, but I know you guys are so good, so I take a chance. I >> have Ubuntu 10.04.03.LTS, and that thing that does not work is a Netgear >> N300. >> I have read all I found about ndiswrapper, but is was not suficcient. >> Please do not hit me beacause of this - issue - I just want to programm >> again, with Gambas. > > If it's not supported in Linux then don't use it; that's my theory. I'd > get a cheap USB wireless card (or PCIe if it's a desktop) that works > with the kernel drivers. If it's not in the kernel and doesn't have > vendor-provided binary drivers then to hell with it. Also send them a > letter saying that they suck, haha. > Some time ago I have had a bad experience with this brand and they wasn't too kind providing me for a solution. I've deleted Netgear from my providers list. Period. Regards -- Jesus Guardon -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191]
El 10/10/11 21:03, gam...@users.sourceforge.net escribió: > Revision: 4191 > http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev > Author: gambas > Date: 2011-10-10 19:03:05 + (Mon, 10 Oct 2011) > Log Message: > --- > [GB.FORM] > * BUG: Fix compilation of gb.form. Still nada gbc: error: Component not found: gb.form make[2]: No se hace nada para «install-data-am». make[2]: se sale del directorio «/home/jesus/trunk/examples» make[1]: se sale del directorio «/home/jesus/trunk/examples» Making install in . make[1]: se ingresa al directorio «/home/jesus/trunk» make[2]: se ingresa al directorio «/home/jesus/trunk» || || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.report || Unable to compile gb.chart || Unable to compile gambas3 || Regards -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[4191]
El 10/10/11 21:33, Benoît Minisini escribió: >> El 10/10/11 21:03, gam...@users.sourceforge.net escribió: >>> Revision: 4191 >>> >>> http://gambas.svn.sourceforge.net/gambas/?rev=4191&view=rev >>> >>> Author: gambas >>> Date: 2011-10-10 19:03:05 + (Mon, 10 Oct 2011) >>> Log Message: >>> --- >>> [GB.FORM] >>> * BUG: Fix compilation of gb.form. >> >> Still nada >> >> >> gbc: error: Component not found: gb.form >> make[2]: No se hace nada para «install-data-am». >> make[2]: se sale del directorio «/home/jesus/trunk/examples» >> make[1]: se sale del directorio «/home/jesus/trunk/examples» >> Making install in . >> make[1]: se ingresa al directorio «/home/jesus/trunk» >> make[2]: se ingresa al directorio «/home/jesus/trunk» >> >> || Unable to compile gb.form >> || Unable to compile gb.form.dialog >> || Unable to compile gb.form.mdi >> || Unable to compile gb.db.form >> || Unable to compile gb.report >> || Unable to compile gb.chart >> || Unable to compile gambas3 >> >> Regards > > Did you download the source package from sourceforge? > No, I did svn co, sorry. @Jussi, logs are missing because it was exactly the same as before. (user EA7DFH at 20:54h). I only want to state that revision #4191 doesn't compile. I will download the source package and I'll try to compile it. Regards -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] SVN: gambas:[4192]
El 10/10/11 21:47, Benoît Minisini escribió: >>> >>> Did you download the source package from sourceforge? >> >> No, I did svn co, sorry. @Jussi, logs are missing because it was exactly >> the same as before. (user EA7DFH at 20:54h). >> I only want to state that revision #4191 doesn't compile. >> >> I will download the source package and I'll try to compile it. >> >> Regards > > I have just updated the svn repository too, so you can try again from it now. > > Regards, > Well, you did it. Both methods worked again (src package and svn 4192). Many thanks, Benoît. -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ubuntu 11.10 64 - Build 4200
El 14/10/11 22:55, John Spikowski escribió: > I upgraded to Ubuntu 11.10 64 bit and just compiled build 4200 without > issue. (limited testing - no compile errors) > > This release updated the Linux kernel to 3.0.0-12 and Gtk to 3. I not > using the Unity shell and reverted back to classic as much as possible. > > Make sure you reserve about 5 hours to update a 11.04 system. :-( It's a shame what they did with Ubuntu ... I hope the same does not happen with other distributions. (No flaming intended, it's only my opinion). Regards -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ubuntu 11.10 64 - Build 4200
El 14/10/11 23:55, Dag-Jarle Johansen escribió: > Hi, Jesus, > > I dont really know what your theme is, but as I saw you said its a shame > with Ubuntu, I have to ask you what? > > Thanks in advance and regards > Dag-Jarle Well, it's a matter of personal taste. I was previously a proud Ubuntu user and fan. Now, I don't like at all Unity nor the new aspect it has its desktop. It has become heavy and slow, and a number of people reports many issues with graphics. I'm not saying it could be better or worse, only that just now it doesn't like to me. I respect people using it, obviously. Sorry for the Off Topic. Regards -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gb.qt.kde Component
El 21/10/11 18:25, Jussi Lahtinen escribió: > Hi! > Just a guess... maybe you need to do this before compiling Gambas 2; > > sudo apt-get install kdelibs5-dev kdebase-dev > > > Jussi > > No, yet worse. See: http://www.ubuntuupdates.org/packages/show/330561 Perhaps it is the beginning of the end of Gambas2. QT3 libraries are being deprecated in some distributions, and perhaps some of older KDE's. Regards -- Jesus Guardon -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextEdit and linefeeds
El 08/11/11 17:05, Ron escribió: > All works, expect one thing. > Is there another way to color a line or part of a text? > > I hoped "" sText & "" worked since works, > but alas... > > Regards, > Ron_2nd. Randal Morgan wrote > Well, I don't know if this works but since you're html tags the tag should > read some text If you're using TextArea in Gambas3 the Raldal's example should work only if you use .RichText property, instead of .Text. Regards -- Jesus Guardon -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] TextEdit and linefeeds
El 08/11/11 20:41, Jesus escribió: > > If you're using TextArea in Gambas3 the Randall's example should work > only if you use .RichText property, instead of .Text. > > Regards > Ooops, my mistake. I meant *TextEdit*, not Textarea. And sorry for misspelling your name, Randall. Regards -- Jesus Guardon -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Error in Dbus class
When trying to test DBusExplorer example, it stops with error "Unknown symbol 'Sort' in class 'Class' in FVersiongbXML:152" This symbol appears inside the class method listing while typing, as it's a common array method. Also the error message is somewhat ambiguous. If I remove .Sort() the application also crash with another type mismatch error inside RemoveIds routine. I've recompiled this project after successfully installed svn #4248, but no luck. [System] OperatingSystem=Linux Kernel=3.0.0-12-generic Architecture=x86_64 Memory=4058664 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 11.10" Desktop=KDE4 [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 Regards -- Jesus Guardon -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error in Dbus class
El 14/11/11 20:43, Benoît Minisini escribió: > Le 14/11/2011 20:34, Jesus a écrit : >> When trying to test DBusExplorer example, it stops with error "Unknown >> symbol 'Sort' in class 'Class' in FVersiongbXML:152" > > It's fixed in revision #4249. > > Regards, > Now it works as expected. Thanks! Regards -- Jesus Guardon -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] 6
El 15/11/11 20:21, Leo Sendra escribió: > hello! http://www.sonicsyntax.com/bayinpills.html?ryahooID=4fx0 > > -- > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Well, this is the third time we receive spam from this user. Someone could kick him off the list, please? Regards -- Jesus Guardon -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] MP3 Tags
El 20/11/11 01:17, Benoît Minisini escribió: > Le 19/11/2011 22:50, Boyd, Craig a écrit : >> Hello All, >> >> I am not new to programming, but I am VERY new to Gambas. I found the >> example sound project and was able to play an MP3 ~ very easy& cool! >> So my first question to you guys is: Is it possible to use Gambas to >> retrieve MP3 tags and if so, how? >> >> Thanks, >> >> Craig >> > > I'm sure there is some command-line tool that can do that for you and > you will just have to call it from Gambas and get the result. > > I just don't know its name! :-) > > Regards, > Yes. This is the same advice I gave the other day to a guy. I have successfully tested "id3info" command from "libid3-tools" package. Now, it's a matter of calling it from gambas using shell or exec. Regards -- Jesus Guardon -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Install gambas3 on Oneiric
El 26/11/11 13:13, M. Cs. escribió: > Hi, I would like to install Gambas3 on Oneiric 64bit, but using > Haywood's PPA for Natty I couldn't fulfill the task. Are there > packages for this release? > > Thanks! > > -- > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi I think it doesn't exist yet, but you could run my automated script to easily install Gambas3 in almost every Ubuntu version. I'm using it successfully from the very beginning with 32 and 64 bits systems, Gnome or KDE... The script only automates what you would do manually in a terminal, but with a bit of cosmetic. File is attached, untar and execute in a terminal as a *normal user* (root passwd is asked later in the script). Hope this helps, regards -- Jesus Guardon install_gambas3.sh.tar.gz Description: application/gzip -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Runtime missing!!!
El 11/12/11 14:54, Willy Raets escribió: > Hi, > > Don't really know if this is the right place to post this but anyway: > > I installed the latest version of Gambas using 'gambas3-2.99.6.tar.bz2' > After unpacking into a folder I did the > ./reconfig-all-> no problems > ./configure -C -> no problems > make -> no problems > sudo make install -> no problems > > Gambas starts up just fine and seems to work just fine. > > When I debug run, the applications I built do run. > When I make a executable (nameapp.gambas) they run on my PC > I can also make Source archives. > > Problem starts with making Installation packages. > When I make one for Ubuntu and try install it I get this: > Dependency is not satisfiable: gambas3-runtime (>= 2.90.0) > > It looks like the gambas3-runtime is missing!!! > How is this possible. Is it not included in the > 'gambas3-2.99.6.tar.bz2'? > > Anyone know how to solve this? > > Thanks, > > Willy > > System info (copied from Gambas 3): > > [System] > OperatingSystem=Linux > Kernel=2.6.35-31-generic > Architecture=i686 > Memory=2051628 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.10" > Desktop=Gnome > > [Gambas 2] > Version=2.22.0 > Path=/usr/bin/gbx2 > > [Gambas 3] > Version=2.99.6 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.0 > GTK+=libgtk-x11-2.0.so.0.2200.0 > Hi, Willy Err... well, there is no problem with your setup. The main reason is that there aren't yet packages in the repositories. The installation package you've created contains information on what dependencies are needed and tries to install them, but it fails because Gambas3 isn't official and therefore is not in the repositories and none of its components. So for the moment there is not an easy solution, but shipping a home-made package using GB_DIR environment variable pointing at your copied gambas libraries. Regards -- Jesus Guardon -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] send a text message to a cell phone
El 14/12/11 23:03, herberth guzman escribió: > Greetings, I need to send a text message to a cell phone from gambas3, and > I can not, can help me please. > -- > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Well, did you read the answers to your previous post? Why do you re-post again the same question? Regards -- Jesus Guardon -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10
El 21/12/11 11:14, JUHASZ Robert escribió: > Hello List, > > I didn't succeed to recover my gambas2 despite of trying all the > proposals. > Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new > install. > Also installed the latest gambas2. > > After installation it worked properly including the Eval function. > > Then, I installed one of my programs (.deb file created on Ubuntu 11.04 > when gambas2 still worked). > I could launch the program but the Eval function didn't work. > > When I tried to open the project from gambas2 for recompiling I had > exactly the same issue as the last time under 11.04: gambas2 didn't > start and gave the famous message: > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library > file" > > I had some difficulties to remove my program (hoping that it recovers > gambas2), finally succeeded from synaptic but gambas2 still doesn't > work. > > Very probably it's the installation of the program developed in gambas2 > which created the problem but I have no idea how to deal with the > problem. > > It would be great to understand and solve this issue. Thanks for the > help. > > Robi Hi I'm sure this is a problem related to mixing two kind of installations: Gambas IDE (and all its components) from sources and parts of gambas coming from repositories (those who your deb package installs). Since compiled sources result in a set of binaries located at /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, unlike packages installed from repository that are placed in /usr/bin, /usr/lib/gambas2 and /usr/share/gambas2. This means that the two paths, compiled vs repositories, are in the environment path. Probably, binaries differ each other, but then the system is using -in your case, it seems- the older ones. From the beginning of Gambas I'm aware of this, so it's not a good idea to install deb packages made by the gambas IDE in a computer having Gambas installed by compiling from the latest SVN. Hope you will understand, my English is not as good as I'd like. Regards -- Jesus Guardon -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10
El 21/12/11 18:53, Fabien Bodard escribió: > 2011/12/21 Jesus : >> El 21/12/11 11:14, JUHASZ Robert escribió: >>> Hello List, >>> >>> I didn't succeed to recover my gambas2 despite of trying all the >>> proposals. >>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>> install. >>> Also installed the latest gambas2. >>> >>> After installation it worked properly including the Eval function. >>> >>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>> when gambas2 still worked). >>> I could launch the program but the Eval function didn't work. >>> >>> When I tried to open the project from gambas2 for recompiling I had >>> exactly the same issue as the last time under 11.04: gambas2 didn't >>> start and gave the famous message: >>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>> file" >>> >>> I had some difficulties to remove my program (hoping that it recovers >>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>> work. >>> >>> Very probably it's the installation of the program developed in gambas2 >>> which created the problem but I have no idea how to deal with the >>> problem. >>> >>> It would be great to understand and solve this issue. Thanks for the >>> help. >>> >>> Robi >> >> >> Hi >> >> I'm sure this is a problem related to mixing two kind of installations: >> Gambas IDE (and all its components) from sources and parts of gambas >> coming from repositories (those who your deb package installs). >> >> Since compiled sources result in a set of binaries located at >> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >> unlike packages installed from repository that are placed in /usr/bin, >> /usr/lib/gambas2 and /usr/share/gambas2. >> >> This means that the two paths, compiled vs repositories, are in the >> environment path. Probably, binaries differ each other, but then the >> system is using -in your case, it seems- the older ones. >> >> From the beginning of Gambas I'm aware of this, so it's not a good idea >> to install deb packages made by the gambas IDE in a computer having >> Gambas installed by compiling from the latest SVN. >> >> Hope you will understand, my English is not as good as I'd like. >> >> Regards >> >> >> -- >> Jesus Guardon > > > if it's deb of gb2 program it use gbr2 and executable for gb3 use > gbr3... no conflict between those two Yes, I know. But I'm talking only about Gambas2 and the differences between the paths where it's installed, depending on the way it's installed. The same will be applicable to Gambas3 when there will be packages in official repositories. The actual conflict comes when you have two versions of the Gambas2 interpreter, etc, in different places in the $PATH. -- Jesus Guardon -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10
El 22/12/11 07:46, JUHASZ Robert escribió: > Cure is OK, too: from synaptic I removed all the installed gambas > components and now the IDE works properly. > Thank you so much for the help. > > Robi Good to know, Robi. I was confident enough of this. Best regards! -- Jesus Guardon > - > Original Message- > From: JUHASZ Robert > To: gambas-user@lists.sourceforge.net > Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same > under 11.10 > Date: Thu, 22 Dec 2011 07:39:08 +0100 > > Hello Jesus, > > I absolutely understand what you mean and I think that it's a correct > explanation. I'll avoid installing programs written in gambas on my main > OS in the future and will only do on a testing virtual machine. > So understanding and prevention are fine :-) > > Do you have any idea for the cure? How could I get working my gambas > without re-installing the OS? > I tries to recompile, also tried to delete the installation files and > recompile but it doesn't work. > > Thx, > Robi > > -Original Message- > From: Jesus > Reply-to: mailing list for gambas users > > To: mailing list for gambas users > Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same > under 11.10 > Date: Wed, 21 Dec 2011 19:35:48 +0100 > > > El 21/12/11 18:53, Fabien Bodard escribió: >> 2011/12/21 Jesus : >>> El 21/12/11 11:14, JUHASZ Robert escribió: >>>> Hello List, >>>> >>>> I didn't succeed to recover my gambas2 despite of trying all the >>>> proposals. >>>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>>> install. >>>> Also installed the latest gambas2. >>>> >>>> After installation it worked properly including the Eval function. >>>> >>>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>>> when gambas2 still worked). >>>> I could launch the program but the Eval function didn't work. >>>> >>>> When I tried to open the project from gambas2 for recompiling I had >>>> exactly the same issue as the last time under 11.04: gambas2 didn't >>>> start and gave the famous message: >>>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>>> file" >>>> >>>> I had some difficulties to remove my program (hoping that it recovers >>>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>>> work. >>>> >>>> Very probably it's the installation of the program developed in gambas2 >>>> which created the problem but I have no idea how to deal with the >>>> problem. >>>> >>>> It would be great to understand and solve this issue. Thanks for the >>>> help. >>>> >>>> Robi >>> >>> >>> Hi >>> >>> I'm sure this is a problem related to mixing two kind of installations: >>> Gambas IDE (and all its components) from sources and parts of gambas >>> coming from repositories (those who your deb package installs). >>> >>> Since compiled sources result in a set of binaries located at >>> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >>> unlike packages installed from repository that are placed in /usr/bin, >>> /usr/lib/gambas2 and /usr/share/gambas2. >>> >>> This means that the two paths, compiled vs repositories, are in the >>> environment path. Probably, binaries differ each other, but then the >>> system is using -in your case, it seems- the older ones. >>> >>> From the beginning of Gambas I'm aware of this, so it's not a good idea >>> to install deb packages made by the gambas IDE in a computer having >>> Gambas installed by compiling from the latest SVN. >>> >>> Hope you will understand, my English is not as good as I'd like. >>> >>> Regards >>> >>> >>> -- >>> Jesus Guardon >> >> >> if it's deb of gb2 program it use gbr2 and executable for gb3 use >> gbr3... no conflict between those two > > > Yes, I know. But I'm talking only about Gambas2 and the differences > between the paths where it's installed, depending on the way it's installed. > > The same will be applicable to Gambas3 when there will be packages in > official repositories. > > The actual conflict comes when you have tw
Re: [Gambas-user] Gambas 3 is out!
Many many thanks for the effort and Happy New Year. I hope you have now some time to sleep a bit, cheers! Jesus. -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3
El 02/02/12 13:29, John Rose escribió: > When I try to install the trunk version of Gambas3 using subversion > (i.e. the command stated on Gambas's Documentation Subversion page), it > installs to /usr/local/bin. I've emailed kendek to try& clarify the > situation. I think that my system gets confused by these 2 versions of > Gambas3. To solve the problem, I think that I only have to uninstall > kendek's packages). Is that reasonable? You are right. This issue has been discussed few weeks ago on this list, so better uninstall kendek's packages and you're done. About deleting trunk folder, I'm doing so each time I want to compile a new revision, so never got a problem with this, IMO it's better. Best regards -- Jesus Guardon -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Naming/Renaming projects
El 06/02/12 12:37, Rolf-Werner Eilert escribió: > This is just minor IDE thing, but it confuses me each time I want to > start a new project. Guess this hasn't changed in Gambas3, correct me if > I'm wrong, I just can't check on this machine here at the moment. > > In the dialog that asks for the project title and name, the explanations > for the two input fields don't make the purposes of the input texts > quite clear to me: Which one is for the directory, and which one means > the "internal" title for the project? > > I do see a distinction here necessary, the directory name may be a brief > of the project title for instance. Or I want a directory name without > spaces ("new20") but a title that says "My new project 2.0". But each > time I start, I'm unsure what to type where, so I tend to type the same > thing (directory name) into both fields. > > The second point is, when I want to open an existing project, I'm asked > for the directory, right? But the dialog is a file-opening one, so if > you don't know, you get confused here: Do I have to point to a concrete > file, or is it ok to point to a directory only? > > Then there is a third thing which in turn has to do with my first issue: > I wanted to rename a project, making a new directory for it (i. e. > making a copy but also a new name). As I'm not sure what happens when I > change the name of the project from within the IDE (Save As asks for a > directory AND filename... so what do I need to give? Both? Only a > directory name? And what happens to the project title then?) I simply > made a copy and renamed it by hand. > > Loading this new one I was surprised to find the new directory name in > the IDE title - not the old project title string. This made me think: > What do I have to give a project title for if it isn't used anyway :-) > > So shouldn't these dialogs be thought over in terms of user > friendliness, what do you think? > > Rolf +1 I totally agree -- Jesus Guardon -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Send from .module to .class
El 05/02/12 00:01, abbat escribió: > > How can I send a string "test_string" from > Main.module > to > Label1 which situated on > MFmain.class > > Thanks > > Use "properties" or setter and getter public functions. Not a good idea making form controls public. Regards -- Jesus Guardon -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Send from .module to .class
El 06/02/12 21:59, Ron escribió: > I agree, but the supplied example doesn't work with making controls public. Sorry Ron. I was sure someone suggested doing that. Regards -- Jesus Guardon > > 2012/2/6 Jesus > >> El 05/02/12 00:01, abbat escribió: >>> >>> How can I send a string "test_string" from >>> Main.module >>> to >>> Label1 which situated on >>> MFmain.class >>> >>> Thanks >>> >>> >> >> Use "properties" or setter and getter public functions. Not a good idea >> making form controls public. >> >> Regards >> >> -- >> Jesus Guardon >> -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Problems on mail list
El 27/12/14 a las 13:44, Gian escribió: > This morning I received the email sent on 25 by Wolfgang. > My answer of 11:29 today 27 not appears. > What happens to the mail list? > Hello > Gianluigi I can see your reply without problems... --8<--- > No during runtime is not possible. > But you can alert the user that the program should restart. > Save the choice, close and restart with the language chosen from the user. > > Hello > Gianluigi --8<--- Which email client are you using? Regards -- Jesus Guardon -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Some playing on logo redesing
El 27/2/15 a las 15:11, Fabien Bodard escribió: If you accept my criticism, I will tell you none of these do like to me at all... sorry ;-) Also, I think the current logo is nice, and the former gambas2 logo was much better in terms of 3D. I really appreciate your efforts. Regards -- Jesus Guardon -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Tutorial on native component development
El 6/3/15 a las 2:13, Tobias Boege escribió: > Hi list, > > Ru thought it would be a good idea to have a tutorial on how to set up > oneself to write a native Gambas component and then to actually write > one. After a marathon session since 10 a.m. today I just completed my > attempt at it. > > It's available over here[0]. ... > > Regards, > Tobi > > [0] http://www-e.uni-magdeburg.de/tboege/gambas > Many thanks, Tobi. Very much appreciated, this will get us started with native components. Regards -- Jesus Guardon -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Interview about Gambas
El 11/6/15 a las 11:45, Jorge Carrión escribió: > ...And comb your hair, for god sake! > :D:D:D > LOL, good one, Jorge! Good luck in the interview, Benoît. Gambas deserves it. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] i Build a RPM package but...
El 12/7/15 a las 13:01, tsukuba GIMP user escribió: > ... I using "mediaview" but it's no have like picture.load("xxx.png") options > mediaview only have "mediaview.url" options i must use music = > application.Path &/ "music1.mp3" > and then it's working > ok here is my code: > > Public Sub Button1_Click() > Dim music As String > MediaView1.Stop > music = application.Path &/ "music1.mp3" > MediaView1.URL = music > MediaView1.play > > End Hi, tsukuba First, you should read carefully what others have wrote in this thread. Using "Application.Path" is not a good idea in your case, so as Tobi has told you, put your music.mp3 file inside the Data folder in your project tree. Now, all you should do, is changing the line: music = application.Path &/ "music1.mp3" to: music = "music1.mp3" And that's all. mp3 file is embedded into the executable and it is anymore in the filesystem. If you want to put it in the filesystem, I would recommend you doing this by copying to somewhere in the user folder, for instance, in a hidden folder like /home/your_username/.your_app_name/music.mp3 and instruct to the packager to copy those files into this folder. This way, in gambas you should simply use this path to access your mp3 file: music = User.Home &/ ".your_app_name/music1.mp3" Note two things here: ".your_app_name" should be the actual name of your application and the . dot in front of it is what it makes a hidden folder (or file). Hope this clarifies something Regards -- Jesus Guardon -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] ?????? : why this code not working
Tsukuba With my respect to you, I think you need to understand the basics of programming and familiarize yourself with the terminology. I suggest reading a book or two about programming, perhaps visiting an online manual [1] and [2] if you understand enough English, and once done, come back with a bit more elaborated issues. [1] http://whiteislandsoftware.com/index.php?page=cedi&type=misc&id=64 [2] http://howtogambas.org/ Also, reading and trying to understand the examples provided by gambas3 (the software farm) could help. I don't want to seem harsh, only trying to help you the best way. Best of luck Regards -- Jesus Guardon El 14/7/15 a las 21:14, tsukuba GIMP user escribi??: > No i make a mistay Mistakes not $dbclick += 1 still not working is > > > >> Now, you declare $dbclick, but you don't set a value to it. >> So, every time PictureBox1_MouseDown() starts, $dbclick gets the value 1. >> Try: Private $dbclick as Integer = 0 >> >> Am 14.07.2015 um 21:01 schrieb tsukuba GIMP user: >> here is >> ' Gambas class file >> >> ' Private $dbclick As Integer >> (Unrelated content and Comment symbol because i build a package So I >> shielded them) >> ' Public Sub PictureBox1_MouseDown() >> ' Dim dicer As Integer >> ' dicer = Int(Rnd(1, 5)) >> ' $dbclick += 1 >> ' Print $dbclick <- TEST ONLY >> ' If $dbclick = 8 Then <-- THIS STILL NOT WORKING!!! >> ' Form3.Text = ("") >> ' Form3.TextBox1.text = ("xxx!!") >> ' Form3.Show >> ' Else >> ' Goto just_keep_moveing >> ' Endif >> ' just_keep_moveing: >> ' If dicer = 1 Then >> ' Form3.Text = ("") >> ' Form3.TextBox1.Text = ("...xx.") >> ' Form3.Show >> ' Else If dicer = 2 Then >> ' Form3.Text = ("") >> ' Form3.TextBox1.text = ("xx?xx?") >> ' Form3.Show >> ' Else If dicer = 3 Then >> ' Form3.Text = ("") >> ' Form3.TextBox1.text = ("~~") >> ' Form3.Show >> ' Else If dicer = 4 Then >> ' Form3.Text = ("") >> ' Form3.TextBox1.text = ("xxx! xx~??") >> ' Form3.Show >> ' Endif >> ' End >> >> >> >> >> On 07/14/2015 02:37 PM, tsukuba GIMP user wrote: >>> i added the private var and in print number is working >>> but when number is 8 it's still forget the >>> if $dbclick = 8 then '$ is private var >> >> What is the content of your function's code now? >> >> >> Lee >> __ >> -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: This is a test
El 22/7/15 a las 23:38, Adrien Prokopowicz escribió: > > As Benoît stated here[0], Github does not have mailing-list support. So > we can't move everything over there (unless we host them on a separate > server). It's a pity Github doesn't have mailing list support! > > But we need to move away from SourceForge. I mean, I have > to add exceptions to anti-malware blacklists to even access the > Gambas website (when it isn't down, of course). > I agree with Adrien. Sourceforge sucks! Moreover it is slow, counter-intuitive and tons of ads. Perhaps maintaining our own server would be an alternative? Just thinking out loud... Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New Gambas bug tracker (alpha)
El 27/7/15 a las 13:27, martin p cristia escribió: > Couldn't registeror my english is too bad > Definitely, something doesn't work with captcha or it is extremely difficult for non English people. I'm unable to register and mostly all words seems unrecognizable to me. On the other hand, recently I have implemented google reCaptcha in my own application (non gambas related, but JS and PHP) and was way easy and secure in my opinion. Its motto is self explanatory: Easy for humans, very hard for bots Please, take a look: https://www.google.com/recaptcha/intro/index.html Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas highlight
El 10/8/15 a las 16:05, abbat81 escribió: > Hi, > > is it possible to add Gambas syntax highlighting for the Web? > > I tried VBScript and VB.NET. It's not good for Gambas code. > > https://highlightjs.org/ > Hi abbat81 About 6 years ago, I did contributed to GeShi project enabling syntax highlighting for gambas[*]. GeShi is a powerful php script for highlighting about 200 programming languages, it is easy to implement in almost any web page and results are amazing. Not sure what's happening with this project since 10 months ago, main site is not responding for a while... http://qbnz.com/highlighter https://github.com/GeSHi/geshi-1.0 Moreover, there are plugins based on GeShi for several CMS as Wordpress, and the like. Hope this helps, regards -- Jesus Guardon [*] Yes, it needs an update based on gambas3 brand new classes... -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Gambas highlight
El 11/8/15 a las 9:33, abbat81 escribió: > Jesus wrote >> [*] Yes, it needs an update based on gambas3 brand new classes... > > > Can you update those new classes in gambas.php ? Currently I am very busy. I've scheduled the task to not forgetting, but expect at least a 15 or 20 days delay. Sorry ;-) Regards, -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Since 3.8 open project with files in state "changed"
El 15/8/15 a las 10:07, Christof Thalhofer escribió: > Hello, > > if I close a project with open class files and reopen that project all > opened files are in the state changed, even if I did not change anything. > > See screenshot of project just opened. > > So I cannot close that project without the dialog to save the files ... > even if nothing changed. > > > Alles Gute > > Christof Thalhofer Hi Christof Are by chance your files located in a folder which is under external synchronization or shared in any way? i.e. Dropbox, owncloud or something similar? Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] GAMBAS PATH
El 11/08/13 14:45, Antonio Sánchez escribió: > Hi, Benoît, would reconsider the possibility to run GAMBAS from a given > path with a environment variable or another method? It would be a great > help to run programs made with older versions of GAMBAS in new systems that > do not have in its repositories older versions of GAMBAS. > > It would be useful to run programs made in GAMBAS in home directory too > without root permissions. > > And you could play with several versions only copying necessary files in > the work folder. > > And another advantage is that you can be sure that the user will have just > the version your program need =:-) > > > Thanks. Some time ago, I was playing with gambas2 and the GB_DIR environment variable. I was able to start my programs from anywhere in the mounted storage units. However, since then, I haven't used GB_DIR anymore, but I guess Benoit could explain here if this is still a valid option for the purpose. In the meantime, Antonio, you could check some threads in the Spanish forum, perhaps that will give you some clues. http://www.gambas-es.org/viewtopic.php?p=1388#p1388 Regards -- Jesus Guardon -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Modulo operator returns wrong results
I've been racking my brain with a simple problem and I've discovered something weird with "Mod" operator, returning wrong results. For example, -3 Mod 800 gives -3, and it should be 797. It's only me or someone else has wrong results? Here are my settings, thanks in advance. Gambas3 from SVN: 3.4.90 r5847 [System] OperatingSystem=Linux Kernel=3.2.0-23-generic Architecture=x86_64 Distribution=Linux Mint 13 Maya Desktop=GNOME Theme=QPlastique Language=es_ES.UTF-8 Memory=16034M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 Regards -- Jesus Guardon -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modulo operator returns wrong results
El 25/09/13 02:42, Benoît Minisini escribió: > Le 25/09/2013 01:23, Jesus a écrit : >> I've been racking my brain with a simple problem and I've discovered >> something weird with "Mod" operator, returning wrong results. >> >> For example, -3 Mod 800 gives -3, and it should be 797. >> >> It's only me or someone else has wrong results? >> > > See > http://en.wikipedia.org/wiki/Modulo_operation#Common_pitfalls > > -3 Mod 800 = -(3 Mod 800) > > This is not the mathematical modulus operator. > What is it, then? In Python, Modulus operator is % and gives the correct results. Also the calculator program has a Mod function which gives the expected result. Anyway I've made a function that mimics the Python modulus, so not a big problem. Thanks -- Jesus Guardon -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Modulo operator returns wrong results
El 28/09/13 21:47, paulwheeler escribió: > Gentlemen, > > I have never heard of the mod operator being used the way you did in > your problem. However, because Jesus mentioned his calculator having a > mod function, I went to "http://web2.0calc.com/"; and did the problem. I > was stunned to see that the result is 797! It appears to me that you > are using "mod" the same way as the mathematics problem of 800 -3 = 797. > > Where did you learn this definition of "mod"? I am really curious. > > I am not a "C" programmer, but have used "mod" in other languages. My > experience has alway been the same as the definition given at the > beginning of the article Benoit referred to. see: > "http://en.wikipedia.org/wiki/Modulo_operation"; > > The definition I know is this one: "... the modulo operation finds the > remainder of division of one number by another." > > Even the "Common pitfalls" section of that article is talking about a > dividend which implies division. > > When I did a search for "Mod operator", wikipedia redirected me to the > modulus article. > > When I did a search for "C Language operators", I found "Modulo" under > Arithmetic operators. see: > http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B When I clicked > on "Modulo" it also redirected me to the modulus article. Note that the > "Modulo" operator is just after the division operator. > > When I did a search for "Visual Basic Language operators", I found "Mod > Operator" under Arithmetic operators. see: > http://msdn.microsoft.com/en-us/library/se0w9esz.aspx, where it gives > this definition: "Divides two numbers and returns only the remainder." > > Their example (under "Result") again gives the same definition and then > gives an example: "The result is the remainder after number1 is divided > by number2. For example, the expression 14 Mod 4 evaluates to 2." > > http://www.tutorialspoint.com/python/python_basic_operators.htm > % Modulus - Divides left hand operand by right hand operand and returns > remainder > > However, when one of the numbers is negative, then the remainder is not > what you would expect with both being positive. > > > One very confused programmer, > > Paul Hi Paul et all When working with some video games, there are a feature called wraparound or screen wrap. It consists on objects leaving one side of the screen that immediately reappear on the opposite side, maintaining speed and trajectory. For this task usually modular arithmetic is used, involving the Mod operator. As I said before, on Python at least, it works as expected with negative numbers, and not only integers. Lets imagine a spaceship in a drawing area 800px wide that reaches past the left edge of the screen. Just before it passes, say at pixel 2 in X coordinates, the operation would be: 2 Mod 800 = 2 So, nothing has changed in its position. But when the ship is at negative coordinates, say again -2: -2 Mod 800 = 798 That's exactly the opposite side of the drawing area, which is what I had expected. If -2 would be returned instead, it won't work. However this is not an issue for me, since this can be solved this way: Private Sub fmod(Dd As Float, d As Float) As Float If Dd < 0 Then Return Abs((Frac(Dd / d)) * d - d) Else Return (Frac(Dd / d)) * d Endif End So no need to modify gambas at all, ;-) Regards Jesus Guardon -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] "wrapping" function based on recent Mod thread
El 06/10/13 05:40, Kevin Fishburne escribió: > Jesus Guardon said in the recent thread "Modulo operator returns wrong > results ": > > Hi Paul et all > > When working with some video games, there are a feature called > wraparound or screen wrap. It consists on objects leaving one side of > the screen that immediately reappear on the opposite side, maintaining > speed and trajectory. For this task usually modular arithmetic is used, > involving the Mod operator. > > As I said before, on Python at least, it works as expected with > negative > numbers, and not only integers. > > Lets imagine a spaceship in a drawing area 800px wide that reaches past > the left edge of the screen. Just before it passes, say at pixel 2 in X > coordinates, the operation would be: > > 2 Mod 800 = 2 > > So, nothing has changed in its position. But when the ship is at > negative coordinates, say again -2: > > -2 Mod 800 = 798 > > That's exactly the opposite side of the drawing area, which is what I > had expected. If -2 would be returned instead, it won't work. > > However this is not an issue for me, since this can be solved this way: > > Private Sub fmod(Dd As Float, d As Float) As Float > >If Dd < 0 Then >Return Abs((Frac(Dd / d)) * d - d) >Else >Return (Frac(Dd / d)) * d >Endif > > End > > So no need to modify gambas at all, ;-) > > --- > > A couple of questions. First which is the upper-bound (screen > width/height) and which is the current value (position), Dd or d? > Second, is there a way using this algorithm to specify the lower-bound? > The solutions I've found online for "wrapping" a number between an > arbitrary lower- and upper-bound don't work when the value being wrapped > is negative. The algorithm I'm using is horribly inefficient, as it uses > loops. > Hi, Kevin Well, as you know, screen coordinates start in the upper left corner and grow towards the right in the X axis and towards the bottom in the Y axis. Sorry if it's too obvious. So all operations on an hypothetical spaceship, must be done on separate axis, for instance X at first and Y at last (this is not critical, though). So the above function is a try to mimic the Mod operator which accepts the dividend (Dd) and divisor (d) returning the remainder even if dividend is negative. So, if you prefer, the arguments for the above function should read: fmod(actualPosition, screenLimit) and need to be calculated for each axis separately. ship_pos.X = fmod(ship_pos.X, screenWidht) ship_pos.Y = fmod(ship_pos.Y, screenHeight) That is! Also, it accepts float numbers and return (cast float)integers. You could view it in action here[0], though it is in Spanish. The example project is available for download at the end of the post. [0] http://blog.gambas-es.org/aceleracion-y-friccion/ Hope this helps, best regards! Jesús Guardón -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Configure method of ToolBar
Hi all I'm trying to get up and running a project which have a Toolbar and some toolbuttons in it. I'd like to mimic the same behavior toolbars have in Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling the configure method throws an error aborting my application. BTW, all the toolbuttons have set an Action property, but note that I haven't any workspace in the main form, just the toolbar. This is the code I'm using in a minimal test application: --8<-- Public Sub ToolBar1_MouseDown() If Mouse.Right Then ToolBar1.Configure End --8<-- The error text is in the 'Toolbar1.Configure' line: "Not an object" The stack back-trace: FToolBarConfig.InitAction.108 FToolBarConfig.SetCurrentToolBar.54 FToolBarConfig.Run.17 Action._ConfigureToolBar.21 ToolBar.Configure.34 FMain.ToolBar1_MouseDown.20 What am I doing wrong? [System] Gambas=3.5.90 r5975 OperatingSystem=Linux Kernel=3.2.0-23-generic Architecture=x86_64 Distribution=Linux Mint 13 Maya Desktop=GNOME Theme=QPlastique Language=es_ES.UTF-8 Memory=16034M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 Regards -- Jesus Guardon -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Configure method of ToolBar
El 01/12/13 16:54, Jesus escribió: > Hi all > > I'm trying to get up and running a project which have a Toolbar and some > toolbuttons in it. I'd like to mimic the same behavior toolbars have in > Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling > the configure method throws an error aborting my application. > BTW, all the toolbuttons have set an Action property, but note that I > haven't any workspace in the main form, just the toolbar. > > This is the code I'm using in a minimal test application: > --8<-- > Public Sub ToolBar1_MouseDown() > > If Mouse.Right Then ToolBar1.Configure > > End > --8<-- > The error text is in the 'Toolbar1.Configure' line: "Not an object" > The stack back-trace: > > FToolBarConfig.InitAction.108 > FToolBarConfig.SetCurrentToolBar.54 > FToolBarConfig.Run.17 > Action._ConfigureToolBar.21 > ToolBar.Configure.34 > FMain.ToolBar1_MouseDown.20 > > What am I doing wrong? Finally I've found what I was doing wrong. The 'Key' toolbar's property *must* be set with a unique name. Failing to do this, will lead to a dumb toolbar. No need to call Configure from a mouse event. Hope this helps someone else. Regards -- Jesus Guardon -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Configure method of ToolBar
El 03/12/13 01:27, Benoît Minisini escribió: > Le 03/12/2013 00:41, Jesus a écrit : >> El 01/12/13 16:54, Jesus escribió: >>> Hi all >>> >>> I'm trying to get up and running a project which have a Toolbar and some >>> toolbuttons in it. I'd like to mimic the same behavior toolbars have in >>> Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling >>> the configure method throws an error aborting my application. >>> BTW, all the toolbuttons have set an Action property, but note that I >>> haven't any workspace in the main form, just the toolbar. >>> >>> This is the code I'm using in a minimal test application: >>> --8<-- >>> Public Sub ToolBar1_MouseDown() >>> >>> If Mouse.Right Then ToolBar1.Configure >>> >>> End >>> --8<-- >>> The error text is in the 'Toolbar1.Configure' line: "Not an object" >>> The stack back-trace: >>> >>> FToolBarConfig.InitAction.108 >>> FToolBarConfig.SetCurrentToolBar.54 >>> FToolBarConfig.Run.17 >>> Action._ConfigureToolBar.21 >>> ToolBar.Configure.34 >>> FMain.ToolBar1_MouseDown.20 >>> >>> What am I doing wrong? >> >> Finally I've found what I was doing wrong. The 'Key' toolbar's property >> *must* be set with a unique name. Failing to do this, will lead to a >> dumb toolbar. No need to call Configure from a mouse event. Hope this >> helps someone else. >> >> Regards >> >> > > I have added an explicit error message if the Configure() method is > called without Key being defined. > > Regards, > Great! However I can't see the change in latest commits. 8-/ Regards -- Jesus Guardon -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Calling a sub from a Webview
Hi all I currently helping to port a VB6 program to Gambas3, but to my surprise, it does weird things like these from the post title: it is calling methods and functions from the html code inside a webbrowser control. It has a wb control that acts like a sort of wizard/help thing, and the html links in that view are calling methods inside the application. That links are as 'some action' So the question is, could it be done with gambas somehow? Regards -- Jesus Guardon -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Calling a sub from a Webview
El 04/12/13 22:32, Tobias Boege escribió: > On Wed, 04 Dec 2013, Jesus wrote: >> Hi all >> >> I currently helping to port a VB6 program to Gambas3, but to my >> surprise, it does weird things like these from the post title: it is >> calling methods and functions from the html code inside a webbrowser >> control. >> >> It has a wb control that acts like a sort of wizard/help thing, and the >> html links in that view are calling methods inside the application. That >> links are as 'some action' >> >> So the question is, could it be done with gambas somehow? >> >> Regards >> -- >> Jesus Guardon > > Jesus (meant as an interjection)! I know I shouldn't question other people's > design choices but this is just mad. Actually it might have seemed like an > elegant way to communicate with an HTML page to the original author of that > program - I understand that - but this is just asking for trouble, IMHO. > > However, I guess Object.Call() is your best bet here. > > Regards, > Tobi > Hi Tobi, thanks for reply I am at your side about some (mad) practices, but... I think Object.Call is suitable for calling or executing code inside or outside of the current class, but not the other way round, IIUC. How could I execute Object.Call from inside a webview? None of the events webview exposes are suitable for doing this IMO, since the webview.url is a property, not a method. I will experiment, thanks for the tip! Regards -- Jesus Guardon -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Calling a sub from a Webview
El 04/12/13 23:33, Tobias Boege escribió: > On Wed, 04 Dec 2013, Jesus wrote: >> El 04/12/13 22:32, Tobias Boege escribi?: >>> On Wed, 04 Dec 2013, Jesus wrote: >>>> Hi all >>>> >>>> I currently helping to port a VB6 program to Gambas3, but to my >>>> surprise, it does weird things like these from the post title: it is >>>> calling methods and functions from the html code inside a webbrowser >>>> control. >>>> >>>> It has a wb control that acts like a sort of wizard/help thing, and the >>>> html links in that view are calling methods inside the application. That >>>> links are as 'some action' >>>> >>>> So the question is, could it be done with gambas somehow? >>>> >>>> Regards >>>> -- >>>> Jesus Guardon >>> >>> Jesus (meant as an interjection)! I know I shouldn't question other people's >>> design choices but this is just mad. Actually it might have seemed like an >>> elegant way to communicate with an HTML page to the original author of that >>> program - I understand that - but this is just asking for trouble, IMHO. >>> >>> However, I guess Object.Call() is your best bet here. >>> >>> Regards, >>> Tobi >>> >> >> Hi Tobi, thanks for reply >> >> I am at your side about some (mad) practices, but... >> >> I think Object.Call is suitable for calling or executing code inside or >> outside of the current class, but not the other way round, IIUC. How >> could I execute Object.Call from inside a webview? None of the events >> webview exposes are suitable for doing this IMO, since the webview.url >> is a property, not a method. >> >> I will experiment, thanks for the tip! >> > > Ahh, I got you wrong apparently... My answer can be applied if you have any > occasion (event) to parse an (X)HTML element for this special attribute > href="act:some_class.method". Then you can extract the class and method name > and use Object.Call(). > > You can (ab)use the WebView's Click event like this: Modify the element > to look like this: > > some action > > Then, when clicked, the WebView will load the valid URL (the anchor sign had > to be prepended to make it valid - to trigger the Click event, in turn) and > provide you a WebFrame object in whose Url property you have the wanted > act:some_class.method string somewhere. Now parse and execute. > > I think it's too late for me to find clear words, so I attach a minimal > example. (Note that the code is executed twice in this project which is > certainly not desirable. You'll sure find a way to prevent this yourself.) > > Regards, > Tobi Many thanks, Tobi I think this is a good starting point. Just hope I will not get crazy after that. Now I'm going to sleep and tomorrow I will give it a fresh (re)view. Regards -- Jesus Guardon -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Line continuation
El 06/12/13 22:04, ISS Boss escribió: > > I agree with John, Benoît. There really should be a specific character > to > continue a line; if only to keep from confusing anyone maintaining the > code. Put it on the 'nice to have' list, anyway. > Bill > Benoît Minisini wrote, On 12/06/2013 14:37: > > Le 06/12/2013 20:17, John Rose a écrit : > > Is there a line continuation character available for code? I find that I > often have very long lines (e.g. in Exec commands). > > There is no line continuation character, but you usually can go to > another line inside an expression after a comma. > > Regards, My vote is for underscore _ Regards -- Jesus Guardon -- Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Popup menu in project tree
El 09/12/13 22:38, Jesus escribió: > Hi all > > When I right click over an item in the project tree, say "Data" folder, > there's not a full menu, so I cannot add a new file or whatever. If such > a folder contains a sub-item, then I am able to add another file by > right clicking on the sub-item. > > I don't remember if it was previously this way, so please, can someone > check this? I've attached a capture explaining the situation. > > gambas 3.5.90 r5986 > Could anyone check this? I'm afraid if I was the only one affected by this issue... Regards -- Jesus Guardon -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Popup menu in project tree
El 12/12/13 00:50, Benoît Minisini escribió: > Le 12/12/2013 00:17, Tobias Boege a écrit : >> On Wed, 11 Dec 2013, Jesus wrote: >>> El 09/12/13 22:38, Jesus escribi?: >>>> Hi all >>>> >>>> When I right click over an item in the project tree, say "Data" folder, >>>> there's not a full menu, so I cannot add a new file or whatever. If such >>>> a folder contains a sub-item, then I am able to add another file by >>>> right clicking on the sub-item. >>>> >>>> I don't remember if it was previously this way, so please, can someone >>>> check this? I've attached a capture explaining the situation. >>>> >>>> gambas 3.5.90 r5986 >>>> >>> >>> Could anyone check this? I'm afraid if I was the only one affected by >>> this issue... >>> >> >> Yes, I also noticed this but didn't take it seriously. (But it definitely >> is!) >> >> Regards, >> Tobi >> > > Fixed in revision #5996. > Confirmed fixed. Thanks, as always! Regards -- Jesus Guardon -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 497 in gambas: When date is formatted in gridview then right click pop up menu doesnot work
El 25/01/14 01:02, gam...@googlecode.com escribió: > Updates: > Status: WontFix > Labels: -3.5.2 Version-3.5.0 > > Comment #1 on issue 497 by benoit.m...@gmail.com: When date is formatted in > gridview then right click pop up menu doesnot work > http://code.google.com/p/gambas/issues/detail?id=497 > > Of course: by modifying the GridView contents inside the Data event > handler, you are triggering a refresh that calls the Data event again and > again. It eats all the CPU (depending on the GUI toolkit and your system), > and the GUI becomes unresponsive. > > Just don't modify the GridView contents inside the Data event handler. The > Data event handler is just there for filling the GridView Data property. > Interesting. Then, what is the correct way to do this pulling the database content in a result object? I's supposed that a result object brings a date object and its formatting depends on further processing, provided we are using a datetime type field in our db... Perhaps I am so slept to see that just now ;-) Oh! We should then use FORMAT function in sql, should we? Thanks in advance -- Jesus Guardon -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: morse code sound ?
El 07/02/14 15:17, Ru Vuott escribió: > I'ld suggest some my little study about.. > > http://www.gambas-it.org/wiki/index.php?title=Emettere_suoni > > > vuott > Wow! That's exactly what I was looking for. Great job, vuott. In the other hand, I suggest Dirk to take a close look at this project [1], though written in Python, well worth to give it a try, or perhaps trying to convert to gambas the relevant code. [1] https://code.google.com/p/kochmorse/source/browse/trunk/KochMorse/alsamorse/morse.py -- Jesus Guardon -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] SMTP Component
El 26/02/14 18:20, Nigel Verity escribió: > Hi > > I am planning to use the SMTP component in a new Gambas project. I am happy > with the basic functionality but the documentation states that if the "Host" > property is left blank the messages are sent to "localhost" instead of a > designated SMTP server. > > Does anybody know where on my local machine those messages will be saved? Is > the localhost option just intended to be used for testing, or does it act as > an "outbox" meaning the messages can be subsequently forwarded to an SMTP > server? > > Thanks > > Nige > -- > Flow-based real-time traffic analytics software. Cisco certified tool. > Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer > Customize your own dashboards, set traffic alerts and generate reports. > Network behavioral analysis & security monitoring. All-in-one tool. > http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Just out of curiosity, I've found this great article/explanation about setting up Thunderbird to read local mail using postfix. http://askubuntu.com/questions/192572/how-read-local-email-in-thunderbird Regards -- Jesus Guardon -- Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Read-only controls in IDE
El 05/03/14 16:23, Benoît Minisini escribió: > Le 05/03/2014 16:02, Jesus a écrit : >> Hi all >> >> It seems that some controls in the Preferences dialog of the Gambas IDE >> are read-only or are disabled > > Oops. It was a bad bug fix! > > Fixed the fix in revision #6193. > Oh, well! Thanks -- Jesus Guardon -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] OT: wrong mailing-list sorting
El 05/03/14 17:12, Rolf-Werner Eilert escribió: > This is only in the Gambas mailing list, so it's not as much OT as it > might seem ;) > > In my Thunderbird, single mails from the list are sorted at the > beginning of the list, i. e. I will have to scroll to the end to see the > rest of the discussion. > > As I said, it only happens sometimes, but it has happened more > frequently during the last months. So something seems to confuse > Thunderbird with the mails coming from the Gambas list. > > Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the > beginning of the list (position 20 or so), the other two answers at the > end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 > stands before it, the rest of the discussion is at the correct place. > Jorge Carrión from 03.03.2014 21:44 is before it, and the rest of the > discussion at the end of the list. > > I browsed through the wrong sorted mails, but they have correct dates > and times, nor have they anything unusual in common. Has anyone here had > the same problem, maybe even with another mailing program? > > Thanks for any ideas. > > Rolf I'm using Thunderbird since ages, currently at v24.3.0 and never had a problem, except sometimes getting duplicated messages from some rss feeds. I have everything sorted and distributed in folders automagically with the help of filters. I am managing 7 or 8 mail accounts and several rss feeds. Gambas' folder has close to 3 messages and never have had a problem. About eleven mail lists each in its own folder... Love it! In such a case like mine, I recommend rsync'ing thunderbird database or the whole folder to an external storage. Too much data to loose ;-) What is your setup, version, distro, etc? Regards -- Jesus Guardon -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Sample apps
El 06/03/14 00:16, Daniel Quintero escribió: > I found them! I download the Gambas source code and copied them to the path > /usr/share/gambas3/examples Or simply: apt-get install gambas3-examples ...as usual. Regards -- Jesus Guardon -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] OT: wrong mailing-list sorting
El 06/03/14 13:00, Rolf-Werner Eilert escribió: > > > Am 06.03.2014 00:39, schrieb Jesus: >> El 05/03/14 17:12, Rolf-Werner Eilert escribió: >>> This is only in the Gambas mailing list, so it's not as much OT as it >>> might seem ;) >>> >>> In my Thunderbird, single mails from the list are sorted at the >>> beginning of the list, i. e. I will have to scroll to the end to see the >>> rest of the discussion. >>> >>> As I said, it only happens sometimes, but it has happened more >>> frequently during the last months. So something seems to confuse >>> Thunderbird with the mails coming from the Gambas list. >>> >>> Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the >>> beginning of the list (position 20 or so), the other two answers at the >>> end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 >>> stands before it, the rest of the discussion is at the correct place. >>> Jorge Carrión from 03.03.2014 21:44 is before it, and the rest of the >>> discussion at the end of the list. >>> >>> I browsed through the wrong sorted mails, but they have correct dates >>> and times, nor have they anything unusual in common. Has anyone here had >>> the same problem, maybe even with another mailing program? >>> >>> Thanks for any ideas. >>> >>> Rolf >> >> I'm using Thunderbird since ages, currently at v24.3.0 and never had a >> problem, except sometimes getting duplicated messages from some rss feeds. >> >> I have everything sorted and distributed in folders automagically with >> the help of filters. I am managing 7 or 8 mail accounts and several rss >> feeds. Gambas' folder has close to 3 messages and never have had a >> problem. About eleven mail lists each in its own folder... Love it! >> >> In such a case like mine, I recommend rsync'ing thunderbird database or >> the whole folder to an external storage. Too much data to loose ;-) >> >> What is your setup, version, distro, etc? >> >> Regards >> >> > > Mine is Thunderbird 17.0.5 on a Suse 12.1, and I use it rather heavily, > too. There are 5 mail accounts, and folders for the mailing lists, > filters, just like on your system. This phenomenon has only occured with > the Gambas list, but it used to be only a few times a year. For some > months, however, it has happened more often, about 20 times this year. > Oh, and I run only POP mail, no IMAP, so it's Thunderbird alone who will > manage the mails. > > I make a nightly backup of the whole system with Dirvish, and change the > backup HD every week, I think that's enough. Or isn't that what you mean? > > Moreover, to keep the mailing list(s) not too crowded, I let Thunderbird > put all old messages to an Archive folder every new year. (Strangely > enough, it will not put all messages into the right folders at the first > run, but a few dozen will have to be sorted by hand. I know that, and > it's no great thing. And it is not confined to the Gambas list.) So I > have a fresh folder again this year, and I can see that some mails land > at the beginning. > > Do you think it would help to use a newer version of Thunderbird? As far > as I remember, I had this problem even with the older one on the former > system. > > Regards > > Rolf Because OT, I will mail you in private, to not pollute the list. Apologies to the list for the noise. Regards -- Jesus Guardon -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] New Gambas is coming!
El 09/03/14 17:47, Benoît Minisini escribió: > Hi, > > I have just put the Gambas wiki in read-only mode, because a new wiki is > coming... Great news! > > - You will have to register again, but now there is a registration page, > and that registration is automatic. You will just need an e-mail and > answer a Gambas computation. This sounds a little scary. Have you provided any prevention of automated registration and anti-spam protection? > > - As the wiki is based on files and directories, and as the new syntax > is implemented in a component, it will be finally possible and easy to > make an online version of the documentation. Do you mean *offline* version of documentation? Best regards -- Jesus Guardon -- Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04
El 27/04/14 02:13, Ru Vuott escribió: > Hello, > > two friends of the forum "www.gambas-it.org" have asked me to post this > problem here in the Mailing List. > > > They had updated and used normally the version 3.5.3 of Gambas. > > Well, not long ago they have updated their Ubuntu LTS distro at new 14:04 > version. > But, when they installed Gambas again, they have been downgraded to the > "previous" Gambas version: 3.5.2 ! > Obviously, They'ld like to obtain again the newest version of Gambas: 3.5.3 > > What can they do? > > Regards > vuott Hi Vuott To answer this question, one must first know which installation method has been followed. Either do they used "nemh" repository or official ones in the distribution? I think it's a matter of updating their repositories. Regards -- Jesus Guardon -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Help needed with installing Gambas 3.5.35
El 15/06/14 11:48, bill-lancaster escribió: > Ah! This is a fresh install of Kubuntu 14.04 > I don't know anything about g++ but will look into it. > Thanks for the reply Bill, please, check this page in the first place, if you don't want to run into some problems. http://gambaswiki.org/wiki/install/ubuntu#t6 Compilation process is straightforward only if you know the previous requirements. Regards -- Jesus Guardon -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Bug in gambaswiki "Mismatched markup"
Hi Benoît There seems to be a bug in this page: http://gambaswiki.org/wiki/doc/pcre Regards -- Jesus Guardon -- Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Get structure from extern function?
El 23/07/14 21:46, CJ escribió: > > Just wanted to say thanks! With Benoît's helpfull pointers and some more > reading/digging I managed to sort out the issue I had with Gambas 3 and > Free Pascal. > > Let me know if there are any general interest and I will post a simple demo. > > /CJ Oh, please, do it. I am not used to Free Pascal, but it have tempted me several times. So it will be useful to have an starting point using FP shared libraries in addition to C/C++ ones. Thank you -- Jesus Guardon -- Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Key events don't work on gb.gtk
Hi everyone I just realized that key events don't work on gb.gtk. Could you please give it a test and confirm it as a bug? Little test program attached. Regards -- Jesus Guardon TestKeyEvents.tar.gz Description: application/gzip -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Key events don't work on gb.gtk
El 15/08/2014 10:13, Jesus escribió: > Hi everyone > > I just realized that key events don't work on gb.gtk. > > Could you please give it a test and confirm it as a bug? > > Little test program attached. > > Regards > Sorry, forgot to mention I'm using latest developmente version from gambas-team daily PPA. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 15/08/14 a las #4, Jorge Carrión escribió: > Jesus: > In my computer works fine with both libraries qt and gtk. with LinuxMint 17. > > [System] > Gambas=3.5.4 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Hope this help. > > Regards Yes, the exact same configuration on my laptop, and it works fine also. So if the latest development version key events doesn't work, something has been changed since then. We'll wait until Benoit is back. Thanks for your help. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 16/08/14 a las #4, Jorge Carrión escribió: > The only thing I've changed is the qt defult theme... Maybe that's involved > in it but I think I've saw that Jesus has the same theme than me... > > Realy don't know. > > Regards I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest trunk code does. So recent changes in trunk are the only thing involved. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 22/08/14 a las #4, Benoît Minisini escribió: > Le 22/08/2014 00:59, Benoît Minisini a écrit : >> Le 16/08/2014 12:50, Jesus a écrit : >>> El 16/08/14 a las #4, Jorge Carrión escribió: >>>> The only thing I've changed is the qt defult theme... Maybe that's >>>> involved >>>> in it but I think I've saw that Jesus has the same theme than me... >>>> >>>> Realy don't know. >>>> >>>> Regards >>> >>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest >>> trunk code does. >>> >>> So recent changes in trunk are the only thing involved. >>> >>> Regards >>> >> >> It works fine here. Can you provide IDE information about your system >> where it fails? >> > > I need that, because in the GTK+ library provided with Ubuntu 14.04, key > press events are internally raised twice: one is normal, the other has > an undocumented modifier mask set. > > I don't know if it is related to the GTK+ version, to an Ubuntu specific > change, to the X11 input method... > > So I need to find what the difference is between your system and ours (I > mean those where key events are raised as expected). > > Regards, > Well, sorry for the delay. Here it is: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=XFCE Theme=QGtk Language=es_ES.UTF-8 Memory=16032M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. I must say that it was firstly tested on an older setup, Mint 14 Cinnamon, IIRC, and results were the same. As I said before, current stable Gambas works as expected (at least in my simple test) but recent changes in trunk don't raise events anymore. I know about GTK being a nightmare upstream, so good luck! Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 22/08/14 a las #4, Benoît Minisini escribió: > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > I'm afraid there's no output in console, neither in the IDE or running the executable outside the IDE in an actual terminal. jesus@jesus-linux ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 jesus@jesus-linux ~/Gambas3/Test $ ./Test.gambas Yeah, I know it doesn't help a lot... Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 22/08/14 a las #4, Benoît Minisini escribió: > Le 22/08/2014 14:52, Jesus a écrit : >> El 22/08/14 a las #4, Benoît Minisini escribió: >>> Can you try the revision #6420? I added a debugging flag, and you will >>> tell me the result: >>> >>> 1) Open your test project. >>> 2) Open the project property dialog. >>> 3) Go to the "environment" tab. >>> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and >>> set its value to "1". >>> 5) Run the project. >>> 6) Send me the console output. >>> >>> Thanks. >>> >> >> I'm afraid there's no output in console, neither in the IDE or running >> the executable outside the IDE in an actual terminal. >> >> jesus@jesus-linux ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1 >> jesus@jesus-linux ~/Gambas3/Test $ ./Test.gambas >> >> Yeah, I know it doesn't help a lot... >> >> Regards >> > > Check that you use the gb.gtk component, and not gb.qt4... > Silly me! I am using daily ppa from gambas-team just updated today. I thought those changes were present in that compilation, but indeed, still they're not. I think I'll wait until tomorrow's update, cos I'm lazy (I'm on holidays) and don't want to clutter my system compiling the source if not strictly necessary. Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 22/08/14 a las #4, Benoît Minisini escribió: > Le 22/08/2014 12:21, Jesus a écrit : >> Well, sorry for the delay. Here it is: >> >> [System] >> Gambas=3.5.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=XFCE >> Theme=QGtk >> Language=es_ES.UTF-8 >> Memory=16032M >> [Libraries] >> Cairo=libcairo.so.0.0.0 >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO. >> >> I must say that it was firstly tested on an older setup, Mint 14 >> Cinnamon, IIRC, and results were the same. >> >> As I said before, current stable Gambas works as expected (at least in >> my simple test) but recent changes in trunk don't raise events anymore. >> >> I know about GTK being a nightmare upstream, so good luck! >> >> Regards >> > > Can you try the revision #6420? I added a debugging flag, and you will > tell me the result: > > 1) Open your test project. > 2) Open the project property dialog. > 3) Go to the "environment" tab. > 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and > set its value to "1". > 5) Run the project. > 6) Send me the console output. > > Thanks. > Hi Benoît This is the console output after hitting some keys: GDK_KEY_PRESS: keyval = 49 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 50 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 51 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 52 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 53 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 97 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 98 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 99 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 100 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 101 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65457 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65458 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65459 state = 0010 is_modifier = 0 GDK_KEY_PRESS: keyval = 65505 state = 0010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 0011 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 0011 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 0011 is_modifier = 0 GDK_KEY_PRESS: keyval = 65509 state = 0010 is_modifier = 1 GDK_KEY_PRESS: keyval = 65 state = 0012 is_modifier = 0 GDK_KEY_PRESS: keyval = 83 state = 0012 is_modifier = 0 GDK_KEY_PRESS: keyval = 68 state = 0012 is_modifier = 0 Hope this helps Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] R: Key events don't work on gb.gtk
El 23/08/14 a las #4, Benoît Minisini escribió: > Le 23/08/2014 10:07, Jesus a écrit : > >> Hi Benoît >> >> This is the console output after hitting some keys: >> > > ... >> >> Hope this helps >> >> Regards >> > > Can you try revision #6424 and tell me if the bug is now fixed for you? > It works fine now. Thanks once again! Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Caps Lock - Num Lock state howto
El 21/09/14 a las #4, Charlie escribió: > *I was playing with this routine and found that the following 2 lines can be > replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = > Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = > Val(Right(Trim(sShellOutput), 1)) > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html I was shocked when I realized this thread is from April 2008. I I myself subscribed to this list December 2008, so I haven't noticed this subject. Also, it seems the text get messed when writing through nabble (kind of a web forum). Thanks anyway, Charlie Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Caps Lock - Num Lock state howto
El 21/09/14 a las #4, Charlie Reinl escribió: > Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus: >> El 21/09/14 a las #4, Charlie escribió: >>> *I was playing with this routine and found that the following 2 lines can be >>> replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks = >>> Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks = >>> Val(Right(Trim(sShellOutput), 1)) >> >>> -- >>> View this message in context: >>> http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html >> >> I was shocked when I realized this thread is from April 2008. I I myself >> subscribed to this list December 2008, so I haven't noticed this subject. >> >> Also, it seems the text get messed when writing through nabble (kind of >> a web forum). >> >> Thanks anyway, Charlie >> >> >> Regards > > Salut Jesus, > > who, what, whereWhy from December 2008, can't see that. > My mail says on german : > Am Sonntag, den 21.09.2014, 08:40 -0700 schrieb Charlie > I'm talking of the original thread, not your last post which I replied. See that link: http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html Original post is from April 2008 by Stefano Palmeri. Since I'm only using Thunderbird to read mail and mailing list, I didn't noticed this until I did followed that link. Nothing to scare about ;-) BTW, I've tested 'xset' command and found interesting. Didn't know about it. Regards -- Jesus Guardon -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore
Hi Benoît et all Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my setup. I have no idea when it started happening, sorry. Currently I'm using latest development version from 'gambas-team' PPA. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=XFCE Theme=QGtk Language=es_ES.UTF-8 Memory=16032M [Libraries] Cairo=libcairo.so.0.0.0 Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards -- Jesus Guardon -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore
El 26/09/14 a las #4, Benoît Minisini escribió: > Le 26/09/2014 17:52, Jesus a écrit : >> Hi Benoît et all >> >> Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my >> setup. I have no idea when it started happening, sorry. Currently I'm >> using latest development version from 'gambas-team' PPA. >> >> > > Where should they supposed to work? > In the text editor. I remember this worked in the past. You were able to zoom in/out the text (size) in the code editor, right? Regards -- Jesus Guardon -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Combobox behavior with long lists
El 01/10/14 a las #4, Alain Baudrez escribió: > I have quit using the combobox because its behavior with long lists really > pisses me off. When you click the dropdown arrow a list of items fills the > screen from top to bottom, which is not only ugly for the eyes, but also > confuses the users. > > I expected to see a behavior like you see in LibreOffice dropdown boxes, > with a relative small drop-down section and the original textbox portion > of the combobox visible. > > Is there a at least way to restrict to length of the dropdown section of > the combobox to let's say approx 10 visible items? Hi It seems to me that it depends on the toolkit used. I mean, if you use gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager uses that behavior in the comboboxes. But if you change to gb.qt4, you will notice the differences. Let change to gb.qt4 and you will see a "normal" combobox. Regards -- Jesus Guardon -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Combobox behavior with long lists
El 01/10/14 a las #4, Alain Baudrez escribió: > Jesus, > > the funny thing is that I use gb.qt4 and I have this very long top to > bottom list in Linux Mint 17 Mate. > > Maybe it is not 100% depending on the toolkit used. It is, at a degree. This is the theme used by the qt4 tk. Test with another style (using the tool qtconfig-qt4). I've just tested it and "Plastique" style behaves as you want. Install qt4-qtconfig package and play a little with it. I'm using Mint 17 Xfce and also hate that long comboboxes... ;-) Hope this helps this time Regards -- Jesus Guardon > > 2014-10-01 11:25 GMT+02:00 Jesus : > >> El 01/10/14 a las #4, Alain Baudrez escribió: >>> I have quit using the combobox because its behavior with long lists >> really >>> pisses me off. When you click the dropdown arrow a list of items fills >> the >>> screen from top to bottom, which is not only ugly for the eyes, but also >>> confuses the users. >> >> Hi >> >> It seems to me that it depends on the toolkit used. I mean, if you use >> gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager >> uses that behavior in the comboboxes. But if you change to gb.qt4, you >> will notice the differences. >> >> Let change to gb.qt4 and you will see a "normal" combobox. >> >> Regards >> -- >> Jesus Guardon -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Window minimum dimensions
El 24/10/14 a las 20:20, Tobias Boege escribió: Do you think > it's good to add corresponding properties to Gambas' Window (and would > you do it)? > > Regards, > Tobi > Absolutely... Please Benoît, do it ;-) -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Release of Gambas 3.6.1
El 01/11/14 a las 18:40, Benoît Minisini escribió: > Hi, > > Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty > bugs reported after the 3.6.0 release. > > The list of bug fixes in the ChangeLog at > http://gambaswiki.org/wiki/doc/release/3.6.1. > > Enjoy it! > Some weeks ago: > I'm starting releasing 3.6.0, so your future translations will go in a 3.6.1. > > Regards, > > -- > Benoît Minisini It seems that updates of Spanish translations were not merged in 3.6.1. Perhaps you forgot to do this, or is there a reason for that? Yes, I know my changelog was too verbose and ugly ;-) Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Release of Gambas 3.6.1
El 02/11/14 a las 16:51, Benoît Minisini escribió: > Le 02/11/2014 14:34, Jesus a écrit : >> El 01/11/14 a las 18:40, Benoît Minisini escribió: >>> Hi, >>> >>> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty >>> bugs reported after the 3.6.0 release. >>> >>> The list of bug fixes in the ChangeLog at >>> http://gambaswiki.org/wiki/doc/release/3.6.1. >>> >>> Enjoy it! >>> >> >> Some weeks ago: >> >>> I'm starting releasing 3.6.0, so your future translations will go in a >>> 3.6.1. >>> >>> Regards, >>> >>> -- >>> Benoît Minisini >> >> It seems that updates of Spanish translations were not merged in 3.6.1. >> >> Perhaps you forgot to do this, or is there a reason for that? >> >> Yes, I know my changelog was too verbose and ugly ;-) >> >> Regards >> > > No, the problem is that I can't know if the new translations can be > merged directly or not. > > Because some of the translations can be part of a backportable bug fix, > and some others can be part of a new development feature that cannot be > backported. And translations files does not like to be merged... > > So the translation merge must be done manually with the IDE by taking > the translations files from the /trunk and import them in the > /branches/3.X. It's a big job if I have to do that for the IDE, all the > components projects, all the examples... > > I need a solution to automate that... > Do you mean I could do it by updating 3.6 branch while maintaining trunk apart with its new features? In other words, does it worth doing an import of lang files only for the 3.6 branch? Or directly on 3.6.1? If I could update 3.6.1, probably we have a chance to get Spanish language updated in Sebikul's Beta PPA, but obviously, I need a clear statement about what to do then. It seems like branching overcomplicates language maintenance in this very specific case. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Release of Gambas 3.6.1
El 02/11/14 a las 19:52, Benoît Minisini escribió: > Le 02/11/2014 18:46, Jesus a écrit : >>> >>> No, the problem is that I can't know if the new translations can be >>> merged directly or not. >>> >>> Because some of the translations can be part of a backportable bug fix, >>> and some others can be part of a new development feature that cannot be >>> backported. And translations files does not like to be merged... >>> >>> So the translation merge must be done manually with the IDE by taking >>> the translations files from the /trunk and import them in the >>> /branches/3.X. It's a big job if I have to do that for the IDE, all the >>> components projects, all the examples... >>> >>> I need a solution to automate that... >>> >> >> Do you mean I could do it by updating 3.6 branch while maintaining trunk >> apart with its new features? In other words, does it worth doing an >> import of lang files only for the 3.6 branch? Or directly on 3.6.1? > > Everything is done on '/trunk' and '/branches/3.X'. Nothing is done > elsewhere, except for fixing a mistake before a version release that is > based on '/tags/3.X.Y'. So, to be clear, should I update /branches/3.6? That way we could have an updated and complete Spanish translation into the upcoming 3.6.2, right? > >> >> If I could update 3.6.1, probably we have a chance to get Spanish >> language updated in Sebikul's Beta PPA, but obviously, I need a clear >> statement about what to do then. >> >> It seems like branching overcomplicates language maintenance in this >> very specific case. >> >> Regards >> > > The IDE can merge a translation file into a project. I.e., it takes all > non-existing translations, and check if it can find one in the imported > translation file. > > I "just" need to allow this feature from the command-line, so that I can > write a script that merge all translations files of '/trunk' into > '/branches/3.X'. I also need to implement an option to tell that the > translation in the imported file must override the translation in the > project. > > Quite a job again. :-) > In the meantime, I guess we could continue doing this "manually". That's not a problem for me. Regards -- Jesus Guardon -- ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Pre-release of Gambas 3.6.2
El 11/11/14 a las 17:58, Benoît Minisini escribió: > Hi, > > I have uploaded a pre-release source package of Gambas 3.6.2 on > sourceforge at: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download > > Please check it and report any problem before I make it official. > > I will write the changelog with the backported bug fixes soon. > > Regards, > Hi Hope it's not too late... I've updated Spanish language in 3.6 branch, r6644. Please, Benoît, could you merge it into 3.6.2 finally? Thanks in advance -- Jesus Guardon -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Pre-release of Gambas 3.6.2
El 12/11/14 a las 01:39, Benoît Minisini escribió: > Le 12/11/2014 01:28, Benoît Minisini a écrit : >> Le 12/11/2014 01:13, Jesus a écrit : >>> El 11/11/14 a las 17:58, Benoît Minisini escribió: >>>> Hi, >>>> >>>> I have uploaded a pre-release source package of Gambas 3.6.2 on >>>> sourceforge at: >>>> >>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download >>>> >>>> >>>> Please check it and report any problem before I make it official. >>>> >>>> I will write the changelog with the backported bug fixes soon. >>>> >>>> Regards, >>>> >>> >>> Hi >>> >>> Hope it's not too late... I've updated Spanish language in 3.6 branch, >>> r6644. Please, Benoît, could you merge it into 3.6.2 finally? >>> >>> Thanks in advance >>> >> >> Not too late, as the release is not official. >> > > I have uploaded a new archive of gambas 3.6.2 with your translation. Now > I wait one or two days for people to confirm that they have no problem > with compiling and installing it, and I make the release official. > > Regards, > Than you very much, Benoît. I will test it in a VM today. Regards -- Jesus Guardon -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Release of Gambas 3.6.2
El 12/11/14 a las 17:39, Benoît Minisini escribió: > Hi, > > I have made the release of Gambas 3.6.2 official. > > There is still a problem in the way the offline help is displayed: fixes > to the wiki stylesheet must be duplicated by hand in the IDE at the moment. > > If I find a solution for that, it will be backported to a next 3.6.3 > version. > > Regards, > The download link (big button) in the main page still points to gambas 3.6.1 Good job, anyway. No issues here. Regards -- Jesus Guardon -- Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] gambas3 ans debain squeeze
El 29/02/12 13:08, TME escribió: > > Hi > > I tried to complier with the package for Ubuntu Lucid > The result for /config -C give me that : > || > || GTK+ toolkit is disabled > || > || Cairo component is disabled > || FreeType backend for Cairo is disabled > || > || Image loading and saving is disabled > || > || GNU Scientific Library component is disabled > || > || THESE COMPONENTS ARE DISABLED: > || - gb.cairo > || - gb.gsl > || - gb.gtk > || - gb.image.io > > Somebody would know he to which packages-dev it corresponds? > > Thank you for your replie > regards > jean-luc > Hi jean-luc As stated in the wiki, http://gambasdoc.org/help/install/ubuntu?v3 these are the dependencies for Ubuntu which is based on Debian. Try with these, may be some of them should not be exact, but you are in the way. Look in your package manager for similar names. sudo apt-get install build-essential autoconf libbz2-dev libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev Regards -- Jesus Guardon -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Strange Keyboard Behavior
El 11/03/12 19:53, Bill-Lancaster escribió: > > My Ubuntu theme is 'Ambiance', Changed it to 'Radiance' then 'Highg Contrast' > No change You might try to do an small test case, i.e. an small working project that demonstrates the issue. Many times has proven that doing this, one could be able to find the error or let others to test it under different environments. Will you share it with us? ;-) Regards -- Jesus Guardon -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Strange Keyboard Behavior
El 11/03/12 23:48, Bill-Lancaster escribió: > > I'm happy to do whatever is needed to get out f this! > > Do you want the whole project? Would just a sample do? > > Bill Hi Bill Ideally an small working project would do the job. If possible, only one form and no databases. I'm not very familiar with the Editor control, but we need to start looking somewhere into it. Perhaps while you're making the example project, you will find the solution. Regards -- Jesus Guardon -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Dockable frames
El 13/03/12 16:53, M. Cs. escribió: > Im sorry the mail just went away! I would like to know whether it is > possible to move frames inside a VBox so that they change place like > this: > A > B > C > > to > > C > A > B > > I would also like to displace a frame from one container into another > if possible. I know from experience, that this kind of manipulation is > the best source for crashes in many programs I saw, but I am courious > about that. I would like to do that as dragging with mouse. > > Thanks! > > Csaba Hi Two years ago I wrote: > 2010/3/5 > As far as I'm experimenting with latest Gambas3 snapshot, I haven't > found a "Dock Widget" like in Qt Widgets (Qt Designer). > > Is it planned to do so? > > Thanks, > > Jesus And Fabien Bodard answered to me: > i think it is possible to make a component in gambas for that ... you > can try to do it if you want If you want real docking widgets I suspect you should go for QT4 or PyQt4. Gambas is really great, but lacks some goodies as this. Sniff! Regards -- Jesus Guardon -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] [Feature Request] Offline Documentation
One more joining the request! Thanks -- Jesus El 17/04/12 21:04, Willy Raets escribió: > And another agreed here as I am not always online when coding. > > On di, 2012-04-17 at 21:32 +0300, Jussi Lahtinen wrote: >> Also agreed, >> sometimes it takes a while to get help info from online, I would like it to >> be immediate. >> >> Jussi >> >> >> >> On Tue, Apr 17, 2012 at 20:35, M. Cs. wrote: >> >>> I agree with you. If would be nice to have a package gambas3-gb-help, >>> as an option. >>> >>> Csaba >>> >>> 2012/4/17, sundar j: >>>> Is it possible to make online documentation to include in standard >>>> installation and make it available from help/F1. It would be nice if >>>> examples also included in the offline documentation. >>>> -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Translation interface errors
El 17/04/12 21:31, M. Cs. escribió: > I think the problem isn't with the standard itself, but rather with > the GUI, which makes error during file import. > > Csaba I'm shooting with my eyes closed, but could be it something related to line endings? Someone said that translators were using windows to do the task, and windows introduces \r\n. Regards > > 2012/4/17, Benoît Minisini: >> Le 17/04/2012 21:00, Willy Raets a écrit : >>> On di, 2012-04-17 at 19:41 +0200, Benoît Minisini wrote: >>>> Le 17/04/2012 17:13, M. Cs. a écrit : >>>>> >>>> >>>> You should translate your project directly from the IDE. >>>> >>>> The translations marked as "fuzzy" are not imported. Because, among >>>> other things, translations are marked as "fuzzy" when they are not >>>> definitive. >>>> >>>> Regards, >>>> >>> I have application in multi languages and used to send people the text >>> files to translate and import them. >>> >>> It was not a pleasant way of translating (from the exported files) for >>> translators and I had likewise issues on import. >>> >>> So now I copy paste all into a .odt with some screenshots so they know >>> what it is about and when translation returns I copy paste the >>> translations into the IDE. But that is a lot extra work. >>> >>> Problem is that the people translating are NO programmers and don't have >>> Gambas IDE. Several of them don't even have linux. >>> Just people that happen to be willing to translate because they know the >>> language. >>> >>> Some clever way of exporting what needs to be translated in a user >>> friendly format for translators and a manner to import the translations >>> done by others would be very welcome and save loads of time. >>> The current export is not something you can send to people to do >>> translating in. It confuses them and loads of mistakes are made this >>> way. >>> >> >> The current export is the standard GNU translation file format. What >> other format do you suggest? >> >> -- >> Benoît Minisini >> -- Jesus Guardon -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Version mismatch
Hi Benoît Recently you have created a new tag 3.1.1, but it seems it's not reflected in the version string returned by the runtime nor in the IDE. Did I miss something? Regards -- Jesus Guardon -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Can't get gb.media compiled
It's sure I'm missing something obvious, but I can't get to compile gb.media. Which development packages should I install? This is the log trying to configure *just* gb.media: jesus@debian:~/trunk/gb.media$ pkg-config --modversion gstreamer-0.10 0.10.30 jesus@debian:~/trunk/gb.media$ pkg-config --cflags gstreamer-0.10 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 jesus@debian:~/trunk/gb.media$ svn update Se restituyó 'gambas.h' Se restituyó 'm4' Se restituyó 'AUTHORS' Se restituyó 'gb_common.h' Se restituyó 'ChangeLog' Se restituyó 'README' Se restituyó 'component.am' Se restituyó 'configure.ac' Se restituyó 'INSTALL' Se restituyó 'acinclude.m4' Se restituyó 'COPYING' Se restituyó 'Makefile.am' Se restituyó 'missing' Se restituyó 'NEWS' Se restituyó 'reconf' Asrc Asrc/c_mediaplayer.c Asrc/c_media.c Asrc/c_mediaplayer.h Asrc/main.c Asrc/c_media.h Asrc/gb.media.component Asrc/Makefile.am Asrc/main.h Actualizado a la revisión 4788. jesus@debian:~/trunk/gb.media$ ./reconf autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal -I m4 --install autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy autoreconf: running: /usr/bin/autoconf autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force autoreconf: Leaving directory `.' jesus@debian:~/trunk/gb.media$ ./configure -C configure: creating cache config.cache checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking target system... LINUX checking target architecture... X86 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking whether make sets $(MAKE)... (cached) yes checking for setenv... yes checking for unsetenv... yes checking for getdomainname... yes checking for getpt... yes checking for cfmakeraw... yes checking for main in -lgcc_s... yes checking for main in -lstdc++... yes checking which extension is used for shared libraries... .so checking for threading compiler options... -D_REENTRANT checking for threading linker options... -lpthread checking for mathematic libraries... -lm checking for external gettext library... checking for ccache... no checking CFLAGS for gcc -fvisibility=hidden... -fvisibility=hidden checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for intt