From sebikul at ...626... Wed Jul 1 07:35:05 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 1 Jul 2015 02:35:05 -0300 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5590A513.4050809@...1...> References: <5590A513.4050809@...1...> Message-ID: Hey there! On Sun, Jun 28, 2015 at 10:53 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > In revision #7154, I have replaced the gb.form.statusicon component by a > component named gb.dbus.trayicon. > > This new component is now automatically loaded by the GUI components > when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol > is used. > Given that i could theoretically run a daemon with not GUI, but a tray icon available, would it be okay to include this component with the gb.dbus component, or should I package it separately? Note that this would add gb.image as a dependency to gb.dbus. > > That way, you write your TrayIcon code once, and it will adapt to the > desktop. > > The remaining problems are : > > - It works with KDE5 for sure. > > - It must be tested with KDE4. > > - It does not work with Unity apparently, no idea why. > > But the idea is there: find another language on Linux that allows you to > define a tray icon that automatically adapts to the protocol used by the > current desktop, with GTK+2, GTK+3, QT4 or QT5! :-) > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Monitor 25 network devices or servers for free with OpManager! > OpManager is web-based network management software that monitors > network devices and physical & virtual servers, alerts via email & sms > for fault. Monitor 25 devices for free with no restriction. Download now > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Jul 1 09:10:41 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Jul 2015 09:10:41 +0200 Subject: [Gambas-user] How easy is it to decompile In-Reply-To: <3bfcaf55-5349-42dc-9986-d167598e5642@...2550...> References: <5592E50E.7010602@...3490...> <3bfcaf55-5349-42dc-9986-d167598e5642@...2550...> Message-ID: Le 30 juin 2015 23:13, "Wolfgang (DL7NB)" <123 at ...3490...> a ?crit : > > Thank you Adrien. So as long as there is no decompiler for gambas it may take some time to do so. But it can be done... > > That just confirms my thoughts abbout it. So lets hope for fair users ;-) > > Wolfgang > > On 30. Juni 2015 22:35:43 MESZ, Adrien Prokopowicz < adrien.prokopowicz at ...626...> wrote: > >Le Tue, 30 Jun 2015 20:50:54 +0200, Wolfgang <123 at ...3490...> a ?crit: > > > >> Hi all, > >> > >> I just wonder how easy it would be to decompile (get some source > >code) > >> from a *.deb file. > >> I programmed a software -lets call it "MyProg"- in many, many hours > >and > >> would like to install it via MyProg.deb. > >> That works easily and safe. > >> > >> But is it (easily) possible to take the "MyProg.deb" and get the > >source > >> code out of it? > >> > >> Is my work somehow "safe"? > >> > >> greetings from hot Bavaria > >> > >> Wolfgang > >> > > > >Short answer : from a security point of view, expect everything in a > >compiled program to be as readable as plain text, as nothing is > >encrypted or anything of the sort. > > > >It may take some time, depending on the size of your program and > >the tools available, but consider that anyone with enough will and > >knowledge can make it through. > > > >Long answer : > > > >First, .debs themselves (like any other package, even for > >Windows/MacOS) > >are just compressed archives. You can actually open most of them in > >your favorite archive manager. > >Needless to say, this is basically nothing to go through. > > > >The actually "hard" part is to decompile the binary files generated > >by the compiler. The "hardness" of this depends of the language used. > >I'm assuming you are talking about Gambas here, but this applies > >to any other compiled language (C/C++, Java, C# ...). > > > >When it comes to code, compiled code is actually just your source > >code "translated" into some binary form, more readable for > >the interpreter. So, as you can guess, it is pretty easy to do > >with the right tool. > > > >I have never heard of any decompiler for Gambas, but making such > >a tool is completely feasible (although a bit long). > >Unless you have Beno?t sitting next to you. I'm pretty sure he's > >secretly able to decompile Gambas bytecode just by reading it. :) > > > >As for resources (like images and so), it is just plainly copied > >into the executable. Again, anyone can find and extract it. > > > >In the end, there is nothing you can do technically "protect" > >your code. There are methods out there that try to "hide" code > >(like obfuscation ...), but it is just a matter of time before > >someone can go through these. > > > >However, you can give juridic protection to your work by using > >licenses. I don't know much about proprietary licenses, but > >if you want to go open-source, there are quite a few, such as > >the GPL, MIT or Apache Licenses, or Creative Commons for anything > >that is non-code. > >This site[0] gives interesting summaries about these (and others). > > > >Hope this helps, > > > >[0] http://choosealicense.com/ > >-- > >Adrien Prokopowicz > > This remember me some accounting programs I've seen wrote with access. The code was just encrypted with a xor key. A single program in vb was enough to retrieve the password and then I have just to open the access file with access, to read the full code. It's far more hard with gambas even with a decompiler. The only part non protected is the datas. Maybe in the future gambas archive can be encrypted if this is mandatory for the devellopper. But this may make programs more slower... > >------------------------------------------------------------------------------ > >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 at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > > de Wolfgang, DL7NB-m > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Jul 1 09:20:37 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Jul 2015 09:20:37 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> Message-ID: Le 1 juil. 2015 07:36, "Sebastian Kulesz" a ?crit : > > Hey there! > > On Sun, Jun 28, 2015 at 10:53 PM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Hi, > > > > In revision #7154, I have replaced the gb.form.statusicon component by a > > component named gb.dbus.trayicon. > > > > This new component is now automatically loaded by the GUI components > > when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol > > is used. > > > > Given that i could theoretically run a daemon with not GUI, but a tray icon > available, would it be okay to include this component with the gb.dbus > component, or should I package it separately? Note that this would add > gb.image as a dependency to gb.dbus. I think it will be better to have a gb.dbus.desktop component that can group classes like tray icon, notification, appmenu... Etc Or gb.desktop.dbus But gb.dbus.tray icon is too restrictive and I think we have to be carefull in the multiplication of the components. After... It's an hidden component it's an extention of gb.gui > > > > > > That way, you write your TrayIcon code once, and it will adapt to the > > desktop. > > > > The remaining problems are : > > > > - It works with KDE5 for sure. > > > > - It must be tested with KDE4. > > > > - It does not work with Unity apparently, no idea why. > > > > But the idea is there: find another language on Linux that allows you to > > define a tray icon that automatically adapts to the protocol used by the > > current desktop, with GTK+2, GTK+3, QT4 or QT5! :-) > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > Monitor 25 network devices or servers for free with OpManager! > > OpManager is web-based network management software that monitors > > network devices and physical & virtual servers, alerts via email & sms > > for fault. Monitor 25 devices for free with no restriction. Download now > > http://ad.doubleclick.net/ddm/clk/292181274;119417398;o > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Jul 1 09:31:01 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 01 Jul 2015 07:31:01 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded Message-ID: <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 1) Components not load 2) Ubuntu 14.04 3) Gambas 3.7.90 from gambas-team ppa 4) the project works from the IDE but when I generate the installation package and install it on any PC is not working. In the same way I have components generated when the charge in the ide work but when I generate the project package that uses it and then run I find that throws errors of components not found In the form when i try "estado servicios" the response is ok If generate instalation package and then run the response is "failed". I think Component gb.net.curl not loaded Thanks Sorry for my english Attachments: prueba.tar.gz 17.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From 123 at ...3490... Wed Jul 1 09:37:19 2015 From: 123 at ...3490... (Wolfgang) Date: Wed, 01 Jul 2015 09:37:19 +0200 Subject: [Gambas-user] How easy is it to decompile In-Reply-To: References: <5592E50E.7010602@...3490...> <3bfcaf55-5349-42dc-9986-d167598e5642@...2550...> Message-ID: <559398AF.7000400@...3490...> Am 01.07.2015 um 09:10 schrieb Fabien Bodard: > Le 30 juin 2015 23:13, "Wolfgang (DL7NB)" <123 at ...3490...> a ?crit : >> Thank you Adrien. So as long as there is no decompiler for gambas it may > take some time to do so. But it can be done... >> That just confirms my thoughts abbout it. So lets hope for fair users ;-) >> >> Wolfgang >> >> On 30. Juni 2015 22:35:43 MESZ, Adrien Prokopowicz < > adrien.prokopowicz at ...626...> wrote: >>> Le Tue, 30 Jun 2015 20:50:54 +0200, Wolfgang <123 at ...3490...> a ?crit: >>> >>>> Hi all, >>>> >>>> I just wonder how easy it would be to decompile (get some source >>> code) >>>> from a *.deb file. >>>> I programmed a software -lets call it "MyProg"- in many, many hours >>> and >>>> would like to install it via MyProg.deb. >>>> That works easily and safe. >>>> >>>> But is it (easily) possible to take the "MyProg.deb" and get the >>> source >>>> code out of it? >>>> >>>> Is my work somehow "safe"? >>>> >>>> greetings from hot Bavaria >>>> >>>> Wolfgang >>>> >>> Short answer : from a security point of view, expect everything in a >>> compiled program to be as readable as plain text, as nothing is >>> encrypted or anything of the sort. >>> >>> It may take some time, depending on the size of your program and >>> the tools available, but consider that anyone with enough will and >>> knowledge can make it through. >>> >>> Long answer : >>> >>> First, .debs themselves (like any other package, even for >>> Windows/MacOS) >>> are just compressed archives. You can actually open most of them in >>> your favorite archive manager. >>> Needless to say, this is basically nothing to go through. >>> >>> The actually "hard" part is to decompile the binary files generated >>> by the compiler. The "hardness" of this depends of the language used. >>> I'm assuming you are talking about Gambas here, but this applies >>> to any other compiled language (C/C++, Java, C# ...). >>> >>> When it comes to code, compiled code is actually just your source >>> code "translated" into some binary form, more readable for >>> the interpreter. So, as you can guess, it is pretty easy to do >>> with the right tool. >>> >>> I have never heard of any decompiler for Gambas, but making such >>> a tool is completely feasible (although a bit long). >>> Unless you have Beno?t sitting next to you. I'm pretty sure he's >>> secretly able to decompile Gambas bytecode just by reading it. :) >>> >>> As for resources (like images and so), it is just plainly copied >>> into the executable. Again, anyone can find and extract it. >>> >>> In the end, there is nothing you can do technically "protect" >>> your code. There are methods out there that try to "hide" code >>> (like obfuscation ...), but it is just a matter of time before >>> someone can go through these. >>> >>> However, you can give juridic protection to your work by using >>> licenses. I don't know much about proprietary licenses, but >>> if you want to go open-source, there are quite a few, such as >>> the GPL, MIT or Apache Licenses, or Creative Commons for anything >>> that is non-code. >>> This site[0] gives interesting summaries about these (and others). >>> >>> Hope this helps, >>> >>> [0] http://choosealicense.com/ >>> -- >>> Adrien Prokopowicz >>> > This remember me some accounting programs I've seen wrote with access. The > code was just encrypted with a xor key. A single program in vb was enough > to retrieve the password and then I have just to open the access file with > access, to read the full code. > > It's far more hard with gambas even with a decompiler. > > The only part non protected is the datas. Maybe in the future gambas > archive can be encrypted if this is mandatory for the devellopper. But this > may make programs more slower... > > Ok Fabien. Thank you for your information! That gives me hope. As long as it takes manyhours to get everything decompiled and decrypted I think my program is proected enough. As it is not a space-rocket-control there may be no need in doing more. (not everything in my work was plain, but some things(data) are encrypted, too. And to decrypt things there is a bit "tricky".) So I am on a good way for my purpose! Great!! So better back to writung code ;-) Best whishes from northern Bavaria Wolfgang From gambas at ...1... Wed Jul 1 09:57:41 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 01 Jul 2015 09:57:41 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> Message-ID: <55939D75.90009@...1...> Le 01/07/2015 09:20, Fabien Bodard a ?crit : > Le 1 juil. 2015 07:36, "Sebastian Kulesz" a ?crit : >> >> Hey there! >> >> On Sun, Jun 28, 2015 at 10:53 PM, Beno?t Minisini < >> gambas at ...1...> wrote: >> >>> Hi, >>> >>> In revision #7154, I have replaced the gb.form.statusicon component by a >>> component named gb.dbus.trayicon. >>> >>> This new component is now automatically loaded by the GUI components >>> when the current desktop is KDE 4 or KDE 5. Otherwise, the old protocol >>> is used. >>> >> >> Given that i could theoretically run a daemon with not GUI, but a tray > icon >> available, would it be okay to include this component with the gb.dbus >> component, or should I package it separately? Note that this would add >> gb.image as a dependency to gb.dbus. > > I think it will be better to have a gb.dbus.desktop component that can > group classes like tray icon, notification, appmenu... Etc > > Or gb.desktop.dbus > > But gb.dbus.tray icon is too restrictive and I think we have to be carefull > in the multiplication of the components. > > After... It's an hidden component it's an extention of gb.gui > Nope. 'gb.dbus.trayicon' is a component that depends on 'gb.dbus' and 'gb.image', that's all. The fact that it is hidden and automatically loaded should change nothing with that. At the moment, the GUI components can't deal with a non-installed 'gb.dbus.trayicon' component, but it's their problem. I think if loading 'gb.dbus' or 'gb.dbus.trayicon' fail, I will just use the old trayicon protocol. Moreover, all that may change before the release of Gambas 3.8, if I can find a way of putting all the trayicon stuff outside of the GUI components without breaking backward-compatibility. Regards, -- Beno?t Minisini From gambas at ...1... Wed Jul 1 10:19:42 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 01 Jul 2015 10:19:42 +0200 Subject: [Gambas-user] Putting a menu in the system tray on Unity Message-ID: <5593A29E.4050404@...1...> Here is the official documentation of the dbusmenu protocol as provided by its source code... -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: dbusmenu.png Type: image/png Size: 32593 bytes Desc: not available URL: From gambas.fr at ...626... Wed Jul 1 13:06:11 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Jul 2015 13:06:11 +0200 Subject: [Gambas-user] Putting a menu in the system tray on Unity In-Reply-To: <5593A29E.4050404@...1...> References: <5593A29E.4050404@...1...> Message-ID: Le 1 juil. 2015 10:20, "Beno?t Minisini" a ?crit : > > Here is the official documentation of the dbusmenu protocol as provided by its source code... > Finally I'm not so late on my component documentation ? > -- > Beno?t Minisini > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Jul 1 13:12:55 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 01 Jul 2015 13:12:55 +0200 Subject: [Gambas-user] Putting a menu in the system tray on Unity In-Reply-To: References: <5593A29E.4050404@...1...> Message-ID: <5593CB37.6000409@...1...> Le 01/07/2015 13:06, Fabien Bodard a ?crit : > Le 1 juil. 2015 10:20, "Beno?t Minisini" a > ?crit : >> >> Here is the official documentation of the dbusmenu protocol as provided > by its source code... >> > > Finally I'm not so late on my component documentation ? >> -- >> Beno?t Minisini >> I finally found an XML file inside the qt-dbusmenu library source code that describes the protocol... -- Beno?t Minisini From gambas.fr at ...626... Wed Jul 1 13:53:44 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 1 Jul 2015 13:53:44 +0200 Subject: [Gambas-user] Putting a menu in the system tray on Unity In-Reply-To: <5593CB37.6000409@...1...> References: <5593A29E.4050404@...1...> <5593CB37.6000409@...1...> Message-ID: Le 1 juil. 2015 13:13, "Beno?t Minisini" a ?crit : > > Le 01/07/2015 13:06, Fabien Bodard a ?crit : > > Le 1 juil. 2015 10:20, "Beno?t Minisini" a > > ?crit : > >> > >> Here is the official documentation of the dbusmenu protocol as provided > > by its source code... > >> > > > > Finally I'm not so late on my component documentation ? > >> -- > >> Beno?t Minisini > >> > > I finally found an XML file inside the qt-dbusmenu library source code > that describes the protocol... > Yes qt and Kde sources are pretty well documented > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sat Jul 4 14:19:52 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Jul 2015 12:19:52 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa In-Reply-To: <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Comment #1 on issue 626 by benoit.m... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 I don't see what the problem is. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Jul 4 14:20:51 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Jul 2015 12:20:51 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa In-Reply-To: <1-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version3.7.1 Version-3.7.0 Comment #2 on issue 626 by benoit.m... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Jul 4 14:26:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 04 Jul 2015 12:26:53 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.7.0 Comment #1 on issue 627 by benoit.m... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 I need more details : - Which packages did you install? - How? - On which systems? - What are the output messages of the package installation process? - What are the output messages of Gambas when running the installed program? gb.net.curl -is- in the dependencies of the generated packages. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Jul 4 14:32:40 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 04 Jul 2015 14:32:40 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> Message-ID: <5597D268.4010709@...1...> Le 30/06/2015 21:33, Adrien Prokopowicz a ?crit : > > Well, I think the only reliable way to tell is to actually check the > session bus to see if the StatusNotifierHost is present. > > What don't you like in having to load gb.dbus to do the check ? > I understand you don't want to load the component "for nothing" if > the check fails, but in some way it is also loaded whether or not > you are using TrayIcons in your programs, so ... > > There are so many cases to test, I feel that if we somehow sort it out, > the whole environment-testing/dynamic-loading process would be > way cooler than the final TrayIcon feature itself. :) > (Not mentioning the work already done for that, i.e. the whole DBus > overhaul, and the "Optional Classes" interpreter feature, which > are both really cool). Done in the last revisions: now the trayicon is managed by a dedicated component, 'gb.gui.trayicon', that loads 'gb.dbus', check if a StatusNotifierHost has been registered. If yes, it loads 'gb.dbus.trayicon', otherwise it lets the gui component declare the old implementation. > >> In the meantime I investigated with Unity... They actually use a DBus >> protocol completly different from the KDE one, but apparently QT apps >> using sni-qt (like vlc) know how to deal with that. I will try to look >> into the sni-qt source code to understand the magic behind that. >> >> Of course, don't expect to find any good documentation about that Unity >> protocol (a.k.a. libappindicator). >> > > From what I've saw in the sni-qt source code, it only relies on the > Unity-like protocol (which is also supported by KDE) : > the path sent to the StatusNotifierWatcher is hard-coded to be > "/org/kde/statusnotifieritem/". > > Also, if you need me to test some more things, just tell. :) The Unity and KDE protocol are actually really different: Unity requires a status icon to have a menu, otherwise it does not display it. As soon as your application has more than one icon, you have to use a completely different way of declaring your DBus objects between Unity and KDE... 'appindicator', 'statusnotifier' and 'dbusmenu' are really three pieces of badly designed almost undocumented shit that required me one week of reverse engineering! But now it works more or less, so I'm happy. :-) -- Beno?t Minisini From gambas at ...1... Sat Jul 4 15:09:05 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 04 Jul 2015 15:09:05 +0200 Subject: [Gambas-user] problems with sqlite in gambas In-Reply-To: <5597D521.8040302@...17...> References: <5597B840.3000009@...17...> <5597CA14.5080203@...1...> <5597D436.1090701@...17...> <5597D521.8040302@...17...> Message-ID: <5597DAF1.50907@...1...> Le 04/07/2015 14:44, Klaus-Peter Mais a ?crit : >> >> ok, ... i use the "sqlite data browser" >> (sqlitebrowser.sourceforge.net). But also in android the fields are >> without the reference (tableName.Field1, ........, tableName.fieldn in >> Gambas). >> I have the phenomenon only in gambas. Also in Android it's ok. >> >> Description: >> I will copy a table with content (in a gambas app) >> I use: create table newTable as select * from oldTable >> >> in my newtable i find the fieldnames: oldTable.Field1, ..........., >> oldTable.Field2 (for example with datagrid or directly over the field >> names with a result object. >> >> if i create this newtable with the sqlite browser or in android, and >> now when I look at the newtable in gambas, the fields are correct, >> without reference on old Table. >> Only, if i create with the sqlite statement: create table [name] as >> select * from [oldname], the problem arises in a gambas app. >> >> and unfortunately, these fields can not be addressed with SQL (for >> example:... where fieldname = 'trulla'). >> The same SQL statement in SQLite browser or android running, there is >> no problem. there is no reference to the oldTable. >> >> best Regards (from Sahara-Germany) >> >> Klaus-Peter Mais >> When you open a sqlite database, Gambas issues these commands: PRAGMA empty_result_callbacks = ON PRAGMA short_column_names = OFF PRAGMA full_column_names = ON I suggest you call "PRAGMA full_column_names = OFF" before running your request in Gambas. Regards, -- Beno?t Minisini From lewis at ...3412... Sat Jul 4 15:04:13 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 04 Jul 2015 08:04:13 -0500 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5597D268.4010709@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> Message-ID: <5597D9CD.1090205@...3412...> Perseverance has its rewards. On 07/04/2015 07:32 AM, Beno?t Minisini wrote: > 'appindicator', 'statusnotifier' and 'dbusmenu' are really three > pieces of badly designed almost undocumented shit that required me one > week of reverse engineering! But now it works more or less, so I'm > happy. :-) From gambas.fr at ...626... Sat Jul 4 19:39:29 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 4 Jul 2015 19:39:29 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5597D268.4010709@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> Message-ID: Le 4 juil. 2015 14:34, "Beno?t Minisini" a ?crit : > > Le 30/06/2015 21:33, Adrien Prokopowicz a ?crit : > > > > Well, I think the only reliable way to tell is to actually check the > > session bus to see if the StatusNotifierHost is present. > > > > What don't you like in having to load gb.dbus to do the check ? > > I understand you don't want to load the component "for nothing" if > > the check fails, but in some way it is also loaded whether or not > > you are using TrayIcons in your programs, so ... > > > > There are so many cases to test, I feel that if we somehow sort it out, > > the whole environment-testing/dynamic-loading process would be > > way cooler than the final TrayIcon feature itself. :) > > (Not mentioning the work already done for that, i.e. the whole DBus > > overhaul, and the "Optional Classes" interpreter feature, which > > are both really cool). > > Done in the last revisions: now the trayicon is managed by a dedicated > component, 'gb.gui.trayicon', that loads 'gb.dbus', check if a > StatusNotifierHost has been registered. If yes, it loads > 'gb.dbus.trayicon', otherwise it lets the gui component declare the old > implementation. > > > > >> In the meantime I investigated with Unity... They actually use a DBus > >> protocol completly different from the KDE one, but apparently QT apps > >> using sni-qt (like vlc) know how to deal with that. I will try to look > >> into the sni-qt source code to understand the magic behind that. > >> > >> Of course, don't expect to find any good documentation about that Unity > >> protocol (a.k.a. libappindicator). > >> > > > > From what I've saw in the sni-qt source code, it only relies on the > > Unity-like protocol (which is also supported by KDE) : > > the path sent to the StatusNotifierWatcher is hard-coded to be > > "/org/kde/statusnotifieritem/". > > > > Also, if you need me to test some more things, just tell. :) > > The Unity and KDE protocol are actually really different: Unity requires > a status icon to have a menu, otherwise it does not display it. As soon > as your application has more than one icon, you have to use a completely > different way of declaring your DBus objects between Unity and KDE... > > 'appindicator', 'statusnotifier' and 'dbusmenu' are really three pieces > of badly designed almost undocumented shit that required me one week of > reverse engineering! But now it works more or less, so I'm happy. :-) > Now you are able to create your own status bar with your own protocol ? > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Jul 4 19:40:30 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 04 Jul 2015 19:40:30 +0200 Subject: [Gambas-user] BUG in WebBrowser 1.0.1 example In-Reply-To: <1435179632.3565.3.camel@...40...> References: <1435179632.3565.3.camel@...40...> Message-ID: <55981A8E.4090909@...1...> Le 24/06/2015 23:00, Charlie Reinl a ?crit : > Salut Beno?t, > > WebBrowser 1.0.1 example have a bug in > Private Sub DoFind(Optional bBackward As Boolean) > > see attachment > I just published WebBrowser 1.0.2 with a fix. Regards, -- Beno?t Minisini From Karl.Reinl at ...9... Sat Jul 4 21:46:05 2015 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sat, 04 Jul 2015 21:46:05 +0200 Subject: [Gambas-user] BUG in WebBrowser 1.0.1 example In-Reply-To: <55981A8E.4090909@...1...> References: <1435179632.3565.3.camel@...40...> <55981A8E.4090909@...1...> Message-ID: <3f6a90abb622dd071cd323adf6f092be@...2896...> On Sat, 04 Jul 2015 19:40:30 +0200, Beno?t Minisini wrote: > Le 24/06/2015 23:00, Charlie Reinl a ?crit : >> Salut Beno?t, >> >> WebBrowser 1.0.1 example have a bug in >> Private Sub DoFind(Optional bBackward As Boolean) >> >> see attachment >> > > I just published WebBrowser 1.0.2 with a fix. > > Regards, Salut Beno?t, but now I need qt5 Amicalement Charlie From gambas at ...1... Sat Jul 4 23:32:13 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 04 Jul 2015 23:32:13 +0200 Subject: [Gambas-user] CR in IDE editor In-Reply-To: <1434788523.3482.2.camel@...40...> References: <1434788523.3482.2.camel@...40...> Message-ID: <559850DD.8070209@...1...> Le 20/06/2015 10:22, Karl Reinl a ?crit : > Salut Beno?t, > > CR in IDE-editor don't create a new line if INS-mode is ON > (sorry meant) OFF > Fixed in revision #7172. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Jul 5 13:10:17 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 05 Jul 2015 11:10:17 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa In-Reply-To: <2-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Comment #3 on issue 626 by isaf... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 Hi In previous versions there was conversion between RichText and Text property so that if I provided RichText value then I got Text value and vice versa. E.g. I provide .RichText ="aa" Then I got .Text= "aa" This property has been removed in gambas 3.7 Can you please resume backward compatibility. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Jul 5 21:00:01 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 05 Jul 2015 19:00:01 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa In-Reply-To: <3-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #4 on issue 626 by benoit.m... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 In my defence, this is not a documented Gambas feature, but a Qt feature I wasn't even aware. And really stupid in my opinion. I have no RichText to Text conversion function at the moment, so I suggest you write your own if you are in a hurry. If you write a good function for that, please send it, it would be useful. :-) Moreover I think I will make that feature optional if I implement it. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jussi.lahtinen at ...626... Sun Jul 5 21:34:25 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 5 Jul 2015 22:34:25 +0300 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <5597D268.4010709@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> Message-ID: Maybe I have misunderstood something... If I don't check the gb.gui.trayicon, I will get "cannot load the class 'Trayicon'". If I do check the gb.gui.trayicon, I will get other error, see the screenshot. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=7985M [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+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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 This is with revision 7173. Jussi On Sat, Jul 4, 2015 at 3:32 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 30/06/2015 21:33, Adrien Prokopowicz a ?crit : > > > > Well, I think the only reliable way to tell is to actually check the > > session bus to see if the StatusNotifierHost is present. > > > > What don't you like in having to load gb.dbus to do the check ? > > I understand you don't want to load the component "for nothing" if > > the check fails, but in some way it is also loaded whether or not > > you are using TrayIcons in your programs, so ... > > > > There are so many cases to test, I feel that if we somehow sort it out, > > the whole environment-testing/dynamic-loading process would be > > way cooler than the final TrayIcon feature itself. :) > > (Not mentioning the work already done for that, i.e. the whole DBus > > overhaul, and the "Optional Classes" interpreter feature, which > > are both really cool). > > Done in the last revisions: now the trayicon is managed by a dedicated > component, 'gb.gui.trayicon', that loads 'gb.dbus', check if a > StatusNotifierHost has been registered. If yes, it loads > 'gb.dbus.trayicon', otherwise it lets the gui component declare the old > implementation. > > > > >> In the meantime I investigated with Unity... They actually use a DBus > >> protocol completly different from the KDE one, but apparently QT apps > >> using sni-qt (like vlc) know how to deal with that. I will try to look > >> into the sni-qt source code to understand the magic behind that. > >> > >> Of course, don't expect to find any good documentation about that Unity > >> protocol (a.k.a. libappindicator). > >> > > > > From what I've saw in the sni-qt source code, it only relies on the > > Unity-like protocol (which is also supported by KDE) : > > the path sent to the StatusNotifierWatcher is hard-coded to be > > "/org/kde/statusnotifieritem/". > > > > Also, if you need me to test some more things, just tell. :) > > The Unity and KDE protocol are actually really different: Unity requires > a status icon to have a menu, otherwise it does not display it. As soon > as your application has more than one icon, you have to use a completely > different way of declaring your DBus objects between Unity and KDE... > > 'appindicator', 'statusnotifier' and 'dbusmenu' are really three pieces > of badly designed almost undocumented shit that required me one week of > reverse engineering! But now it works more or less, so I'm happy. :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.53.tar.gz Type: application/x-gzip Size: 43094 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-07-05 22:24:14.png Type: image/png Size: 13160 bytes Desc: not available URL: From gambas at ...1... Sun Jul 5 22:03:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 05 Jul 2015 22:03:53 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> Message-ID: <55998DA9.6030902@...1...> Le 05/07/2015 21:34, Jussi Lahtinen a ?crit : > Maybe I have misunderstood something... > If I don't check the gb.gui.trayicon, I will get "cannot load the class > 'Trayicon'". > If I do check the gb.gui.trayicon, I will get other error, see the > screenshot. > > > [System] > Gambas=3.7.90 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.1 Rebecca > Desktop=GNOME I was just looking for someone that could test with GNOME. :-) Apparently the DBus trayicon detection routine is broken. It should not raise an error, but instead return just that it is not available. Which should not be the case on Gnome... Do you know which trayicon protocol Gnome use? -- Beno?t Minisini From gambas at ...1... Sun Jul 5 22:56:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 05 Jul 2015 22:56:48 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <55998DA9.6030902@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> <55998DA9.6030902@...1...> Message-ID: <55999A10.10603@...1...> Le 05/07/2015 22:03, Beno?t Minisini a ?crit : > Le 05/07/2015 21:34, Jussi Lahtinen a ?crit : >> Maybe I have misunderstood something... >> If I don't check the gb.gui.trayicon, I will get "cannot load the class >> 'Trayicon'". >> If I do check the gb.gui.trayicon, I will get other error, see the >> screenshot. >> >> >> [System] >> Gambas=3.7.90 >> OperatingSystem=Linux >> Kernel=3.13.0-37-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17.1 Rebecca >> Desktop=GNOME > > I was just looking for someone that could test with GNOME. :-) > > Apparently the DBus trayicon detection routine is broken. It should not > raise an error, but instead return just that it is not available. Which > should not be the case on Gnome... Do you know which trayicon protocol > Gnome use? > OK, it should be fixed in revision #7174. Now the question is: why don't you have a DBus system tray with Gnome? -- Beno?t Minisini From Karl.Reinl at ...2345... Sun Jul 5 23:42:59 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 05 Jul 2015 23:42:59 +0200 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <55999A10.10603@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> <55998DA9.6030902@...1...> <55999A10.10603@...1...> Message-ID: <1436132579.3661.13.camel@...40...> Am Sonntag, den 05.07.2015, 22:56 +0200 schrieb Beno?t Minisini: > Le 05/07/2015 22:03, Beno?t Minisini a ?crit : > > Le 05/07/2015 21:34, Jussi Lahtinen a ?crit : > >> Maybe I have misunderstood something... > >> If I don't check the gb.gui.trayicon, I will get "cannot load the class > >> 'Trayicon'". > >> If I do check the gb.gui.trayicon, I will get other error, see the > >> screenshot. > >> > >> > >> [System] > >> Gambas=3.7.90 > >> OperatingSystem=Linux > >> Kernel=3.13.0-37-generic > >> Architecture=x86_64 > >> Distribution=Linux Mint 17.1 Rebecca > >> Desktop=GNOME > > > > I was just looking for someone that could test with GNOME. :-) > > > > Apparently the DBus trayicon detection routine is broken. It should not > > raise an error, but instead return just that it is not available. Which > > should not be the case on Gnome... Do you know which trayicon protocol > > Gnome use? > > > > OK, it should be fixed in revision #7174. Now the question is: why don't > you have a DBus system tray with Gnome? > Salut Beno?t, there is 'something' the rose square, look at the attachment this is the output: gb.dbus: start watching connection gb.dbus: add match: type='method_call',path='/',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: add match: type='method_call',path='/StatusNotifierItem',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: add match: type='method_call',path='/StatusNotifierItem/menu',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus -> dest=:1.182 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.182" gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus -> dest=:1.182 serial=3 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string "org.kde.StatusNotifierItem-6746-1" gb.dbus: warning: unhandled message: signal sender=org.freedesktop.DBus -> dest=:1.182 serial=5 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string "org.gambas.gb.dbus.trayicon" gb.dbus: warning: unhandled message: method call sender=:1.56 -> dest=:1.182 serial=100 path=/StatusNotifierItem; interface=org.freedesktop.DBus.Properties; member=GetAll string "org.kde.StatusNotifierItem" gb.dbus: void signature gb.dbus: remove match: type='method_call',path='/StatusNotifierItem/menu',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: remove match: type='method_call',path='/StatusNotifierItem',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: remove match: type='method_call',path='/',destination='org.kde.StatusNotifierItem-6746-1' gb.dbus: stop watching connection [System] Gambas=3.7.90 rev.7174 OperatingSystem=Linux Kernel=3.2.0-86-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [Libraries] 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+3=libgtk-3.so.0.400.2 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 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-07-05 23:35:35.png Type: image/png Size: 8841 bytes Desc: not available URL: From gambas at ...2524... Mon Jul 6 02:01:23 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Jul 2015 00:01:23 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <1-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #2 on issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 I'll see if I can be more clear. The project is run from the IDE normally and works well. When I create an installation package for debian / ubuntu and then install, when running it is not working. Generates http communication error. I'm using ubuntu 14.04 fully updated from the official repositories and prawns from the ppa repository: shrimp-team / daily. Project and installation package generated is attached. I hope you understand. Thank You Attachments: proyectoprueba.tar.gz 11.6 KB proyectoprueba_0.0.1-0ubuntu1_all.deb 8.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 6 02:04:02 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Jul 2015 00:04:02 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <2-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #3 on issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 I'll see if I can be more clear. The project is run from the IDE normally and works well. When I create an installation package for debian/ubuntu and then install, when running it is not working. Generates http communication error. I'm using ubuntu 14.04 fully updated from the official repositories and gambas from the ppa repository: gambas-team / daily. Project and installation package generated is attached. I hope you understand. Thank You Attachments: proyectoprueba.tar.gz 11.6 KB proyectoprueba_0.0.1-0ubuntu1_all.deb 8.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 6 02:15:16 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 06 Jul 2015 00:15:16 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <3-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #4 on issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 open the project and run it click on "estado servicios" and the response is ok then install the package run the executable, click on "estado servicios" response is no http flow httpclient returns status ok but not receive nothing -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From jussi.lahtinen at ...626... Mon Jul 6 03:13:36 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 6 Jul 2015 04:13:36 +0300 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <55998DA9.6030902@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> <55998DA9.6030902@...1...> Message-ID: > I was just looking for someone that could test with GNOME. :-) > > Apparently the DBus trayicon detection routine is broken. It should not > raise an error, but instead return just that it is not available. Which > should not be the case on Gnome... Do you know which trayicon protocol > Gnome use? > I copy&pasted the info from IDE without reading it, actually the desktop is Cinnamon. No clue about trayicon protocol. Jussi From jussi.lahtinen at ...626... Mon Jul 6 03:36:26 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 6 Jul 2015 04:36:26 +0300 Subject: [Gambas-user] New system tray icon protocol support, new episode. In-Reply-To: <55999A10.10603@...1...> References: <5590A513.4050809@...1...> <55926ACD.3090505@...1...> <5597D268.4010709@...1...> <55998DA9.6030902@...1...> <55999A10.10603@...1...> Message-ID: Now I see the trayicon, but it ignores MouseUp event (it does not raise). Also I got this: "sni-qt/32735" WARN 04:33:30.371 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE Jussi On Sun, Jul 5, 2015 at 11:56 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 05/07/2015 22:03, Beno?t Minisini a ?crit : > > Le 05/07/2015 21:34, Jussi Lahtinen a ?crit : > >> Maybe I have misunderstood something... > >> If I don't check the gb.gui.trayicon, I will get "cannot load the class > >> 'Trayicon'". > >> If I do check the gb.gui.trayicon, I will get other error, see the > >> screenshot. > >> > >> > >> [System] > >> Gambas=3.7.90 > >> OperatingSystem=Linux > >> Kernel=3.13.0-37-generic > >> Architecture=x86_64 > >> Distribution=Linux Mint 17.1 Rebecca > >> Desktop=GNOME > > > > I was just looking for someone that could test with GNOME. :-) > > > > Apparently the DBus trayicon detection routine is broken. It should not > > raise an error, but instead return just that it is not available. Which > > should not be the case on Gnome... Do you know which trayicon protocol > > Gnome use? > > > > OK, it should be fixed in revision #7174. Now the question is: why don't > you have a DBus system tray with Gnome? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From whenamalone at ...626... Mon Jul 6 06:04:09 2015 From: whenamalone at ...626... (monika) Date: Sun, 5 Jul 2015 21:04:09 -0700 (MST) Subject: [Gambas-user] =?utf-8?b?RndkOiDgtLjgtYbgtLHgtY3gtLHgtL/gtJfgtL4=?= =?utf-8?b?4LSCIF8gVklJSSBfIENocHRyIDogOSAo4LSa4LSy4LSo4LSCICk=?= Message-ID: ? ?????, 8?? ???????? ????? *???????? *?????????? ???????? ??????????????????? ?????????. *????????? : 9 ????* *OS : Edubuntu 10.04* t.gif (461K) =?UTF-8?B?4LSr4LS/4LS44LS/4LSV4LWN4LS44LWNXzguMDkudGFyLmd6?= (2M) -- View this message in context: http://gambas.8142.n7.nabble.com/Fwd-VIII-Chptr-9-tp51974.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Jul 9 01:37:53 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 09 Jul 2015 01:37:53 +0200 Subject: [Gambas-user] BUG in WebBrowser 1.0.1 example In-Reply-To: <3f6a90abb622dd071cd323adf6f092be@...2896...> References: <1435179632.3565.3.camel@...40...> <55981A8E.4090909@...1...> <3f6a90abb622dd071cd323adf6f092be@...2896...> Message-ID: <559DB451.50505@...1...> Le 04/07/2015 21:46, Charlie Reinl a ?crit : > On Sat, 04 Jul 2015 19:40:30 +0200, Beno?t Minisini > wrote: >> Le 24/06/2015 23:00, Charlie Reinl a ?crit : >>> Salut Beno?t, >>> >>> WebBrowser 1.0.1 example have a bug in >>> Private Sub DoFind(Optional bBackward As Boolean) >>> >>> see attachment >>> >> >> I just published WebBrowser 1.0.2 with a fix. >> >> Regards, > > Salut Beno?t, > > but now I need qt5 > > Amicalement Charlie > I published WebBrowser 1.0.3 that uses QT4 instead of QT5. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jul 9 16:16:44 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 09 Jul 2015 16:16:44 +0200 Subject: [Gambas-user] SOLVED Re: BUG in WebBrowser 1.0.1 example In-Reply-To: <559DB451.50505@...1...> References: <1435179632.3565.3.camel@...40...> <55981A8E.4090909@...1...> <3f6a90abb622dd071cd323adf6f092be@...2896...> <559DB451.50505@...1...> Message-ID: <1436451404.11157.7.camel@...40...> Am Donnerstag, den 09.07.2015, 01:37 +0200 schrieb Beno?t Minisini: > Le 04/07/2015 21:46, Charlie Reinl a ?crit : > > On Sat, 04 Jul 2015 19:40:30 +0200, Beno?t Minisini > > wrote: > >> Le 24/06/2015 23:00, Charlie Reinl a ?crit : > >>> Salut Beno?t, > >>> > >>> WebBrowser 1.0.1 example have a bug in > >>> Private Sub DoFind(Optional bBackward As Boolean) > >>> > >>> see attachment > >>> > >> > >> I just published WebBrowser 1.0.2 with a fix. > >> > >> Regards, > > > > Salut Beno?t, > > > > but now I need qt5 > > > > Amicalement Charlie > > > > I published WebBrowser 1.0.3 that uses QT4 instead of QT5. > > Regards, > Salut Beno?t, yes, now it reworks. Thanks -- Amicalement Charlie From ian.roper at ...1974... Sat Jul 11 02:29:27 2015 From: ian.roper at ...1974... (ian.roper at ...1974...) Date: Sat, 11 Jul 2015 08:29:27 +0800 Subject: [Gambas-user] gambas3 -V In-Reply-To: <1435179632.3565.3.camel@...40...> References: <1435179632.3565.3.camel@...40...> Message-ID: <2708725.qGsaaW6Mm1@...3492...> Running gambas3 -V produces the result below I'm on Kubuntu 15.04 - Is this specific to this distro or small bug ? ian at ...3491...:~$ gambas3 -V 3.7.90 kf5.kiconthemes: "Theme tree: (Oxygen)" <-------<<<<<< Running this test produced the expected results. ian at ...3491...:~$ gbw3 -V 3.4.0 (on PPA daily updates) Cheers, Ian. From tsukubagraduates at ...3482... Sat Jul 11 11:16:38 2015 From: tsukubagraduates at ...3482... (=?ISO-8859-1?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sat, 11 Jul 2015 17:16:38 +0800 Subject: [Gambas-user] how to cite mplayer Message-ID: i wanna build a like "Music box" program but how to cite mplayer (if click "music" button music will be play(outside mp3 file) if click "stop" button music will be stop) From gambas at ...3466... Sat Jul 11 11:29:40 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sat, 11 Jul 2015 11:29:40 +0200 Subject: [Gambas-user] how to cite mplayer In-Reply-To: References: Message-ID: <55A0E204.3050807@...3466...> Hi , U have to see the -slave mplayer option , with that U can control mplayer with command from stdin , it work well , or if U only need to play some music U can use the gb.media component that rely on gstreamer and provide an api for play music. bye, marco. Il 11/07/2015 11:16, tsukuba GIMP user ha scritto: > i wanna build a like "Music box" program > but how to cite mplayer (if click "music" button music will be play(outside mp3 file) if click "stop" button music will be stop) > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tsukubagraduates at ...3482... Sat Jul 11 11:48:14 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sat, 11 Jul 2015 17:48:14 +0800 Subject: [Gambas-user] how to cite mplayer In-Reply-To: <55A0E204.3050807@...3466...> References: <55A0E204.3050807@...3466...> Message-ID: I would like to quote an external file?music1.mp3? #======|code|====== # #Public Sub Button1_Click() # # Dim music1 As String # music1 = "/music1.mp3" # Mediaview1.URL = music1 # #End # IS wrong? ------------------ Original ------------------ From: "Marco Ancillotti";; Date: Sat, Jul 11, 2015 05:29 PM To: "gambas-user"; Subject: Re: [Gambas-user] how to cite mplayer Hi , U have to see the -slave mplayer option , with that U can control mplayer with command from stdin , it work well , or if U only need to play some music U can use the gb.media component that rely on gstreamer and provide an api for play music. bye, marco. Il 11/07/2015 11:16, tsukuba GIMP user ha scritto: > i wanna build a like "Music box" program > but how to cite mplayer (if click "music" button music will be play(outside mp3 file) if click "stop" button music will be stop) > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...3466... Sat Jul 11 12:23:45 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sat, 11 Jul 2015 12:23:45 +0200 Subject: [Gambas-user] how to cite mplayer In-Reply-To: References: <55A0E204.3050807@...3466...> Message-ID: <55A0EEB1.7070503@...3466...> Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: > I would like to quote an external file?music1.mp3? > > #======|code|====== > # > #Public Sub Button1_Click() > # > # Dim music1 As String > # music1 = "/music1.mp3" > # Mediaview1.URL = music1 > # > #End > > # > > IS wrong? I don't use the media module , but for what I see U need to use the play function of mediaview to play the mp3 after U set the url. Also , are U sure that the file is in / ? it seem strange that U put a mp3 on the root of the system. From tsukubagraduates at ...3482... Sat Jul 11 12:31:31 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sat, 11 Jul 2015 18:31:31 +0800 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICBob3cgdG8gY2l0ZSBtcGxheWVy?= In-Reply-To: <55A0EEB1.7070503@...3466...> References: <55A0E204.3050807@...3466...> <55A0EEB1.7070503@...3466...> Message-ID: I just want when i click button1 mediaview1 will be play in Program directory mp3 file Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: > I would like to quote an external file?music1.mp3? > > #======|code|====== > # > #Public Sub Button1_Click() > # > # Dim music1 As String > # music1 = "/music1.mp3" > # Mediaview1.URL = music1 > # > #End > > # > > IS wrong? I don't use the media module , but for what I see U need to use the play function of mediaview to play the mp3 after U set the url. Also , are U sure that the file is in / ? it seem strange that U put a mp3 on the root of the system. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...3466... Sat Jul 11 12:56:44 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Sat, 11 Jul 2015 12:56:44 +0200 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICBob3cgdG8gY2l0ZSBtcGxheWVy?= In-Reply-To: References: <55A0E204.3050807@...3466...> <55A0EEB1.7070503@...3466...> Message-ID: <55A0F66C.6010101@...3466...> So the path is not right , U have to use full path or use: application.path & "/music1.mp3" Il 11/07/2015 12:31, tsukuba GIMP user ha scritto: > I just want when i click button1 mediaview1 will be play in Program directory mp3 file > > > Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: >> I would like to quote an external file?music1.mp3? >> >> #======|code|====== >> # >> #Public Sub Button1_Click() >> # >> # Dim music1 As String >> # music1 = "/music1.mp3" >> # Mediaview1.URL = music1 >> # >> #End >> >> # >> >> IS wrong? > I don't use the media module , but for what I see U need to use the play > function of mediaview to play the mp3 after U set the url. > > Also , are U sure that the file is in / ? it seem strange that U put a > mp3 on the root of the system. > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tsukubagraduates at ...3482... Sat Jul 11 13:55:40 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sat, 11 Jul 2015 19:55:40 +0800 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICC72Li0o7ogIGhvdyB0byBjaXRl?= =?gb18030?q?_mplayer?= In-Reply-To: <55A0F66C.6010101@...3466...> References: <55A0E204.3050807@...3466...> <55A0EEB1.7070503@...3466...> <55A0F66C.6010101@...3466...> Message-ID: Public Sub Button1_Click() Dim music1 As String music1 = application.Path & "/music1.mp3" MediaView1.URL = "music1" MediaView1.play End i try this but when MediaView1.play will be "cannot set status" ------------------ ???? ------------------ ???: "Marco Ancillotti";; ????: 2015?7?11?(???) ??6:56 ???: "gambas-user"; ??: Re: [Gambas-user] ??? how to cite mplayer So the path is not right , U have to use full path or use: application.path & "/music1.mp3" Il 11/07/2015 12:31, tsukuba GIMP user ha scritto: > I just want when i click button1 mediaview1 will be play in Program directory mp3 file > > > Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: >> I would like to quote an external file?music1.mp3? >> >> #======|code|====== >> # >> #Public Sub Button1_Click() >> # >> # Dim music1 As String >> # music1 = "/music1.mp3" >> # Mediaview1.URL = music1 >> # >> #End >> >> # >> >> IS wrong? > I don't use the media module , but for what I see U need to use the play > function of mediaview to play the mp3 after U set the url. > > Also , are U sure that the file is in / ? it seem strange that U put a > mp3 on the root of the system. > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Gambas at ...1950... Sat Jul 11 14:29:25 2015 From: Gambas at ...1950... (Caveat) Date: Sat, 11 Jul 2015 14:29:25 +0200 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICC72Li0o7ogIGhvdyB0byBjaXRl?= =?gb18030?q?_mplayer?= In-Reply-To: References: <55A0E204.3050807@...3466...> <55A0EEB1.7070503@...3466...> <55A0F66C.6010101@...3466...> Message-ID: <55A10C25.2030208@...1950...> MediaView1.URL = music1 otherwise you're not setting the URL to the content of the variable music1 but to the literal string "music1"! On 11/07/15 13:55, tsukuba GIMP user wrote: > Public Sub Button1_Click() > > Dim music1 As String > music1 = application.Path & "/music1.mp3" > MediaView1.URL = "music1" > MediaView1.play > > End > > i try this but when MediaView1.play will be "cannot set status" > > > > ------------------ ???? ------------------ > ???: "Marco Ancillotti";; > ????: 2015?7?11?(???) ??6:56 > ???: "gambas-user"; > > ??: Re: [Gambas-user] ??? how to cite mplayer > > > > > So the path is not right , U have to use full path or use: > application.path & "/music1.mp3" > > > Il 11/07/2015 12:31, tsukuba GIMP user ha scritto: >> I just want when i click button1 mediaview1 will be play in Program directory mp3 file >> >> >> Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: >>> I would like to quote an external file?music1.mp3? >>> >>> #======|code|====== >>> # >>> #Public Sub Button1_Click() >>> # >>> # Dim music1 As String >>> # music1 = "/music1.mp3" >>> # Mediaview1.URL = music1 >>> # >>> #End >>> >>> # >>> >>> IS wrong? >> I don't use the media module , but for what I see U need to use the play >> function of mediaview to play the mp3 after U set the url. >> >> Also , are U sure that the file is in / ? it seem strange that U put a >> mp3 on the root of the system. >> >> >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sat Jul 11 14:55:08 2015 From: vuott at ...325... (Ru Vuott) Date: Sat, 11 Jul 2015 13:55:08 +0100 Subject: [Gambas-user] =?utf-8?b?UjogIOWbnuWkje+8miAg5Zue5aSN77yaICBob3cg?= =?utf-8?q?to_cite_mplayer?= In-Reply-To: Message-ID: <1436619308.22329.YahooMailBasic@...3268...> INCORRECT: MediaView1.URL = "music1" Correct: MediaView1.URL = music1 -------------------------------------------- Sab 11/7/15, tsukuba GIMP user ha scritto: Oggetto: [Gambas-user] ??? ??? how to cite mplayer A: "mailing list for gambas users" Data: Sabato 11 luglio 2015, 13:55 Public Sub Button1_Click() ? ? Dim music1 As String ? music1 = application.Path & "/music1.mp3" ? MediaView1.URL = "music1" ? MediaView1.play End i try this but when MediaView1.play will be "cannot set status" ------------------ ???? ------------------ ???: "Marco Ancillotti";; ????: 2015?7?11?(???) ??6:56 ???: "gambas-user"; ??: Re: [Gambas-user] ???? how to cite mplayer So the path is not right , U have to use full path or use: application.path & "/music1.mp3" Il 11/07/2015 12:31, tsukuba GIMP user ha scritto: > I just want when i click button1 mediaview1 will be play in Program directory mp3 file > > > Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: >> I would like to quote an external file?music1.mp3? >> >> #======|code|====== >> # >> #Public Sub Button1_Click() >> # >> #? Dim music1 As String >> #? music1 = "/music1.mp3" >> #? Mediaview1.URL = music1 >> # >> #End >> >> # >> >> IS wrong? > I don't use the media module , but for what I see U need to use the play > function of mediaview to play the mp3 after U set the url. > > Also , are U sure that the file is in / ? it seem strange that U put a > mp3 on the root of the system. > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tsukubagraduates at ...3482... Sat Jul 11 15:15:38 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sat, 11 Jul 2015 21:15:38 +0800 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6IFI6ICC72Li0o7ogILvYuLSjuiAg?= =?gb18030?q?how_to_cite_mplayer?= Message-ID: thanks Ru Vuott \ Caveat and Macro it's working ------------------ ???? ------------------ ???: "Ru Vuott";; ????: 2015?7?11?(???) ??8:55 ???: "mailing list for gambas users"; ??: [Gambas-user] R: ??? ??? how to cite mplayer INCORRECT: MediaView1.URL = "music1" Correct: MediaView1.URL = music1 -------------------------------------------- Sab 11/7/15, tsukuba GIMP user ha scritto: Oggetto: [Gambas-user] ??? ??? how to cite mplayer A: "mailing list for gambas users" Data: Sabato 11 luglio 2015, 13:55 Public Sub Button1_Click() Dim music1 As String music1 = application.Path & "/music1.mp3" MediaView1.URL = "music1" MediaView1.play End i try this but when MediaView1.play will be "cannot set status" ------------------ ???? ------------------ ???: "Marco Ancillotti";; ????: 2015?7?11?(???) ??6:56 ???: "gambas-user"; ??: Re: [Gambas-user] ??? how to cite mplayer So the path is not right , U have to use full path or use: application.path & "/music1.mp3" Il 11/07/2015 12:31, tsukuba GIMP user ha scritto: > I just want when i click button1 mediaview1 will be play in Program directory mp3 file > > > Il 11/07/2015 11:48, tsukuba GIMP user ha scritto: >> I would like to quote an external file?music1.mp3? >> >> #======|code|====== >> # >> #Public Sub Button1_Click() >> # >> # Dim music1 As String >> # music1 = "/music1.mp3" >> # Mediaview1.URL = music1 >> # >> #End >> >> # >> >> IS wrong? > I don't use the media module , but for what I see U need to use the play > function of mediaview to play the mp3 after U set the url. > > Also , are U sure that the file is in / ? it seem strange that U put a > mp3 on the root of the system. > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sat Jul 11 16:49:44 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Jul 2015 14:49:44 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <4-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #5 on issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 Any idea what the problem is? How I can fix it? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Jul 11 17:46:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 11 Jul 2015 15:46:53 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <5-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #6 on issue 627 by benoit.m... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 The problem is apparently in the gb.xml component, not in the packager at all. I.e. if you run the project from the IDE, it works, but if you run the executable file, it does not. Investigations continue... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From tsukubagraduates at ...3482... Sun Jul 12 09:53:36 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sun, 12 Jul 2015 15:53:36 +0800 Subject: [Gambas-user] i Build a RPM package but... Message-ID: music = application.Path & "/.hidden/music1.mp3" this application.path is /usr/bin/.hidden or /usr/share/.hidden?(and i want to change /.hidden to /.musicfiles) ?my program in debug it's working but if build the RPM and I install it's not working because file not found...? From taboege at ...626... Sun Jul 12 11:28:47 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 12 Jul 2015 11:28:47 +0200 Subject: [Gambas-user] i Build a RPM package but... In-Reply-To: References: Message-ID: <20150712092847.GA593@...2774...> On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > music = application.Path & "/.hidden/music1.mp3" > this application.path is /usr/bin/.hidden or /usr/share/.hidden?(and i want to change /.hidden to /.musicfiles) > ??my program in debug it's working but if build the RPM and I install it's not working because file not found...?? When you create an installation package, you will end up with an executable archive of your project (*.gambas file) within it. This archive is a single file which holds your entire project, but of course you can't use absolute paths in the filesystem (as you did above) to access these files. If you want to access a file which is located relative to your project directory, then you have to use plain relative paths: music = ".hidden/music1.mp3" Also why is your data in ".hidden"? The .hidden directory, per wiki[0], is the directory which specifically contains data which is NOT going into the executable archive. You should put your music right into the project directory (not into its subdirectories) and change music = "music1.mp3" Regards, Tobi [0] http://gambaswiki.org/wiki/doc/project_structure -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From tsukubagraduates at ...3482... Sun Jul 12 11:48:52 2015 From: tsukubagraduates at ...3482... (=?ISO-8859-1?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sun, 12 Jul 2015 17:48:52 +0800 Subject: [Gambas-user] i Build a RPM package but... In-Reply-To: <20150712092847.GA593@...2774...> References: <20150712092847.GA593@...2774...> Message-ID: but if use "music = application.Path & "/music1.mp3"" when i build RPM package the file"/music1.mp3" will be added or not added? (and i try use music = application.patch & "music1.mp3" it's will not working but "/music1.mp3" is working) ------------------ Original ------------------ From: "Tobias Boege";; Date: Sun, Jul 12, 2015 05:28 PM To: "mailing list for gambas users"; Subject: Re: [Gambas-user] i Build a RPM package but... On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > music = application.Path & "/.hidden/music1.mp3" > this application.path is /usr/bin/.hidden or /usr/share/.hidden?(and i want to change /.hidden to /.musicfiles) > ??my program in debug it's working but if build the RPM and I install it's not working because file not found...?? When you create an installation package, you will end up with an executable archive of your project (*.gambas file) within it. This archive is a single file which holds your entire project, but of course you can't use absolute paths in the filesystem (as you did above) to access these files. If you want to access a file which is located relative to your project directory, then you have to use plain relative paths: music = ".hidden/music1.mp3" Also why is your data in ".hidden"? The .hidden directory, per wiki[0], is the directory which specifically contains data which is NOT going into the executable archive. You should put your music right into the project directory (not into its subdirectories) and change music = "music1.mp3" Regards, Tobi [0] http://gambaswiki.org/wiki/doc/project_structure -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Jul 12 12:12:38 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 12 Jul 2015 12:12:38 +0200 Subject: [Gambas-user] i Build a RPM package but... In-Reply-To: References: <20150712092847.GA593@...2774...> Message-ID: <20150712101238.GB593@...2774...> On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > but if use "music = application.Path & "/music1.mp3"" when i build RPM package the file"/music1.mp3" will be added or not added? > (and i try use music = application.patch & "music1.mp3" it's will not working but "/music1.mp3" is working) > You seem to have no idea of what you are doing. I'm not pedagogically qualified enough to help you any more than this: attached is a sample project which includes an image file in the "Data" slot of the project TreeView in the IDE. It is loaded into a PictureBox by using its relative path. This is the correct way of doing it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: executable-include-file-0.0.1.tar.gz Type: application/octet-stream Size: 4308 bytes Desc: not available URL: From tsukubagraduates at ...3482... Sun Jul 12 13:01:38 2015 From: tsukubagraduates at ...3482... (=?ISO-8859-1?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Sun, 12 Jul 2015 19:01:38 +0800 Subject: [Gambas-user] i Build a RPM package but... In-Reply-To: <20150712101238.GB593@...2774...> References: <20150712092847.GA593@...2774...> <20150712101238.GB593@...2774...> Message-ID: ... 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 On Sun, 12 Jul 2015, tsukuba GIMP user wrote: > but if use "music = application.Path & "/music1.mp3"" when i build RPM package the file"/music1.mp3" will be added or not added? > (and i try use music = application.patch & "music1.mp3" it's will not working but "/music1.mp3" is working) > You seem to have no idea of what you are doing. I'm not pedagogically qualified enough to help you any more than this: attached is a sample project which includes an image file in the "Data" slot of the project TreeView in the IDE. It is loaded into a PictureBox by using its relative path. This is the correct way of doing it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ea7dfh at ...2382... Sun Jul 12 13:50:01 2015 From: ea7dfh at ...2382... (Jesus) Date: Sun, 12 Jul 2015 13:50:01 +0200 Subject: [Gambas-user] i Build a RPM package but... In-Reply-To: References: <20150712092847.GA593@...2774...> <20150712101238.GB593@...2774...> Message-ID: <55A25469.8040006@...2382...> 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 From gambas at ...2524... Mon Jul 13 00:30:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Jul 2015 22:30:32 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <6-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #7 on issue 627 by benoit.m... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 It's fixed in revision #7179. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 13 00:31:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 12 Jul 2015 22:31:32 +0000 Subject: [Gambas-user] Issue 620 in gambas: Datebox doesn't respect localizations In-Reply-To: <2-6813199134517018827-17566860232181019930-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17566860232181019930-gambas=googlecode.com@...2524...> <0-6813199134517018827-17566860232181019930-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17566860232181019930-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 620 by benoit.m... at ...626...: Datebox doesn't respect localizations https://code.google.com/p/gambas/issues/detail?id=620 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 13 16:51:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Jul 2015 14:51:33 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <7-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #8 on issue 627 by flynetin... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 The problem was partially resolved but there are still problems. If I create a custom component with classes common to several projects and then try to select the component from any of the projects I get the message "xxx component needs gb component" and it does not allow me to use it. Always use my component with my projects and had never had these problems. I've noticed that when I create my component package something has changed in the way of naming and possibly that is affecting how the components are recognized. It's an idea. Really i do not know what happen but the fact can not use my component forces to mantain duplicate classes in each project. Thank you for the progress made -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 13 17:01:49 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 13 Jul 2015 15:01:49 +0000 Subject: [Gambas-user] Issue 627 in gambas: Components not loaded In-Reply-To: <8-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> <0-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-2179579605632678360-gambas=googlecode.com@...2524...> Comment #9 on issue 627 by benoit.m... at ...626...: Components not loaded https://code.google.com/p/gambas/issues/detail?id=627 If you have another problem, please create a new issue with all the needed details. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Jul 14 15:30:10 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Jul 2015 13:30:10 +0000 Subject: [Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies Message-ID: <0-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 628 by flynetin... at ...626...: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 when I create my component and then i generate package it for debian/ubuntu is named as gambas3-gb-base. Since then I created a new project and use the base component. When I generate the installation package for debian/ubuntu and want to install I get "unmet dependencies can not be installed gambas3-base" so I must manually edit control inside the .deb file to correctly accept the component gambas3-gb-base -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From tsukubagraduates at ...3482... Tue Jul 14 18:31:13 2015 From: tsukubagraduates at ...3482... (=?ISO-8859-1?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 00:31:13 +0800 Subject: [Gambas-user] why this code not working Message-ID: Public Sub PictureBox1_MouseDown() Dim dicer As Integer Dim dbclick As Integer dicer = Int(Rnd(1, 5)) dbclick = +1 <-------------------------------Problem code If dbclick = 8 Then <------- i click 8 time but it's don't run this code just like my program forget this code Form3.Text = ("xxxxx") Form3.TextBox1.text = ("xxxxxx!!!!!!!") Form3.Show Else Goto just_keep_moveing Endif just_keep_moveing: If dicer = 1 Then Form3.Text = ("xxxx") Form3.TextBox1.Text = ("xxxxxxx~") Form3.Show Else If dicer = 2 Then Form3.Text = ("xxxx") Form3.TextBox1.text = ("xxxxx!xxxx!") Form3.Show Else If dicer = 3 Then Form3.Text = ("xxxx") Form3.TextBox1.text = ("xxxxxxx?") Form3.Show Else If dicer = 4 Then Form3.Text = ("xxxx") Form3.TextBox1.text = ("xxxx!") Form3.Show Endif End From Gambas at ...1950... Tue Jul 14 19:14:02 2015 From: Gambas at ...1950... (Caveat) Date: Tue, 14 Jul 2015 19:14:02 +0200 Subject: [Gambas-user] why this code not working In-Reply-To: References: Message-ID: <55A5435A.9020901@...1950...> Where to begin, before we even consider scope, just try some really simple code first to get used to the syntax... Public Sub Form_DblClick() Dim myInt As Integer myInt = 5 'Inc myInt 'Inc myInt 'Inc myInt 'myInt = +1 'myInt = +10 'myInt += 1 'myInt += 10 Print "myInt is now: " & myInt End I've commented out all the lines that might change myInt after we set it to 5... so try uncommenting (delete the single-quote) each line in turn and see what happens to myInt when you double-click on the form... Kind regards, Caveat On 14/07/15 18:31, tsukuba GIMP user wrote: > Public Sub PictureBox1_MouseDown() > > Dim dicer As Integer > Dim dbclick As Integer > dicer = Int(Rnd(1, 5)) > dbclick = +1 <-------------------------------Problem code > If dbclick = 8 Then <------- i click 8 time but it's don't run this code just like my program forget this code > Form3.Text = ("xxxxx") > Form3.TextBox1.text = ("xxxxxx!!!!!!!") > Form3.Show > Else > Goto just_keep_moveing > Endif > just_keep_moveing: > If dicer = 1 Then > Form3.Text = ("xxxx") > Form3.TextBox1.Text = ("xxxxxxx~") > Form3.Show > Else If dicer = 2 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxx!xxxx!") > Form3.Show > Else If dicer = 3 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxxxx?") > Form3.Show > Else If dicer = 4 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxx!") > Form3.Show > Endif > End > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Tue Jul 14 19:21:20 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 14 Jul 2015 13:21:20 -0400 Subject: [Gambas-user] why this code not working In-Reply-To: References: Message-ID: <55A54510.3040409@...626...> On 07/14/2015 12:31 PM, tsukuba GIMP user wrote: > Public Sub PictureBox1_MouseDown() > > Dim dicer As Integer > Dim dbclick As Integer > dicer = Int(Rnd(1, 5)) > dbclick = +1 <-------------------------------Problem code > If dbclick = 8 Then <------- i click 8 time but it's don't run this code just like my program forget this code > Form3.Text = ("xxxxx") > Form3.TextBox1.text = ("xxxxxx!!!!!!!") > Form3.Show > Else > Goto just_keep_moveing > Endif > just_keep_moveing: > If dicer = 1 Then > Form3.Text = ("xxxx") > Form3.TextBox1.Text = ("xxxxxxx~") > Form3.Show > Else If dicer = 2 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxx!xxxx!") > Form3.Show > Else If dicer = 3 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxxxx?") > Form3.Show > Else If dicer = 4 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxx!") > Form3.Show > Endif > End There are a couple of reasons why the code doesn't work as I think you are expecting. 1. Because the syntax, "dbclick = +1", assigns positive 1 to dbclick each time it is executed. The syntax should be "dbclick += 1", or "Inc dbclick". 2. You have declared dbclick within the function and it therefore gets, essentially, reset to 0 on each call of the function. Lee __________ From tsukubagraduates at ...3482... Tue Jul 14 19:30:48 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 01:30:48 +0800 Subject: [Gambas-user] why this code not working In-Reply-To: <55A54510.3040409@...626...> References: <55A54510.3040409@...626...> Message-ID: As you said I changed into ?dbclick + = 1?or ?inc dbclick? but this time i add "print dbclick"(test only) then... print alwasy's 1 when i click picturebox > Public Sub PictureBox1_MouseDown() > > Dim dicer As Integer > Dim dbclick As Integer > dicer = Int(Rnd(1, 5)) > dbclick = +1 <-------------------------------Problem code > print dbclick <---------------(TEST ONLY) > If dbclick = 8 Then <------- i click 8 time but it's don't run this code just like my program forget this code > Form3.Text = ("xxxxx") > Form3.TextBox1.text = ("xxxxxx!!!!!!!") > Form3.Show > Else > Goto just_keep_moveing > Endif > just_keep_moveing: > If dicer = 1 Then > Form3.Text = ("xxxx") > Form3.TextBox1.Text = ("xxxxxxx~") > Form3.Show > Else If dicer = 2 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxx!xxxx!") > Form3.Show > Else If dicer = 3 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxxxxx?") > Form3.Show > Else If dicer = 4 Then > Form3.Text = ("xxxx") > Form3.TextBox1.text = ("xxxx!") > Form3.Show > Endif > End There are a couple of reasons why the code doesn't work as I think you are expecting. 1. Because the syntax, "dbclick = +1", assigns positive 1 to dbclick each time it is executed. The syntax should be "dbclick += 1", or "Inc dbclick". 2. You have declared dbclick within the function and it therefore gets, essentially, reset to 0 on each call of the function. 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 at lists.sourceforge.net From gambas at ...2524... Tue Jul 14 19:35:00 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 14 Jul 2015 17:35:00 +0000 Subject: [Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies In-Reply-To: <0-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.7.0 Comment #1 on issue 628 by benoit.m... at ...626...: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 The problem is the packager that assumes that a component project name is necessarily prefixed by the vendor name. So as a temporary workaround, you have to: - Choose a vendor name. "gb" or nothing is reversed to Gambas. Let's call it "myvendorname". - Use that vendor name in your component project name: "myvendorname.base". I think I will modify the IDE so that this scheme must be followed if the project is a component. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas.fr at ...626... Tue Jul 14 20:04:24 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 14 Jul 2015 20:04:24 +0200 Subject: [Gambas-user] why this code not working In-Reply-To: References: <55A54510.3040409@...626...> Message-ID: You must define dbclick as a private variable. In your case the variable is local and is initialized and destroyed in the procedure Le 14 juil. 2015 19:31, "tsukuba GIMP user" a ?crit : > As you said I changed into ?dbclick + = 1?or ?inc dbclick? > but this time i add "print dbclick"(test only) then... print alwasy's 1 > when i click picturebox > > > Public Sub PictureBox1_MouseDown() > > > > Dim dicer As Integer > > Dim dbclick As Integer > > dicer = Int(Rnd(1, 5)) > > dbclick = +1 <-------------------------------Problem code > > print dbclick <---------------(TEST ONLY) > > If dbclick = 8 Then <------- i click 8 time but it's don't run this > code just like my program forget this code > > Form3.Text = ("xxxxx") > > Form3.TextBox1.text = ("xxxxxx!!!!!!!") > > Form3.Show > > Else > > Goto just_keep_moveing > > Endif > > just_keep_moveing: > > If dicer = 1 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.Text = ("xxxxxxx~") > > Form3.Show > > Else If dicer = 2 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxxx!xxxx!") > > Form3.Show > > Else If dicer = 3 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxxxxx?") > > Form3.Show > > Else If dicer = 4 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxx!") > > Form3.Show > > Endif > > End > > There are a couple of reasons why the code doesn't work as I think you are > expecting. > > 1. Because the syntax, "dbclick = +1", assigns positive 1 to dbclick each > time it is executed. The syntax should be "dbclick += > 1", or "Inc dbclick". > > 2. You have declared dbclick within the function and it therefore gets, > essentially, reset to 0 on each call of the function. > > > 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 at lists.sourceforge.net > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tsukubagraduates at ...3482... Tue Jul 14 20:37:58 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 02:37:58 +0800 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICB3aHkgdGhpcyBjb2RlIG5vdCB3?= =?gb18030?q?orking?= Message-ID: 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 > You must define dbclick as a private variable. In your case the variable > is local and is initialized and destroyed in the procedure > Le 14 juil. 2015 19:31, "tsukuba GIMP user" > a ?crit : > > As you said I changed into ?dbclick + = 1?or ?inc dbclick? > but this time i add "print dbclick"(test only) then... print alwasy's 1 > when i click picturebox > > > Public Sub PictureBox1_MouseDown() > > > > Dim dicer As Integer > > Dim dbclick As Integer > > dicer = Int(Rnd(1, 5)) > > dbclick = +1 <-------------------------------Problem code > > print dbclick <---------------(TEST ONLY) > > If dbclick = 8 Then <------- i click 8 time but it's don't run this > code just like my program forget this code > > Form3.Text = ("xxxxx") > > Form3.TextBox1.text = ("xxxxxx!!!!!!!") > > Form3.Show > > Else > > Goto just_keep_moveing > > Endif > > just_keep_moveing: > > If dicer = 1 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.Text = ("xxxxxxx~") > > Form3.Show > > Else If dicer = 2 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxxx!xxxx!") > > Form3.Show > > Else If dicer = 3 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxxxxx?") > > Form3.Show > > Else If dicer = 4 Then > > Form3.Text = ("xxxx") > > Form3.TextBox1.text = ("xxxx!") > > Form3.Show > > Endif > > End > > There are a couple of reasons why the code doesn't work as I think you are > expecting. > > 1. Because the syntax, "dbclick = +1", assigns positive 1 to dbclick each > time it is executed. The syntax should be "dbclick += > 1", or "Inc dbclick". > > 2. You have declared dbclick within the function and it therefore gets, > essentially, reset to 0 on each call of the function. > > > 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 at lists.sourceforge.net > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Tue Jul 14 20:49:30 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 14 Jul 2015 14:49:30 -0400 Subject: [Gambas-user] : why this code not working In-Reply-To: References: Message-ID: <55A559BA.80909@...626...> 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 __________ From tsukubagraduates at ...3482... Tue Jul 14 21:01:19 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 03:01:19 +0800 Subject: [Gambas-user] : why this code not working In-Reply-To: <55A559BA.80909@...626...> References: <55A559BA.80909@...626...> Message-ID: 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 <---------- i try inc $dbclick still not working... ' Print $dbclick <--------- TEST ONLY ' If $dbclick = 8 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxxxxx!!!!!!") ' Form3.Show ' Else ' Goto just_keep_moveing ' Endif ' just_keep_moveing: ' If dicer = 1 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.Text = ("xxxx...xxxxxx.....") ' Form3.Show ' Else If dicer = 2 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xx?xxxxxx?") ' Form3.Show ' Else If dicer = 3 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxx~xxxxxxxx~") ' Form3.Show ' Else If dicer = 4 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxxxxxxxxx! xx~xxxx?") ' 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tsukubagraduates at ...3482... Tue Jul 14 21:01:25 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 03:01:25 +0800 Subject: [Gambas-user] : why this code not working In-Reply-To: <55A559BA.80909@...626...> References: <55A559BA.80909@...626...> Message-ID: 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 <---------- i try inc $dbclick still not working... ' Print $dbclick <--------- TEST ONLY ' If $dbclick = 8 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxxxxx!!!!!!") ' Form3.Show ' Else ' Goto just_keep_moveing ' Endif ' just_keep_moveing: ' If dicer = 1 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.Text = ("xxxx...xxxxxx.....") ' Form3.Show ' Else If dicer = 2 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xx?xxxxxx?") ' Form3.Show ' Else If dicer = 3 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxx~xxxxxxxx~") ' Form3.Show ' Else If dicer = 4 Then ' Form3.Text = ("xxxx") ' Form3.TextBox1.text = ("xxxxxxxxxxx! xx~xxxx?") ' 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From matti.eber at ...3240... Tue Jul 14 21:09:46 2015 From: matti.eber at ...3240... (Matti) Date: Tue, 14 Jul 2015 21:09:46 +0200 Subject: [Gambas-user] : why this code not working In-Reply-To: References: <55A559BA.80909@...626...> Message-ID: <55A55E7A.40108@...3240...> 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 <---------- i try inc $dbclick still not working... > ' Print $dbclick <--------- TEST ONLY > ' If $dbclick = 8 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xxxxxxx!!!!!!") > ' Form3.Show > ' Else > ' Goto just_keep_moveing > ' Endif > ' just_keep_moveing: > ' If dicer = 1 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.Text = ("xxxx...xxxxxx.....") > ' Form3.Show > ' Else If dicer = 2 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xx?xxxxxx?") > ' Form3.Show > ' Else If dicer = 3 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xxxx~xxxxxxxx~") > ' Form3.Show > ' Else If dicer = 4 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xxxxxxxxxxx! xx~xxxx?") > ' 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tsukubagraduates at ...3482... Tue Jul 14 21:14:21 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 03:14:21 +0800 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICA6ICB3aHkgdGhpcyBjb2RlIG5v?= =?gb18030?q?t_working?= In-Reply-To: <55A55E7A.40108@...3240...> References: <55A559BA.80909@...626...> <55A55E7A.40108@...3240...> Message-ID: 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 = ("xxxx") > ' Form3.TextBox1.text = ("xxxxxxx!!!!!!") > ' Form3.Show > ' Else > ' Goto just_keep_moveing > ' Endif > ' just_keep_moveing: > ' If dicer = 1 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.Text = ("xxxx...xxxxxx.....") > ' Form3.Show > ' Else If dicer = 2 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xx?xxxxxx?") > ' Form3.Show > ' Else If dicer = 3 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xxxx~xxxxxxxx~") > ' Form3.Show > ' Else If dicer = 4 Then > ' Form3.Text = ("xxxx") > ' Form3.TextBox1.text = ("xxxxxxxxxxx! xx~xxxx?") > ' 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Tue Jul 14 21:47:10 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 14 Jul 2015 15:47:10 -0400 Subject: [Gambas-user] =?utf-8?q?=EF=BC=9A__=3A__why_this_code_not_working?= In-Reply-To: References: <55A559BA.80909@...626...> <55A55E7A.40108@...3240...> Message-ID: <55A5673E.5@...626...> On 07/14/2015 03:14 PM, tsukuba GIMP user wrote: > No i make a mistay Mistakes not $dbclick += 1 still not working is I think it may actually be working. You just cannot see that it is, because the code after the "just_keep_moveing" label is resetting the value of TextBox1.text. After performing the "If $dbclick = 8" test the program drops through and executes the "just_keep_moveing" code no matter what the value of dbclick is. Depending on what the "just_keep_moveing" code is supposed to do, you may need to move it to *inside* the Else block. You could either set a breakpoint at or just before the Else and examine the value of TextBox1.text, or place a 'Print "hello"' statement just after "If $dbclick = 8 then" to see if "hello" is printed to the IDE console. If it is, then the "If $dbclick = 8" test *is* working and you need to rethink the program's logic. Lee __________ From ea7dfh at ...2382... Tue Jul 14 22:03:07 2015 From: ea7dfh at ...2382... (Jesus) Date: Tue, 14 Jul 2015 22:03:07 +0200 Subject: [Gambas-user] =?gb18030?b?u9i4tKO6ICA6ICB3aHkgdGhpcyBjb2RlIG5v?= =?gb18030?q?t_working?= In-Reply-To: References: <55A559BA.80909@...626...> <55A55E7A.40108@...3240...> Message-ID: <55A56AFB.20409@...2382...> 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 = ("xxxx") >> ' Form3.TextBox1.text = ("xxxxxxx!!!!!!") >> ' Form3.Show >> ' Else >> ' Goto just_keep_moveing >> ' Endif >> ' just_keep_moveing: >> ' If dicer = 1 Then >> ' Form3.Text = ("xxxx") >> ' Form3.TextBox1.Text = ("xxxx...xxxxxx.....") >> ' Form3.Show >> ' Else If dicer = 2 Then >> ' Form3.Text = ("xxxx") >> ' Form3.TextBox1.text = ("xx?xxxxxx?") >> ' Form3.Show >> ' Else If dicer = 3 Then >> ' Form3.Text = ("xxxx") >> ' Form3.TextBox1.text = ("xxxx~xxxxxxxx~") >> ' Form3.Show >> ' Else If dicer = 4 Then >> ' Form3.Text = ("xxxx") >> ' Form3.TextBox1.text = ("xxxxxxxxxxx! xx~xxxx?") >> ' 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 >> __________ >> From gambas at ...2524... Wed Jul 15 04:12:31 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 15 Jul 2015 02:12:31 +0000 Subject: [Gambas-user] Issue 628 in gambas: Creation Ubuntu/Debian package wrong dependencies In-Reply-To: <1-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> <0-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12686800537074169248-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 628 by benoit.m... at ...626...: Creation Ubuntu/Debian package wrong dependencies https://code.google.com/p/gambas/issues/detail?id=628 Fixed in revision #7186: now the packager displays an explanatory warning message if the project name is not prefixed by a vendor name followed by a dot, as soon as the project is a component. And it prevent the packager wizard to go any further. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From tsukubagraduates at ...3482... Wed Jul 15 08:36:09 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 14:36:09 +0800 Subject: [Gambas-user] =?gb18030?q?=A3=BA__=3A__why_this_code_not_working?= In-Reply-To: <55A5673E.5@...626...> References: <55A559BA.80909@...626...> <55A55E7A.40108@...3240...> <55A5673E.5@...626...> Message-ID: i try if $dbclick = 8 then print "hello" when i click 8 time console is printed HELLO but the textbox1.text it's still No expectations of the content(text) and i deleted else goto just_keep_moveing it's doesn't work... On 07/14/2015 03:14 PM, tsukuba GIMP user wrote: > No i make a mistay Mistakes not $dbclick += 1 still not working is I think it may actually be working. You just cannot see that it is, because the code after the "just_keep_moveing" label is resetting the value of TextBox1.text. After performing the "If $dbclick = 8" test the program drops through and executes the "just_keep_moveing" code no matter what the value of dbclick is. Depending on what the "just_keep_moveing" code is supposed to do, you may need to move it to *inside* the Else block. You could either set a breakpoint at or just before the Else and examine the value of TextBox1.text, or place a 'Print "hello"' statement just after "If $dbclick = 8 then" to see if "hello" is printed to the IDE console. If it is, then the "If $dbclick = 8" test *is* working and you need to rethink the program's logic. 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From kevinfishburne at ...1887... Wed Jul 15 08:57:08 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 15 Jul 2015 02:57:08 -0400 Subject: [Gambas-user] New open-source app (mamemenu) with a question Message-ID: <55A60444.40505@...1887...> I've been working on an arcade cabinet over the last few weeks and it's almost done. I started work tonight on the front end because existing ones aren't suitable for a real-world cabinet. This is the first open-source project I've released and you can find it here (we'll say it's GPLv2 for now, maybe BSD later): http://eightvirtues.com/misc/MAMEMENU/ Here is the first of five parts (with a sixth to follow) showing my progress building it: https://youtu.be/yiy8T7ihZOk It was a bit tricky because it uses SDL and OpenGL but must still work with MAME which also uses those libraries. I grab the first/primary joystick using: Public PadDevice As Process PadDevice = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" which allows both MAME and the GAMBAS app to accept joystick commands simultaneously (keyboard events are hoarded by MAME since SDL handles them). These lines: Public MenuButton1 As Byte = 8 ' Buttons to be held simultaneously to quit game and return to main menu. Public MenuButton2 As Byte = 9 ' Buttons to be held simultaneously to quit game and return to main menu. assign which gamepad buttons cause MAMEMENU to kill the MAME process and return to MAMEMENU. When a gamepad button is pressed its number is printed, so when running this on your system/gamepad use that as a reference for changing those lines to use whatever two buttons you'd like to terminate MAME when held simultaneously. I've included my mame.ini file which you can modify to fit your needs, although the screen options are tuned to work with MAMEMENU which is designed to run full-screen on an arcade cabinet. MAMEMENU is in its infancy (just started on it tonight), so it's functionally rough, but is pretty solid outside of a single issue. When I kill the MAME process in GAMBAS it doesn't "shut down gracefully", and the OS (Linux Mint 17.1 Cinnamon) thinks the resolution MAME was using when killed is the resolution that should be used when MAMEMENU/GAMBAS exits, despite me manually telling GAMBAS to use the initial desktop resolution upon exiting. The solution I think is to shut down MAME "gracefully", but I don't know how to do that. Is there a way to gracefully kill a process, such as by sending it a command to exit instead of using Process.Kill? Also let me know if you need help getting it up and running. All the needed files have been supplied but there's no documentation. Thanks! -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From tsukubagraduates at ...3482... Wed Jul 15 09:04:18 2015 From: tsukubagraduates at ...3482... (=?gb18030?B?dHN1a3ViYSBHSU1QIHVzZXI=?=) Date: Wed, 15 Jul 2015 15:04:18 +0800 Subject: [Gambas-user] =?gb18030?q?=A3=BA__=3A__why_this_code_not_working?= In-Reply-To: <55A559BA.80909@...626...> <55A55E7A.40108@...3240...> <55A5673E.5@...626...> Ok i know what problem is because the "dicer"! if dicer is 1~5 int then will be may textbox1.text content change because it's another Conditional judgment so if $dbclick = 8 then dicer = 0 <------Random content(text) is 1 to 5 Form3.TextBox1.text = ("if you click me again i will be sudo rm -rf /* your computer!!!") Form3.Show End if <-------- $dbclick = 8 Conditional judgment end if dicer = 1 then<-------- start another Conditional judgment ..... ============================================================= i try if $dbclick = 8 then print "hello" when i click 8 time console is printed HELLO but the textbox1.text it's still No expectations of the content(text) and i deleted else goto just_keep_moveing it's doesn't work... On 07/14/2015 03:14 PM, tsukuba GIMP user wrote: > No i make a mistay Mistakes not $dbclick += 1 still not working is I think it may actually be working. You just cannot see that it is, because the code after the "just_keep_moveing" label is resetting the value of TextBox1.text. After performing the "If $dbclick = 8" test the program drops through and executes the "just_keep_moveing" code no matter what the value of dbclick is. Depending on what the "just_keep_moveing" code is supposed to do, you may need to move it to *inside* the Else block. You could either set a breakpoint at or just before the Else and examine the value of TextBox1.text, or place a 'Print "hello"' statement just after "If $dbclick = 8 then" to see if "hello" is printed to the IDE console. If it is, then the "If $dbclick = 8" test *is* working and you need to rethink the program's logic. 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Wed Jul 15 10:52:53 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Jul 2015 10:52:53 +0200 Subject: [Gambas-user] Array.Add question Message-ID: <55A61F65.5070901@...221...> Sometimes... ok: Never done this before, so I just ask: Dim sTest as String[0,0] sTest.Add("Hello", "World") Where is "Hello" now? At 0,0 or 1,1? Or: Which dimension is added? Is that possible - or are multi-dimensional arrays not dynamic? Thanks for your help! Rolf From charlie at ...2793... Wed Jul 15 13:09:48 2015 From: charlie at ...2793... (Charlie) Date: Wed, 15 Jul 2015 04:09:48 -0700 (MST) Subject: [Gambas-user] Array.Add question In-Reply-To: <55A61F65.5070901@...221...> References: <55A61F65.5070901@...221...> Message-ID: <1436958588385-52020.post@...3046...> Try this: - Dim sTest As New String[1, 2] sTest[0, 0] = "Hello" sTest[0, 1] = "World" -- View this message in context: http://gambas.8142.n7.nabble.com/Array-Add-question-tp52019p52020.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Wed Jul 15 15:24:08 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Jul 2015 15:24:08 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <1436958588385-52020.post@...3046...> References: <55A61F65.5070901@...221...> <1436958588385-52020.post@...3046...> Message-ID: <55A65EF8.6030802@...221...> Sure, but when I want sTest to be longer? I mean, more "rows" or "cols"? Can I sTest.Add ? And if yes, which dimension will be increased, the first one or the last one? Am 15.07.2015 13:09, schrieb Charlie: > Try this: - > > Dim sTest As New String[1, 2] > > sTest[0, 0] = "Hello" > sTest[0, 1] = "World" > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Array-Add-question-tp52019p52020.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Jul 15 15:36:38 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Jul 2015 15:36:38 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <55A65EF8.6030802@...221...> References: <55A61F65.5070901@...221...> <1436958588385-52020.post@...3046...> <55A65EF8.6030802@...221...> Message-ID: <55A661E6.6030405@...1...> Le 15/07/2015 15:24, Rolf-Werner Eilert a ?crit : > Sure, but when I want sTest to be longer? I mean, more "rows" or "cols"? > Can I sTest.Add ? And if yes, which dimension will be increased, the > first one or the last one? > Multi-dimensional arrays are fixed, you can't resize them. The Add() method is for one-dimension arrays only. Regards, -- Beno?t Minisini From taboege at ...626... Wed Jul 15 15:41:51 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 15 Jul 2015 15:41:51 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <55A61F65.5070901@...221...> References: <55A61F65.5070901@...221...> Message-ID: <20150715134151.GC572@...2774...> On Wed, 15 Jul 2015, Rolf-Werner Eilert wrote: > Sometimes... ok: Never done this before, so I just ask: > > Dim sTest as String[0,0] > > sTest.Add("Hello", "World") > > Where is "Hello" now? At 0,0 or 1,1? Or: Which dimension is added? > > Is that possible - or are multi-dimensional arrays not dynamic? > If Benoit didn't change it (I lost track of all the changes lately due to exams), multidimensional arrays are static in size. One reason may be precisely that the choice of a particular dimension to which an Add() method would add elements is hard to justify. [ One additional point may be memory consumption: we imagine an n- dimensional array as an n-dimensional hyperrectangle. If we increment the size in one dimension, a whole (n-1)-dimensional hyperrectangle has to be added. ] Anyway, if you want a refresher on your options regarding arrays in Gambas, I already wrote about it on this list [0] and even in German [1]. You may want to use what we call "derived" multidimensional arrays. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/32228140/ [1] http://gambas-club.de/viewtopic.php?f=3&t=4688&p=9975#p9975 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Wed Jul 15 16:07:04 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Jul 2015 16:07:04 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <20150715134151.GC572@...2774...> References: <55A61F65.5070901@...221...> <20150715134151.GC572@...2774...> Message-ID: <55A66908.9060607@...221...> Am 15.07.2015 15:41, schrieb Tobias Boege: > On Wed, 15 Jul 2015, Rolf-Werner Eilert wrote: >> Sometimes... ok: Never done this before, so I just ask: >> >> Dim sTest as String[0,0] >> >> sTest.Add("Hello", "World") >> >> Where is "Hello" now? At 0,0 or 1,1? Or: Which dimension is added? >> >> Is that possible - or are multi-dimensional arrays not dynamic? >> > If Benoit didn't change it (I lost track of all the changes lately due to > exams), multidimensional arrays are static in size. One reason may be > precisely that the choice of a particular dimension to which an Add() > method would add elements is hard to justify. > > [ One additional point may be memory consumption: we imagine an n- > dimensional array as an n-dimensional hyperrectangle. If we increment > the size in one dimension, a whole (n-1)-dimensional hyperrectangle has > to be added. ] > > Anyway, if you want a refresher on your options regarding arrays in Gambas, > I already wrote about it on this list [0] and even in German [1]. You may > want to use what we call "derived" multidimensional arrays. > > Regards, > Tobi > > [0] http://sourceforge.net/p/gambas/mailman/message/32228140/ > [1] http://gambas-club.de/viewtopic.php?f=3&t=4688&p=9975#p9975 > Uuh interesting - thanks for the links! I just wasn't sure about this, maybe mentioning it in the help chapter for DIM would make it clear. What I've done so far to overcome this: When I have string arrays, I put in data with tabbed fields and unpack them line for line with Split. It's a bit roundabout, but highly flexible and rather fast. Regards Rolf From eilert-sprachen at ...221... Wed Jul 15 16:07:59 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 15 Jul 2015 16:07:59 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <55A661E6.6030405@...1...> References: <55A61F65.5070901@...221...> <1436958588385-52020.post@...3046...> <55A65EF8.6030802@...221...> <55A661E6.6030405@...1...> Message-ID: <55A6693F.9030108@...221...> Am 15.07.2015 15:36, schrieb Beno?t Minisini: > Le 15/07/2015 15:24, Rolf-Werner Eilert a ?crit : >> Sure, but when I want sTest to be longer? I mean, more "rows" or "cols"? >> Can I sTest.Add ? And if yes, which dimension will be increased, the >> first one or the last one? >> > Multi-dimensional arrays are fixed, you can't resize them. The Add() > method is for one-dimension arrays only. > > Regards, > Ok, thank you for the hint! Wouldn't it be wise to mention this fact in the help? Rolf From gambas at ...1... Wed Jul 15 16:21:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 15 Jul 2015 16:21:56 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <55A66908.9060607@...221...> References: <55A61F65.5070901@...221...> <20150715134151.GC572@...2774...> <55A66908.9060607@...221...> Message-ID: <55A66C84.2080104@...1...> Le 15/07/2015 16:07, Rolf-Werner Eilert a ?crit : > > Uuh interesting - thanks for the links! > > I just wasn't sure about this, maybe mentioning it in the help chapter > for DIM would make it clear. > > What I've done so far to overcome this: When I have string arrays, I put > in data with tabbed fields and unpack them line for line with Split. > It's a bit roundabout, but highly flexible and rather fast. > > Regards > Rolf > Maybe you could use String[X][Y] instead of String[X,Y], i.e. a array of string arrays. Regards, -- Beno?t Minisini From adamnt42 at ...626... Thu Jul 16 00:17:59 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 16 Jul 2015 07:47:59 +0930 Subject: [Gambas-user] "Frozen" collections - quick answers only needed Message-ID: <20150716074759.9300653ae53dd543fff18d10@...626...> Hi all, I have a class that exposes a collection of child objects as a property. How can I make it that the only object that can add or delete child items to/from the collection is that class? In other words, no client class is allowed to Add a new item, or Remove or nullify any existing item. tia bruce -- B Bruen From gambas at ...1... Thu Jul 16 00:22:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 16 Jul 2015 00:22:29 +0200 Subject: [Gambas-user] "Frozen" collections - quick answers only needed In-Reply-To: <20150716074759.9300653ae53dd543fff18d10@...626...> References: <20150716074759.9300653ae53dd543fff18d10@...626...> Message-ID: <55A6DD25.9050908@...1...> Le 16/07/2015 00:17, adamnt42 at ...626... a ?crit : > Hi all, > > I have a class that exposes a collection of child objects as a > property. How can I make it that the only object that can add or > delete child items to/from the collection is that class? In other > words, no client class is allowed to Add a new item, or Remove or > nullify any existing item. > > tia bruce > You have to create your own collection class that behaves like you want. -- Beno?t Minisini From adamnt42 at ...626... Thu Jul 16 00:32:42 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 16 Jul 2015 08:02:42 +0930 Subject: [Gambas-user] "Frozen" collections - quick answers only needed In-Reply-To: <55A6DD25.9050908@...1...> References: <20150716074759.9300653ae53dd543fff18d10@...626...> <55A6DD25.9050908@...1...> Message-ID: <20150716080242.d7e41ed3d0a71fa48aa02c6a@...626...> On Thu, 16 Jul 2015 00:22:29 +0200 Beno?t Minisini wrote: > Le 16/07/2015 00:17, adamnt42 at ...626... a ?crit : > > Hi all, > > > > I have a class that exposes a collection of child objects as a > > property. How can I make it that the only object that can add or > > delete child items to/from the collection is that class? In other > > words, no client class is allowed to Add a new item, or Remove or > > nullify any existing item. > > > > tia bruce > > > > You have to create your own collection class that behaves like you want. > > -- > Beno?t Minisini > Thanks for the quick reply Beno?t. That was the answer I was afraid of :-( b -- B Bruen From gambas.fr at ...626... Thu Jul 16 07:27:45 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 16 Jul 2015 07:27:45 +0200 Subject: [Gambas-user] Array.Add question In-Reply-To: <55A66C84.2080104@...1...> References: <55A61F65.5070901@...221...> <20150715134151.GC572@...2774...> <55A66908.9060607@...221...> <55A66C84.2080104@...1...> Message-ID: Le 15 juil. 2015 16:22, "Beno?t Minisini" a ?crit : > > Le 15/07/2015 16:07, Rolf-Werner Eilert a ?crit : > > > > Uuh interesting - thanks for the links! > > > > I just wasn't sure about this, maybe mentioning it in the help chapter > > for DIM would make it clear. > > > > What I've done so far to overcome this: When I have string arrays, I put > > in data with tabbed fields and unpack them line for line with Split. > > It's a bit roundabout, but highly flexible and rather fast. > > > > Regards > > Rolf > > > > Maybe you could use String[X][Y] instead of String[X,Y], i.e. a array of > string arrays. > I prefer that way... But is it more efficient ? > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Thu Jul 16 07:30:55 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 16 Jul 2015 07:30:55 +0200 Subject: [Gambas-user] "Frozen" collections - quick answers only needed In-Reply-To: <20150716080242.d7e41ed3d0a71fa48aa02c6a@...626...> References: <20150716074759.9300653ae53dd543fff18d10@...626...> <55A6DD25.9050908@...1...> <20150716080242.d7e41ed3d0a71fa48aa02c6a@...626...> Message-ID: Just inherits collection and overload the _put/_get, add and remove procedures. Le 16 juil. 2015 00:33, "adamnt42 at ...626..." a ?crit : > On Thu, 16 Jul 2015 00:22:29 +0200 > Beno?t Minisini wrote: > > > Le 16/07/2015 00:17, adamnt42 at ...626... a ?crit : > > > Hi all, > > > > > > I have a class that exposes a collection of child objects as a > > > property. How can I make it that the only object that can add or > > > delete child items to/from the collection is that class? In other > > > words, no client class is allowed to Add a new item, or Remove or > > > nullify any existing item. > > > > > > tia bruce > > > > > > > You have to create your own collection class that behaves like you want. > > > > -- > > Beno?t Minisini > > > > Thanks for the quick reply Beno?t. That was the answer I was afraid of :-( > > b > > -- > B Bruen > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Tue Jul 21 06:49:36 2015 From: nando_f at ...951... (nando) Date: Tue, 21 Jul 2015 00:49:36 -0400 Subject: [Gambas-user] Console error message... Message-ID: <20150721044429.M91974@...951...> Benoit, I get this message on the terminal where I run gambas3: It happens when I click on menu: PROJECT -> MAKE -> EXECUTABLE -> OK uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu I use Ubuntu 14.04 Gambas 3.7.1 -Nando From gambas at ...2524... Mon Jul 20 09:23:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 20 Jul 2015 07:23:50 +0000 Subject: [Gambas-user] Issue 626 in gambas: If GridView1.Data.Text is set then RichText is null and vice versa In-Reply-To: <4-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> <0-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-5017677353979067131-gambas=googlecode.com@...2524...> Comment #5 on issue 626 by isaf... at ...626...: If GridView1.Data.Text is set then RichText is null and vice versa https://code.google.com/p/gambas/issues/detail?id=626 Hello It will be better if you add AutoText option like Qt::AutoText. We are getting some problem with systems with old software written in gambas3 and new gambas environment. Moreover this will add complete backward compatibility although not documented. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From eilert-sprachen at ...221... Wed Jul 22 08:17:56 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 22 Jul 2015 08:17:56 +0200 Subject: [Gambas-user] Using a Struct In-Reply-To: <20150716155637.GB814@...2774...> References: <55A7B67A.601@...221...> <20150716140520.GA814@...2774...> <55A7BDC6.9030304@...221...> <55A7CB34.5060900@...221...> <20150716155637.GB814@...2774...> Message-ID: <55AF3594.4010404@...221...> Tried to send you an answer, but it was bounced and after 4 days (read four days!) it came back to me this morning, so let me try if it is functionable again... Rolf Am 16.07.2015 17:56, schrieb Tobias Boege: > On Thu, 16 Jul 2015, Rolf-Werner Eilert wrote: >> Randall, >> >> Thank you for making that clear. Is it possible to make something like >> an array out of a whole structure? What would this code look like? >> > Yes, you can use a Struct just as you use classes. I believe I sent you a > link yesterday where derived arrays are explained :-) If you have any class > (or Struct) MyClass in Gambas, you can use the identifier MyClass[] in your > code and the interpreter will recognise this and create a class -- on the > fly -- which represents an array of MyClass objects. > > So, if you have > > Struct Hund > Wuff As String > End Struct > > you can have an array of Hunde via > > Dim aHunde As New Hund[] > > I have also put the embedded array syntax into a new section in the Struct > declaration wiki page[0]. Do you think it's better now? > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/lang/structdecl > > PS: Randall, nice to see you around again :-) > From gambas at ...3466... Wed Jul 22 12:18:20 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Wed, 22 Jul 2015 12:18:20 +0200 Subject: [Gambas-user] Bug in ide using datacomboview Message-ID: <55AF6DEC.3040302@...3466...> Hi all , from the ide when using datacomboview opening columns list show field of base table , not the table chosed from control table field. Setting right fields changing .form work perfectly so I think is an ide problem. bye, marco. From gambas at ...1... Wed Jul 22 12:27:03 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 22 Jul 2015 12:27:03 +0200 Subject: [Gambas-user] This is a test Message-ID: <55AF6FF7.4090509@...1...> Is Sourceforge finally working again? -- Beno?t Minisini From eilert-sprachen at ...221... Wed Jul 22 12:31:51 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 22 Jul 2015 12:31:51 +0200 Subject: [Gambas-user] This is a test In-Reply-To: <55AF6FF7.4090509@...1...> References: <55AF6FF7.4090509@...1...> Message-ID: <55AF7117.900@...221...> Am 22.07.2015 12:27, schrieb Beno?t Minisini: > Is Sourceforge finally working again? > Yes it seems so, at least my own test mail from earlier this day has been returned to the list - and some others have appeared, too. Regards Rolf From Karl.Reinl at ...2345... Wed Jul 22 13:08:41 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 22 Jul 2015 13:08:41 +0200 Subject: [Gambas-user] This is a test In-Reply-To: <55AF6FF7.4090509@...1...> References: <55AF6FF7.4090509@...1...> Message-ID: <1437563321.25702.2.camel@...40...> Am Mittwoch, den 22.07.2015, 12:27 +0200 schrieb Beno?t Minisini: > Is Sourceforge finally working again? > Salut, not everything is back. http://trouble-maker.sourceforge.net/ http://sourceforge.net/blog/category/sitestatus/ -- Amicalement Charlie From taboege at ...626... Wed Jul 22 13:46:58 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Jul 2015 13:46:58 +0200 Subject: [Gambas-user] Of keyword? Message-ID: <20150722114658.GA706@...2774...> Hi Benoit, purely out of curiosity: following a typo, I noticed that the "Of" keyword is highlighted in the IDE. I saw that it is indeed listed in System.Keywords (gb.eval) and in main/share/gb_reserved_keyword.h, but I can't think of a syntactic element where it is used. I looked at the Language overview in the wiki and the "Of" keyword doesn't appear anywhere. Am I forgetting something? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From charlie at ...2793... Wed Jul 22 13:46:24 2015 From: charlie at ...2793... (Charlie) Date: Wed, 22 Jul 2015 04:46:24 -0700 (MST) Subject: [Gambas-user] This is a test In-Reply-To: <1437563321.25702.2.camel@...40...> References: <55AF6FF7.4090509@...1...> <1437563321.25702.2.camel@...40...> Message-ID: <1437565584567-52049.post@...3046...> It's not working now 12:12 UTC -- View this message in context: http://gambas.8142.n7.nabble.com/This-is-a-test-tp52045p52049.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Wed Jul 22 16:03:05 2015 From: vuott at ...325... (Ru Vuott) Date: Wed, 22 Jul 2015 15:03:05 +0100 Subject: [Gambas-user] R: This is a test In-Reply-To: <55AF6FF7.4090509@...1...> Message-ID: <1437573785.10105.YahooMailBasic@...3275...> Hello Beno?t, well, I received this your e-mail, but I have to say when I try to update my Gambas via SVN, I receive this message again: svn: E000111: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/gambas/code/gambas/trunk' svn: E000111: Can't connect to host 'svn.code.sf.net': Connection refused Regards vuottt -------------------------------------------- Mer 22/7/15, Beno?t Minisini ha scritto: Oggetto: [Gambas-user] This is a test A: gambas-user at lists.sourceforge.net Data: Mercoled? 22 luglio 2015, 12:27 Is Sourceforge finally working again? -- Beno?t Minisini ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Wed Jul 22 16:19:19 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 22 Jul 2015 16:19:19 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: <1437573785.10105.YahooMailBasic@...3275...> References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> Message-ID: same here ... :-( 2015-07-22 16:03 GMT+02:00 Ru Vuott : > Hello Beno?t, > > well, I received this your e-mail, but I have to say when I try to update my Gambas via SVN, I receive this message again: > > svn: E000111: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/gambas/code/gambas/trunk' > svn: E000111: Can't connect to host 'svn.code.sf.net': Connection refused > > > Regards > vuottt > > > > > > > -------------------------------------------- > Mer 22/7/15, Beno?t Minisini ha scritto: > > Oggetto: [Gambas-user] This is a test > A: gambas-user at lists.sourceforge.net > Data: Mercoled? 22 luglio 2015, 12:27 > > Is Sourceforge finally working > again? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Wed Jul 22 16:36:11 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 22 Jul 2015 16:36:11 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> Message-ID: <20150722143611.GB706@...2774...> On Wed, 22 Jul 2015, Fabien Bodard wrote: > same here ... :-( > > > 2015-07-22 16:03 GMT+02:00 Ru Vuott : > > Hello Beno??t, > > > > well, I received this your e-mail, but I have to say when I try to update my Gambas via SVN, I receive this message again: > > > > svn: E000111: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/gambas/code/gambas/trunk' > > svn: E000111: Can't connect to host 'svn.code.sf.net': Connection refused > > I'm also trying to update Gambas since three days now. That reminds me, didn't we want to take the Gambas repository to somewhere else? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Wed Jul 22 22:52:05 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Wed, 22 Jul 2015 22:52:05 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: <20150722143611.GB706@...2774...> (sfid-) References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> <20150722143611.GB706@...2774...> (sfid-) Message-ID: <55B00275.5000305@...3340...> Am 22.07.2015 um 16:36 schrieb Tobias Boege: > I'm also trying to update Gambas since three days now. That reminds me, > didn't we want to take the Gambas repository to somewhere else? And switch over to Git? It's superiour. Gambas could been hosted on GitHub. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From herberthguzman at ...626... Wed Jul 22 23:19:27 2015 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 22 Jul 2015 15:19:27 -0600 Subject: [Gambas-user] gb.desktop - How to know which window has focus? Message-ID: I have a question.? Can you help me please. to activate a window is: Desktop.Windows.FromHandle (Value) .Activate or Desktop.ActiveWindow = value I have a problem. I have 3 WINDOWS and the 3 WINDOW ARE ACTIVE. How to know which window has focus and how to change it...? i am trying to fix it and I can not. Attached is an example. regards Herberth -------------- next part -------------- A non-text attachment was scrubbed... Name: SystemTray-1.0.3.tar.gz Type: application/x-gzip Size: 10946 bytes Desc: not available URL: From adrien.prokopowicz at ...626... Wed Jul 22 23:38:29 2015 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Wed, 22 Jul 2015 23:38:29 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: <55B00275.5000305@...3340...> References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> <20150722143611.GB706@...2774...> <55B00275.5000305@...3340...> Message-ID: Le Wed, 22 Jul 2015 22:52:05 +0200, Christof Thalhofer a ?crit: > Am 22.07.2015 um 16:36 schrieb Tobias Boege: > >> I'm also trying to update Gambas since three days now. That reminds me, >> didn't we want to take the Gambas repository to somewhere else? > > And switch over to Git? It's superiour. Gambas could been hosted on > GitHub. > > > Alles Gute > > Christof Thalhofer > 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). There is still the possibility to be hosted as a GNU project as well, I don't know if Beno?t needs help for it to become a thing. 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). -- Adrien Prokopowicz From ea7dfh at ...2382... Thu Jul 23 00:28:16 2015 From: ea7dfh at ...2382... (Jesus) Date: Thu, 23 Jul 2015 00:28:16 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> <20150722143611.GB706@...2774...> <55B00275.5000305@...3340...> Message-ID: <55B01900.2050701@...2382...> 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 From nando_f at ...951... Thu Jul 23 04:10:01 2015 From: nando_f at ...951... (nando) Date: Wed, 22 Jul 2015 22:10:01 -0400 Subject: [Gambas-user] Stack Overflow...with QT4 combobox Message-ID: <20150723020630.M80749@...951...> Gambas 3.7.1 QT4 I get stack overflow with... ComboBox1.value = Not ComboBox1.value -Nando From adamnt42 at ...626... Thu Jul 23 04:43:24 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 23 Jul 2015 12:13:24 +0930 Subject: [Gambas-user] This is a test In-Reply-To: <1437563321.25702.2.camel@...40...> References: <55AF6FF7.4090509@...1...> <1437563321.25702.2.camel@...40...> Message-ID: <20150723121324.d11d2ade74b610ca95824570@...626...> On Wed, 22 Jul 2015 13:08:41 +0200 Charlie Reinl wrote: > Am Mittwoch, den 22.07.2015, 12:27 +0200 schrieb Beno?t Minisini: > > Is Sourceforge finally working again? > > > > Salut, > > not everything is back. > > http://trouble-maker.sourceforge.net/ > > http://sourceforge.net/blog/category/sitestatus/ > > > -- > Amicalement > Charlie > Well, the website is finally back! B -- B Bruen From chrisml at ...3340... Thu Jul 23 09:27:44 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 23 Jul 2015 09:27:44 +0200 Subject: [Gambas-user] R: This is a test In-Reply-To: (sfid-) References: <55AF6FF7.4090509@...1...> <1437573785.10105.YahooMailBasic@...3275...> <20150722143611.GB706@...2774...> <55B00275.5000305@...3340...> (sfid-) Message-ID: <55B09770.8040404@...3340...> Hi, Am 22.07.2015 um 23:38 schrieb Adrien Prokopowicz: > 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). I think that a mailinglist should be self-hosted. That's not a big drama, but a drama is, when Sourceforge is in trouble. How much traffic do the lists produce per month? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...2524... Thu Jul 23 10:44:09 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 23 Jul 2015 08:44:09 +0000 Subject: [Gambas-user] Issue 629 in gambas: Unable to read blob data saved in PostgreSQL Message-ID: <0-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: 3.7.1 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 629 by isaf... at ...626...: Unable to read blob data saved in PostgreSQL https://code.google.com/p/gambas/issues/detail?id=629 ____________________________________________________________ 1) with PostgreSQL retriving blob data is producing corrupt file. However it is working well with MySQL or Sqlite3 2) [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.16.0-44-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=1948M [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+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 3) Gambas 3.7.1 (using PPA for Ubuntu 14.04) 4) I use gambas method to create a table with blob field. Dim hTable As Table hTable = $newCon.Tables.Add("tblimage") hTable.Fields.Add("fldid", db.Serial) hTable.Fields.Add("fldpic", db.Blob) hTable.PrimaryKey = ["fldid"] hTable.Update I use gambas method to insert image file in the above table. Dim res As Result res = $newCon.Create("tblimage") res["fldpic"] = File.Load("/home/safiur/picture.png") res.Update I use gambas method to retrive the image file from database and load onto ImageViewer. Dim res As Result Dim tempFile As String Dim hFile As Blob res = $newCon.Exec("select fldpic from tblimage") res.MoveFirst tempFile = Temp() & ".png" hFile = res["fldpic"] File.Save(tempFile, hFile.Data) ImageView1.Image = Image.Load(tempFile) The above methods (inserting image and retriving image) work properly with mysql and sqlite3. However with PostgreSQL 9.3 -insert image works well. I checked with other application (eg PostgreSQL module of Webmin) -retriving image is not working. Attachments: imagedatabase.tar.gz 5.1 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...3466... Thu Jul 23 12:01:20 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Thu, 23 Jul 2015 12:01:20 +0200 Subject: [Gambas-user] Bug in ide using datacomboview Message-ID: <55B0BB70.7020403@...3466...> Hi all , from the ide when using datacomboview opening columns list show field of base table , not the table chosed from control table field. Setting right fields changing .form work perfectly so I think is an ide problem. bye, marco. From gambas at ...2524... Thu Jul 23 12:00:08 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 23 Jul 2015 10:00:08 +0000 Subject: [Gambas-user] Issue 629 in gambas: Unable to read blob data saved in PostgreSQL In-Reply-To: <0-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> Comment #1 on issue 629 by isaf... at ...626...: Unable to read blob data saved in PostgreSQL https://code.google.com/p/gambas/issues/detail?id=629 Hello I got this problem fixed by changing he parameter 'bytea_output' in postgresql.conf file from 'hex' to 'escape'. I used http://gambas.8142.n7.nabble.com/Postgresql-9-x-error-with-Blob-field-td42285.html I am sorry for the bug report. It will be better if you provide this tip in gambas documentation. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Thu Jul 23 15:02:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Jul 2015 15:02:32 +0200 Subject: [Gambas-user] Of keyword? In-Reply-To: <20150722114658.GA706@...2774...> References: <20150722114658.GA706@...2774...> Message-ID: <55B0E5E8.5040309@...1...> Le 22/07/2015 13:46, Tobias Boege a ?crit : > Hi Benoit, > > purely out of curiosity: following a typo, I noticed that the "Of" keyword > is highlighted in the IDE. I saw that it is indeed listed in System.Keywords > (gb.eval) and in main/share/gb_reserved_keyword.h, but I can't think of a > syntactic element where it is used. I looked at the Language overview in the > wiki and the "Of" keyword doesn't appear anywhere. Am I forgetting > something? > > Regards, > Tobi > (My first mail to see if sourceforge is finally coming back...) Yes, "Of" is reserved, but not used by the compiler. An old dropped idea... Regards, -- Beno?t Minisini From vuott at ...325... Thu Jul 23 16:19:35 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 23 Jul 2015 15:19:35 +0100 Subject: [Gambas-user] This is a test In-Reply-To: <20150723121324.d11d2ade74b610ca95824570@...626...> Message-ID: <1437661175.85060.YahooMailBasic@...3271...> ....I 'ld like can update Gambas via SVN ! :-(( -------------------------------------------- Gio 23/7/15, adamnt42 at ...626... ha scritto: Oggetto: Re: [Gambas-user] This is a test A: Karl.Reinl at ...2345..., "mailing list for gambas users" Cc: "Charlie Reinl" Data: Gioved? 23 luglio 2015, 04:43 On Wed, 22 Jul 2015 13:08:41 +0200 Charlie Reinl wrote: > Am Mittwoch, den 22.07.2015, 12:27 +0200 schrieb Beno?t Minisini: > > Is Sourceforge finally working again? > > > > Salut, > > not everything is back. > > http://trouble-maker.sourceforge.net/ > > http://sourceforge.net/blog/category/sitestatus/ > > > -- > Amicalement > Charlie > Well, the website is finally back! B -- B Bruen ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Jul 23 23:51:19 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 23 Jul 2015 23:51:19 +0200 Subject: [Gambas-user] New open-source app (mamemenu) with a question In-Reply-To: <55A60444.40505@...1887...> References: <55A60444.40505@...1887...> Message-ID: <55B161D7.1010104@...1...> Le 15/07/2015 08:57, Kevin Fishburne a ?crit : > I've been working on an arcade cabinet over the last few weeks and it's > almost done. I started work tonight on the front end because existing > ones aren't suitable for a real-world cabinet. This is the first > open-source project I've released and you can find it here (we'll say > it's GPLv2 for now, maybe BSD later): > > http://eightvirtues.com/misc/MAMEMENU/ > > Here is the first of five parts (with a sixth to follow) showing my > progress building it: > > https://youtu.be/yiy8T7ihZOk > > It was a bit tricky because it uses SDL and OpenGL but must still work > with MAME which also uses those libraries. I grab the first/primary > joystick using: > > Public PadDevice As Process > PadDevice = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" > > which allows both MAME and the GAMBAS app to accept joystick commands > simultaneously (keyboard events are hoarded by MAME since SDL handles > them). These lines: > > Public MenuButton1 As Byte = 8 ' Buttons to be held > simultaneously to quit game and return to main menu. > Public MenuButton2 As Byte = 9 ' Buttons to be held > simultaneously to quit game and return to main menu. > > assign which gamepad buttons cause MAMEMENU to kill the MAME process and > return to MAMEMENU. When a gamepad button is pressed its number is > printed, so when running this on your system/gamepad use that as a > reference for changing those lines to use whatever two buttons you'd > like to terminate MAME when held simultaneously. I've included my > mame.ini file which you can modify to fit your needs, although the > screen options are tuned to work with MAMEMENU which is designed to run > full-screen on an arcade cabinet. > > MAMEMENU is in its infancy (just started on it tonight), so it's > functionally rough, but is pretty solid outside of a single issue. When > I kill the MAME process in GAMBAS it doesn't "shut down gracefully", and > the OS (Linux Mint 17.1 Cinnamon) thinks the resolution MAME was using > when killed is the resolution that should be used when MAMEMENU/GAMBAS > exits, despite me manually telling GAMBAS to use the initial desktop > resolution upon exiting. The solution I think is to shut down MAME > "gracefully", but I don't know how to do that. > > Is there a way to gracefully kill a process, such as by sending it a > command to exit instead of using Process.Kill? > > Also let me know if you need help getting it up and running. All the > needed files have been supplied but there's no documentation. Thanks! > If your process has a top-level X11 window, even if it is not visible, you can close that window from any process. You need just the handle of that window. I added the Window.Handle property to gb.sdl2, it will be committed when Sourceforge servers come back. Meanwhile, you can use Desktop.FindWindow() in 'gb.desktop' to search for a window with a specific title and get its handle. Then you call the Desktop.Windows.FromHandle(id).Close() method to close it. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jul 24 00:09:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Jul 2015 00:09:48 +0200 Subject: [Gambas-user] Console error message... In-Reply-To: <20150721044429.M91974@...951...> References: <20150721044429.M91974@...951...> Message-ID: <55B1662C.1030704@...1...> Le 21/07/2015 06:49, nando a ?crit : > Benoit, > > I get this message on the terminal where I run gambas3: > > It happens when I click on menu: PROJECT -> MAKE -> EXECUTABLE -> OK > > uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): > Condition failed: menu > > I use Ubuntu 14.04 Gambas 3.7.1 > > -Nando > Apparently it's a warning message from the Qt library, or more precisely from the part of Qt that export the menus with DBus. I never had this message, so it's strange... Anyway, I don't think I can do anything against it. The DBus menu export is full of bugs as soon as the menu is not created exactly as it is expected. Regards, -- Beno?t Minisini From gambas at ...1... Fri Jul 24 00:14:10 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Jul 2015 00:14:10 +0200 Subject: [Gambas-user] gb.desktop - How to know which window has focus? In-Reply-To: References: Message-ID: <55B16732.4040008@...1...> Le 22/07/2015 23:19, herberth guzman a ?crit : > I have a question.? > Can you help me please. > to activate a window is: > > Desktop.Windows.FromHandle (Value) .Activate > or > Desktop.ActiveWindow = value > > I have a problem. > I have 3 WINDOWS and the 3 WINDOW ARE ACTIVE. > > How to know which window has focus and how to change it...? > i am trying to fix it and I can not. > > Attached is an example. > > regards > > Herberth > Desktop.ActiveWindow gives you the id of the currently active window. Setting that property asks the window manager to change the current active window. It's exactly the same thing has calling the Activate() method on a DesktopWindow object. I suggest you read the 'gb.desktop' source code to understand what happens exactly. Anyway, there is only one active window, as the X11 root window property that stores the active window only returns one window id, so I don't understand how you can say that you have three active windows !? Regards, -- Beno?t Minisini From gambas at ...1... Fri Jul 24 00:25:36 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 24 Jul 2015 00:25:36 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) Message-ID: <55B169E0.9020206@...1...> Hi, As sourceforge was down for a week, I decided to start implementing a bug tracker in Gambas for Gambas, based on the software I develop for the company I'm working in. You will find a very alpha version of the bug tracker there: http://gambaswiki.org/bugtracker so that you can check it early. The software I made for my company is sort of "Access on the web", so it does not support sophisticated HTLM/javascript user interface easily. But it allows to define a database structure quickly, and it took me a few days to have something workable. The bugtracker does not send mails yet, but it's already usable. I developed a very simple "gambas captcha system" that you can find on the Gambas software farm. Maybe you will find it useful for your own needs. I'm waiting for your comments now! Regards, -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: bt.png Type: image/png Size: 68376 bytes Desc: not available URL: From chrisml at ...3340... Fri Jul 24 08:26:53 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 24 Jul 2015 08:26:53 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B169E0.9020206@...1...> (sfid-) References: <55B169E0.9020206@...1...> (sfid-) Message-ID: <55B1DAAD.70101@...3340...> Hi Beno?t, Am 24.07.2015 um 00:25 schrieb Beno?t Minisini: > I'm waiting for your comments now! I cannot login with my credentials from http://gambaswiki.org. Do I have to register new? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Fri Jul 24 12:40:36 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Jul 2015 12:40:36 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B169E0.9020206@...1...> References: <55B169E0.9020206@...1...> Message-ID: <20150724104036.GA638@...2774...> On Fri, 24 Jul 2015, Beno??t Minisini wrote: > Hi, > > As sourceforge was down for a week, I decided to start implementing a bug > tracker in Gambas for Gambas, based on the software I develop for the > company I'm working in. > > You will find a very alpha version of the bug tracker there: > > http://gambaswiki.org/bugtracker > > so that you can check it early. > > The software I made for my company is sort of "Access on the web", so it > does not support sophisticated HTLM/javascript user interface easily. But it > allows to define a database structure quickly, and it took me a few days to > have something workable. > > The bugtracker does not send mails yet, but it's already usable. > > I developed a very simple "gambas captcha system" that you can find on the > Gambas software farm. Maybe you will find it useful for your own needs. > > I'm waiting for your comments now! > I like the idea. And since it's summer break now for me, I may be able to fulfill my wish for a non-graphical interface for the bug tracker... :-P I was about to comment that the captchas look way too easy to be effective but as I was trying to register, I failed at least ten of them, and then I gave up. Is the captcha validation correctly implemented? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Jul 24 12:48:13 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 24 Jul 2015 12:48:13 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <20150724104036.GA638@...2774...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> Message-ID: <20150724104813.GB638@...2774...> On Fri, 24 Jul 2015, Tobias Boege wrote: > I was about to comment that the captchas look way too easy to be effective > but as I was trying to register, I failed at least ten of them, and then I > gave up. Is the captcha validation correctly implemented? > Forget about that. I haven't read the instructions... But still, the words in the image are easy to read mechanically. A program which can do this and has a dictionary may be able to solve these captchas more easily than thought... Anyway, I can't wait to see the code. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Fri Jul 24 13:27:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Jul 2015 13:27:48 +0200 Subject: [Gambas-user] Stack Overflow...with QT4 combobox In-Reply-To: <20150723020630.M80749@...951...> References: <20150723020630.M80749@...951...> Message-ID: <55B22134.9030103@...1...> Le 23/07/2015 04:10, nando a ?crit : > Gambas 3.7.1 > QT4 > > I get stack overflow with... > > ComboBox1.value = Not ComboBox1.value > > -Nando > I guess you just created an infinite recursion by calling that line from the ComboBox1 Click or Change event. I can't guess more. If you want more than a guess, just send your code, not just one line! -- Beno?t Minisini From gambas.fr at ...626... Fri Jul 24 16:44:04 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 24 Jul 2015 16:44:04 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <20150724104813.GB638@...2774...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> Message-ID: connection is okay ... captcha is not easy for a non english man like me. all the rest is locked ... so waiting for the next step... 2015-07-24 12:48 GMT+02:00 Tobias Boege : > On Fri, 24 Jul 2015, Tobias Boege wrote: >> I was about to comment that the captchas look way too easy to be effective >> but as I was trying to register, I failed at least ten of them, and then I >> gave up. Is the captcha validation correctly implemented? >> > > Forget about that. I haven't read the instructions... > > But still, the words in the image are easy to read mechanically. A program > which can do this and has a dictionary may be able to solve these captchas > more easily than thought... Anyway, I can't wait to see the code. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Fri Jul 24 20:43:54 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Jul 2015 20:43:54 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> Message-ID: <55B2876A.7040805@...1...> Le 24/07/2015 16:44, Fabien Bodard a ?crit : > connection is okay ... captcha is not easy for a non english man like me. > > all the rest is locked ... so waiting for the next step... > Can't you click on the "New Bug..." button? -- Beno?t Minisini From gambas at ...1... Fri Jul 24 20:44:30 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 24 Jul 2015 20:44:30 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B2876A.7040805@...1...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> <55B2876A.7040805@...1...> Message-ID: <55B2878E.5080207@...1...> Le 24/07/2015 20:43, Beno?t Minisini a ?crit : > Le 24/07/2015 16:44, Fabien Bodard a ?crit : >> connection is okay ... captcha is not easy for a non english man like me. >> >> all the rest is locked ... so waiting for the next step... >> > > Can't you click on the "New Bug..." button? > Ha yes, you're right, it's locked... -- Beno?t Minisini From gambas at ...3466... Fri Jul 24 21:35:20 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Fri, 24 Jul 2015 21:35:20 +0200 Subject: [Gambas-user] Adding custom colors Message-ID: <55B29378.9020606@...3466...> Hi, is there a way to add custom colors ? Somethink like assign color to variable and assign by variable name in ide like the one pre defined. From gambas at ...1... Sat Jul 25 01:11:05 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 01:11:05 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B1DAAD.70101@...3340...> References: <55B169E0.9020206@...1...> (sfid-) <55B1DAAD.70101@...3340...> Message-ID: <55B2C609.60204@...1...> Le 24/07/2015 08:26, Christof Thalhofer a ?crit : > Hi Beno?t, > > Am 24.07.2015 um 00:25 schrieb Beno?t Minisini: > >> I'm waiting for your comments now! > > I cannot login with my credentials from http://gambaswiki.org. Do I have > to register new? > > > Alles Gute > > Christof Thalhofer > This is an independant application. Maybe it should have the same credentials indeed... -- Beno?t Minisini From gambas at ...1... Sat Jul 25 03:54:07 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 03:54:07 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B2878E.5080207@...1...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> <55B2876A.7040805@...1...> <55B2878E.5080207@...1...> Message-ID: <55B2EC3F.7000103@...1...> Le 24/07/2015 20:44, Beno?t Minisini a ?crit : > Le 24/07/2015 20:43, Beno?t Minisini a ?crit : >> Le 24/07/2015 16:44, Fabien Bodard a ?crit : >>> connection is okay ... captcha is not easy for a non english man like >>> me. >>> >>> all the rest is locked ... so waiting for the next step... >>> >> >> Can't you click on the "New Bug..." button? >> > > Ha yes, you're right, it's locked... > The bugtracker has been unlocked, you can now create new bugs and comments. I can make any bugtracker user a "developer". Then he will be able to modify the bgu information (state, type, priority, version). Regards, -- Beno?t Minisini From gambas at ...1... Sat Jul 25 03:57:22 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 03:57:22 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <20150724104036.GA638@...2774...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> Message-ID: <55B2ED02.8060309@...1...> Le 24/07/2015 12:40, Tobias Boege a ?crit : > > I like the idea. And since it's summer break now for me, I may be able to > fulfill my wish for a non-graphical interface for the bug tracker... :-P > Actually this is automatically provided by the framework : there is an HTTP protocol that allows to do everything you can do from a browser : login, logout, creating an object, searching... > I was about to comment that the captchas look way too easy to be effective > but as I was trying to register, I failed at least ten of them, and then I > gave up. Is the captcha validation correctly implemented? It is based on a property of the human brain that can read a word if their letters are mixed, provided that the first one and the last one are not. It's more difficult if english is not your native language, but it should not be that difficult! -- Beno?t Minisini From gambas at ...1... Sat Jul 25 04:02:33 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 04:02:33 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <20150724104813.GB638@...2774...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> Message-ID: <55B2EE39.80506@...1...> Le 24/07/2015 12:48, Tobias Boege a ?crit : > On Fri, 24 Jul 2015, Tobias Boege wrote: >> I was about to comment that the captchas look way too easy to be effective >> but as I was trying to register, I failed at least ten of them, and then I >> gave up. Is the captcha validation correctly implemented? >> > > Forget about that. I haven't read the instructions... > > But still, the words in the image are easy to read mechanically. A program > which can do this and has a dictionary may be able to solve these captchas > more easily than thought... Anyway, I can't wait to see the code. > > Regards, > Tobi > The program will need a dictionary, and a OCR program to transform the captcha image into text. I hope that it will be too much job for just breaking the Gambas bug tracker. -- Beno?t Minisini From adamnt42 at ...626... Sat Jul 25 04:49:41 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 25 Jul 2015 12:19:41 +0930 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B169E0.9020206@...1...> References: <55B169E0.9020206@...1...> Message-ID: <20150725121941.81a3e013799d76292f8d5b9f@...626...> On Fri, 24 Jul 2015 00:25:36 +0200 Beno?t Minisini wrote: > Hi, > > As sourceforge was down for a week, I decided to start implementing a > bug tracker in Gambas for Gambas, based on the software I develop for > the company I'm working in. > > You will find a very alpha version of the bug tracker there: > > http://gambaswiki.org/bugtracker > > so that you can check it early. > > The software I made for my company is sort of "Access on the web", so it > does not support sophisticated HTLM/javascript user interface easily. > But it allows to define a database structure quickly, and it took me a > few days to have something workable. > > The bugtracker does not send mails yet, but it's already usable. > > I developed a very simple "gambas captcha system" that you can find on > the Gambas software farm. Maybe you will find it useful for your own needs. > > I'm waiting for your comments now! > > Regards, > > -- > Beno?t Minisini Hi Beno?t, Looks nice and simple! The only comment I'd make at this stage is the number of new windows (tabs) that are opened. Might be a good idea to add a "Save and Close" button to pages like the Add Comment page, maybe even the Create Bug page.... Oh, that reminds me, maybe the title of the "Create a Bug" page would better be "Create a Bug Report". :-) b -- B Bruen From taboege at ...626... Sat Jul 25 11:18:57 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Jul 2015 11:18:57 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B2EE39.80506@...1...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> <55B2EE39.80506@...1...> Message-ID: <20150725091857.GA1401@...2774...> On Sat, 25 Jul 2015, Beno?t Minisini wrote: > Le 24/07/2015 12:48, Tobias Boege a ?crit : > > On Fri, 24 Jul 2015, Tobias Boege wrote: > >> I was about to comment that the captchas look way too easy to be effective > >> but as I was trying to register, I failed at least ten of them, and then I > >> gave up. Is the captcha validation correctly implemented? > >> > > > > Forget about that. I haven't read the instructions... > > > > But still, the words in the image are easy to read mechanically. A program > > which can do this and has a dictionary may be able to solve these captchas > > more easily than thought... Anyway, I can't wait to see the code. > > > > Regards, > > Tobi > > > > The program will need a dictionary, and a OCR program to transform the > captcha image into text. I hope that it will be too much job for just > breaking the Gambas bug tracker. > Right, and although AFAICS one can compute the correct answer to the captcha from its key (which is sent to the client in the HTML form), this would need access to the Gambas RNG (Randomize). And here we are again: [ Subject: Re: [Gambas-user] New Gambas wiki is online! ] On Sun, 09 Mar 2014, Beno?t Minisini wrote: > Le 09/03/2014 21:22, Tobias Boege a ?crit : > > Hmm, is that "Please run the following Gambas code and enter its > > result" phase of registration a bot protection? If it is, it is not a > > very effective one for bots written in Gambas :-) > > Yes, it will encourage spammers to use Gambas, so that there are more > Gambas applications. :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Jul 25 13:10:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 13:10:17 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <20150725091857.GA1401@...2774...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> <55B2EE39.80506@...1...> <20150725091857.GA1401@...2774...> Message-ID: <55B36E99.4040109@...1...> Le 25/07/2015 11:18, Tobias Boege a ?crit : > > Right, and although AFAICS one can compute the correct answer to the captcha > from its key (which is sent to the client in the HTML form), this would need > access to the Gambas RNG (Randomize). And here we are again: > > [ Subject: Re: [Gambas-user] New Gambas wiki is online! ] > On Sun, 09 Mar 2014, Beno?t Minisini wrote: >> Le 09/03/2014 21:22, Tobias Boege a ?crit : >>> Hmm, is that "Please run the following Gambas code and enter its >>> result" phase of registration a bot protection? If it is, it is not a >>> very effective one for bots written in Gambas :-) >> >> Yes, it will encourage spammers to use Gambas, so that there are more >> Gambas applications. :-) > > Regards, > Tobi > Not necessarily, as we could change the list of words and not telling it. -- Beno?t Minisini From gambas.fr at ...626... Sat Jul 25 14:19:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 25 Jul 2015 14:19:31 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B36E99.4040109@...1...> References: <55B169E0.9020206@...1...> <20150724104036.GA638@...2774...> <20150724104813.GB638@...2774...> <55B2EE39.80506@...1...> <20150725091857.GA1401@...2774...> <55B36E99.4040109@...1...> Message-ID: Le 25 juil. 2015 13:11, "Beno?t Minisini" a ?crit : > > Le 25/07/2015 11:18, Tobias Boege a ?crit : > > > > Right, and although AFAICS one can compute the correct answer to the captcha > > from its key (which is sent to the client in the HTML form), this would need > > access to the Gambas RNG (Randomize). And here we are again: > > > > [ Subject: Re: [Gambas-user] New Gambas wiki is online! ] > > On Sun, 09 Mar 2014, Beno?t Minisini wrote: > >> Le 09/03/2014 21:22, Tobias Boege a ?crit : > >>> Hmm, is that "Please run the following Gambas code and enter its > >>> result" phase of registration a bot protection? If it is, it is not a > >>> very effective one for bots written in Gambas :-) > >> > >> Yes, it will encourage spammers to use Gambas, so that there are more > >> Gambas applications. :-) > > > > Regards, > > Tobi > > > > Not necessarily, as we could change the list of words and not telling it. Or adding a delay between each try > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From deysonthome at ...626... Sat Jul 25 17:13:42 2015 From: deysonthome at ...626... (Deyson Thome) Date: Sat, 25 Jul 2015 12:13:42 -0300 Subject: [Gambas-user] Apps For Android Message-ID: Hello !! We can develop apps to android with Gambas ? Regards *--------------------------------------------------------------------------------------------------------------------------------------------------------------------------* From gambas at ...1... Sat Jul 25 17:29:07 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 17:29:07 +0200 Subject: [Gambas-user] Apps For Android In-Reply-To: References: Message-ID: <55B3AB43.4070407@...1...> Le 25/07/2015 17:13, Deyson Thome a ?crit : > Hello !! > > We can develop apps to android with Gambas ? > > Regards > No. Here is what is needed: - An Android system. - An example of how to compile a C application on Android and make it run. - How to replace the GNU libc by the Android libc. - How to use Qt on Android for making the GUI. - A dedicated Gambas component to access the specific Android mobile features. - Time. - Did I forget anything? -- Beno?t Minisini From taboege at ...626... Sat Jul 25 17:26:36 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Jul 2015 17:26:36 +0200 Subject: [Gambas-user] Bugtracker protocol Message-ID: <20150725152636.GB1401@...2774...> Hi Benoit, for my command line bugtracker client, I have written some kind of ncurses interface today which is at least able to fetch the session cookie after logging in by now. Then I was digging around further to see how to retrieve some bug reports for display. My questions are: - Is there, by chance, an interface of the bugtracker from which I can retrieve raw (i.e. non-HTML) data? - If there isn't, I will have to use gb.xml.html to parse the webpages but: - the primary listing of bug reports I have found is in an HTML table without many "id" or "name" attributes (good would be a scheme like id = "bugXY-summary" for the which holds the summary of bug #XY) which is unpleasant to parse (I have to hardcode column indices), - there are many french (accented) words in the HTML attributes. My preferred solution would be to have read-only access to the table of reports (I suppose there is a structured database of reports accessible via standard gb.db methods). I am OK with using gb.net.curl's HttpForm to submit stuff like reports or comments (authentication is necessary there anyway). What do you think? Regards, Tobi PS: Also I found [0] which is, if I connected the view pieces I understood correctly, really impressive. Is this search engine actually employed by the bugtracker? Would be good if the words could be in English :-) [0] http://gambaswiki.org/bugtracker/help/search -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Jul 25 17:38:36 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 17:38:36 +0200 Subject: [Gambas-user] Bugtracker protocol In-Reply-To: <20150725152636.GB1401@...2774...> References: <20150725152636.GB1401@...2774...> Message-ID: <55B3AD7C.6050509@...1...> Le 25/07/2015 17:26, Tobias Boege a ?crit : > Hi Benoit, > > for my command line bugtracker client, I have written some kind of > ncurses interface today which is at least able to fetch the session > cookie after logging in by now. > > Then I was digging around further to see how to retrieve some bug > reports for display. My questions are: > > - Is there, by chance, an interface of the bugtracker from which I > can retrieve raw (i.e. non-HTML) data? - If there isn't, I will have > to use gb.xml.html to parse the webpages but: - the primary listing > of bug reports I have found is in an HTML table without many "id" or > "name" attributes (good would be a scheme like id = "bugXY-summary" > for the which holds the summary of bug #XY) which is unpleasant > to parse (I have to hardcode column indices), - there are many french > (accented) words in the HTML attributes. > > My preferred solution would be to have read-only access to the table > of reports (I suppose there is a structured database of reports > accessible via standard gb.db methods). I am OK with using > gb.net.curl's HttpForm to submit stuff like reports or comments > (authentication is necessary there anyway). > > What do you think? > > Regards, Tobi > You have a dedicated HTTP protocol to do all what you want and more... I will send you the documentation in private, as this is not libre software yet. The framework store its data in text files, not in a database. But it uses SQLite databases for data indexing. > PS: Also I found [0] which is, if I connected the view pieces I > understood correctly, really impressive. Is this search engine > actually employed by the bugtracker? Would be good if the words could > be in English :-) > > [0] http://gambaswiki.org/bugtracker/help/search > How did you find that? The words are in french because the framework is not fully translatable yet. You will have to deal with that at the moment. Regards, -- Beno?t Minisini From taboege at ...626... Sat Jul 25 17:42:31 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Jul 2015 17:42:31 +0200 Subject: [Gambas-user] Bugtracker protocol In-Reply-To: <55B3AD7C.6050509@...1...> References: <20150725152636.GB1401@...2774...> <55B3AD7C.6050509@...1...> Message-ID: <20150725154231.GC1401@...2774...> On Sat, 25 Jul 2015, Beno?t Minisini wrote: > Le 25/07/2015 17:26, Tobias Boege a ?crit : > > Hi Benoit, > > > > for my command line bugtracker client, I have written some kind of > > ncurses interface today which is at least able to fetch the session > > cookie after logging in by now. > > > > [...] > > > > My preferred solution would be to have read-only access to the table > > of reports (I suppose there is a structured database of reports > > accessible via standard gb.db methods). I am OK with using > > gb.net.curl's HttpForm to submit stuff like reports or comments > > (authentication is necessary there anyway). > > > > What do you think? > > > > You have a dedicated HTTP protocol to do all what you want and more... I > will send you the documentation in private, > Very cool! > as this is not libre software yet. > Then I will wait with publishing the project (not that I would finish writing it too soon either way). > The framework store its data in text files, not in a database. But it > uses SQLite databases for data indexing. > > > PS: Also I found [0] which is, if I connected the view pieces I > > understood correctly, really impressive. Is this search engine > > actually employed by the bugtracker? Would be good if the words could > > be in English :-) > > > > [0] http://gambaswiki.org/bugtracker/help/search > > > > How did you find that? The words are in french because the framework is > not fully translatable yet. You will have to deal with that at the moment. > The link is mentioned at the bottom of /bugtracker/main but I guess it's somehow invisible when rendered in the browser. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Jul 25 17:50:15 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 25 Jul 2015 17:50:15 +0200 Subject: [Gambas-user] BugTracker framework HTTP protocol documentation In-Reply-To: <55B3AE74.8060602@...1...> References: <55B3AE74.8060602@...1...> Message-ID: <20150725155015.GD1401@...2774...> On Sat, 25 Jul 2015, Beno??t Minisini wrote: > It's Gambas wiki markdown (an older version, but it should be ok). > > Of course, it's written in french. :-) > Thank you very much! Not for nothing did I have French classes for six years. > Note: "Guygle" is the name of the framework. It will change soon, because > Google sent my boss tons of lawyer's papers. > Not to be tactless but frankly, I saw that coming when I read that name yesterday. > Don't make it public! > My harddisk is sealed. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Jul 25 17:55:51 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 25 Jul 2015 17:55:51 +0200 Subject: [Gambas-user] Bugtracker protocol In-Reply-To: <20150725154231.GC1401@...2774...> References: <20150725152636.GB1401@...2774...> <55B3AD7C.6050509@...1...> <20150725154231.GC1401@...2774...> Message-ID: <55B3B187.1040100@...1...> Le 25/07/2015 17:42, Tobias Boege a ?crit : >> How did you find that? The words are in french because the framework is >> not fully translatable yet. You will have to deal with that at the moment. >> > > The link is mentioned at the bottom of /bugtracker/main but I guess it's > somehow invisible when rendered in the browser. > > Regards, > Tobi > Oops, fixed! -- Beno?t Minisini From vuott at ...325... Sat Jul 25 19:19:24 2015 From: vuott at ...325... (Ru Vuott) Date: Sat, 25 Jul 2015 18:19:24 +0100 Subject: [Gambas-user] SVN defunxit ? Message-ID: <1437844764.99976.YahooMailBasic@...3273...> Hello, well.... SVN "kaputt".... What alternative to upgrade Gambas? Regards vuott From gambas.fr at ...626... Sun Jul 26 01:27:01 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Jul 2015 01:27:01 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <1437844764.99976.YahooMailBasic@...3273...> References: <1437844764.99976.YahooMailBasic@...3273...> Message-ID: Normally svn will reworking Sunday Le 25 juil. 2015 19:20, "Ru Vuott" a ?crit : > Hello, > > well.... SVN "kaputt".... What alternative to upgrade Gambas? > > Regards > vuott > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Jul 26 01:32:40 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 26 Jul 2015 01:32:40 +0200 Subject: [Gambas-user] Apps For Android In-Reply-To: <55B3AB43.4070407@...1...> References: <55B3AB43.4070407@...1...> Message-ID: Le 25 juil. 2015 17:29, "Beno?t Minisini" a ?crit : > > Le 25/07/2015 17:13, Deyson Thome a ?crit : > > Hello !! > > > > We can develop apps to android with Gambas ? > > > > Regards > > > > No. > > Here is what is needed: > > - An Android system. > > - An example of how to compile a C application on Android and make it run. > > - How to replace the GNU libc by the Android libc. > > - How to use Qt on Android for making the GUI. > > - A dedicated Gambas component to access the specific Android mobile > features. > > - Time. It's the harder to find... > > - Did I forget anything? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sun Jul 26 03:41:50 2015 From: vuott at ...325... (Ru Vuott) Date: Sun, 26 Jul 2015 02:41:50 +0100 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: Message-ID: <1437874910.26349.YahooMailBasic@...3273...> Hi, now I have tried again with SVN and I obtain this message: " svn: E160006: No such revision 7187 " ??? I do not remember this kind of notice. Am I wrong ? regards vuott -------------------------------------------- Dom 26/7/15, Fabien Bodard ha scritto: Oggetto: Re: [Gambas-user] SVN defunxit ? A: "mailing list for gambas users" Data: Domenica 26 luglio 2015, 01:27 Normally svn will reworking Sunday Le 25 juil. 2015 19:20, "Ru Vuott" a ?crit : > Hello, > > well.... SVN "kaputt".... What alternative to upgrade Gambas? > > Regards > vuott > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Jul 26 14:01:25 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 26 Jul 2015 14:01:25 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <1437874910.26349.YahooMailBasic@...3273...> References: <1437874910.26349.YahooMailBasic@...3273...> Message-ID: <20150726120125.GA636@...2774...> On Sun, 26 Jul 2015, Ru Vuott wrote: > Hi, > now I have tried again with SVN and I obtain this message: > > " svn: E160006: No such revision 7187 " > > ??? > I do not remember this kind of notice. Am I wrong ? > I was able to update a few seconds. But the revision I was brought to was #7186, so your #7187 might really not exist. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Jul 26 14:12:46 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Jul 2015 14:12:46 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <20150726120125.GA636@...2774...> References: <1437874910.26349.YahooMailBasic@...3273...> <20150726120125.GA636@...2774...> Message-ID: <55B4CEBE.3060105@...1...> Le 26/07/2015 14:01, Tobias Boege a ?crit : > On Sun, 26 Jul 2015, Ru Vuott wrote: >> Hi, >> now I have tried again with SVN and I obtain this message: >> >> " svn: E160006: No such revision 7187" >> >> ??? >> I do not remember this kind of notice. Am I wrong ? >> > > I was able to update a few seconds. But the revision I was brought to was > #7186, so your #7187 might really not exist. > > Regards, > Tobi > The last revision is #7187. -- Beno?t Minisini From gambas at ...1... Sun Jul 26 14:16:54 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Jul 2015 14:16:54 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <55B4CEBE.3060105@...1...> References: <1437874910.26349.YahooMailBasic@...3273...> <20150726120125.GA636@...2774...> <55B4CEBE.3060105@...1...> Message-ID: <55B4CFB6.6070409@...1...> Le 26/07/2015 14:12, Beno?t Minisini a ?crit : > Le 26/07/2015 14:01, Tobias Boege a ?crit : >> On Sun, 26 Jul 2015, Ru Vuott wrote: >>> Hi, >>> now I have tried again with SVN and I obtain this message: >>> >>> " svn: E160006: No such revision 7187" >>> >>> ??? >>> I do not remember this kind of notice. Am I wrong ? >>> >> >> I was able to update a few seconds. But the revision I was brought to was >> #7186, so your #7187 might really not exist. >> >> Regards, >> Tobi >> > > The last revision is #7187. > Apparently they lose the last revision... But it appears on the svn web interface, and you get an error if you ask from the revision details. Mmm, what should we do know? Maybe a full checkout... And I will commit the revision #7187 changes again... -- Beno?t Minisini From gambas at ...1... Sun Jul 26 14:21:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Jul 2015 14:21:58 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <55B4CFB6.6070409@...1...> References: <1437874910.26349.YahooMailBasic@...3273...> <20150726120125.GA636@...2774...> <55B4CEBE.3060105@...1...> <55B4CFB6.6070409@...1...> Message-ID: <55B4D0E6.5050108@...1...> Le 26/07/2015 14:16, Beno?t Minisini a ?crit : > Le 26/07/2015 14:12, Beno?t Minisini a ?crit : >> Le 26/07/2015 14:01, Tobias Boege a ?crit : >>> On Sun, 26 Jul 2015, Ru Vuott wrote: >>>> Hi, >>>> now I have tried again with SVN and I obtain this message: >>>> >>>> " svn: E160006: No such revision 7187" >>>> >>>> ??? >>>> I do not remember this kind of notice. Am I wrong ? >>>> >>> >>> I was able to update a few seconds. But the revision I was brought to >>> was >>> #7186, so your #7187 might really not exist. >>> >>> Regards, >>> Tobi >>> >> >> The last revision is #7187. >> > > Apparently they lose the last revision... But it appears on the svn web > interface, and you get an error if you ask from the revision details. > Mmm, what should we do know? Maybe a full checkout... And I will commit > the revision #7187 changes again... > I suggest not doing anything at the moment. Maybe the restore is not finished... -- Beno?t Minisini From gambas at ...1... Sun Jul 26 14:27:28 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 26 Jul 2015 14:27:28 +0200 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <55B4D0E6.5050108@...1...> References: <1437874910.26349.YahooMailBasic@...3273...> <20150726120125.GA636@...2774...> <55B4CEBE.3060105@...1...> <55B4CFB6.6070409@...1...> <55B4D0E6.5050108@...1...> Message-ID: <55B4D230.3070800@...1...> Le 26/07/2015 14:21, Beno?t Minisini a ?crit : > > I suggest not doing anything at the moment. Maybe the restore is not > finished... > ...I was unable to do a checkout anyway. -- Beno?t Minisini From charlie at ...2793... Sun Jul 26 18:39:51 2015 From: charlie at ...2793... (Charlie) Date: Sun, 26 Jul 2015 09:39:51 -0700 (MST) Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B29378.9020606@...3466...> References: <55B29378.9020606@...3466...> Message-ID: <1437928791517-52101.post@...3046...> You don't give us much detail of what you are trying to do but I have put a small program together that shows how to change colours using a variable. ColourChanger.gz . -- View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52101.html Sent from the gambas-user mailing list archive at Nabble.com. From zachsmith022 at ...626... Mon Jul 27 03:54:39 2015 From: zachsmith022 at ...626... (Zach Smith) Date: Sun, 26 Jul 2015 21:54:39 -0400 Subject: [Gambas-user] Can't start gambas IDE Message-ID: I'm running r7186 and get this error when starting Gambas on Arch x86_64 and Arch ARMv7. Please let me know if more information is required. user1 ~ $ gambas3 _TextEditor_Styles._new.13: #6: Type mismatch: wanted TextEditorStyle, got TextEditorStyle instead Project.Main.352 qt4 4.8.7-2 qt5-base 5.5.0-1 -------------- next part -------------- A non-text attachment was scrubbed... Name: IDE_start.png Type: image/png Size: 14828 bytes Desc: not available URL: From vuott at ...325... Mon Jul 27 11:47:23 2015 From: vuott at ...325... (Ru Vuott) Date: Mon, 27 Jul 2015 10:47:23 +0100 Subject: [Gambas-user] SVN defunxit ? In-Reply-To: <55B4D230.3070800@...1...> Message-ID: <1437990443.36911.YahooMailBasic@...3271...> Well, SVN resurrexit ! Now it works. regards vuott -------------------------------------------- Dom 26/7/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] SVN defunxit ? A: gambas-user at lists.sourceforge.net Data: Domenica 26 luglio 2015, 14:27 Le 26/07/2015 14:21, Beno?t Minisini a ?crit : > > I suggest not doing anything at the moment. Maybe the restore is not > finished... > ...I was unable to do a checkout anyway. -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...3466... Mon Jul 27 11:55:24 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Mon, 27 Jul 2015 11:55:24 +0200 Subject: [Gambas-user] Adding custom colors In-Reply-To: <1437928791517-52101.post@...3046...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> Message-ID: <55B6000C.5090806@...3466...> Hi , I've no problem using variable to change colors , but I want to define a color variable that I can use directly in the ide. When U select an item and click on the tre dot button at the end of background proprerty I can choose from some colors that are defined in the ide , for example LightBackground or ButtonBackground. I want to add my custom colors to that list so I can set quickly in any form I need without write the code on the class. Is that possible ? Il 26/07/2015 18:39, Charlie ha scritto: > You don't give us much detail of what you are trying to do but I have put a > small program together that shows how to change colours using a variable. > ColourChanger.gz > . > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52101.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tercoide at ...67... Mon Jul 27 13:27:02 2015 From: tercoide at ...67... (martin p cristia) Date: Mon, 27 Jul 2015 08:27:02 -0300 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: References: Message-ID: Couldn't register....or my english is too bad -- Saludos Ing. Martin P Cristia From gambas at ...2524... Mon Jul 27 20:28:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Jul 2015 18:28:53 +0000 Subject: [Gambas-user] Issue 630 in gambas: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) Message-ID: <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 630 by uAle... at ...626...: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) https://code.google.com/p/gambas/issues/detail?id=630 1) Describe the problem. Gambas can interface with external libraries, this works normally very nice. Only if we call a not-existing routine in an external (I use "Try" to catch the error), the next call to the same library results in most cases a signal 11. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.13.0-57-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=980M [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+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 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. Gambas 3.7.1 4) Provide a little project that reproduces the bug or the crash. Attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Run the attached example project. I found a way which seem to solve the problem, by modifying the "main/gbx/gbx_extern.c": ... static EXTERN_FUNC *get_function(CLASS_EXTERN *ext) { EXTERN_FUNC *func; void *call; lt_dlhandle handle; if (ext->loaded) return (EXTERN_FUNC *)ext->alias; handle = get_library(ext->library); call = lt_dlsym(handle, ext->alias); if (call == NULL) { //lt_dlclose(handle); // <--- COMMENT THIS ONE OUT ---> THROW(E_EXTSYM, ext->library, ext->alias); } .. Comment out the "lt_dlclose(handle);" solves the problem for me. Attachments: TestExtern.tar.gz 4.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Jul 27 20:36:47 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 27 Jul 2015 18:36:47 +0000 Subject: [Gambas-user] Issue 630 in gambas: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) In-Reply-To: <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Comment #1 on issue 630 by uAle... at ...626...: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) https://code.google.com/p/gambas/issues/detail?id=630 Small updated, i looked in the "gbx_extern.c" ... I think the following happens: In the routine "get_library" the file-handle is retrieved, BUT if the library is opened in a previous call and a next call fails, the file-handle is close. At the next call it is assumed the library is still opened, but the file-handle is closed in the previous error handling. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ea7dfh at ...2382... Mon Jul 27 21:56:07 2015 From: ea7dfh at ...2382... (Jesus) Date: Mon, 27 Jul 2015 21:56:07 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: References: Message-ID: <55B68CD7.7040504@...2382...> El 27/7/15 a las 13:27, martin p cristia escribi?: > Couldn't register....or 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 From gambas at ...1... Mon Jul 27 22:14:19 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 27 Jul 2015 22:14:19 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B68CD7.7040504@...2382...> References: <55B68CD7.7040504@...2382...> Message-ID: <55B6911B.7020705@...1...> Le 27/07/2015 21:56, Jesus a ?crit : > El 27/7/15 a las 13:27, martin p cristia escribi?: >> Couldn't register....or 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 > There is something strange there, because I can recognize most of the words even if my english vocabulary is not very good, and I don't think I'm the only people who can. Anyway I will remove it, as now the captcha is more difficult to read by ocr. And I wanted to avoid Google's recaptcha because... it's Google. As soon as you put a link that goes to Google on your website, you are logged, traced, profiled and sold. Regards, -- Beno?t Minisini From gambas at ...1... Tue Jul 28 01:33:08 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Jul 2015 01:33:08 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B6911B.7020705@...1...> References: <55B68CD7.7040504@...2382...> <55B6911B.7020705@...1...> Message-ID: <55B6BFB4.5010008@...1...> Le 27/07/2015 22:14, Beno?t Minisini a ?crit : > > There is something strange there, because I can recognize most of the > words even if my english vocabulary is not very good, and I don't think > I'm the only people who can. > > Anyway I will remove it, as now the captcha is more difficult to read by > ocr. > > And I wanted to avoid Google's recaptcha because... it's Google. As soon > as you put a link that goes to Google on your website, you are logged, > traced, profiled and sold. > > Regards, > I removed the character swap in the captcha, and I updated the bug tracker. The login page is better, bugs were fixed, and now you can enter your system information in a bug report. I just have to implement the automatic mail send, and that's all! -- Beno?t Minisini From gambas at ...1... Tue Jul 28 02:21:43 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Jul 2015 02:21:43 +0200 Subject: [Gambas-user] Can't start gambas IDE In-Reply-To: References: Message-ID: <55B6CB17.80500@...1...> Le 27/07/2015 03:54, Zach Smith a ?crit : > I'm running r7186 and get this error when starting Gambas on Arch x86_64 > and Arch ARMv7. Please let me know if more information is required. > > user1 ~ $ gambas3 > _TextEditor_Styles._new.13: #6: Type mismatch: wanted TextEditorStyle, got > TextEditorStyle instead > Project.Main.352 > > > qt4 4.8.7-2 > qt5-base 5.5.0-1 > Can you try to recompile from scratch, now that the sourceforge svn server is back? And please provide the full output of the configuration & compilation & install process! -- Beno?t Minisini From gambas at ...2524... Tue Jul 28 02:29:44 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 28 Jul 2015 00:29:44 +0000 Subject: [Gambas-user] Issue 629 in gambas: Unable to read blob data saved in PostgreSQL In-Reply-To: <1-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> <0-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9578783456351874838-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -3.7.1 Version-3.7.0 Comment #2 on issue 629 by benoit.m... at ...626...: Unable to read blob data saved in PostgreSQL https://code.google.com/p/gambas/issues/detail?id=629 It should be fixed in revision #7188. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From zachsmith022 at ...626... Tue Jul 28 03:24:08 2015 From: zachsmith022 at ...626... (Zach Smith) Date: Mon, 27 Jul 2015 21:24:08 -0400 Subject: [Gambas-user] Can't start gambas IDE In-Reply-To: <55B6CB17.80500@...1...> References: <55B6CB17.80500@...1...> Message-ID: Done. File attached. On Mon, Jul 27, 2015 at 8:21 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 27/07/2015 03:54, Zach Smith a ?crit : > > I'm running r7186 and get this error when starting Gambas on Arch x86_64 > > and Arch ARMv7. Please let me know if more information is required. > > > > user1 ~ $ gambas3 > > _TextEditor_Styles._new.13: #6: Type mismatch: wanted TextEditorStyle, > got > > TextEditorStyle instead > > Project.Main.352 > > > > > > qt4 4.8.7-2 > > qt5-base 5.5.0-1 > > > > Can you try to recompile from scratch, now that the sourceforge svn > server is back? > > And please provide the full output of the configuration & compilation & > install process! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: output.txt.gz Type: application/x-gzip Size: 33610 bytes Desc: not available URL: From gambas at ...1... Tue Jul 28 04:08:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 28 Jul 2015 04:08:17 +0200 Subject: [Gambas-user] Can't start gambas IDE In-Reply-To: References: <55B6CB17.80500@...1...> Message-ID: <55B6E411.1040601@...1...> Le 28/07/2015 03:24, Zach Smith a ?crit : > Done. File attached. > > On Mon, Jul 27, 2015 at 8:21 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 27/07/2015 03:54, Zach Smith a ?crit : >>> I'm running r7186 and get this error when starting Gambas on Arch x86_64 >>> and Arch ARMv7. Please let me know if more information is required. >>> >>> user1 ~ $ gambas3 >>> _TextEditor_Styles._new.13: #6: Type mismatch: wanted TextEditorStyle, >> got >>> TextEditorStyle instead >>> Project.Main.352 >>> >>> >>> qt4 4.8.7-2 >>> qt5-base 5.5.0-1 >>> >> >> Can you try to recompile from scratch, now that the sourceforge svn >> server is back? >> >> And please provide the full output of the configuration & compilation & >> install process! >> >> -- >> Beno?t Minisini >> According to the "error while loading shared libraries: libLLVM-3.5.so: cannot open shared object file: No such file or directory" error messages, you have an old installation of Gambas still present on your system. Can you remove it completely before reinstalling? Note that if you want to compile the just-in-time compiler component, you need LLVM 3.5. If you have several different versions of LLVM on your system, you have to run the configuration that way: $ LLVM_CONFIG=llvm-config-3.5 ./configure -C Put in LLVM_CONFIG where is the required specific version of the 'llvm-config' executable. Regards, -- Beno?t Minisini From taboege at ...626... Tue Jul 28 04:39:44 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 28 Jul 2015 04:39:44 +0200 Subject: [Gambas-user] Extensible Image Viewer Message-ID: <20150728023944.GC659@...2774...> Hi list, I have written (and uploaded to the software farm) an image viewer in Gambas. But wait: it's an *extensible* image viewer. If you write the first letter of the important words after one another you get "Geiv" which is the project's name... :-| Extensibility is accomplished by a plugin system (the base code for this is also in the software farm for some days now, it's called "Plugins"). It's a bit of a hack but works nicely for my purposes. The code is super small as even the most trivial automatisms are left for plugins. Vast amounts of lines are event and property declarations and Raise statements. [ A hell to do debugging with, I foresee. I have likely overdone it here but I'm not a software engineer so I don't care :-) ] My plan is to reserve a dot directory in a user's home directory for plugins and configuration files. The project on the farm, however, contains three plugin files just to show that you can do non-trivial things with them: - one of them provides basic image viewer things like zoom, background color, image centering and the ability to keep the zoom setting across file switches while at the same time letting the viewport on the image reset itself (something "feh" seems to be incapable of), - the second implements natural (i.e. "ls -v" like) sorting of the file list, and - the third downloads a manga from mangafox.me page by page on demand, but reusing images it already downloaded (normally I have a crawler script (in Gambas, of course) for that which downloads the whole thing and keeps it on disk, but it was nice to see that it could be done with a plugin and in an on-demand fashion). [ And look, it's only 4:45 am! ] Note that the project gets its stuff entirely from the command line. As you may know, you can edit the preset arguments in the IDE under "Project" -> "Properties" -> "Arguments". Left and right arrow navigate through the file list, up and down arrow move the viewport, "+" and "-" zoom, "r" refreshes the viewer (and causes the image to be centered), "f" toggles fullscreen and escape exits. Attached is also a patch to the IDE which enables Gambas syntax highlighting for *.plugin files. However, the help popups an completions don't appear when editing such a file. I guess that's because they're not recognised as source files? If someone gets a decent icon done, I'll gladly take it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ide-highlight-plugin-files.patch Type: text/x-diff Size: 901 bytes Desc: not available URL: From ea7dfh at ...2382... Tue Jul 28 11:30:59 2015 From: ea7dfh at ...2382... (=?ISO-8859-1?Q?Jes=FAs_Guard=F3n?=) Date: Tue, 28 Jul 2015 11:30:59 +0200 Subject: [Gambas-user] New Gambas bug tracker (alpha) In-Reply-To: <55B6BFB4.5010008@...1...> References: <55B68CD7.7040504@...2382...> <55B6911B.7020705@...1...> <55B6BFB4.5010008@...1...> Message-ID: Oops. Didn't read that post about not wanting to use reCaptcha. Sorry. Thanks anyway for easing the login page. Regards Jes?s En 28 jul 2015 01:33, en 01:33, "Beno?t Minisini" escrito: >Le 27/07/2015 22:14, Beno?t Minisini a ?crit : >> >> There is something strange there, because I can recognize most of the >> words even if my english vocabulary is not very good, and I don't >think >> I'm the only people who can. >> >> Anyway I will remove it, as now the captcha is more difficult to read >by >> ocr. >> >> And I wanted to avoid Google's recaptcha because... it's Google. As >soon >> as you put a link that goes to Google on your website, you are >logged, >> traced, profiled and sold. >> >> Regards, >> > >I removed the character swap in the captcha, and I updated the bug >tracker. The login page is better, bugs were fixed, and now you can >enter your system information in a bug report. > >I just have to implement the automatic mail send, and that's all! > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Tue Jul 28 16:30:41 2015 From: charlie at ...2793... (Charlie) Date: Tue, 28 Jul 2015 07:30:41 -0700 (MST) Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B6000C.5090806@...3466...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> <55B6000C.5090806@...3466...> Message-ID: <1438093841657-52117.post@...3046...> All you have to do is click on the "Free" tab to take you from to -- View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52117.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...3466... Tue Jul 28 17:40:03 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Tue, 28 Jul 2015 17:40:03 +0200 Subject: [Gambas-user] Adding custom colors In-Reply-To: <1438093841657-52117.post@...3046...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> <55B6000C.5090806@...3466...> <1438093841657-52117.post@...3046...> Message-ID: <55B7A253.4070709@...3466...> I've already found that , but after setting some custom colors how can I reference it from code ? Il 28/07/2015 16:30, Charlie ha scritto: > All you have to do is click on the "Free" tab to take you from > > to > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52117.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Tue Jul 28 17:48:56 2015 From: charlie at ...2793... (Charlie) Date: Tue, 28 Jul 2015 08:48:56 -0700 (MST) Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B7A253.4070709@...3466...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> <55B6000C.5090806@...3466...> <1438093841657-52117.post@...3046...> <55B7A253.4070709@...3466...> Message-ID: <1438098536116-52119.post@...3046...> Create a form with one TextBox in it and use the code below. The "004F9F8B" is the number from the 'Select a color' dialogue in my last post. (The one in my last post shows "00000000") Public Sub Form_Open() Dim sMyColour As String = "0045279F" Dim sHex As String sHex = "&H" & sMyColour & "&" TextBox1.Background = Val(sHex) End -- View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52119.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...3466... Tue Jul 28 18:36:14 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Tue, 28 Jul 2015 18:36:14 +0200 Subject: [Gambas-user] Adding custom colors In-Reply-To: <1438098536116-52119.post@...3046...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> <55B6000C.5090806@...3466...> <1438093841657-52117.post@...3046...> <55B7A253.4070709@...3466...> <1438098536116-52119.post@...3046...> Message-ID: <55B7AF7E.8000903@...3466...> I already do somethink like that , but any time I change a color I need to replace the color code and when I use somethink like 10 - 20 colors it's really complex. I'm searching a way to define a custom color and reference that by code so I can try colors and change that when I need. Il 28/07/2015 17:48, Charlie ha scritto: > Create a form with one TextBox in it and use the code below. The "004F9F8B" > is the number from the 'Select a color' dialogue in my last post. (The one > in my last post shows "00000000") > > Public Sub Form_Open() > Dim sMyColour As String = "0045279F" > Dim sHex As String > > sHex = "&H" & sMyColour & "&" > TextBox1.Background = Val(sHex) > > End > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52119.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From charlie at ...2793... Tue Jul 28 18:35:52 2015 From: charlie at ...2793... (Charlie) Date: Tue, 28 Jul 2015 09:35:52 -0700 (MST) Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B7AF7E.8000903@...3466...> References: <55B29378.9020606@...3466...> <1437928791517-52101.post@...3046...> <55B6000C.5090806@...3466...> <1438093841657-52117.post@...3046...> <55B7A253.4070709@...3466...> <1438098536116-52119.post@...3046...> <55B7AF7E.8000903@...3466...> Message-ID: <1438101352646-52121.post@...3046...> I see what you mean. The only way I can see to do this is as attached. Colours.gz -- View this message in context: http://gambas.8142.n7.nabble.com/Adding-custom-colors-tp52076p52121.html Sent from the gambas-user mailing list archive at Nabble.com. From zachsmith022 at ...626... Wed Jul 29 04:23:50 2015 From: zachsmith022 at ...626... (Zach Smith) Date: Tue, 28 Jul 2015 22:23:50 -0400 Subject: [Gambas-user] Can't start gambas IDE In-Reply-To: <55B6E411.1040601@...1...> References: <55B6CB17.80500@...1...> <55B6E411.1040601@...1...> Message-ID: For anyone else who faces this situation, I had to delete these old files and then reinstall in order to get things working again. /usr/lib/gambas3/gb.component /usr/lib/gambas3/gb.jit.component /usr/lib/gambas3/gb.jit.la /usr/lib/gambas3/@gb.jit.so /usr/lib/gambas3/@gb.jit.so.0 /usr/lib/gambas3/gb.jit.so.0.0.0 I suppose it would be good practice to run su -c "make uninstall" before each compile/install to avoid this problem when components that are built are no longer used. Thank you Benoit! On Mon, Jul 27, 2015 at 10:08 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 28/07/2015 03:24, Zach Smith a ?crit : > > Done. File attached. > > > > On Mon, Jul 27, 2015 at 8:21 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > >> Le 27/07/2015 03:54, Zach Smith a ?crit : > >>> I'm running r7186 and get this error when starting Gambas on Arch > x86_64 > >>> and Arch ARMv7. Please let me know if more information is required. > >>> > >>> user1 ~ $ gambas3 > >>> _TextEditor_Styles._new.13: #6: Type mismatch: wanted TextEditorStyle, > >> got > >>> TextEditorStyle instead > >>> Project.Main.352 > >>> > >>> > >>> qt4 4.8.7-2 > >>> qt5-base 5.5.0-1 > >>> > >> > >> Can you try to recompile from scratch, now that the sourceforge svn > >> server is back? > >> > >> And please provide the full output of the configuration & compilation & > >> install process! > >> > >> -- > >> Beno?t Minisini > >> > > According to the "error while loading shared libraries: libLLVM-3.5.so: > cannot open shared object file: No such file or directory" error > messages, you have an old installation of Gambas still present on your > system. > > Can you remove it completely before reinstalling? > > Note that if you want to compile the just-in-time compiler component, > you need LLVM 3.5. > > If you have several different versions of LLVM on your system, you have > to run the configuration that way: > > $ LLVM_CONFIG=llvm-config-3.5 ./configure -C > > Put in LLVM_CONFIG where is the required specific version of the > 'llvm-config' executable. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed Jul 29 09:26:05 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Jul 2015 07:26:05 +0000 Subject: [Gambas-user] Issue 631 in gambas: BUG Gambas Crashed in the last work Message-ID: <0-6813199134517018827-11813406093713518161-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 631 by josemari... at ...626...: BUG Gambas Crashed in the last work https://code.google.com/p/gambas/issues/detail?id=631 Hello, I'm trying to help a friend of mine with this issue. The program crashed Gambas3 that way: Launch the project and click the button "Ejecutar trabajo" on the left. Wait and see how web pages are loading automatically until it crashes just before the last URL. Below is the file which is processed by the program. The last URL is not loaded because the crash. 1 #serp #SEO en alliolialicante.com #recetas alicante #alliolialicante.com #1 #20 #Google ES #http://www.google.es/search?q=recetas&cad=h # #Indeterminado #Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/600.1.25 (KHTML, like Gecko) Version/8.0 Safari/600.1.25 #0 #url:http://www.alliolialicante.com/secciones/eventos-de-cocina-tradicional #tiempo:1 #variacion:10 #url:http://www.alliolialicante.com/eventos-de-cocina-tradicional/concurso-de-allioli-2015-santa-pola.html #tiempo:5 #variacion:20 #url:http://www.alliolialicante.com/secciones/recetas-tradicionales-alicantinas/dulces-y-postres #tiempo:1 #variacion:10 # System information [System] Gambas=3.7.1 OperatingSystem=Linux Kernel=3.17.8-300.fc21.x86_64 Architecture=x86_64 Distribution=redhat Fedora release 21 (Twenty One) Desktop=GNOME Theme=QGtk Language=es_ES.UTF-8 Memory=2002M [Libraries] Also crashes in ubuntu 14,04. I will try to get a gdb backtrace in the meantime Thanks ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | If you encounter several different problems or bugs, (for | | example, a bug in your project, and an interpreter crash | | while debugging it), please create distinct issues! | \____________________________________________________________/ 1) Describe the problem. 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From nigelverity at ...67... Wed Jul 29 09:33:42 2015 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 29 Jul 2015 08:33:42 +0100 Subject: [Gambas-user] Clipboard Persistence Message-ID: Hi If often need to copy text from a form in a Gambas application and paste it into a non-Gambas application - typically LibreOffice Writer. While the Gambas app remains open there is no problem. However, once I close the Gambas app the "Paste" option on the main or context menu of the target is greyed out. This indicates that the clipboard is empty. This is not specific to LibreOffice. It is the same with any target application. Is there any way I can ensure that text remains in the clipboard after the Gambas application has been closed? Thanks Nige From gambas at ...2524... Wed Jul 29 11:08:40 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Jul 2015 09:08:40 +0000 Subject: [Gambas-user] Issue 631 in gambas: BUG Gambas Crashed in the last work In-Reply-To: <0-6813199134517018827-11813406093713518161-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11813406093713518161-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11813406093713518161-gambas=googlecode.com@...2524...> Comment #1 on issue 631 by uAle... at ...626...: BUG Gambas Crashed in the last work https://code.google.com/p/gambas/issues/detail?id=631 Can you attach an example project for reproduction? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Wed Jul 29 14:50:37 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 14:50:37 +0200 Subject: [Gambas-user] Clipboard Persistence In-Reply-To: References: Message-ID: <55B8CC1D.9030407@...1...> Le 29/07/2015 09:33, Nigel Verity a ?crit : > Hi > > If often need to copy text from a form in a Gambas application and > paste it into a non-Gambas application - typically LibreOffice > Writer. > > While the Gambas app remains open there is no problem. However, once > I close the Gambas app the "Paste" option on the main or context menu > of the target is greyed out. This indicates that the clipboard is > empty. > > This is not specific to LibreOffice. It is the same with any target > application. > > Is there any way I can ensure that text remains in the clipboard > after the Gambas application has been closed? > > Thanks > > Nige On KDE you have to use "klipper" for that. On KDE 5, this is named "Clipboard" in the settings of the system tray. I don't know if it is possible to have a persistent clipboard on X11 without an external program. If some people have more information... -- Beno?t Minisini From gambas at ...1... Wed Jul 29 15:01:24 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 15:01:24 +0200 Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B29378.9020606@...3466...> References: <55B29378.9020606@...3466...> Message-ID: <55B8CEA4.2070206@...1...> Le 24/07/2015 21:35, Marco Ancillotti a ?crit : > Hi, > > is there a way to add custom colors ? > > Somethink like assign color to variable and assign by variable name in > ide like the one pre defined. > I found solution for that in revision #7189: - The IDE color chooser is now filled dynamically from the Color class information. - If you want to add custom colors, you have to extend the Color class in your project and add new color properties or constants to it. Regards, -- Beno?t Minisini From gambas at ...3466... Wed Jul 29 16:13:28 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Wed, 29 Jul 2015 16:13:28 +0200 Subject: [Gambas-user] Adding custom colors In-Reply-To: <55B8CEA4.2070206@...1...> References: <55B29378.9020606@...3466...> <55B8CEA4.2070206@...1...> Message-ID: <55B8DF88.9050004@...3466...> ok, I will try it, for now I use a class where I define my custom color that is loaded when I open a new form and set colors I've defined to all object. For now it works , if with next revision is possible to set colors directly in the color class it will be perfect. Thank's, Marco. Il 29/07/2015 15:01, Beno?t Minisini ha scritto: > Le 24/07/2015 21:35, Marco Ancillotti a ?crit : >> Hi, >> >> is there a way to add custom colors ? >> >> Somethink like assign color to variable and assign by variable name in >> ide like the one pre defined. >> > I found solution for that in revision #7189: > > - The IDE color chooser is now filled dynamically from the Color class > information. > > - If you want to add custom colors, you have to extend the Color class > in your project and add new color properties or constants to it. > > Regards, > From charlie at ...2793... Wed Jul 29 16:24:52 2015 From: charlie at ...2793... (Charlie) Date: Wed, 29 Jul 2015 07:24:52 -0700 (MST) Subject: [Gambas-user] ColorChoser Message-ID: <1438179892154-52129.post@...3046...> In the ColorChooser there is a button on the top right that the tool tip says "Follow color grid". It seems to fix the the colour change to a grid which makes any movement jerky. Is there a way to turn this off in code? -- View this message in context: http://gambas.8142.n7.nabble.com/ColorChoser-tp52129.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Wed Jul 29 19:13:49 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Jul 2015 19:13:49 +0200 Subject: [Gambas-user] Extensible Image Viewer In-Reply-To: <20150728023944.GC659@...2774...> References: <20150728023944.GC659@...2774...> Message-ID: <20150729171349.GB647@...2774...> On Tue, 28 Jul 2015, Tobias Boege wrote: > Extensibility is accomplished by a plugin system (the base code for this > is also in the software farm for some days now, it's called "Plugins"). > It's a bit of a hack but works nicely for my purposes. > I tried to use the thing outside of the IDE today for the first time and had to realise that the plugins need the attached patch to the interpreter which allows to load libraries (Component.Load()) from arbitrary absolute paths even if the interpreter is not in debugging mode. Normally Component.Load() is only permitted from /bin or /usr/bin, AFAICS. Benoit, is that a security feature or something? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: gbx-allow-absolute-path-library.patch Type: text/x-diff Size: 331 bytes Desc: not available URL: From nando_f at ...951... Wed Jul 29 20:00:12 2015 From: nando_f at ...951... (nando) Date: Wed, 29 Jul 2015 14:00:12 -0400 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <51E10019.2090804@...1...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> Message-ID: <20150729175720.M1317@...951...> Dim t As String Print SizeOf(t) Type mismatch: wanted integer, got string instead 'Sizeof also errors on a Stucture Ubuntu 14.04LTS Gambas 3.7.1 -Fernando From gambas at ...1... Wed Jul 29 20:14:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 20:14:32 +0200 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <20150729175720.M1317@...951...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> Message-ID: <55B91808.80209@...1...> Le 29/07/2015 20:00, nando a ?crit : > Dim t As String > > Print SizeOf(t) > Type mismatch: wanted integer, got string instead > > 'Sizeof also errors on a Stucture > > Ubuntu 14.04LTS > Gambas 3.7.1 > > -Fernando > Have you read the documentation of SizeOf()? -- Beno?t Minisini From taboege at ...626... Wed Jul 29 20:10:45 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Jul 2015 20:10:45 +0200 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <20150729175720.M1317@...951...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> Message-ID: <20150729181045.GC647@...2774...> On Wed, 29 Jul 2015, nando wrote: > Dim t As String > > Print SizeOf(t) > Type mismatch: wanted integer, got string instead > > 'Sizeof also errors on a Stucture > > Ubuntu 14.04LTS > Gambas 3.7.1 > Do you realise that you were replying to a totally unrelated thread from July 2013? Create a new thread (by writing a new mail instead of replying to another one) next time. The documentation[0] of SizeOf clearly states: Size = SizeOf ( Datatype ) Return the memory used for storing a specific datatype. Datatype can be one of the following constant: Datatype Constant Boolean gb.Boolean Byte gb.Byte Short gb.Short Integer gb.Integer [...] If you want to know how many bytes a string variable takes, you have to use SizeOf(gb.String) but note that this returns the memory usage of the String datatype (container) not any actual value. On my system SizeOf(gb.String) is 8 bytes, for the pointer which references the actual string data container in the interpreter. Doesn't sound very useful and really isn't :-) The only possible use of SizeOf() which I can think of is when you want to invoke libc's qsort() for a Gambas array (you get the datatype constant from Array.Type). Needless to say, SizeOf() cannot be used to measure the size a Struct would take up on your system. You could maybe use SizeOf() on its contents... Regards, Tobi [0] http://gambaswiki.org/wiki/lang/sizeof -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From nando_f at ...951... Wed Jul 29 21:15:54 2015 From: nando_f at ...951... (nando) Date: Wed, 29 Jul 2015 15:15:54 -0400 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <55B91808.80209@...1...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> <55B91808.80209@...1...> Message-ID: <20150729191406.M78@...951...> Thanks guys, I was in 'C' mode and needed the size of a structure. Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? wishing out loud. Thanks! DOH! -Nando ---------- Original Message ----------- From: Beno?t Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Wed, 29 Jul 2015 20:14:32 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > Le 29/07/2015 20:00, nando a ?crit : > > Dim t As String > > > > Print SizeOf(t) > > Type mismatch: wanted integer, got string instead > > > > 'Sizeof also errors on a Stucture > > > > Ubuntu 14.04LTS > > Gambas 3.7.1 > > > > -Fernando > > > > Have you read the documentation of SizeOf()? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Wed Jul 29 21:26:50 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 21:26:50 +0200 Subject: [Gambas-user] Extensible Image Viewer In-Reply-To: <20150729171349.GB647@...2774...> References: <20150728023944.GC659@...2774...> <20150729171349.GB647@...2774...> Message-ID: <55B928FA.4070907@...1...> Le 29/07/2015 19:13, Tobias Boege a ?crit : > On Tue, 28 Jul 2015, Tobias Boege wrote: >> Extensibility is accomplished by a plugin system (the base code for this >> is also in the software farm for some days now, it's called "Plugins"). >> It's a bit of a hack but works nicely for my purposes. >> > > I tried to use the thing outside of the IDE today for the first time and had > to realise that the plugins need the attached patch to the interpreter which > allows to load libraries (Component.Load()) from arbitrary absolute paths > even if the interpreter is not in debugging mode. Normally Component.Load() > is only permitted from /bin or /usr/bin, AFAICS. > > Benoit, is that a security feature or something? > > Regards, > Tobi > Let's say it's some sort of security thing... I wanted to release 3.8 this week, before going on holidays for two weeks. So any change related to component loading will be for the next version. Moreover, please explain what that plugin files are, and why the IDE should support them? Regards, -- Beno?t Minisini From gambas at ...1... Wed Jul 29 21:37:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 21:37:29 +0200 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <20150729191406.M78@...951...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> <55B91808.80209@...1...> <20150729191406.M78@...951...> Message-ID: <55B92B79.3030905@...1...> Le 29/07/2015 21:15, nando a ?crit : > Thanks guys, > I was in 'C' mode and needed the size of a structure. > > Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? > wishing out loud. > > Thanks! > DOH! > -Nando If you a pointer to the structure, just use Object.SizeOf() to know its size in memory. Regards, -- Beno?t Minisini From patrickfrog at ...626... Wed Jul 29 21:38:52 2015 From: patrickfrog at ...626... (Patrick Wright) Date: Wed, 29 Jul 2015 14:38:52 -0500 Subject: [Gambas-user] Custom List Control Message-ID: Hello, I am working on a simple, custom control similar to the ListBox using a ListContainer and TextLabels. I am using these two items because the default ListBox control (and every other list) don't seem to support text wrapping or fonts. Everything seems to be going well, however I am unable to find a method to make the ListContainer scroll to a speici item in code. When i add a new item, I would like it to be scrolled to so it is visible. Normally, this would be accomplished with the .Index property in the ListBox, but this does not have the same affect in a ListContainer. Any ideas on how I could get this to work? Gambas Version: 3.5.4 Thanks, Patrick From gambas at ...2524... Wed Jul 29 21:41:10 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Jul 2015 19:41:10 +0000 Subject: [Gambas-user] Issue 630 in gambas: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) In-Reply-To: <1-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.7.0 Comment #2 on issue 630 by benoit.m... at ...626...: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) https://code.google.com/p/gambas/issues/detail?id=630 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Jul 29 21:44:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Jul 2015 19:44:32 +0000 Subject: [Gambas-user] Issue 630 in gambas: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) In-Reply-To: <2-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 630 by benoit.m... at ...626...: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) https://code.google.com/p/gambas/issues/detail?id=630 It's fixed in revision #7191. No idea why I closed the library when a symbol was not found... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Wed Jul 29 21:45:02 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 29 Jul 2015 21:45:02 +0200 Subject: [Gambas-user] Extensible Image Viewer In-Reply-To: References: <20150728023944.GC659@...2774...> <20150729171349.GB647@...2774...> <55B928FA.4070907@...1...> Message-ID: <55B92D3E.50902@...1...> Le 29/07/2015 21:31, Alexie a ?crit : > Hi Benoit, > > Before you release 3.8, is it possible to look at issue 630? Should be > an issue fix i think. > > https://code.google.com/p/gambas/issues/detail?id=630 > > Regards and Thanks, > Alex > Fixed! -- Beno?t Minisini From gambas at ...2524... Wed Jul 29 21:45:52 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 29 Jul 2015 19:45:52 +0000 Subject: [Gambas-user] Issue 630 in gambas: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) In-Reply-To: <3-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> <0-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4829261378372328993-gambas=googlecode.com@...2524...> Comment #4 on issue 630 by uAle... at ...626...: Gambas signal 11 on external calls, if a previous call (function doesn't exist in library) https://code.google.com/p/gambas/issues/detail?id=630 Thanks for the quick fix! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Wed Jul 29 21:40:57 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 29 Jul 2015 21:40:57 +0200 Subject: [Gambas-user] Extensible Image Viewer In-Reply-To: <55B928FA.4070907@...1...> References: <20150728023944.GC659@...2774...> <20150729171349.GB647@...2774...> <55B928FA.4070907@...1...> Message-ID: <20150729194057.GD647@...2774...> On Wed, 29 Jul 2015, Beno?t Minisini wrote: > Le 29/07/2015 19:13, Tobias Boege a ?crit : > > On Tue, 28 Jul 2015, Tobias Boege wrote: > >> Extensibility is accomplished by a plugin system (the base code for this > >> is also in the software farm for some days now, it's called "Plugins"). > >> It's a bit of a hack but works nicely for my purposes. > >> > > > > I tried to use the thing outside of the IDE today for the first time and had > > to realise that the plugins need the attached patch to the interpreter which > > allows to load libraries (Component.Load()) from arbitrary absolute paths > > even if the interpreter is not in debugging mode. Normally Component.Load() > > is only permitted from /bin or /usr/bin, AFAICS. > > > > Benoit, is that a security feature or something? > > > > Regards, > > Tobi > > > > Let's say it's some sort of security thing... > > I wanted to release 3.8 this week, before going on holidays for two > weeks. So any change related to component loading will be for the next > version. > Fine with me. I just committed some changes to gb.ncurses which were lying around here since the Sourceforge incident. > Moreover, please explain what that plugin files are, and why the IDE > should support them? > It shouldn't. They are very specific files for my project. But since it's Gambas code I wanted to have it highlighted while I wrote it. I attached the IDE patch just for curious people who want to study the code in more detail (and with syntax highlighting). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Jul 29 21:46:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 29 Jul 2015 21:46:49 +0200 Subject: [Gambas-user] Custom List Control In-Reply-To: References: Message-ID: <55B92DA9.7070400@...1...> Le 29/07/2015 21:38, Patrick Wright a ?crit : > Hello, > > I am working on a simple, custom control similar to the ListBox using a > ListContainer and TextLabels. I am using these two items because the > default ListBox control (and every other list) don't seem to support text > wrapping or fonts. > > Everything seems to be going well, however I am unable to find a method to > make the ListContainer scroll to a speici item in code. When i add a new > item, I would like it to be scrolled to so it is visible. Normally, this > would be accomplished with the .Index property in the ListBox, but this > does not have the same affect in a ListContainer. > > Any ideas on how I could get this to work? > > Gambas Version: 3.5.4 > > Thanks, > Patrick ListContainer has been deprecated since, mainly because of such limits. I suggest that you remake your control based a GridView or a ScrollArea. Can't you use a more recent version of Gambas anyway? Regards, -- Beno?t Minisini From nando_f at ...951... Thu Jul 30 03:00:10 2015 From: nando_f at ...951... (nando) Date: Wed, 29 Jul 2015 21:00:10 -0400 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <55B92B79.3030905@...1...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> <55B91808.80209@...1...> <20150729191406.M78@...951...> <55B92B79.3030905@...1...> Message-ID: <20150730005954.M79327@...951...> SWEET! Thank you Benoit. ---------- Original Message ----------- From: Beno?t Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Wed, 29 Jul 2015 21:37:29 +0200 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > Le 29/07/2015 21:15, nando a ?crit : > > Thanks guys, > > I was in 'C' mode and needed the size of a structure. > > > > Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? > > wishing out loud. > > > > Thanks! > > DOH! > > -Nando > > If you a pointer to the structure, just use Object.SizeOf() to know its > size in memory. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nando_f at ...951... Thu Jul 30 03:21:09 2015 From: nando_f at ...951... (nando) Date: Wed, 29 Jul 2015 21:21:09 -0400 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <20150730005954.M79327@...951...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> <55B91808.80209@...1...> <20150729191406.M78@...951...> <55B92B79.3030905@...1...> <20150730005954.M79327@...951...> Message-ID: <20150730011617.M3152@...951...> Benoit, Perhaps you could provide an example. I find nothing for the correct syntax/use. For example... Private p As Pointer Public Struct EmployeeStruct FirstName as String Age as integer End Struct Public AnEmployee as EmployeeStruct AnEmployee = New EmployeeStruct p = AnEmployee Print p.Sizeof() 'run-time error -N ---------- Original Message ----------- From: "nando" To: mailing list for gambas users Sent: Wed, 29 Jul 2015 21:00:10 -0400 Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > SWEET! > Thank you Benoit. > > ---------- Original Message ----------- > From: Beno?t Minisini > To: nando_f at ...951..., mailing list for gambas users > > Sent: Wed, 29 Jul 2015 21:37:29 +0200 > Subject: Re: [Gambas-user] Print SizeOf(t) 't is a string > > > Le 29/07/2015 21:15, nando a ?crit : > > > Thanks guys, > > > I was in 'C' mode and needed the size of a structure. > > > > > > Perhaps, Benoit, sizeof(a string, or a struct) can do exactly that? > > > wishing out loud. > > > > > > Thanks! > > > DOH! > > > -Nando > > > > If you a pointer to the structure, just use Object.SizeOf() to know its > > size in memory. > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From adamnt42 at ...626... Thu Jul 30 04:40:17 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 30 Jul 2015 12:10:17 +0930 Subject: [Gambas-user] Print SizeOf(t) 't is a string In-Reply-To: <20150730011617.M3152@...951...> References: <51DFA9D5.4050800@...169...> <51E0F146.6000406@...1950...> <51E10019.2090804@...1...> <20150729175720.M1317@...951...> <55B91808.80209@...1...> <20150729191406.M78@...951...> <55B92B79.3030905@...1...> <20150730005954.M79327@...951...> <20150730011617.M3152@...951...> Message-ID: <20150730121017.995c44124317997c92ef7f02@...626...> On Wed, 29 Jul 2015 21:21:09 -0400 "nando" wrote: > Benoit, > Perhaps you could provide an example. I find nothing for the correct syntax/use. > > For example... > > Private p As Pointer > > Public Struct EmployeeStruct > FirstName as String > Age as integer > End Struct > > Public AnEmployee as EmployeeStruct > > AnEmployee = New EmployeeStruct > > p = AnEmployee > > Print p.Sizeof() 'run-time error > > -N > See the wiki help. I have added an example. http://gambaswiki.org/wiki/comp/gb/object b -- B Bruen From gambas at ...1... Thu Jul 30 04:55:05 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Jul 2015 04:55:05 +0200 Subject: [Gambas-user] Bug in ide using datacomboview In-Reply-To: <55AF6DEC.3040302@...3466...> References: <55AF6DEC.3040302@...3466...> Message-ID: <55B99209.7020509@...1...> Le 22/07/2015 12:18, Marco Ancillotti a ?crit : > > Hi all , > > from the ide when using datacomboview opening columns list show field of > base table , not the table chosed from control table field. > > Setting right fields changing .form work perfectly so I think is an ide > problem. > > bye, > marco. > It's fixed in revision #7192. Regards, -- Beno?t Minisini From gambas at ...3466... Thu Jul 30 07:59:06 2015 From: gambas at ...3466... (Marco Ancillotti) Date: Thu, 30 Jul 2015 07:59:06 +0200 Subject: [Gambas-user] Bug in ide using datacomboview In-Reply-To: <55B99209.7020509@...1...> References: <55AF6DEC.3040302@...3466...> <55B99209.7020509@...1...> Message-ID: <55B9BD2A.3070102@...3466...> Thank's a lot ! Il 30/07/2015 04:55, Beno?t Minisini ha scritto: > Le 22/07/2015 12:18, Marco Ancillotti a ?crit : >> Hi all , >> >> from the ide when using datacomboview opening columns list show field of >> base table , not the table chosed from control table field. >> >> Setting right fields changing .form work perfectly so I think is an ide >> problem. >> >> bye, >> marco. >> > It's fixed in revision #7192. > > Regards, > From taboege at ...626... Thu Jul 30 13:42:31 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 30 Jul 2015 13:42:31 +0200 Subject: [Gambas-user] New wiki stylesheet Message-ID: <20150730114230.GA749@...2774...> Hi Benoit, I heard complaints that the new wiki style has - a too small font and - that the colours are not as "appealing" as before. While the first could be easy to fix, I'm not sure about the second. Has anyone opinions? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From patrickfrog at ...626... Thu Jul 30 14:54:00 2015 From: patrickfrog at ...626... (Patrick Wright) Date: Thu, 30 Jul 2015 07:54:00 -0500 Subject: [Gambas-user] Custom List Control In-Reply-To: <55B92DA9.7070400@...1...> References: <55B92DA9.7070400@...1...> Message-ID: I was unaware I was using an outdated version of Gambas. I added the repository for the most recent stable release (or so I thought) to Ubuntu. I will look into using a GridView of ScrollArea. Thanks, Patrick On Jul 29, 2015, at 2:46 PM, Beno?t Minisini wrote: > Le 29/07/2015 21:38, Patrick Wright a ?crit : >> Hello, >> >> I am working on a simple, custom control similar to the ListBox using a >> ListContainer and TextLabels. I am using these two items because the >> default ListBox control (and every other list) don't seem to support text >> wrapping or fonts. >> >> Everything seems to be going well, however I am unable to find a method to >> make the ListContainer scroll to a speici item in code. When i add a new >> item, I would like it to be scrolled to so it is visible. Normally, this >> would be accomplished with the .Index property in the ListBox, but this >> does not have the same affect in a ListContainer. >> >> Any ideas on how I could get this to work? >> >> Gambas Version: 3.5.4 >> >> Thanks, >> Patrick > > ListContainer has been deprecated since, mainly because of such limits. I suggest that you remake your control based a GridView or a ScrollArea. > > Can't you use a more recent version of Gambas anyway? > > Regards, > > -- > Beno?t Minisini > > From jussi.lahtinen at ...626... Thu Jul 30 15:14:25 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 30 Jul 2015 16:14:25 +0300 Subject: [Gambas-user] New wiki stylesheet In-Reply-To: <20150730114230.GA749@...2774...> References: <20150730114230.GA749@...2774...> Message-ID: I think the font is bit too thin to be pleasant to read. I miss the search functionality. It could be as simple as redirection to https://www.google.com/#q=site:gambaswiki.org+ Jussi On Thu, Jul 30, 2015 at 2:42 PM, Tobias Boege wrote: > Hi Benoit, > > I heard complaints that the new wiki style has > > - a too small font and > - that the colours are not as "appealing" as before. > > While the first could be easy to fix, I'm not sure about the second. > > Has anyone opinions? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Jul 30 15:30:03 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 30 Jul 2015 16:30:03 +0300 Subject: [Gambas-user] Crash with datebox Message-ID: Pressing any key on DateBox causes crash on latest revision. See the error message from attached picture. You can reproduce the problem with attached project. Just select new alarm, select the upper datebox and press any key on it. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=7985M [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+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 Qt5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-sVrvXyaEOd,guid=a1cce4ff6f3cf302eb6f238a55ba1cfa DEFAULTS_PATH=/usr/share/gconf/default.default.path DESKTOP_SESSION=default DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=default GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/home/jussi/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=14787 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-G50Lqz GPG_AGENT_INFO=/run/user/1000/keyring-G50Lqz/gpg:0:1 GTK_IM_MODULE=xim HOME=/home/jussi INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME=jussi MANDATORY_PATH=/usr/share/gconf/default.mandatory.path MDMSESSION=default MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD=/home/jussi QT4_IM_MODULE=xim SESSION_MANAGER=local/Pekka:@ /tmp/.ICE-unix/1571,unix/Pekka:/tmp/.ICE-unix/1571 SHELL=/bin/bash SSH_AGENT_PID=1647 SSH_AUTH_SOCK=/run/user/1000/keyring-G50Lqz/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER=jussi USERNAME=jussi WINDOWPATH=8 XAUTHORITY=/home/jussi/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1438260474.485584-579058014 XDG_SESSION_DESKTOP=default XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@im=none Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: GAlarm-0.1.54.tar.gz Type: application/x-gzip Size: 43074 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-07-30 16:23:16.png Type: image/png Size: 27594 bytes Desc: not available URL: From gambas at ...1... Thu Jul 30 15:30:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Jul 2015 15:30:27 +0200 Subject: [Gambas-user] New wiki stylesheet In-Reply-To: References: <20150730114230.GA749@...2774...> Message-ID: <55BA26F3.6080100@...1...> Le 30/07/2015 15:14, Jussi Lahtinen a ?crit : > I think the font is bit too thin to be pleasant to read. > I miss the search functionality. It could be as simple as redirection to > https://www.google.com/#q=site:gambaswiki.org+ > > > Jussi > It's just a try. There was no font before (it was using the default font of the browser), I can easily remove it. I will add a search functionality, but I don't know when. Regards, -- Beno?t Minisini From gambas at ...1... Thu Jul 30 16:34:11 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Jul 2015 16:34:11 +0200 Subject: [Gambas-user] New wiki stylesheet In-Reply-To: <55BA26F3.6080100@...1...> References: <20150730114230.GA749@...2774...> <55BA26F3.6080100@...1...> Message-ID: <55BA35E3.9020706@...1...> Le 30/07/2015 15:30, Beno?t Minisini a ?crit : > Le 30/07/2015 15:14, Jussi Lahtinen a ?crit : >> I think the font is bit too thin to be pleasant to read. >> I miss the search functionality. It could be as simple as redirection to >> https://www.google.com/#q=site:gambaswiki.org+ >> >> >> Jussi >> > > It's just a try. There was no font before (it was using the default font > of the browser), I can easily remove it. > > I will add a search functionality, but I don't know when. > > Regards, > ...I was searching a "cool" font for Gambas web sites. -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jul 30 16:35:24 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 30 Jul 2015 16:35:24 +0200 Subject: [Gambas-user] New wiki stylesheet In-Reply-To: References: <20150730114230.GA749@...2774...> Message-ID: <1438266924.3889.2.camel@...40...> Am Donnerstag, den 30.07.2015, 16:14 +0300 schrieb Jussi Lahtinen: > I think the font is bit too thin to be pleasant to read. > I miss the search functionality. It could be as simple as redirection to > https://www.google.com/#q=site:gambaswiki.org+ > > > Jussi > > On Thu, Jul 30, 2015 at 2:42 PM, Tobias Boege wrote: > > > Hi Benoit, > > > > I heard complaints that the new wiki style has > > > > - a too small font and > > - that the colours are not as "appealing" as before. > > > > While the first could be easy to fix, I'm not sure about the second. > > > > Has anyone opinions? > > > > Regards, > > Tobi > > > > -- > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > Salut Jussi, you can use SearchBrowser2 from the Softwarefarm, it is made to do that. -- Amicalement Charlie From patrickfrog at ...626... Thu Jul 30 18:55:34 2015 From: patrickfrog at ...626... (Patrick Wright) Date: Thu, 30 Jul 2015 11:55:34 -0500 Subject: [Gambas-user] Custom List Control In-Reply-To: References: <55B92DA9.7070400@...1...> Message-ID: <9F42A8A5-9F0C-440D-9088-527EFD8494B0@...626...> Alright, I have inherited a ScrollArea in my new control and have made sure to set is .ScrollBar property to Scroll.Vertical. However, when I call my Add member function which creates a new instance of a TextLabel with Me as the parent, it does not cause the scroll bar to appear when the items overflow the current view. This is odd because I can replicate the same code in a simple form outside of the control and everything works correctly. Do you know why this would be occurring? Patrick On Jul 30, 2015, at 7:54 AM, Patrick Wright wrote: > I was unaware I was using an outdated version of Gambas. I added the repository for the most recent stable release (or so I thought) to Ubuntu. I will look into using a GridView of ScrollArea. > > Thanks, > Patrick > > On Jul 29, 2015, at 2:46 PM, Beno?t Minisini wrote: > >> Le 29/07/2015 21:38, Patrick Wright a ?crit : >>> Hello, >>> >>> I am working on a simple, custom control similar to the ListBox using a >>> ListContainer and TextLabels. I am using these two items because the >>> default ListBox control (and every other list) don't seem to support text >>> wrapping or fonts. >>> >>> Everything seems to be going well, however I am unable to find a method to >>> make the ListContainer scroll to a speici item in code. When i add a new >>> item, I would like it to be scrolled to so it is visible. Normally, this >>> would be accomplished with the .Index property in the ListBox, but this >>> does not have the same affect in a ListContainer. >>> >>> Any ideas on how I could get this to work? >>> >>> Gambas Version: 3.5.4 >>> >>> Thanks, >>> Patrick >> >> ListContainer has been deprecated since, mainly because of such limits. I suggest that you remake your control based a GridView or a ScrollArea. >> >> Can't you use a more recent version of Gambas anyway? >> >> Regards, >> >> -- >> Beno?t Minisini >> >> > > From patrickfrog at ...626... Thu Jul 30 19:20:30 2015 From: patrickfrog at ...626... (Patrick Wright) Date: Thu, 30 Jul 2015 12:20:30 -0500 Subject: [Gambas-user] UDP Segmentation Fault Message-ID: <1E5EA4EF-D4EA-4AD2-8B66-82037CDD8F6D@...626...> I am either doing something incorrectly or there is a bug with UDP sockets in Gambas. I have created a new instance of a UDPSocket, set its Port property, and called the Bind method. I have an event handler for the Read event on this socket. In this method I am simply using Read #MySocket, Val, Lof(MySocket) to get the data that was sent. Up to this point everything works as intended, however when I try to send a reply using Write, the program crashes and Ubuntu gives a Segmentation Fault. I have tried using the Begin and Send methods, but this causes the same error. Am I going about this the wrong way? Gambas Version: 3.7.1 Thanks, Patrick From gambas at ...1... Thu Jul 30 19:57:18 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 30 Jul 2015 19:57:18 +0200 Subject: [Gambas-user] UDP Segmentation Fault In-Reply-To: <1E5EA4EF-D4EA-4AD2-8B66-82037CDD8F6D@...626...> References: <1E5EA4EF-D4EA-4AD2-8B66-82037CDD8F6D@...626...> Message-ID: <55BA657E.1060808@...1...> Le 30/07/2015 19:20, Patrick Wright a ?crit : > I am either doing something incorrectly or there is a bug with UDP > sockets in Gambas. I have created a new instance of a UDPSocket, > set its Port property, and called the Bind method. > > I have an event handler for the Read event on this socket. In this > method I am simply using Read #MySocket, Val, Lof(MySocket) to get > the data that was sent. Up to this point everything works as > intended, however when I try to send a reply using Write, the program > crashes and Ubuntu gives a Segmentation Fault. I have tried using the > Begin and Send methods, but this causes the same error. > > Am I going about this the wrong way? > > Gambas Version: 3.7.1 > > Thanks, Patrick As usual, send your project and a way to reproduce the crash and I will try to fix it. Be quick, as I leave Paris in a few days! -- Beno?t Minisini From lewis at ...3412... Thu Jul 30 22:47:26 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 30 Jul 2015 15:47:26 -0500 Subject: [Gambas-user] New wiki stylesheet In-Reply-To: <55BA35E3.9020706@...1...> References: <20150730114230.GA749@...2774...> <55BA26F3.6080100@...1...> <55BA35E3.9020706@...1...> Message-ID: <55BA8D5E.5050307@...3412...> The font may be one of those things that falls under, "If it ain't broke ...." On 07/30/2015 09:34 AM, Beno?t Minisini wrote: > Le 30/07/2015 15:30, Beno?t Minisini a ?crit : >> Le 30/07/2015 15:14, Jussi Lahtinen a ?crit : >>> I think the font is bit too thin to be pleasant to read. >>> I miss the search functionality. It could be as simple as redirection to >>> https://www.google.com/#q=site:gambaswiki.org+ >>> >>> >>> Jussi >>> >> It's just a try. There was no font before (it was using the default font >> of the browser), I can easily remove it. >> >> I will add a search functionality, but I don't know when. >> >> Regards, >> > ...I was searching a "cool" font for Gambas web sites. > From gambas.fr at ...626... Fri Jul 31 16:28:46 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 31 Jul 2015 16:28:46 +0200 Subject: [Gambas-user] Custom List Control In-Reply-To: <9F42A8A5-9F0C-440D-9088-527EFD8494B0@...626...> References: <55B92DA9.7070400@...1...> <9F42A8A5-9F0C-440D-9088-527EFD8494B0@...626...> Message-ID: I suggest you to download canvas sources, and open gb.gui.base in the comp directory with the ide. In this component you will see how listbox, treeview, iconview, and many more are made using scrollingarea, gridview (in gambas too), and the paint class. For your need I suggest you to be based on the gridview like gambas do. And use the grid view wordwrap and cells font to manage fonts. Le 30 juil. 2015 18:56, "Patrick Wright" a ?crit : > Alright, I have inherited a ScrollArea in my new control and have made > sure to set is .ScrollBar property to Scroll.Vertical. However, when I > call my Add member function which creates a new instance of a TextLabel > with Me as the parent, it does not cause the scroll bar to appear when the > items overflow the current view. This is odd because I can replicate the > same code in a simple form outside of the control and everything works > correctly. > > Do you know why this would be occurring? > > Patrick > > On Jul 30, 2015, at 7:54 AM, Patrick Wright wrote: > > > I was unaware I was using an outdated version of Gambas. I added the > repository for the most recent stable release (or so I thought) to Ubuntu. > I will look into using a GridView of ScrollArea. > > > > Thanks, > > Patrick > > > > On Jul 29, 2015, at 2:46 PM, Beno?t Minisini < > gambas at ...1...> wrote: > > > >> Le 29/07/2015 21:38, Patrick Wright a ?crit : > >>> Hello, > >>> > >>> I am working on a simple, custom control similar to the ListBox using a > >>> ListContainer and TextLabels. I am using these two items because the > >>> default ListBox control (and every other list) don't seem to support > text > >>> wrapping or fonts. > >>> > >>> Everything seems to be going well, however I am unable to find a > method to > >>> make the ListContainer scroll to a speici item in code. When i add a > new > >>> item, I would like it to be scrolled to so it is visible. Normally, > this > >>> would be accomplished with the .Index property in the ListBox, but this > >>> does not have the same affect in a ListContainer. > >>> > >>> Any ideas on how I could get this to work? > >>> > >>> Gambas Version: 3.5.4 > >>> > >>> Thanks, > >>> Patrick > >> > >> ListContainer has been deprecated since, mainly because of such limits. > I suggest that you remake your control based a GridView or a ScrollArea. > >> > >> Can't you use a more recent version of Gambas anyway? > >> > >> Regards, > >> > >> -- > >> Beno?t Minisini > >> > >> > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Jul 31 21:41:03 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 31 Jul 2015 22:41:03 +0300 Subject: [Gambas-user] Crash with datebox In-Reply-To: References: Message-ID: For some reason the crash does not occur when the project is run in IDE!? Only when it is run as executable. Jussi On Thu, Jul 30, 2015 at 4:30 PM, Jussi Lahtinen wrote: > Pressing any key on DateBox causes crash on latest revision. See the error > message from attached picture. > You can reproduce the problem with attached project. > Just select new alarm, select the upper datebox and press any key on it. > > [System] > Gambas=3.7.90 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.1 Rebecca > Desktop=GNOME > Theme=Gtk > Language=en_US.UTF-8 > Memory=7985M > [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+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 > Qt5=libQt5Core.so.5.2.1 > SDL=libSDL-1.2.so.0.11.4 > [Environment] > CLUTTER_IM_MODULE=xim > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-sVrvXyaEOd,guid=a1cce4ff6f3cf302eb6f238a55ba1cfa > DEFAULTS_PATH=/usr/share/gconf/default.default.path > DESKTOP_SESSION=default > DISPLAY=:0.0 > GB_GUI=gb.qt4 > GB_PROFILE_MAX=1000 > GDMSESSION=default > GDM_XSERVER_LOCATION=local > GIO_LAUNCHED_DESKTOP_FILE=/home/jussi/Desktop/Gambas3.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=14787 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-G50Lqz > GPG_AGENT_INFO=/run/user/1000/keyring-G50Lqz/gpg:0:1 > GTK_IM_MODULE=xim > HOME=/home/jussi > INSIDE_NEMO_PYTHON= > LANG=en_US.UTF-8 > LC_ADDRESS=fi_FI.UTF-8 > LC_IDENTIFICATION=fi_FI.UTF-8 > LC_MEASUREMENT=fi_FI.UTF-8 > LC_MONETARY=fi_FI.UTF-8 > LC_NAME=fi_FI.UTF-8 > LC_NUMERIC=fi_FI.UTF-8 > LC_PAPER=fi_FI.UTF-8 > LC_TELEPHONE=fi_FI.UTF-8 > LC_TIME=en_US.UTF-8 > LOGNAME=jussi > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path > MDMSESSION=default > MDM_LANG=en_US.UTF-8 > MDM_XSERVER_LOCATION=local > PAPERSIZE=letter > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD=/home/jussi > QT4_IM_MODULE=xim > SESSION_MANAGER=local/Pekka:@ > /tmp/.ICE-unix/1571,unix/Pekka:/tmp/.ICE-unix/1571 > SHELL=/bin/bash > SSH_AGENT_PID=1647 > SSH_AUTH_SOCK=/run/user/1000/keyring-G50Lqz/ssh > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > USER=jussi > USERNAME=jussi > WINDOWPATH=8 > XAUTHORITY=/home/jussi/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg > XDG_CURRENT_DESKTOP=X-Cinnamon > > XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > > XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1438260474.485584-579058014 > XDG_SESSION_DESKTOP=default > XDG_SESSION_ID=c1 > XDG_VTNR=8 > XMODIFIERS=@im=none > > > > Jussi >