From adamnt42 at ...626... Fri Jan 1 00:01:50 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 1 Jan 2016 09:31:50 +1030 Subject: [Gambas-user] =?iso-8859-1?q?=40Beno=EEt?= Message-ID: <20160101093150.73c0623b77b1c2e9ec68b0d7@...626...> Hi, and happy new year. Just to start off everything right here :-(, I have inadvertently deleted every copy of my logins and passwords to everything :-( Could you delete me from the wiki and farm please - users b.bruen and/or bbruen so I can reregister. thanks b -- B Bruen From gambas.fr at ...626... Fri Jan 1 03:52:27 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 1 Jan 2016 03:52:27 +0100 Subject: [Gambas-user] SimpleEval In-Reply-To: <1451569620307-55141.post@...3046...> References: <1451398716924-55114.post@...3046...> <1451493467401-55134.post@...3046...> <1451548186770-55138.post@...3046...> <1451569620307-55141.post@...3046...> Message-ID: Le 31 d?c. 2015 15:36, "Charlie" a ?crit : > > This is working out well! Your code can handle some complex maths. > Is there any way to handle negative numbers? If an answer is negative it > works but if you input "*-5*6*" it does not work. > I have also attached my code, still in development, so you can see what I am > doing with your code. > > gbCalculator.tar > > It's a bug... I will correct that. > > -- > View this message in context: http://gambas.8142.n7.nabble.com/SimpleEval-tp55114p55141.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 gambas.fr at ...626... Fri Jan 1 16:12:47 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 1 Jan 2016 16:12:47 +0100 Subject: [Gambas-user] Happy New Year Message-ID: i wish to all Gambas Users a happy new year -- Fabien Bodard From shordi at ...626... Sat Jan 2 12:20:38 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 2 Jan 2016 12:20:38 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: References: Message-ID: Add myself to the good wishes: Happy new year! 2016-01-01 16:12 GMT+01:00 Fabien Bodard : > i wish to all Gambas Users a happy new year > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jan 2 12:32:39 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Jan 2016 12:32:39 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: References: Message-ID: <5687B557.1090402@...1...> Yeah, happy new year to everyone! And may all these stupid germs let us alone... ATCHA! -- Beno?t Minisini From shordi at ...626... Sat Jan 2 12:36:56 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 2 Jan 2016 12:36:56 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: <5687B557.1090402@...1...> References: <5687B557.1090402@...1...> Message-ID: Bed & hot milk with honey, Benoit. It's my grandma solution... 2016-01-02 12:32 GMT+01:00 Beno?t Minisini : > Yeah, happy new year to everyone! And may all these stupid germs let us > alone... ATCHA! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jan 2 12:42:32 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 2 Jan 2016 12:42:32 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: References: <5687B557.1090402@...1...> Message-ID: <5687B7A8.3020406@...1...> Le 02/01/2016 12:36, Jorge Carri?n a ?crit : > Bed & hot milk with honey, Benoit. It's my grandma solution... > Thanks. Alas this is a bronchitis, so it's a lot of antibiotics now. -- Beno?t Minisini From d4t4full at ...626... Sat Jan 2 14:21:40 2016 From: d4t4full at ...626... (...) Date: Sat, 02 Jan 2016 10:21:40 -0300 Subject: [Gambas-user] Happy New Year In-Reply-To: <5687B7A8.3020406@...1...> References: <5687B557.1090402@...1...> <5687B7A8.3020406@...1...> Message-ID: Happy new year to everybody and, to Beno?t, a quick recover! zxMarce On Jan 2, 2016, 08:43, at 08:43, "Beno?t Minisini" wrote: >Le 02/01/2016 12:36, Jorge Carri?n a ?crit : >> Bed & hot milk with honey, Benoit. It's my grandma solution... >> > >Thanks. Alas this is a bronchitis, so it's a lot of antibiotics now. > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From moviga at ...3488... Sat Jan 2 14:53:54 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 02 Jan 2016 14:53:54 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: <5687B7A8.3020406@...1...> References: <5687B557.1090402@...1...> <5687B7A8.3020406@...1...> Message-ID: > Thanks. Alas this is a bronchitis, so it's a lot of antibiotics now. Perhaps running too much code, and too little legs :) Happy new year fellow Gambasers! From vuott at ...325... Sat Jan 2 15:39:59 2016 From: vuott at ...325... (Ru Vuott) Date: Sat, 2 Jan 2016 14:39:59 +0000 (UTC) Subject: [Gambas-user] R: Happy New Year References: <1819835852.9016778.1451745599587.JavaMail.yahoo.ref@...3424...> Message-ID: <1819835852.9016778.1451745599587.JavaMail.yahoo@...3424...> Thank you, happy new year. Grazie, buon anno ! vuott -------------------------------------------- Ven 1/1/16, Fabien Bodard ha scritto: Oggetto: [Gambas-user] Happy New Year A: gambas-user at lists.sourceforge.net Data: Venerd? 1 gennaio 2016, 16:12 i wish to all Gambas Users a happy new year -- Fabien Bodard ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Sun Jan 3 12:04:18 2016 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 3 Jan 2016 12:04:18 +0100 Subject: [Gambas-user] R: Happy New Year In-Reply-To: <1819835852.9016778.1451745599587.JavaMail.yahoo@...3424...> References: <1819835852.9016778.1451745599587.JavaMail.yahoo.ref@...3424...> <1819835852.9016778.1451745599587.JavaMail.yahoo@...3424...> Message-ID: Happy new year 2016 !!! ?? Feliz a?o nuevo 2016!!! Regards 2016-01-02 15:39 GMT+01:00 Ru Vuott : > Thank you, happy new year. > > Grazie, buon anno ! > > vuott > > > > -------------------------------------------- > Ven 1/1/16, Fabien Bodard ha scritto: > > Oggetto: [Gambas-user] Happy New Year > A: gambas-user at lists.sourceforge.net > Data: Venerd? 1 gennaio 2016, 16:12 > > i wish to all Gambas Users a happy > new year > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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 chrisml at ...3340... Sun Jan 3 14:20:58 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 3 Jan 2016 14:20:58 +0100 Subject: [Gambas-user] Happy New Year In-Reply-To: <5687B557.1090402@...1...> References: <5687B557.1090402@...1...> Message-ID: <5689203A.4000207@...3340...> Am 02.01.2016 um 12:32 schrieb Beno?t Minisini: > Yeah, happy new year to everyone! And may all these stupid germs let us > alone... ATCHA! Also happy new year everybody and Beno?t, get well soon! My mother likes lemon juice in hot water with chayenne pepper in such moments. I prefer hot beer with honey and go to bed but I'm quite alone. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From gambas at ...1... Sun Jan 3 17:50:48 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 3 Jan 2016 17:50:48 +0100 Subject: [Gambas-user] Custom expression evaluator in rev. 7545 Message-ID: <56895168.6040806@...1...> Hi, In revision #7545, it is now possible to inherit the Expression class to customize the expression evaluator. It works that way: ' Gambas class file Inherits Expression Static Public Sub IsIdentifier(Name As String) As Boolean ' Return if 'Name' is an allowed identifier. End Static Public Sub IsSubr(Name As String) As Boolean ' Return if a the 'Name' Gambas subroutine is allowed. End Public Sub GetValue(Name As String) As Variant Return the value of the 'Name' identifier. End Public Sub MySubr(iVal As Integer) As Integer ' Example of a custom subroutine. The "MySubr" identifier ' must be allowed by the IsIdentifier() method. End It's mainly a present for Fabien so that he can write a simpler evaluator for the gb.report2 component, but it may be helpful for other people that need a custom evaluator. It's not possible to disable Gambas operators or reimplement their behaviour, and I don't think I would allow that. But if you have other customization needs, you can tell! Note : you can now evaluate an expression or call Eval() recursively, and it should work. But it is not well tested and may crash. Regards, -- Beno?t Minisini From bugtracker at ...3416... Mon Jan 4 03:30:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 04 Jan 2016 02:30:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #879: completion, on documentation got a extra AS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.879&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Jan 4 03:36:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 04 Jan 2016 02:36:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #2 by Beno?t MINISINI: Can you give some proof? Because gb.gui uses QT only if the KDE_FULL_SESSION environment variable is defined (it means that you are running KDE). Otherwise it uses GTK+. Unless, of course, if you didn't install or compile the gb.gtk component. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From gambas at ...1... Mon Jan 4 03:43:34 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 4 Jan 2016 03:43:34 +0100 Subject: [Gambas-user] =?utf-8?b?QEJlbm/DrnQ=?= In-Reply-To: <20160101093150.73c0623b77b1c2e9ec68b0d7@...626...> References: <20160101093150.73c0623b77b1c2e9ec68b0d7@...626...> Message-ID: <5689DC56.9060900@...1...> Le 01/01/2016 00:01, adamnt42 at ...626... a ?crit : > > Hi, and happy new year. > > Just to start off everything right here :-(, I have inadvertently deleted every copy of my logins and passwords to everything :-( > Could you delete me from the wiki and farm please - users b.bruen and/or bbruen so I can reregister. > > thanks > b > I must not delete your old account from the bugtracker, otherwise your comments will refer to an unknown user. And I will have the same problem with the farm, unless you agree to remove the softwares too. I suggest that you make your passwords from, for example, the initial or final letters of a long sentence from a poem, or any other text you know well. You just add a few numeric or symbolic characters, and you have a complex password easy to remember. Regards, -- Beno?t Minisini From bugtracker at ...3416... Mon Jan 4 10:25:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 04 Jan 2016 09:25:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #3 by Geoffrey DE BELIE: XDG_VTNR=1 MATE_DESKTOP_SESSION_ID=this-is-deprecated XDG_SESSION_ID=c1 SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash HISTSIZE=10000 GTK2_RC_FILES=/home/geoffrey/.gtkrc-2.0 GTK_MODULES=canberra-gtk-module XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 DESKTOP_SESSION=mate XDG_SESSION_TYPE=x11 LANG=nl_BE.UTF-8 GDM_LANG=nl_BE.utf8 GDMSESSION=mate XDG_SEAT=seat0 SHLVL=1 GTK_OVERLAY_SCROLLING=0 XDG_SESSION_DESKTOP=mate BROWSER=/usr/bin/xdg-open DISPLAY=:0.0 XDG_RUNTIME_DIR=/run/user/1000 XDG_CURRENT_DESKTOP=MATE From bugtracker at ...3416... Mon Jan 4 10:27:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 04 Jan 2016 09:27:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #4 by Geoffrey DE BELIE: gambas3-gb-gtk3 and gambas3-gb-gtk are installed. KDE_FULL_SESSION is not set From buster6seven at ...626... Tue Jan 5 03:17:22 2016 From: buster6seven at ...626... (Buster Seven) Date: Tue, 5 Jan 2016 13:17:22 +1100 Subject: [Gambas-user] OpenGl Message-ID: Has anybody get some sample code for setting up a opengl screen and displaying a 2d sprite loaded from and png etc? thanks Shane From gambas.fr at ...626... Tue Jan 5 11:25:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 5 Jan 2016 11:25:41 +0100 Subject: [Gambas-user] OpenGl In-Reply-To: References: Message-ID: you can see many examples in the farm. Filter on gb.opengl or OpenGL 2016-01-05 3:17 GMT+01:00 Buster Seven : > Has anybody get some sample code for setting up a opengl screen and > displaying a 2d sprite loaded from and png etc? > > thanks Shane > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From rsboykin at ...2755... Tue Jan 5 20:39:04 2016 From: rsboykin at ...2755... (Robert Boykin) Date: Tue, 5 Jan 2016 19:39:04 +0000 (UTC) Subject: [Gambas-user] How to delete a Project from Gambas References: <359582721.387394.1452022744958.JavaMail.yahoo.ref@...3424...> Message-ID: <359582721.387394.1452022744958.JavaMail.yahoo@...3424...> How can I delete a project from Gamas3 ?When I? am finished using example projects, I need to delete them to keep from building up clutter. From gambas at ...1... Tue Jan 5 21:17:01 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 5 Jan 2016 21:17:01 +0100 Subject: [Gambas-user] How to delete a Project from Gambas In-Reply-To: <359582721.387394.1452022744958.JavaMail.yahoo@...3424...> References: <359582721.387394.1452022744958.JavaMail.yahoo.ref@...3424...> <359582721.387394.1452022744958.JavaMail.yahoo@...3424...> Message-ID: <568C24BD.302@...1...> Le 05/01/2016 20:39, Robert Boykin a ?crit : > How can I delete a project from Gamas3 ?When I am finished using example projects, I need to delete them > to keep from building up clutter. > If you have installed your project from the software farm, you can delete the project from there. Otherwise, just removing the directory of the project by hand is enough. -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: uninstall.png Type: image/png Size: 202452 bytes Desc: not available URL: From gambas.fr at ...626... Tue Jan 5 21:21:27 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 5 Jan 2016 21:21:27 +0100 Subject: [Gambas-user] How to delete a Project from Gambas In-Reply-To: <359582721.387394.1452022744958.JavaMail.yahoo@...3424...> References: <359582721.387394.1452022744958.JavaMail.yahoo.ref@...3424...> <359582721.387394.1452022744958.JavaMail.yahoo@...3424...> Message-ID: go in the farm... use the installed filter... click on the choosen example... on the bottom left click on Remove 2016-01-05 20:39 GMT+01:00 Robert Boykin : > How can I delete a project from Gamas3 ?When I am finished using example projects, I need to delete them > to keep from building up clutter. > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Wed Jan 6 06:30:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 05:30:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- Comment #11 by PICCORO LENZ MCKAY: the problem now its that people supported "free" software (software or products ?) are taking practiques from mocosoft people.. masking all with "evolution" whyupdaye something that already work fine? oh yes "new" - "features" .. I telyou some:the formweb in gambas he/t are a true new feature.. but some stupids like "new api" have no real reasons.. I have Debian Lenny and works MORE FASTER well,some updates I took from squeeze and others from Jesse, please,everybody knowns that Debian its not more so faster rather in the past, got very slowly in few packages installed... iwish to thanks Benoit for made possible build gambas 3.4 and 3.5 in Lenny, and also with some trick 3.6 and 3.8.? really appreciated men! KEEP THE GOOD WORK! note: hey guys, now I m writing well right! no typing errors... I promise will going better. From bugtracker at ...3416... Wed Jan 6 06:42:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 05:42:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: maybe the ide takes priority for the qt ones, prior to gtk and remember that mate desktop mix gtk2 and gtk3 so some ide controls are available fully in qt due the mix.. Benoit based on the logic I posted maybe its a waste of time but, lets take a look: computergeoffrey tellme how u get that conclusion and how I produce that problem in my experimental mate desktop and I try to clarify this... From bugtracker at ...3416... Wed Jan 6 07:05:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 06:05:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: the current icon theme has no icon theme fallback? the icon requested for the form are not found!in last change at try to find in default (for at framework) in knower icon theme,juts like oxigen.. due there's no other "place/theme" to search the missing icon on the form.. similar problem happened some years ago in razorqt project and the solution moment's was assumed oxygen are installed.. JORNMO can u try to set manually a gnome based icon theme with valid fallback (commonly hicolor) and retest? I not have KDE 5 yet to test! post feedback in the bugtraker diretly, not answering to the mail list digest From bugtracker at ...3416... Wed Jan 6 07:09:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 06:09:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: extra note: this hapoened in gtk openbox if no icon theme are installed! so confirmed, but jornmo please fruit as I tell and then posted here feedback From bugtracker at ...3416... Wed Jan 6 12:04:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 11:04:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.882&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- pointer error c_crypt.c:122 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, I would like to forward you two issues in c_crypt.c https://qa.debian.org/bls/packages/g/gambas3.html E pointer-trouble-at-implicit c_crypt.c:122 W implicit-declaration c_window.c:563 W pointer-from-integer c_crypt.c:137 the recent gambas 3.8.4 is now on unstable and ubuntu :) they should be easily fixable, the link (I hope) should contain all the needed information. thanks a lot :D G. From bugtracker at ...3416... Wed Jan 6 12:24:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 11:24:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.882&from=L21haW4- Comment #1 by Tobias BOEGE: To add: this is about c_crypt.c in gb.crypt and c_window.c in gb.sdl2. (*Not*, e.g., c_window.c in gb.ncurses.) From bugtracker at ...3416... Wed Jan 6 12:34:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 11:34:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #10 by Moviga TECHNOLOGIES: I am sorry, but you have to work a bit more on your sentences if I am to understand what you are saying... then I can perhaps fruit what you tell me ;) From bugtracker at ...3416... Wed Jan 6 15:38:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 06 Jan 2016 14:38:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button? Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.883&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Can we have 'Unused variables' warning coming up with the run button? Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Can we have 'Unused variables' warning coming up with the run button? (The one that comes with 'Compile all' and 'Make executable'. System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From adamnt42 at ...626... Thu Jan 7 05:26:49 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 7 Jan 2016 14:56:49 +1030 Subject: [Gambas-user] Segfault with rev 7562 Message-ID: <20160107145649.939b84cdb1c993acb050b394@...626...> I getting a segfault with gbr3. It happens when running any executable archive including the IDE. The gdb output is: Program received signal SIGSEGV, Segmentation fault. EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') at gbx_exec.c:1649 1649 if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) 2: index = 0 1: desc = (CLASS_DESC *) 0x0 The routine in gbx_exec.c is : bool EXEC_special(int special, CLASS *class, void *object, int nparam, bool drop). The introductory code is: CLASS_DESC *desc; short index = class->special[special]; if (index == NO_SYMBOL) return TRUE; desc = CLASS_get_desc(class, index); if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) The problem is that index is 0, this is occurring invariably when an Object[] class is being initialised. The backtrace is: (gdb) backtrace #0 0x08078d4e in EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') at gbx_exec.c:1649 #1 0x08079acb in EXEC_new () at gbx_exec.c:1947 #2 0x08082ac4 in EXEC_loop () at gbx_exec_loop.c:916 #3 0x08076da5 in EXEC_function_loop () at gbx_exec.c:931 #4 0x0807763f in EXEC_function_real () at gbx_exec.c:895 #5 0x08051168 in CLASS_run_inits (class=0x813a994) at gbx_class_load.c:1287 #6 0x0805120e in CLASS_load_real (class=0x813a994) at gbx_class_load.c:1323 #7 0x08062f15 in ARCHIVE_load_exported_class (arch=0x80c8584, pass=1) at gbx_archive.c:192 #8 0x0807035b in COMPONENT_load_all_finish () at gbx_component.c:147 #9 0x08055da3 in PROJECT_load_finish () at gbx_project.c:486 #10 0x0806530c in init (file=file at ...2861...=0xbfffeeeb "./gambas3.gambas", argc=1, argv=0xbfffecc4) at gbx.c:103 #11 0x0804b390 in main (argc=1, argv=0xbfffecc4) at gbx.c:372 A bit more info: (gdb) disp class->special 3: class->special = {12, -1, 21, 15, -1, 22, -1, -1, -1, -1, -1, 0} (gdb) disp special 4: special = 11 i.e. index = class->special[special] is the last entry in the class->special array. and then desc = CLASS_get_desc(class, index); (gdb) disp desc 5: desc = (CLASS_DESC *) 0x0 Finally, It happens the second time that routine is called. The first call executes properly (the value of the "special" param is 0). N.B. this is on a clean copy of the gambas source, not our local version. Any other info needed? regards bruce -- B Bruen From gambas at ...1... Thu Jan 7 10:31:24 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Jan 2016 10:31:24 +0100 Subject: [Gambas-user] Segfault with rev 7562 In-Reply-To: <20160107145649.939b84cdb1c993acb050b394@...626...> References: <20160107145649.939b84cdb1c993acb050b394@...626...> Message-ID: <568E306C.9060904@...1...> Le 07/01/2016 05:26, adamnt42 at ...626... a ?crit : > I getting a segfault with gbr3. > > It happens when running any executable archive including the IDE. > > The gdb output is: > Program received signal SIGSEGV, Segmentation fault. > EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') at gbx_exec.c:1649 > 1649 if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > 2: index = 0 > 1: desc = (CLASS_DESC *) 0x0 > > The routine in gbx_exec.c is : bool EXEC_special(int special, CLASS *class, void *object, int nparam, bool drop). > The introductory code is: > CLASS_DESC *desc; > short index = class->special[special]; > > if (index == NO_SYMBOL) > return TRUE; > > desc = CLASS_get_desc(class, index); > > if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > > The problem is that index is 0, this is occurring invariably when an Object[] class is being initialised. The backtrace is: > (gdb) backtrace > #0 0x08078d4e in EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') > at gbx_exec.c:1649 > #1 0x08079acb in EXEC_new () at gbx_exec.c:1947 > #2 0x08082ac4 in EXEC_loop () at gbx_exec_loop.c:916 > #3 0x08076da5 in EXEC_function_loop () at gbx_exec.c:931 > #4 0x0807763f in EXEC_function_real () at gbx_exec.c:895 > #5 0x08051168 in CLASS_run_inits (class=0x813a994) at gbx_class_load.c:1287 > #6 0x0805120e in CLASS_load_real (class=0x813a994) at gbx_class_load.c:1323 > #7 0x08062f15 in ARCHIVE_load_exported_class (arch=0x80c8584, pass=1) at gbx_archive.c:192 > #8 0x0807035b in COMPONENT_load_all_finish () at gbx_component.c:147 > #9 0x08055da3 in PROJECT_load_finish () at gbx_project.c:486 > #10 0x0806530c in init (file=file at ...2861...=0xbfffeeeb "./gambas3.gambas", argc=1, argv=0xbfffecc4) at gbx.c:103 > #11 0x0804b390 in main (argc=1, argv=0xbfffecc4) at gbx.c:372 > > A bit more info: > (gdb) disp class->special > 3: class->special = {12, -1, 21, 15, -1, 22, -1, -1, -1, -1, -1, 0} > (gdb) disp special > 4: special = 11 > > i.e. index = class->special[special] is the last entry in the class->special array. > and then > desc = CLASS_get_desc(class, index); > > (gdb) disp desc > 5: desc = (CLASS_DESC *) 0x0 > > Finally, It happens the second time that routine is called. The first call executes properly (the value of the "special" param is 0). > > N.B. this is on a clean copy of the gambas source, not our local version. > > Any other info needed? > > regards > bruce > No problem there... The 11th special method ("_ready") has been added in revision r7541. Did you try a recompilation and reinstallation from scratch? Are you sure that you didn't have binary packages of previous gambas versions installed that you didn't uninstall? -- Beno?t Minisini From adamnt42 at ...626... Thu Jan 7 10:42:37 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 7 Jan 2016 20:12:37 +1030 Subject: [Gambas-user] Segfault with rev 7562 In-Reply-To: <568E306C.9060904@...1...> References: <20160107145649.939b84cdb1c993acb050b394@...626...> <568E306C.9060904@...1...> Message-ID: <20160107201237.5d422624a6a1a9de01f489d8@...626...> On Thu, 7 Jan 2016 10:31:24 +0100 Beno?t Minisini wrote: > Le 07/01/2016 05:26, adamnt42 at ...626... a ?crit : > > I getting a segfault with gbr3. > > > > It happens when running any executable archive including the IDE. > > > > The gdb output is: > > Program received signal SIGSEGV, Segmentation fault. > > EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') at gbx_exec.c:1649 > > 1649 if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > > 2: index = 0 > > 1: desc = (CLASS_DESC *) 0x0 > > > > The routine in gbx_exec.c is : bool EXEC_special(int special, CLASS *class, void *object, int nparam, bool drop). > > The introductory code is: > > CLASS_DESC *desc; > > short index = class->special[special]; > > > > if (index == NO_SYMBOL) > > return TRUE; > > > > desc = CLASS_get_desc(class, index); > > > > if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > > > > The problem is that index is 0, this is occurring invariably when an Object[] class is being initialised. The backtrace is: > > (gdb) backtrace > > #0 0x08078d4e in EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') > > at gbx_exec.c:1649 > > #1 0x08079acb in EXEC_new () at gbx_exec.c:1947 > > #2 0x08082ac4 in EXEC_loop () at gbx_exec_loop.c:916 > > #3 0x08076da5 in EXEC_function_loop () at gbx_exec.c:931 > > #4 0x0807763f in EXEC_function_real () at gbx_exec.c:895 > > #5 0x08051168 in CLASS_run_inits (class=0x813a994) at gbx_class_load.c:1287 > > #6 0x0805120e in CLASS_load_real (class=0x813a994) at gbx_class_load.c:1323 > > #7 0x08062f15 in ARCHIVE_load_exported_class (arch=0x80c8584, pass=1) at gbx_archive.c:192 > > #8 0x0807035b in COMPONENT_load_all_finish () at gbx_component.c:147 > > #9 0x08055da3 in PROJECT_load_finish () at gbx_project.c:486 > > #10 0x0806530c in init (file=file at ...2861...=0xbfffeeeb "./gambas3.gambas", argc=1, argv=0xbfffecc4) at gbx.c:103 > > #11 0x0804b390 in main (argc=1, argv=0xbfffecc4) at gbx.c:372 > > > > A bit more info: > > (gdb) disp class->special > > 3: class->special = {12, -1, 21, 15, -1, 22, -1, -1, -1, -1, -1, 0} > > (gdb) disp special > > 4: special = 11 > > > > i.e. index = class->special[special] is the last entry in the class->special array. > > and then > > desc = CLASS_get_desc(class, index); > > > > (gdb) disp desc > > 5: desc = (CLASS_DESC *) 0x0 > > > > Finally, It happens the second time that routine is called. The first call executes properly (the value of the "special" param is 0). > > > > N.B. this is on a clean copy of the gambas source, not our local version. > > > > Any other info needed? > > > > regards > > bruce > > > > No problem there... The 11th special method ("_ready") has been added in > revision r7541. > > Did you try a recompilation and reinstallation from scratch? > > Are you sure that you didn't have binary packages of previous gambas > versions installed that you didn't uninstall? > Could be. Tried all the usuals : make clean; make uninstall etc. I'll get back to you. Good clue though! I'll try with <7541 could be some .... Nah, I wont guess. later b > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From gambas.fr at ...626... Thu Jan 7 17:42:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Jan 2016 17:42:41 +0100 Subject: [Gambas-user] So cool :-) Message-ID: Public Sub Form_Open() Dim sMap As String MapView1.AllowEffect = False sMap = "http://apicarto-dev.sgmap.fr/maps" & "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg" MapView1.Map.AddTile("IGN", sMap).Copyright = "IGN" sMap = "http://apicarto-dev.sgmap.fr/maps" & "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELS&STYLE=bdparcellaire_b&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fpng&TRANSPARENT=TRUE';" MapView1.Map.AddTile("Cadastre", sMap).Copyright = "IGN" MapView1.Map.MaxZoom = 19 End -- Fabien Bodard From gambas at ...1... Thu Jan 7 19:46:34 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Jan 2016 19:46:34 +0100 Subject: [Gambas-user] So cool :-) In-Reply-To: References: Message-ID: <568EB28A.5090105@...1...> Le 07/01/2016 17:42, Fabien Bodard a ?crit : > Public Sub Form_Open() > > Dim sMap As String > > MapView1.AllowEffect = False > sMap = "http://apicarto-dev.sgmap.fr/maps" & > "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg" > > MapView1.Map.AddTile("IGN", sMap).Copyright = "IGN" > > sMap = "http://apicarto-dev.sgmap.fr/maps" & > "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELS&STYLE=bdparcellaire_b&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fpng&TRANSPARENT=TRUE';" > > MapView1.Map.AddTile("Cadastre", sMap).Copyright = "IGN" > MapView1.Map.MaxZoom = 19 > > > End > Toujours sur la carto ? ?a risque de m'int?resser... Ces cartes sont en WGS (je peux prendre des coordonn?es WGS84 et les mettre directement dessus) ? En plus maintenant il y a le composant gb.web.form, il m?rite bien d'avoir un contr?le "OpenStreetMap"... -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Jan 7 21:29:54 2016 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 07 Jan 2016 21:29:54 +0100 Subject: [Gambas-user] So cool :-) In-Reply-To: <568EB28A.5090105@...1...> References: <568EB28A.5090105@...1...> Message-ID: <1452198594.3588.1.camel@...40...> Am Donnerstag, den 07.01.2016, 19:46 +0100 schrieb Beno?t Minisini: > Le 07/01/2016 17:42, Fabien Bodard a ?crit : > > Public Sub Form_Open() > > > > Dim sMap As String > > > > MapView1.AllowEffect = False > > sMap = "http://apicarto-dev.sgmap.fr/maps" & > > "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg" > > > > MapView1.Map.AddTile("IGN", sMap).Copyright = "IGN" > > > > sMap = "http://apicarto-dev.sgmap.fr/maps" & > > "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELS&STYLE=bdparcellaire_b&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fpng&TRANSPARENT=TRUE';" > > > > MapView1.Map.AddTile("Cadastre", sMap).Copyright = "IGN" > > MapView1.Map.MaxZoom = 19 > > > > > > End > > > > Toujours sur la carto ? ?a risque de m'int?resser... Ces cartes sont en > WGS (je peux prendre des coordonn?es WGS84 et les mettre directement > dessus) ? > > En plus maintenant il y a le composant gb.web.form, il m?rite bien > d'avoir un contr?le "OpenStreetMap"... > Salut, hmm hmm, en anglais si vous pla?t monsieur ;?) -- Amicalement Charlie From gambas.fr at ...626... Thu Jan 7 21:35:15 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Jan 2016 21:35:15 +0100 Subject: [Gambas-user] So cool :-) In-Reply-To: <568EB28A.5090105@...1...> References: <568EB28A.5090105@...1...> Message-ID: Le 7 janvier 2016 ? 19:46, Beno?t Minisini a ?crit : > Le 07/01/2016 17:42, Fabien Bodard a ?crit : >> Public Sub Form_Open() >> >> Dim sMap As String >> >> MapView1.AllowEffect = False >> sMap = "http://apicarto-dev.sgmap.fr/maps" & >> "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg" >> >> MapView1.Map.AddTile("IGN", sMap).Copyright = "IGN" >> >> sMap = "http://apicarto-dev.sgmap.fr/maps" & >> "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELS&STYLE=bdparcellaire_b&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fpng&TRANSPARENT=TRUE';" >> >> MapView1.Map.AddTile("Cadastre", sMap).Copyright = "IGN" >> MapView1.Map.MaxZoom = 19 >> >> >> End >> > > Toujours sur la carto ? ?a risque de m'int?resser... Ces cartes sont en > WGS (je peux prendre des coordonn?es WGS84 et les mettre directement > dessus) ? oui ... Public Sub Form_Open() Dim sMap As String 'MapView1.AllowEffect = False sMap = "http://apicarto-dev.sgmap.fr/maps" & "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ORTHOIMAGERY.ORTHOPHOTOS&STYLE=normal&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fjpeg" MapView1.Map.AddTile("IGN", sMap).Copyright = "IGN" sMap = "http://apicarto-dev.sgmap.fr/maps" & "/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=CADASTRALPARCELS.PARCELS&STYLE=bdparcellaire_b&TILEMATRIXSET=PM&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&FORMAT=image%2Fpng&TRANSPARENT=TRUE';" MapView1.Map.AddTile("Cadastre", sMap).Copyright = "IGN" MapView1.Map.MaxZoom = 19 MapView1.Map.Center = MapPoint(Geo.SexToDec("45?31'32,1''N"), Geo.SexToDec("0?18'33,8''W")) MapView1.Map.Zoom = 17 MapView1.Map.AddShape("Shape") MapView1.Map!Shape.AddPoint("ChezMoi", MapPoint(45.525632, -0.309382)) End > > En plus maintenant il y a le composant gb.web.form, il m?rite bien > d'avoir un contr?le "OpenStreetMap"... Oui mais la c'est une autre paire de manche. En faite gb.map c'est du pure Gambas. Il faudrait associer un truc du genre LeafLet. Pour ce qui est de l'interface gb.map est grandement inspir? de ce dernier. Sauf que dans mon cas j'ai souhait? avoir un double niveau : Map pour g?n?rer une image statique de la carte ce qui me permet entre autre de l'utiliser dans d'autres composants. MapView qui utilise map en fournissant l'interface de gestion des ?v?nements sourie https://plus.google.com/+FabienBodard/posts/8VidmovXBZC > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Thu Jan 7 21:38:34 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 7 Jan 2016 21:38:34 +0100 Subject: [Gambas-user] So cool :-) In-Reply-To: <1452198594.3588.1.camel@...40...> References: <568EB28A.5090105@...1...> <1452198594.3588.1.camel@...40...> Message-ID: <568ECCCA.8080302@...1...> Le 07/01/2016 21:29, Charlie Reinl a ?crit : > > Salut, > > hmm hmm, en anglais si vous pla?t monsieur ;?) > Oops, sorry, I didn't notice Fabien was writing on the mailing-list... -- Beno?t Minisini From gambas.fr at ...626... Thu Jan 7 21:40:59 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Jan 2016 21:40:59 +0100 Subject: [Gambas-user] So cool :-) In-Reply-To: <1452198594.3588.1.camel@...40...> References: <568EB28A.5090105@...1...> <1452198594.3588.1.camel@...40...> Message-ID: Sorry Charlie... Now we swap on English :-) This talk was about a like i've found, to show some interresting tile layers for France cartography on gb.map. Benoit tell me it will have some interest about the same tool but for gb.web.form. But gb.map is curently writted in pure Gambas. I tell o Benoit that he need an external set of js class like leafLet or OpenLayers, to make it possible. Also gb.map is writted on a two level model that have no need for a web component. You can use independently Map without the dynamic part MapView From adamnt42 at ...626... Fri Jan 8 11:06:13 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 8 Jan 2016 20:36:13 +1030 Subject: [Gambas-user] Segfault with rev 7562 In-Reply-To: <568E306C.9060904@...1...> References: <20160107145649.939b84cdb1c993acb050b394@...626...> <568E306C.9060904@...1...> Message-ID: <20160108203613.9706ba6eefdf7100fc9697ec@...626...> Wow. I finally found it! Somehow the source (here) for gbx_class.c got corrupted with a bad character in the file. Even though svn said it was OK and updated, it was still the bad version that was being compiled. (There was an #07 character/byte in the middle of the source file - it was only visible in hexedit .... ?) C'est la vie! Sorry for the noise. best regards bruce On Thu, 7 Jan 2016 10:31:24 +0100 Beno?t Minisini wrote: > Le 07/01/2016 05:26, adamnt42 at ...626... a ?crit : > > I getting a segfault with gbr3. > > > > It happens when running any executable archive including the IDE. > > > > The gdb output is: > > Program received signal SIGSEGV, Segmentation fault. > > EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') at gbx_exec.c:1649 > > 1649 if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > > 2: index = 0 > > 1: desc = (CLASS_DESC *) 0x0 > > > > The routine in gbx_exec.c is : bool EXEC_special(int special, CLASS *class, void *object, int nparam, bool drop). > > The introductory code is: > > CLASS_DESC *desc; > > short index = class->special[special]; > > > > if (index == NO_SYMBOL) > > return TRUE; > > > > desc = CLASS_get_desc(class, index); > > > > if (CLASS_DESC_get_type(desc) == CD_STATIC_METHOD) > > > > The problem is that index is 0, this is occurring invariably when an Object[] class is being initialised. The backtrace is: > > (gdb) backtrace > > #0 0x08078d4e in EXEC_special (special=11, class=0x80ac13c, object=0x813e68c, nparam=0, drop=1 '\001') > > at gbx_exec.c:1649 > > #1 0x08079acb in EXEC_new () at gbx_exec.c:1947 > > #2 0x08082ac4 in EXEC_loop () at gbx_exec_loop.c:916 > > #3 0x08076da5 in EXEC_function_loop () at gbx_exec.c:931 > > #4 0x0807763f in EXEC_function_real () at gbx_exec.c:895 > > #5 0x08051168 in CLASS_run_inits (class=0x813a994) at gbx_class_load.c:1287 > > #6 0x0805120e in CLASS_load_real (class=0x813a994) at gbx_class_load.c:1323 > > #7 0x08062f15 in ARCHIVE_load_exported_class (arch=0x80c8584, pass=1) at gbx_archive.c:192 > > #8 0x0807035b in COMPONENT_load_all_finish () at gbx_component.c:147 > > #9 0x08055da3 in PROJECT_load_finish () at gbx_project.c:486 > > #10 0x0806530c in init (file=file at ...2861...=0xbfffeeeb "./gambas3.gambas", argc=1, argv=0xbfffecc4) at gbx.c:103 > > #11 0x0804b390 in main (argc=1, argv=0xbfffecc4) at gbx.c:372 > > > > A bit more info: > > (gdb) disp class->special > > 3: class->special = {12, -1, 21, 15, -1, 22, -1, -1, -1, -1, -1, 0} > > (gdb) disp special > > 4: special = 11 > > > > i.e. index = class->special[special] is the last entry in the class->special array. > > and then > > desc = CLASS_get_desc(class, index); > > > > (gdb) disp desc > > 5: desc = (CLASS_DESC *) 0x0 > > > > Finally, It happens the second time that routine is called. The first call executes properly (the value of the "special" param is 0). > > > > N.B. this is on a clean copy of the gambas source, not our local version. > > > > Any other info needed? > > > > regards > > bruce > > > > No problem there... The 11th special method ("_ready") has been added in > revision r7541. > > Did you try a recompilation and reinstallation from scratch? > > Are you sure that you didn't have binary packages of previous gambas > versions installed that you didn't uninstall? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- B Bruen From tercoide at ...67... Fri Jan 8 16:36:10 2016 From: tercoide at ...67... (martin p cristia) Date: Fri, 8 Jan 2016 12:36:10 -0300 Subject: [Gambas-user] Is gambas-dev list active? In-Reply-To: References: Message-ID: Is the developers list active? I subscribed to it on 30/dec and haven't received a digest. -- Saludos Ing. Martin P Cristia From gambas at ...1... Fri Jan 8 16:47:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 8 Jan 2016 16:47:30 +0100 Subject: [Gambas-user] Is gambas-dev list active? In-Reply-To: References: Message-ID: <568FDA12.5060007@...1...> Le 08/01/2016 16:36, martin p cristia a ?crit : > Is the developers list active? > > I subscribed to it on 30/dec and haven't received a digest. > It's for talking about pure development things, but the distinction with the user mailing-list is often fuzzy. So no, there's not much traffic. -- Beno?t Minisini From adrien.prokopowicz at ...626... Sat Jan 9 13:28:47 2016 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Sat, 09 Jan 2016 13:28:47 +0100 Subject: [Gambas-user] xmlreader In-Reply-To: <565C891C.3020504@...325...> References: <565877D1.7020705@...325...> <565C891C.3020504@...325...> Message-ID: Le Mon, 30 Nov 2015 18:36:28 +0100, roberto a ?crit: > bump > Is There Anybody Out There? (PF) > > follow lines Mtest.module in gambas/gb.xml/src/gb.xml/.src > > [*snip*] > > Il 27/11/2015 16:33, roberto ha scritto: >> Hi to All, >> >> I can not read an XML file with comment(s) because when the XmlReader >> reads a line of comment () then the read method go >> immediately at the end of the file and EOF is true >> >> it's a bug? >> >> Regards Hi roberto, This should be fixed in revision #7571, can you confirm ? Sorry for the late reply, I got really busy these last few months ... Regards, -- Adrien Prokopowicz From bugtracker at ...3416... Sat Jan 9 16:16:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 15:16:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #6 by Geoffrey DE BELIE: 1) echo $KDE_FULL_SESSION returns an empty line in a terminal emulator. 2) The open file dialog is clearly the Qt dialog 3) I have MATE 1.12 4) I'm currently using Manjaro Linux. This easily reproducible by installing Manjaro Linux MATE: http://iweb.dl.sourceforge.net/project/manjarotorrents/community/MATE/15.12/manjaro-mate-15.12-x86_64.iso.torrent From bugtracker at ...3416... Sat Jan 9 16:53:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 15:53:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- Comment #1 by John FORTEY: I checked on my old laptop, where gb-pdf is installed, and it used to depend on libpoppler44. The version on my old laptop is 3.7.1-24.34 The new version is 3.8.4-28.47. These versions are as shown in Muon. From bugtracker at ...3416... Sat Jan 9 16:53:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 15:53:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #7 by Beno?t MINISINI: Sorry, but with which program? From bugtracker at ...3416... Sat Jan 9 17:43:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 16:43:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #8 by Geoffrey DE BELIE: Empty project with a just a button and Dialog.OpenFile as button action. From adamnt42 at ...626... Sat Jan 9 22:28:50 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 10 Jan 2016 07:58:50 +1030 Subject: [Gambas-user] What's the best way to determine how a project was invoked? Message-ID: <20160110075850.b379c4db15c3340246332cf7@...626...> We have a set of "tools" that we use with Gambas. They are generally stand alone and are invoked "by hand" and at startup the user selects the Gambas source project to "attach" to. Now I want to provide some integration between them, i.e. allow Tool_B to be invoked from a Tool_A menu or button. In that case, I want to pass a context, i.e. the source project that is attached in Tool_A. What I want to determine is what's the best way to find out, in Tool_B "how I was invoked". Currently I think that using gb.Args and passing a specific flag option to indicate that has been invoked from another tool (I can test that with Args.Has). But I'm not sure that this is really the "best" way. Any thoughts? regards bruce -- B Bruen From gambas at ...1... Sat Jan 9 22:35:24 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 9 Jan 2016 22:35:24 +0100 Subject: [Gambas-user] What's the best way to determine how a project was invoked? In-Reply-To: <20160110075850.b379c4db15c3340246332cf7@...626...> References: <20160110075850.b379c4db15c3340246332cf7@...626...> Message-ID: <56917D1C.3080009@...1...> Le 09/01/2016 22:28, adamnt42 at ...626... a ?crit : > We have a set of "tools" that we use with Gambas. They are generally > stand alone and are invoked "by hand" and at startup the user selects > the Gambas source project to "attach" to. Now I want to provide some > integration between them, i.e. allow Tool_B to be invoked from a > Tool_A menu or button. In that case, I want to pass a context, i.e. > the source project that is attached in Tool_A. > > What I want to determine is what's the best way to find out, in > Tool_B "how I was invoked". > > Currently I think that using gb.Args and passing a specific flag > option to indicate that has been invoked from another tool (I can > test that with Args.Has). > > But I'm not sure that this is really the "best" way. Any thoughts? > > regards bruce > What's the problem with passing arguments to a program ? There is just a limit on the total size in bytes of the arguments. Run "xargs --show-limits" to get it. Regards, -- Beno?t Minisini From adamnt42 at ...626... Sat Jan 9 22:51:27 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 10 Jan 2016 08:21:27 +1030 Subject: [Gambas-user] What's the best way to determine how a project was invoked? In-Reply-To: <56917D1C.3080009@...1...> References: <20160110075850.b379c4db15c3340246332cf7@...626...> <56917D1C.3080009@...1...> Message-ID: <20160110082127.515b824192b3663e3dfd8c60@...626...> On Sat, 9 Jan 2016 22:35:24 +0100 Beno?t Minisini wrote: > Le 09/01/2016 22:28, adamnt42 at ...626... a ?crit : > > We have a set of "tools" that we use with Gambas. They are generally > > stand alone and are invoked "by hand" and at startup the user selects > > the Gambas source project to "attach" to. Now I want to provide some > > integration between them, i.e. allow Tool_B to be invoked from a > > Tool_A menu or button. In that case, I want to pass a context, i.e. > > the source project that is attached in Tool_A. > > > > What I want to determine is what's the best way to find out, in > > Tool_B "how I was invoked". > > > > Currently I think that using gb.Args and passing a specific flag > > option to indicate that has been invoked from another tool (I can > > test that with Args.Has). > > > > But I'm not sure that this is really the "best" way. Any thoughts? > > > > regards bruce > > > > What's the problem with passing arguments to a program ? There is just a > limit on the total size in bytes of the arguments. Run "xargs > --show-limits" to get it. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user OK, I just had a feeling... On another tack, the gb.Args Args class help page contains the line: "Return non-options as arguments." What does that mean? regards bruce -- B Bruen From gambas at ...1... Sat Jan 9 22:56:10 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 9 Jan 2016 22:56:10 +0100 Subject: [Gambas-user] What's the best way to determine how a project was invoked? In-Reply-To: <20160110082127.515b824192b3663e3dfd8c60@...626...> References: <20160110075850.b379c4db15c3340246332cf7@...626...> <56917D1C.3080009@...1...> <20160110082127.515b824192b3663e3dfd8c60@...626...> Message-ID: <569181FA.1020505@...1...> Le 09/01/2016 22:51, adamnt42 at ...626... a ?crit : > > On another tack, the gb.Args Args class help page contains the line: > "Return non-options as arguments." > > What does that mean? > Bad english of mine... It means that Args.End() will return a string array of all arguments that were not interpreted as options or option arguments. -- Beno?t Minisini From adamnt42 at ...626... Sat Jan 9 23:02:27 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 10 Jan 2016 08:32:27 +1030 Subject: [Gambas-user] What's the best way to determine how a project was invoked? In-Reply-To: <569181FA.1020505@...1...> References: <20160110075850.b379c4db15c3340246332cf7@...626...> <56917D1C.3080009@...1...> <20160110082127.515b824192b3663e3dfd8c60@...626...> <569181FA.1020505@...1...> Message-ID: <20160110083227.60041e7ad12bcedad7a5cee1@...626...> On Sat, 9 Jan 2016 22:56:10 +0100 Beno?t Minisini wrote: > Le 09/01/2016 22:51, adamnt42 at ...626... a ?crit : > > > > On another tack, the gb.Args Args class help page contains the line: > > "Return non-options as arguments." > > > > What does that mean? > > > > Bad english of mine... It means that Args.End() will return a string > array of all arguments that were not interpreted as options or option > arguments. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Ah! Of course. tx b -- B Bruen From bugtracker at ...3416... Sat Jan 9 23:55:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 22:55:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.883&from=L21haW4- Comment #1 by C THALHOFER: I would not like that. If methods of inherited classes have to be overridden, but the variables of the original methods are not used or if there are classes written with empty methods just as interfaces for inheritance one gets a lot of 'Unused variables'. I do not want so see that every time I run a program. Maybe it is nice for refactoring, but then it's easy to do a compile all. From bugtracker at ...3416... Sun Jan 10 00:10:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 23:10:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #883: Can we have 'Unused variables' warning coming up with the run button? In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.883&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: Perhaps an option which defaults to off? From bugtracker at ...3416... Sun Jan 10 00:21:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 09 Jan 2016 23:21:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #9 by Beno?t MINISINI: Incomprehensible! Can you provide me an ssh access to your machine? Send me the credentials to my private e-mail address: gambas at ...1... From bugtracker at ...3416... Sun Jan 10 01:06:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 00:06:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #809: Gambas looks for Oxygen icon theme on pure KDE5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.809&from=L21haW4- Comment #11 by Moviga TECHNOLOGIES: I hope I have not offended you PICCORO LENZ MCKAY, since you are not responding. I am just not able to figure out what you are trying to say. From sbungay at ...3301... Sun Jan 10 15:27:52 2016 From: sbungay at ...3301... (Stephen) Date: Sun, 10 Jan 2016 09:27:52 -0500 Subject: [Gambas-user] Tab size setting... Message-ID: <56926A68.4050104@...3301...> GAMBAS 3.8.3 Fedora 23 in a VM Mate Desktop I have set the tab size to 1 in Tools->Preferences->Editor and in Project->Properties->Options, yet pressing the TAB key still yields 2 spaces. I've saved the project and reloaded (equivalent to turning it off and turning it on) but no Joy. Am I missing something? -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From gambas at ...1... Sun Jan 10 16:00:00 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 10 Jan 2016 16:00:00 +0100 Subject: [Gambas-user] Tab size setting... In-Reply-To: <56926A68.4050104@...3301...> References: <56926A68.4050104@...3301...> Message-ID: <569271F0.50101@...1...> Le 10/01/2016 15:27, Stephen a ?crit : > GAMBAS 3.8.3 > Fedora 23 in a VM > Mate Desktop > > I have set the tab size to 1 in Tools->Preferences->Editor and in > Project->Properties->Options, yet pressing the TAB key still yields 2 > spaces. > I've saved the project and reloaded (equivalent to turning it off and > turning it on) but no Joy. Am I missing something? > That tab size is the "default" tab size. Tab size is actually a project property, you have to go the project property dialog. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sun Jan 10 18:50:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 17:50:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #10 by Beno?t MINISINI: OK, thanks to your vm, I understand what happens. It's really stupid actually! The Gambas 3 IDE using gb.gui.qt (it's like gb.gui, but only for qt), it sets the GB_GUI environment variable with the gui component it uses. So when you run your program from the IDE, if you don't set explicitly GB_GUI in the project property dialog, the one set by the IDE is inherited, and so the QT component is used. But if you run your program outside of the IDE, it works as expected. I will try to fix that in the development version. As a workaround, you just have to define GB_GUI explicitly in the project property dialog. This has no effect outside of running the program from the IDE. Beno?t MINISINI changed the state of the bug to: Working. From sbungay at ...3301... Sun Jan 10 21:40:31 2016 From: sbungay at ...3301... (Stephen) Date: Sun, 10 Jan 2016 15:40:31 -0500 Subject: [Gambas-user] Tab size setting... In-Reply-To: <569271F0.50101@...1...> References: <56926A68.4050104@...3301...> <569271F0.50101@...1...> Message-ID: <5692C1BF.7080607@...3301...> On 01/10/2016 10:00 AM, Beno?t Minisini wrote: > Le 10/01/2016 15:27, Stephen a ?crit : >> GAMBAS 3.8.3 >> Fedora 23 in a VM >> Mate Desktop >> >> I have set the tab size to 1 in Tools->Preferences->Editor and in >> Project->Properties->Options, yet pressing the TAB key still yields 2 >> spaces. >> I've saved the project and reloaded (equivalent to turning it off and >> turning it on) but no Joy. Am I missing something? >> > That tab size is the "default" tab size. Tab size is actually a project > property, you have to go the project property dialog. > > Regards, > Hi Benoit! I did go to Project->Properties. There under "Options" is "Tab size". It is set to "1", yet pressing the Tab key still produces 2 spaces. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From rsboykin at ...2755... Sun Jan 10 22:52:57 2016 From: rsboykin at ...2755... (Robert Boykin) Date: Sun, 10 Jan 2016 21:52:57 +0000 (UTC) Subject: [Gambas-user] Problem finding DataBaseManager References: <129700874.2405733.1452462777718.JavaMail.yahoo.ref@...3424...> Message-ID: <129700874.2405733.1452462777718.JavaMail.yahoo@...3424...> I am using Gambas 3.8.4 and can't find the DataBaseManager or any mention of it in the IDE .? I am a newbie? trying to learn Gambas by studying examples from the internet.? Any suggestions? [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=3824M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-evhZqjIIaG,guid=e815fcc5b8d7645ebd5532e256926bc8 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=5301 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-QxfRzn GPG_AGENT_INFO=/run/user/1000/keyring-QxfRzn/gpg:0:1 HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1731,unix/:/tmp/.ICE-unix/1731 SHELL=/bin/bash SSH_AGENT_PID=1858 SSH_AUTH_SOCK=/run/user/1000/keyring-QxfRzn/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=65ededdecee63e8c76323cc256806cc2-1452436423.556607-2136293368 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=7 From willy at ...3474... Sun Jan 10 23:09:18 2016 From: willy at ...3474... (willy at ...3474...) Date: Sun, 10 Jan 2016 23:09:18 +0100 Subject: [Gambas-user] Problem finding DataBaseManager In-Reply-To: <129700874.2405733.1452462777718.JavaMail.yahoo@...3424...> References: <129700874.2405733.1452462777718.JavaMail.yahoo.ref@...3424...> <129700874.2405733.1452462777718.JavaMail.yahoo@...3424...> Message-ID: On 2016-01-10 22:52, Robert Boykin wrote: > I am using Gambas 3.8.4 and can't find the DataBaseManager or any > mention of it in the IDE .? > I am a newbie? trying to learn Gambas > by studying examples from the internet.? Any suggestions? > > Hi Robert, To use databases in Gambas you need to go to menu Project -> Properties and click the Components tab. Select gb.db to access databases. Select gb.db.form if you want to use Data bound controls (optional) Info on gb.db component can be found here: http://gambaswiki.org/wiki/comp/gb.db Make sure to scroll down and read the see also parts for some clarification on how to use the component. In the Gambas Farm you will also find examples on database use, check them out. Hope this gets you started. gbWilly From bugtracker at ...3416... Sun Jan 10 23:42:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 22:42:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #875: gb.gui: MATE is not detected properly, uses Qt toolkit instead In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.875&from=L21haW4- Comment #11 by Beno?t MINISINI: Fixed in revision #7573. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sun Jan 10 23:43:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 22:43:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #873: [Project Property dialog] Library item have big size when the "library not found" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.873&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Jan 10 23:53:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 22:53:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.882&from=L21haW4- Comment #2 by Beno?t MINISINI: The code seems perfectly correct at these line. These are calls to the crypt() function, and the datatype of its arguments seems to be perfectly correct. By the way, there is no warning when compiling them on Linux, but apparently on FreeBSD, whereas the crypt() seems to have the same prototype. As for the warning in gb.sdl, as far as I know, this is a missing declaration of a SDL function inside the SDL headers, and I need to call that function. It should be naturally fixed with a future version of SDL. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Mon Jan 11 00:05:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 23:05:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.882&from=L21haW4- Comment #3 by Beno?t MINISINI: Ha ok, on freebsd it is apparently a missing include. I reopen the bug. Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Mon Jan 11 00:21:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 23:21:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #882: pointer error c_crypt.c:122 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.882&from=L21haW4- Comment #4 by Beno?t MINISINI: It should be fixed in revision #7574. For SDL, it will be fixed by a next SDL version. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Mon Jan 11 00:22:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 10 Jan 2016 23:22:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #877: Sometimes , menu entries get lost In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.877&from=L21haW4- Comment #1 by Beno?t MINISINI: It is some specific menus, or it can happen in anyone? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Jan 11 10:25:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 11 Jan 2016 09:25:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #877: Sometimes , menu entries get lost In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.877&from=L21haW4- Comment #2 by C THALHOFER: It is unspecific. That can happen with any project of mine or the IDE. If it happens, the program was running for a while. Always the restart of the program restores the menues. If I see it again with the IDE, I will make a screencast to show it to you. C THALHOFER changed the state of the bug to: Opened. From eilert-sprachen at ...221... Tue Jan 12 08:25:21 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 12 Jan 2016 08:25:21 +0100 Subject: [Gambas-user] Test mail - long time no see Message-ID: <5694AA61.60005@...221...> Since Sunday, there have no new mails been coming in to my side. The last mail I got was sent by gbWilly at 23:09 on Sunday. Regards Rolf From orsi.amax at ...626... Tue Jan 12 14:38:32 2016 From: orsi.amax at ...626... (Isro' Hidayatulloh) Date: Tue, 12 Jan 2016 20:38:32 +0700 Subject: [Gambas-user] #ASK Gambas Tutorial Message-ID: Hi, I am an beginner in Gambas and I was confused to get Gambas3 tutorial. tutorials that I found most are for old version of Gambas. do you have a good reference tutorial? Please tell me. Thanks. From jussi.lahtinen at ...626... Tue Jan 12 15:11:55 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 12 Jan 2016 16:11:55 +0200 Subject: [Gambas-user] #ASK Gambas Tutorial In-Reply-To: References: Message-ID: There might be tutorials, not sure. But is there something specific you would like to know? Here is something: http://gambaswiki.org/wiki http://gambaswiki.org/wiki/lang http://gambaswiki.org/wiki/cat I suggest to open Gambas, go to software farm and download examples (click on all software, check show filters, type example). Are you familiar with object-orientated programming? Jussi On Tue, Jan 12, 2016 at 3:38 PM, Isro' Hidayatulloh wrote: > Hi, > > I am an beginner in Gambas and I was confused to get Gambas3 tutorial. > tutorials that I found most are for old version of Gambas. do you have a > good reference tutorial? Please tell me. > > Thanks. > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Tue Jan 12 19:16:29 2016 From: moviga at ...3488... (Moviga Technologies) Date: Tue, 12 Jan 2016 18:16:29 -0000 Subject: [Gambas-user] #ASK Gambas Tutorial In-Reply-To: References: Message-ID: Try to Google "HowToGambas and "Gambas for beginners" > On Jan 12 2016, at 2:39 pm, Isro' Hidayatulloh <orsi.amax at ...626...> wrote: > > Hi, > > I am an beginner in Gambas and I was confused to get Gambas3 tutorial. tutorials that I found most are for old version of Gambas. do you have a good reference tutorial? Please tell me. > > Thanks. \----------------------------------------------------------------------------- - Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! [http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140](http:// pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140) _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Tue Jan 12 20:26:02 2016 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 12 Jan 2016 20:26:02 +0100 Subject: [Gambas-user] #ASK Gambas Tutorial In-Reply-To: References: Message-ID: Isro: In Spanish (but you can translate with google translator): http://cursogambas.blogspot.com.es/p/indice.html Regards Julio 2016-01-12 19:16 GMT+01:00 Moviga Technologies : > Try to Google "HowToGambas and "Gambas for beginners" > > > On Jan 12 2016, at 2:39 pm, Isro' Hidayatulloh <orsi.amax at ...626... > > > wrote: > > > > > > Hi, > > > > > > I am an beginner in Gambas and I was confused to get Gambas3 tutorial. > tutorials that I found most are for old version of Gambas. do you have a > good reference tutorial? Please tell me. > > > > > > Thanks. > > \----------------------------------------------------------------------------- > - > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > [ > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140](http:// > pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140) > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Wed Jan 13 00:43:41 2016 From: vuott at ...325... (Ru Vuott) Date: Tue, 12 Jan 2016 23:43:41 +0000 (UTC) Subject: [Gambas-user] #ASK Gambas Tutorial References: <1914402869.6724142.1452642221189.JavaMail.yahoo.ref@...3424...> Message-ID: <1914402869.6724142.1452642221189.JavaMail.yahoo@...3424...> ...and do not forget to follow also the Gambas forums: http://www.gambas-club.de/ http://www.gambas-es.org/forum.php http://www.gambasforge.org/ http://www.gambas-it.org/smf/ -------------------------------------------- Mar 12/1/16, Jussi Lahtinen ha scritto: Oggetto: Re: [Gambas-user] #ASK Gambas Tutorial A: "mailing list for gambas users" Data: Marted? 12 gennaio 2016, 15:11 There might be tutorials, not sure. But is there something specific you would like to know? Here is something: http://gambaswiki.org/wiki http://gambaswiki.org/wiki/lang http://gambaswiki.org/wiki/cat I suggest to open Gambas, go to software farm and download examples (click on all software, check show filters, type example). Are you familiar with object-orientated programming? Jussi On Tue, Jan 12, 2016 at 3:38 PM, Isro' Hidayatulloh wrote: > Hi, > > I am an beginner in Gambas and I was confused to get Gambas3 tutorial. > tutorials that I found most are for old version of Gambas. do you have a > good reference tutorial? Please tell me. > > Thanks. > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From orsi.amax at ...626... Wed Jan 13 03:21:46 2016 From: orsi.amax at ...626... (Isro' Hidayatulloh) Date: Wed, 13 Jan 2016 09:21:46 +0700 Subject: [Gambas-user] #ASK Gambas Tutorial In-Reply-To: <1914402869.6724142.1452642221189.JavaMail.yahoo@...3424...> References: <1914402869.6724142.1452642221189.JavaMail.yahoo.ref@...3424...> <1914402869.6724142.1452642221189.JavaMail.yahoo@...3424...> Message-ID: Thanks all,, I've downloaded "Beginning guide to Gambas" ebook for first step to learn. And also read the Gambas documentation. But I still hope if someone will make some updated tutorial. For now it's enough, but then maybe I will ask some question to you again when I meet a dificult. Thanks for all your help. ? From moviga at ...3488... Wed Jan 13 13:51:09 2016 From: moviga at ...3488... (Moviga Technologies) Date: Wed, 13 Jan 2016 13:51:09 +0100 Subject: [Gambas-user] #ASK Gambas Tutorial In-Reply-To: References: <1914402869.6724142.1452642221189.JavaMail.yahoo.ref@...3424...> <1914402869.6724142.1452642221189.JavaMail.yahoo@...3424...> Message-ID: <60fd5e9a9e58f59d51e634adf5635da6@...3488...> Den 13.01.2016 03:21, skrev Isro' Hidayatulloh: > Thanks all,, I've downloaded "Beginning guide to Gambas" ebook for > first > step to learn. And also read the Gambas documentation. But I still hope > if > someone will make some updated tutorial. > > For now it's enough, but then maybe I will ask some question to you > again > when I meet a dificult. > > Thanks for all your help. ? I've tried to make arrays understandable in this document: https://gambas.guru/Arrays From ihaywood3 at ...626... Thu Jan 14 04:02:42 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 14 Jan 2016 14:02:42 +1100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5 In-Reply-To: <564a217b.c317370a.53c08.01eeSMTPIN_ADDED_BROKEN@...2392...> References: <564a217b.c317370a.53c08.01eeSMTPIN_ADDED_BROKEN@...2392...> Message-ID: On Tue, Nov 17, 2015 at 5:32 AM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- > > Comment #10 by Gianfranco COSTAMAGNA: > I'm not the debian gambas package maintainer, but I guess I'll ping the maintainers or upload in a delayed queue the fixes. > > thanks so far for the support! One of the issues is, if not you, then gambas doesn't really have a Debian "maintainer". I'm happy to help, but I'm wary of doing a lot of work without a debian developer active and interested. in the past I have had contributions sitting in alioth git waiting for weeks/months to be uploaded. (unfortunately debian does not have an equivalent to "launchpad" for making third-party .debs available) Ian From mckaygerhard at ...626... Fri Jan 15 07:33:29 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Jan 2016 02:03:29 -0430 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader Message-ID: i made a program that send a pdf attachment.. but in gmail at received the mail marks as has attachment but when opened thers no attachment file here the code used based on the wiki: Dim enviador As New SmtpClient Dim t$ As String ... ' more code... ... enviador.Add(cTexto, "text/plain") t$ = File.Load("/home/general/archve.pdf") enviador.Add(t$, "application/pdf", "archve.pdf") .... Try enviador.send Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Fri Jan 15 14:35:10 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Jan 2016 09:05:10 -0430 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: References: Message-ID: i tested and see that the documentation said someting about SmtpClient.alternative option.. what does mean with: "are actually different alternatives of the same data"?? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-15 2:03 GMT-04:30 PICCORO McKAY Lenz : > i made a program that send a pdf attachment.. but in gmail at received > the mail marks as has attachment but when opened thers no attachment file > > here the code used based on the wiki: > > Dim enviador As New SmtpClient > Dim t$ As String > ... > ' more code... > ... > enviador.Add(cTexto, "text/plain") > t$ = File.Load("/home/general/archve.pdf") > enviador.Add(t$, "application/pdf", "archve.pdf") > .... > Try enviador.send > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > From t.lee.davidson at ...626... Sat Jan 16 01:50:01 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 15 Jan 2016 19:50:01 -0500 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: References: Message-ID: <569993B9.7020709@...626...> On 01/15/2016 08:35 AM, PICCORO McKAY Lenz wrote: > i tested and see that the documentation said someting about > SmtpClient.alternative option.. > > what does mean with: "are actually different alternatives of the same > data"?? I think that means different *formats* of the same data. For example, mail generally can be sent in text only, in HTML, or in both text and HTML. Those are just different formats of the same email message (data). Sending the message formatted as both text and HTML allows the mail client to choose which format it prefers. Apparently, though I cannot say with certainty, attachments can be handled similarly. Lee __________ "Artificial Intelligence is no match for natural stupidity." From buster6seven at ...626... Sat Jan 16 03:40:28 2016 From: buster6seven at ...626... (Buster Seven) Date: Sat, 16 Jan 2016 13:40:28 +1100 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: References: Message-ID: this works for me myMail.Add(File.Load(Application.Path & "/" & "filename.pdf"), "application/pdf") On Fri, Jan 15, 2016 at 5:33 PM, PICCORO McKAY Lenz wrote: > i made a program that send a pdf attachment.. but in gmail at received the > mail marks as has attachment but when opened thers no attachment file > > here the code used based on the wiki: > > Dim enviador As New SmtpClient > Dim t$ As String > ... > ' more code... > ... > enviador.Add(cTexto, "text/plain") > t$ = File.Load("/home/general/archve.pdf") > enviador.Add(t$, "application/pdf", "archve.pdf") > .... > Try enviador.send > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Jan 16 15:43:21 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 16 Jan 2016 15:43:21 +0100 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: References: Message-ID: <569A5709.70504@...1...> Le 15/01/2016 07:33, PICCORO McKAY Lenz a ?crit : > i made a program that send a pdf attachment.. but in gmail at received the > mail marks as has attachment but when opened thers no attachment file > > here the code used based on the wiki: > > Dim enviador As New SmtpClient > Dim t$ As String > ... > ' more code... > ... > enviador.Add(cTexto, "text/plain") > t$ = File.Load("/home/general/archve.pdf") > enviador.Add(t$, "application/pdf", "archve.pdf") > .... > Try enviador.send > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com 1) Tell which version of Gambas you are using. 2) Send your mail to benoit.minisini at ...626..., and I will see what I get. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Jan 16 16:14:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 15:14:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #884: SerialPort always gives a "gbx3: warning: 1 allocation(s) non freed." when a CTS/DTR/etc Change event is defined. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.884&from=L21haW4- Alexander KUIPER reported a new bug. Summary ------- SerialPort always gives a "gbx3: warning: 1 allocation(s) non freed." when a CTS/DTR/etc Change event is defined. Type : Bug Priority : Medium Gambas version : 3.8 Product : Networking components Description ----------- Gambas will always give a "1 allocation(s) non freed" if you define a CTS/DCD/DTR/DSR/RNG/RTS Change in your code, on exit. Only requirement is that serialport has been opened before. Sample code for a simple form: ' Gambas class file Public hMySerial As SerialPort Public Sub Serial_Read() End Public Sub Serial_CTSChange(CurrentValue As Boolean) End Public Sub Form_Open() Print "Open" hMySerial = New SerialPort As "Serial" hMySerial.PortName = "/dev/ttyS0" hMySerial.Open() hMySerial.Close() End System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.13.0-74-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk 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+2=libgtk-x11-2.0.so.0.2400.27 GTK+3=libgtk-3.so.0.1000.8 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 COLORTERM=gnome-terminal COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-OFTgZXuOXf DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-rMnsKu GNOME_KEYRING_PID=2766 GPG_AGENT_INFO=/run/user/1000/keyring-rMnsKu/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path OLDPWD=/TestSerial PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/2868,unix/:/tmp/.ICE-unix/2868 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring-rMnsKu/ssh TERM=xterm TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/2481 USER= VTE_VERSION=3409 WINDOWID=25165835 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _=/usr/bin/gambas3 From bugtracker at ...3416... Sat Jan 16 16:14:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 15:14:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #884: SerialPort always gives a "gbx3: warning: 1 allocation(s) non freed." when a CTS/DTR/etc Change event is defined. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.884&from=L21haW4- Alexander KUIPER added an attachment: TestSerial.tar.gz From bugtracker at ...3416... Sat Jan 16 16:47:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 15:47:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #884: SerialPort always gives a "gbx3: warning: 1 allocation(s) non freed." when a CTS/DTR/etc Change event is defined. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.884&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Jan 16 16:59:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 15:59:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #884: SerialPort always gives a "gbx3: warning: 1 allocation(s) non freed." when a CTS/DTR/etc Change event is defined. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.884&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7579. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 16 17:02:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 16:02:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #881: When the ComboBox is initialized with the list property, setting the index to 0 not work. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.881&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Jan 16 17:49:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 16:49:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #881: When the ComboBox is initialized with the list property, setting the index to 0 not work. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.881&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in r7580. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 16 17:51:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 16:51:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #874: GTK2: Setting a window to Utility:True breaks the TakeFocus property In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.874&from=L21haW4- Comment #1 by Beno?t MINISINI: I'm not sure this is Gambas' fault. Maybe the window manager does not take TakeFocus into account by assuming that the utility window is not the main window. Do you have the same problem by using the Qt component? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Jan 16 18:41:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 17:41:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #877: Sometimes , menu entries get lost In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.877&from=L21haW4- Comment #3 by C THALHOFER: Since V. 3.8.4 I cannot reproduce the behaviour any more. It seems to be gone. So I close that bug and set it fixed. If I see it again, I will reopen. C THALHOFER changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Jan 16 19:26:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 16 Jan 2016 18:26:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #877: Sometimes , menu entries get lost In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.877&from=L21haW4- Comment #4 by Beno?t MINISINI: As I changed nothing in the QT component, I guess that bug is located inside the QT library... From bugtracker at ...3416... Sun Jan 17 18:20:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 17 Jan 2016 17:20:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #874: GTK2: Setting a window to Utility:True breaks the TakeFocus property In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.874&from=L21haW4- Comment #2 by Geoffrey DE BELIE: Qt works as expected. From ihaywood3 at ...626... Mon Jan 18 04:15:37 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Mon, 18 Jan 2016 14:15:37 +1100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install In-Reply-To: References: Message-ID: On Sat, Dec 26, 2015 at 9:44 AM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- > > > Description > ----------- > > Gambas 3.8.4 running under Kubuntu 14.04 LTS. the key question is where you got that 3.8.4 .deb from (it won't have been form the standard 14.04 repositories) Ian From bugtracker at ...3416... Mon Jan 18 17:45:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 16:45:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Joris ALDERS reported a new bug. Summary ------- Arch Linux Raspberry Pi 2 IDE Segmentation fault Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- After compiling several versions of Gambas 3 the same problem allways occurs : [joris at ...3574... trunk]$ gambas3 Segmentation fault (core dumped) The IDE is not becomming visible. It is possible to run Gambas programmes made on another machine System information ------------------ Raspberry Pi Model 2 Gambas version : 3.8.90 Architecture: armv7l Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 Model name: ARMv7 Processor rev 5 (v7l) CPU max MHz: 900.0000 CPU min MHz: 600.0000 Linux VenusOne 4.1.15-3-ARCH #1 SMP Sat Jan 9 18:20:30 MST 2016 armv7l GNU/Linux From bugtracker at ...3416... Mon Jan 18 17:46:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 16:46:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Joris ALDERS added an attachment: output.txt From bugtracker at ...3416... Mon Jan 18 18:00:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 17:00:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #1 by Beno?t MINISINI: You have that error in the compilation/installation log: Error loading libdumb.so: libdumb.so: cannot open shared object file: No such file or directory This usually means there is something weird on the system, I will google that. Anyway, can you give me a stack backtrace of the IDE with gdb? This is explained on the "reporting a problem" menu of the web site. Thanks! Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Jan 18 18:04:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 17:04:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #2 by Beno?t MINISINI: You can even give me a valgrind output, as explained on the same page. This can help to find the code that does not work on arm. From bugtracker at ...3416... Mon Jan 18 18:04:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 17:04:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Mon Jan 18 18:16:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 18 Jan 2016 17:16:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #3 by Joris ALDERS: Here is the valgrind output : ==842== Memcheck, a memory error detector ==842== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==842== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==842== Command: gbx3 ==842== disInstr(arm): unhandled instruction: 0xEC510F1E cond=14(0xE) 27:20=197(0xC5) 4:4=1 3:0=14(0xE) ==842== valgrind: Unrecognised instruction at address 0x979c288. ==842== at 0x979C288: _armv7_tick (in /usr/lib/libcrypto.so.1.0.0) ==842== Your program just tried to execute an instruction that Valgrind ==842== did not recognise. There are two possible reasons for this. ==842== 1. Your program has a bug and erroneously jumped to a non-code ==842== location. If you are running Memcheck and you just saw a ==842== warning about a bad jump, it's probably your program's fault. ==842== 2. The instruction is legitimate but Valgrind doesn't handle it, ==842== i.e. it's Valgrind's fault. If you think this is the case or ==842== you are not sure, please let us know and we'll try to fix it. ==842== Either way, Valgrind will now raise a SIGILL signal which will ==842== probably kill your program. ==842== Invalid read of size 4 ==842== at 0x4019E74: index (in /usr/lib/ld-2.22.so) ==842== by 0x401497F: dl_open_worker (in /usr/lib/ld-2.22.so) ==842== Address 0x4cee47c is 3 bytes after a block of size 49 alloc'd ==842== at 0x48467A8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E74: index (in /usr/lib/ld-2.22.so) ==842== by 0x401497F: dl_open_worker (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E78: index (in /usr/lib/ld-2.22.so) ==842== by 0x401497F: dl_open_worker (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4014984: dl_open_worker (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E74: index (in /usr/lib/ld-2.22.so) ==842== by 0x4007E73: expand_dynamic_string_token (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E78: index (in /usr/lib/ld-2.22.so) ==842== by 0x4007E73: expand_dynamic_string_token (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4007E78: expand_dynamic_string_token (in /usr/lib/ld-2.22.so) ==842== ==842== Invalid read of size 4 ==842== at 0x4019E34: index (in /usr/lib/ld-2.22.so) ==842== by 0x401497F: dl_open_worker (in /usr/lib/ld-2.22.so) ==842== Address 0x4cf6a9c is 0 bytes after a block of size 36 alloc'd ==842== at 0x48467A8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so) ==842== ==842== Invalid read of size 4 ==842== at 0x4019E34: index (in /usr/lib/ld-2.22.so) ==842== by 0x4008ACF: _dl_map_object (in /usr/lib/ld-2.22.so) ==842== Address 0x4cf6a9c is 0 bytes after a block of size 36 alloc'd ==842== at 0x48467A8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E74: index (in /usr/lib/ld-2.22.so) ==842== by 0x4008ACF: _dl_map_object (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4019E78: index (in /usr/lib/ld-2.22.so) ==842== by 0x4008ACF: _dl_map_object (in /usr/lib/ld-2.22.so) ==842== ==842== Conditional jump or move depends on uninitialised value(s) ==842== at 0x4008AD4: _dl_map_object (in /usr/lib/ld-2.22.so) ==842== ==842== ==842== Process terminating with default action of signal 2 (SIGINT) ==842== at 0x66632C0: g_signal_connect_data (in /usr/lib/libgobject-2.0.so.0.4600.2) ==842== ==842== HEAP SUMMARY: ==842== in use at exit: 2,616,211 bytes in 24,214 blocks ==842== total heap usage: 54,309 allocs, 30,095 frees, 4,475,616 bytes allocated ==842== ==842== LEAK SUMMARY: ==842== definitely lost: 1,280 bytes in 4 blocks ==842== indirectly lost: 10,771 bytes in 431 blocks ==842== possibly lost: 1,344,974 bytes in 2,629 blocks ==842== still reachable: 1,133,994 bytes in 20,060 blocks ==842== of which reachable via heuristic: ==842== newarray : 4,352 bytes in 114 blocks ==842== multipleinheritance: 12 bytes in 1 blocks ==842== suppressed: 0 bytes in 0 blocks ==842== Rerun with --leak-check=full to see details of leaked memory ==842== ==842== For counts of detected and suppressed errors, rerun with: -v ==842== Use --track-origins=yes to see where uninitialised values come from ==842== ERROR SUMMARY: 59 errors from 12 contexts (suppressed: 1 from 1) From bagonergi at ...626... Tue Jan 19 10:45:22 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 19 Jan 2016 10:45:22 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 Message-ID: Hello to all, a friend of ours of Gambas-it forum, runs Debian and updated from version 3.5.4 to 3.8.4. He can no longer use the old qt4 projects. He tried compile, compile all, refresh, reload ? but nothing. Changing with gb.gui.qt in some projects the Fmain.class disappears and in the other Fmain.form. On Update all forms he gets this message: ?Unable to update all forms! Too many arguments. ProjectUpdateAllForms.5941?. Fmain.form turns into a text file. Attached the file system. Some suggestion? Regards Gianluigi [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.16.0-4-amd64 Architecture=x86_64 Distribution=debian stretch/sid Desktop=XFCE Theme=Fusion Language=it_IT.UTF-8 Memory=3963M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.602.0 GTK+2=libgtk-x11-2.0.so.0.2400.29 GTK+3=libgtk-3.so.0.1800.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.57.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-XJqxtl2I4a,guid=111bbc05cd325c350e94cff656962a5b DESKTOP_SESSION=lightdm-xsession DISPLAY=:0.0 GB_GUI=gb.qt5 GDMSESSION=lightdm-xsession GDM_LANG=it_IT.utf8 GTK_MODULES=gail:atk-bridge HOME= LANG=it_IT.UTF-8 LOGNAME= PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= QT_ACCESSIBILITY=1 QT_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 SHELL=/bin/bash SSH_AGENT_PID=1634 SSH_AUTH_SOCK=/tmp/ssh-QAOUBmrhlr40/agent.1612 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_DATA_DIRS=/usr/share/xfce4:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lightdm-xsession XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Tue Jan 19 14:03:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jan 2016 13:03:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #886: Operations with numeric vectors/arrays Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.886&from=L21haW4- Martin CRISTIA reported a new bug. Summary ------- Operations with numeric vectors/arrays Type : Request Priority : Low Gambas version : Unknown Product : Language Description ----------- Basic math operations with vectors: Dim vec1 as Float[], vec2 as Float[] vec1 = [1.0, 2.2, 4.5] vec2 = [4.5, 5.6, 6.7] vec1 = vec1 + vec2 ---> vec1[0] = vec1[0] + vec2[0] and so on vec2 *= 3.5 ---> vec2[0] *= 3.5 ; vec2[1] *=3.5 ...... From eilert-sprachen at ...221... Tue Jan 19 18:11:02 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 19 Jan 2016 18:11:02 +0100 Subject: [Gambas-user] Setting path in Dialog Message-ID: <569E6E26.7050502@...221...> Want to set a filename and ask the user to confirm name and directory: Dialog.Path = Dateiname$ Dialog.Filter = ["*.frm", "Formulare", "*", "Alle Dateien"] If Dialog.SaveFile() Then Return When Save Dialog appears, it fills in the name of the File (base name and extension), but it sets the Directory List above to the application path and not the path contained in Dateiname$. How can I set the directory? Regards Rolf From bugtracker at ...3416... Tue Jan 19 23:57:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jan 2016 22:57:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #879: completion, on documentation got a extra AS In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.879&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7582. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Jan 19 23:59:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 19 Jan 2016 22:59:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #4 by Beno?t MINISINI: valgrind seems to be completely broken on your arm system. Can you send the gdb backtrace instead? From bugtracker at ...3416... Wed Jan 20 09:14:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 20 Jan 2016 08:14:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #5 by Joris ALDERS: This is the gdb backtrace : (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x6da10470 (LWP 576)] Program received signal SIGSEGV, Segmentation fault. 0x713099c4 in ?? () from /usr/lib/libLLVM-3.5.so (gdb) bt #-1 0x713099c4 in ?? () from /usr/lib/libLLVM-3.5.so Backtrace stopped: Cannot access memory at address 0xfffff8 (gdb) From ihaywood3 at ...626... Thu Jan 21 02:35:13 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Thu, 21 Jan 2016 12:35:13 +1100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: Message-ID: On Tue, Jan 19, 2016 at 8:45 PM, Gianluigi wrote: > Hello to all, > a friend of ours of Gambas-it forum, runs Debian and updated from version > 3.5.4 to 3.8.4. > He can no longer use the old qt4 projects. > He tried compile, compile all, refresh, reload ? but nothing. > Changing with gb.gui.qt in some projects the Fmain.class disappears and in > the other Fmain.form. > On Update all forms he gets this message: ?Unable to update all forms! Too > many arguments. ProjectUpdateAllForms.5941?. Is he/she using TextEdit? This is the problem I have run into: Debian no longer supports Qt4, and Qt5 on Gambas has no TextEdit, so my project doesn't load. I would like to enter in another plea for TextEdit to be supported on Qt5. Previous discussions have been around a Gambas-native rich text editor: agree that's a lot of work, but also unnecessary: Qt5 has a rich text editor (see http://doc.qt.io/qt-5/richtext.html) I don't see why that cannot be used. I'd have a crack at doing it myself but I have limited time and haven't used C++/Qt for many years so it would take some time to relearn. Would be happy to pay if there are others able to here. ian From gambas at ...1... Thu Jan 21 02:51:59 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Jan 2016 02:51:59 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: Message-ID: <56A039BF.3030207@...1...> Le 21/01/2016 02:35, Ian Haywood a ?crit : > On Tue, Jan 19, 2016 at 8:45 PM, Gianluigi wrote: >> Hello to all, >> a friend of ours of Gambas-it forum, runs Debian and updated from version >> 3.5.4 to 3.8.4. >> He can no longer use the old qt4 projects. >> He tried compile, compile all, refresh, reload ? but nothing. >> Changing with gb.gui.qt in some projects the Fmain.class disappears and in >> the other Fmain.form. >> On Update all forms he gets this message: ?Unable to update all forms! Too >> many arguments. ProjectUpdateAllForms.5941?. > > Is he/she using TextEdit? > > This is the problem I have run into: Debian no longer supports Qt4, > and Qt5 on Gambas > has no TextEdit, so my project doesn't load. > > I would like to enter in another plea for TextEdit to be supported on Qt5. > Previous discussions have been around a Gambas-native rich text > editor: agree that's a > lot of work, but also unnecessary: Qt5 has a rich text editor (see > http://doc.qt.io/qt-5/richtext.html) > I don't see why that cannot be used. > > I'd have a crack at doing it myself but I have limited time and > haven't used C++/Qt for many years > so it would take some time to relearn. > Would be happy to pay if there are others able to here. > > ian > Indeed. Normally switching from Qt4 to Qt5 has no big problem unless you use the TextEdit control. Does your friend use it? Otherwise, can you send one or two projects that do not work? -- Beno?t Minisini From bagonergi at ...626... Thu Jan 21 14:01:48 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 21 Jan 2016 14:01:48 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: <56A039BF.3030207@...1...> References: <56A039BF.3030207@...1...> Message-ID: Thanks Benoit, just our friend sends me the projects you send them immediately. Greetings Gianluigi PS. I apologize to Ian but are not able to help. 2016-01-21 2:51 GMT+01:00 Beno?t Minisini : > Le 21/01/2016 02:35, Ian Haywood a ?crit : > > On Tue, Jan 19, 2016 at 8:45 PM, Gianluigi wrote: > >> Hello to all, > >> a friend of ours of Gambas-it forum, runs Debian and updated from > version > >> 3.5.4 to 3.8.4. > >> He can no longer use the old qt4 projects. > >> He tried compile, compile all, refresh, reload ? but nothing. > >> Changing with gb.gui.qt in some projects the Fmain.class disappears and > in > >> the other Fmain.form. > >> On Update all forms he gets this message: ?Unable to update all forms! > Too > >> many arguments. ProjectUpdateAllForms.5941?. > > > > Is he/she using TextEdit? > > > > This is the problem I have run into: Debian no longer supports Qt4, > > and Qt5 on Gambas > > has no TextEdit, so my project doesn't load. > > > > I would like to enter in another plea for TextEdit to be supported on > Qt5. > > Previous discussions have been around a Gambas-native rich text > > editor: agree that's a > > lot of work, but also unnecessary: Qt5 has a rich text editor (see > > http://doc.qt.io/qt-5/richtext.html) > > I don't see why that cannot be used. > > > > I'd have a crack at doing it myself but I have limited time and > > haven't used C++/Qt for many years > > so it would take some time to relearn. > > Would be happy to pay if there are others able to here. > > > > ian > > > > Indeed. Normally switching from Qt4 to Qt5 has no big problem unless you > use the TextEdit control. Does your friend use it? Otherwise, can you > send one or two projects that do not work? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From pinozollo at ...626... Thu Jan 21 14:19:42 2016 From: pinozollo at ...626... (Pino Zollo) Date: Thu, 21 Jan 2016 10:19:42 -0300 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: Message-ID: <56A0DAEE.7010806@...626...> El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net escribi?: > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 Gianluigi...? per questo che ho smesso di usare Gambas That's why I stopped developments in Gambas Pino From moviga at ...3488... Thu Jan 21 16:19:46 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 21 Jan 2016 16:19:46 +0100 Subject: [Gambas-user] Drag'NDrop with FileView Message-ID: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> It seems to me that drag and drop is not working with FileView? -------------- next part -------------- A non-text attachment was scrubbed... Name: DragNDrop-0.0.1.tar.gz Type: application/x-gzip Size: 11490 bytes Desc: not available URL: From gambas at ...1... Thu Jan 21 16:35:02 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 21 Jan 2016 16:35:02 +0100 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> Message-ID: <56A0FAA6.4010409@...1...> Le 21/01/2016 16:19, Moviga Technologies a ?crit : > It seems to me that drag and drop is not working with FileView? > No, this is something to add. -- Beno?t Minisini From moviga at ...3488... Thu Jan 21 16:37:22 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 21 Jan 2016 16:37:22 +0100 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: <56A0FAA6.4010409@...1...> References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> <56A0FAA6.4010409@...1...> Message-ID: <6ed9b9706c563ed030f195003fb16453@...3488...> Den 21.01.2016 16:35, skrev Beno?t Minisini: > Le 21/01/2016 16:19, Moviga Technologies a ?crit : > >> It seems to me that drag and drop is not working with FileView? > > No, this is something to add. Yes please :) From bagonergi at ...626... Thu Jan 21 23:59:51 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 21 Jan 2016 23:59:51 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: <56A0DAEE.7010806@...626...> References: <56A0DAEE.7010806@...626...> Message-ID: Ciao Pino, but this is not a big help. :-) This is not a my problem, I use Ubuntu and are satisfied with Gambas, very satisfied. If you struggle a bit, the end result is more satisfactory. I hope that one day you want to come back with us. :-D Gianluigi 2016-01-21 14:19 GMT+01:00 Pino Zollo : > > > El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net > escribi?: > > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 > > Gianluigi...? per questo che ho smesso di usare Gambas > > That's why I stopped developments in Gambas > > Pino > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Jan 22 00:04:04 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Jan 2016 00:04:04 +0100 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: <6ed9b9706c563ed030f195003fb16453@...3488...> References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> <56A0FAA6.4010409@...1...> <6ed9b9706c563ed030f195003fb16453@...3488...> Message-ID: <56A163E4.7050205@...1...> Le 21/01/2016 16:37, Moviga Technologies a ?crit : > Den 21.01.2016 16:35, skrev Beno?t Minisini: > >> Le 21/01/2016 16:19, Moviga Technologies a ?crit : >> >>> It seems to me that drag and drop is not working with FileView? >> >> No, this is something to add. > > Yes please :) > Anyway, I think you can implement it on your own by using an Observer on the FileView inner IconView or ListView to handle the DnD events. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Jan 22 02:58:41 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 21 Jan 2016 21:28:41 -0430 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: <56A0DAEE.7010806@...626...> Message-ID: winbuntu spend too much resources... currently in debian gambas has one only mantainer so its not the same, the ppa packages follow the policy of gambas upstream the packages on debian follows quality in two ambits, copyright and availibility respect the debian architectures supported winbuntu only provides the packages and only support two arch, x86 and amd64... 2016-01-21 18:29 GMT-04:30, Gianluigi : > Ciao Pino, > but this is not a big help. :-) > This is not a my problem, I use Ubuntu and are satisfied with Gambas, very > satisfied. > If you struggle a bit, the end result is more satisfactory. > I hope that one day you want to come back with us. :-D > Gianluigi > > 2016-01-21 14:19 GMT+01:00 Pino Zollo : > >> >> >> El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net >> escribi?: >> > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 >> >> Gianluigi...? per questo che ho smesso di usare Gambas >> >> That's why I stopped developments in Gambas >> >> Pino >> >> >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From moviga at ...3488... Fri Jan 22 03:32:32 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 22 Jan 2016 03:32:32 +0100 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: <56A163E4.7050205@...1...> References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> <56A0FAA6.4010409@...1...> <6ed9b9706c563ed030f195003fb16453@...3488...> <56A163E4.7050205@...1...> Message-ID: <4a9648eeeabde62c36274de2010a8545@...3488...> > Anyway, I think you can implement it on your own by using an Observer > on > the FileView inner IconView or ListView to handle the DnD events. > > Regards, Ahh! Yes, that was a good solution. It works fine! Only thing now is that if I try to use FileView.Icon to get the Picture of the currently selected icon, it is Null... is this not what that property is for? If not, how can I get the Picture of the currently selected Icon/Folder? From shordi at ...626... Fri Jan 22 10:15:06 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 22 Jan 2016 10:15:06 +0100 Subject: [Gambas-user] About the initial screen Message-ID: In previous versions the icons of recently opened projects had the tooltip property established as the path of the project. Now, if you open several projects with same name (backups in another directory) you can't know what of them is the original and what is the backup until you open the project. Sometimes until you have modified the project :( It's posible establish the old behavior? Regards From bagonergi at ...626... Fri Jan 22 10:35:51 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 22 Jan 2016 10:35:51 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: <56A0DAEE.7010806@...626...> Message-ID: If I like something I use it, otherwise I do not use it but without despising. I appreciate Gambas, I appreciate Ubuntu and I appreciate those who respect my choices. Ubuntu is easy to use and suitable for a simple person like me. :-) 2016-01-22 2:58 GMT+01:00 PICCORO McKAY Lenz : > winbuntu spend too much resources... > > currently in debian gambas has one only mantainer so its not the same, > > the ppa packages follow the policy of gambas upstream > > the packages on debian follows quality in two ambits, copyright and > availibility respect the debian architectures supported > winbuntu only provides the packages and only support two arch, x86 and > amd64... > > 2016-01-21 18:29 GMT-04:30, Gianluigi : > > Ciao Pino, > > but this is not a big help. :-) > > This is not a my problem, I use Ubuntu and are satisfied with Gambas, > very > > satisfied. > > If you struggle a bit, the end result is more satisfactory. > > I hope that one day you want to come back with us. :-D > > Gianluigi > > > > 2016-01-21 14:19 GMT+01:00 Pino Zollo : > > > >> > >> > >> El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net > >> escribi?: > >> > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 > >> > >> Gianluigi...? per questo che ho smesso di usare Gambas > >> > >> That's why I stopped developments in Gambas > >> > >> Pino > >> > >> > >> > ------------------------------------------------------------------------------ > >> Site24x7 APM Insight: Get Deep Visibility into Application Performance > >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > >> Monitor end-to-end web transactions and take corrective actions now > >> Troubleshoot faster and improve end-user experience. Signup Now! > >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Fri Jan 22 11:12:10 2016 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 22 Jan 2016 11:12:10 +0100 Subject: [Gambas-user] About the initial screen In-Reply-To: References: Message-ID: <56A2007A.2060900@...221...> As a workaround, you could check "Sort by path". But I see your point... Regards Rolf Am 22.01.2016 10:15, schrieb Jorge Carri?n: > In previous versions the icons of recently opened projects had the tooltip > property established as the path of the project. Now, if you open several > projects with same name (backups in another directory) you can't know what > of them is the original and what is the backup until you open the project. > Sometimes until you have modified the project :( > > It's posible establish the old behavior? > > Regards > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Jan 22 14:30:30 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:00:30 -0430 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: <56A0DAEE.7010806@...626...> Message-ID: despiste the differences, *my points its that gambas has no fault of the problem*, thats why the focus of the distribution, and as i pointed, winbuntu its for "easy" not for optimized! i exaplin me: *In debian (and derivates like buntu) QT4 was removed in experimental/sid and qt5 superset.. so many of the components not yet ported will fail*, THIS WILL happened in any other distro so in conclusion for you Pino Zollo if u stoped develop in gambas its due u'r "easy policy" like i pointed of winbuntu does.. for every people that goes to "easy" way, never will see the true root of the problems.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-22 5:05 GMT-04:30 Gianluigi : > If I like something I use it, otherwise I do not use it but without > despising. > I appreciate Gambas, I appreciate Ubuntu and I appreciate those who > respect my > choices. > Ubuntu is easy to use and suitable for a simple person like me. :-) > > 2016-01-22 2:58 GMT+01:00 PICCORO McKAY Lenz : > > > winbuntu spend too much resources... > > > > currently in debian gambas has one only mantainer so its not the same, > > > > the ppa packages follow the policy of gambas upstream > > > > the packages on debian follows quality in two ambits, copyright and > > availibility respect the debian architectures supported > > winbuntu only provides the packages and only support two arch, x86 and > > amd64... > > > > 2016-01-21 18:29 GMT-04:30, Gianluigi : > > > Ciao Pino, > > > but this is not a big help. :-) > > > This is not a my problem, I use Ubuntu and are satisfied with Gambas, > > very > > > satisfied. > > > If you struggle a bit, the end result is more satisfactory. > > > I hope that one day you want to come back with us. :-D > > > Gianluigi > > > > > > 2016-01-21 14:19 GMT+01:00 Pino Zollo : > > > > > >> > > >> > > >> El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net > > >> escribi?: > > >> > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 > > >> > > >> Gianluigi...? per questo che ho smesso di usare Gambas > > >> > > >> That's why I stopped developments in Gambas > > >> > > >> Pino > > >> > > >> > > >> > > > ------------------------------------------------------------------------------ > > >> Site24x7 APM Insight: Get Deep Visibility into Application Performance > > >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > >> Monitor end-to-end web transactions and take corrective actions now > > >> Troubleshoot faster and improve end-user experience. Signup Now! > > >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > >> > > > > > > ------------------------------------------------------------------------------ > > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > > Monitor end-to-end web transactions and take corrective actions now > > > Troubleshoot faster and improve end-user experience. Signup Now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > -- > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Jan 22 15:00:41 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:30:41 -0430 Subject: [Gambas-user] macros conditionals supported? (at code, at compile time and at runtime time)? Message-ID: there its any way of choose piece of logic in gambas code: i ilustrate with a example: in smtp component between gambas << 3.5 and gambas >> 3.6 the body now has a method: in gambas << 3.6 was: hmail as new SmtpClient hmail.Add("this its the body of the text mail") in gambas >> 3.6 now are: hmail as new SmtpClient hmail.Body("this its the body of the text mail") so how can i in code made something like in c: #if gambas < 3.6 hmail.Add("this its the body of the text mail") #else hmail.Body("this its the body of the text mail") #endif Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Fri Jan 22 15:01:15 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:31:15 -0430 Subject: [Gambas-user] gambs wiki docs SmtpClient are very brief! some coordination or i doit by myseflt Message-ID: all the documentation in the wiki http://gambaswiki.org/wiki/comp/gb.net.smtp/smtpclient?nh are ver very loose or very brief, the http://gambaswiki.org/wiki/comp/gb.net.smtp/smtpclient/body?nh does not clarify that its since version 3.6 and i use many versions of gambas included 3.4 due some machines are very low in resources and 3.6 do3es not compile in the current system libs Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Fri Jan 22 15:14:22 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:44:22 -0430 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: <569A5709.70504@...1...> References: <569A5709.70504@...1...> Message-ID: Benoit it worked for me setting explicy the "Alternative" prpperty to FALSE, seems documentation are very lack of the versions supported of gambas.. i understand the fashion its to use the latest version, but at my work (that has very large options of hardware) we runs many versions of gambas, in fact, we runs 3.4 and 3.6 only, the 3.4 due compiles well and runs well in older hardware in older hardware where lasted libs does not performed well (low amount or ram for run qt5, so its imposible use a lasted distro) NOTE IMPORTANT FOR ZEALOTS: use "tuned distros" its not the option where i must run a DB along with a gui program.. in the Daruma hardware if we run winbuntu with postges the VGA goes to off and burn due excesive work! NOTE2: newer distros does not support opengl on older hardware! only dri3. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-16 10:13 GMT-04:30 Beno?t Minisini : > Le 15/01/2016 07:33, PICCORO McKAY Lenz a ?crit : > > i made a program that send a pdf attachment.. but in gmail at received > the > > mail marks as has attachment but when opened thers no attachment file > > > > here the code used based on the wiki: > > > > Dim enviador As New SmtpClient > > Dim t$ As String > > ... > > ' more code... > > ... > > enviador.Add(cTexto, "text/plain") > > t$ = File.Load("/home/general/archve.pdf") > > enviador.Add(t$, "application/pdf", "archve.pdf") > > .... > > Try enviador.send > > > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > 1) Tell which version of Gambas you are using. > > 2) Send your mail to benoit.minisini at ...626..., and I will see what I get. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Jan 22 15:15:19 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Jan 2016 15:15:19 +0100 Subject: [Gambas-user] macros conditionals supported? (at code, at compile time and at runtime time)? In-Reply-To: References: Message-ID: <56A23977.8070801@...1...> Le 22/01/2016 15:00, PICCORO McKAY Lenz a ?crit : > there its any way of choose piece of logic in gambas code: i ilustrate with > a example: > > in smtp component between gambas << 3.5 and gambas >> 3.6 the body now has > a method: > > in gambas << 3.6 was: > > hmail as new SmtpClient > hmail.Add("this its the body of the text mail") > > > in gambas >> 3.6 now are: > > hmail as new SmtpClient > hmail.Body("this its the body of the text mail") > > > so how can i in code made something like in c: > > #if gambas < 3.6 > hmail.Add("this its the body of the text mail") > #else > hmail.Body("this its the body of the text mail") > #endif > You can't, this is non-sense: the version of Gambas depends on the computer where you run the program, not the computer where you compile it. Instead you must use System.FullVersion at runtime and run normal IF...ENDIF. And not that SmtpClient.Body is a property, not a method. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Jan 22 15:16:50 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:46:50 -0430 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: <56A0FAA6.4010409@...1...> References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> <56A0FAA6.4010409@...1...> Message-ID: 2016-01-21 11:05 GMT-04:30 Beno?t Minisini : > Le 21/01/2016 16:19, Moviga Technologies a ?crit : > > It seems to me that drag and drop is not working with FileView? > No, this is something to add. > This its due realted to QT libs or only in recent versions of gambas? or never was implemented!? From gambas at ...1... Fri Jan 22 15:19:49 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 22 Jan 2016 15:19:49 +0100 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: References: <569A5709.70504@...1...> Message-ID: <56A23A85.1000701@...1...> Le 22/01/2016 15:14, PICCORO McKAY Lenz a ?crit : > Benoit it worked for me setting explicy the "Alternative" prpperty to > FALSE, seems documentation are very lack of the versions supported of > gambas.. > > i understand the fashion its to use the latest version, but at my work > (that has very large options of hardware) > > we runs many versions of gambas, in fact, we runs 3.4 and 3.6 only, the 3.4 > due compiles well and runs well in older hardware > > in older hardware where lasted libs does not performed well (low amount or > ram for run qt5, so its imposible use a lasted distro) > NOTE IMPORTANT FOR ZEALOTS: use "tuned distros" its not the option where i > must run a DB along with a gui program.. in the Daruma hardware if we run > winbuntu with postges the VGA goes to off and burn due excesive work! > NOTE2: newer distros does not support opengl on older hardware! only dri3. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > Sorry for that. gb.net.smtp is a bit special, because it had to be rewritten from scratch because the first one was based on a full-of-bugs library written by somebody else. If you see that a property or a method exists only since a specific minor version of Gambas, and that I forgot to mention it in the doc, just tell me, or add it yourself in the wiki, by using the special syntax "@{since 3.X}". Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Jan 22 15:24:10 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:54:10 -0430 Subject: [Gambas-user] macros conditionals supported? (at code, at compile time and at runtime time)? In-Reply-To: <56A23977.8070801@...1...> References: <56A23977.8070801@...1...> Message-ID: ok so i can made code like this: if Comp(System.FullVersion , "3.4.3", gb.ignorecase) = 0 then ' code for 3.4 else ' code for lasted endif but i made already and when compile breaks due in 3.4 does not exist the property "Body" in Smtpclient class sorry for "method" right its a property due set contents.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-22 9:45 GMT-04:30 Beno?t Minisini : > Le 22/01/2016 15:00, PICCORO McKAY Lenz a ?crit : > > there its any way of choose piece of logic in gambas code: i ilustrate > with > > a example: > > > > in smtp component between gambas << 3.5 and gambas >> 3.6 the body now > has > > a method: > > > > in gambas << 3.6 was: > > > > hmail as new SmtpClient > > hmail.Add("this its the body of the text mail") > > > > > > in gambas >> 3.6 now are: > > > > hmail as new SmtpClient > > hmail.Body("this its the body of the text mail") > > > > > > so how can i in code made something like in c: > > > > #if gambas < 3.6 > > hmail.Add("this its the body of the text mail") > > #else > > hmail.Body("this its the body of the text mail") > > #endif > > > > You can't, this is non-sense: the version of Gambas depends on the > computer where you run the program, not the computer where you compile it. > > Instead you must use System.FullVersion at runtime and run normal > IF...ENDIF. > > And not that SmtpClient.Body is a property, not a method. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Jan 22 15:26:02 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 09:56:02 -0430 Subject: [Gambas-user] smtp does codified the attachment but does not show in mail reader In-Reply-To: <56A23A85.1000701@...1...> References: <569A5709.70504@...1...> <56A23A85.1000701@...1...> Message-ID: ok Benoit, and dont worry if i edited the wiki i never will write as i made the mails! ?_? (remenber that the mails i worte at my work and at work everything must be done for yesterday!!!) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-22 9:49 GMT-04:30 Beno?t Minisini : > Le 22/01/2016 15:14, PICCORO McKAY Lenz a ?crit : > > Benoit it worked for me setting explicy the "Alternative" prpperty to > > FALSE, seems documentation are very lack of the versions supported of > > gambas.. > > > > i understand the fashion its to use the latest version, but at my work > > (that has very large options of hardware) > > > > we runs many versions of gambas, in fact, we runs 3.4 and 3.6 only, the > 3.4 > > due compiles well and runs well in older hardware > > > > in older hardware where lasted libs does not performed well (low amount > or > > ram for run qt5, so its imposible use a lasted distro) > > NOTE IMPORTANT FOR ZEALOTS: use "tuned distros" its not the option where > i > > must run a DB along with a gui program.. in the Daruma hardware if we run > > winbuntu with postges the VGA goes to off and burn due excesive work! > > NOTE2: newer distros does not support opengl on older hardware! only > dri3. > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > Sorry for that. gb.net.smtp is a bit special, because it had to be > rewritten from scratch because the first one was based on a full-of-bugs > library written by somebody else. > > If you see that a property or a method exists only since a specific > minor version of Gambas, and that I forgot to mention it in the doc, > just tell me, or add it yourself in the wiki, by using the special > syntax "@{since 3.X}". > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Jan 22 15:37:46 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 10:07:46 -0430 Subject: [Gambas-user] =?utf-8?q?non_printable_char_=22=E2=B1=B5=22_how_to?= =?utf-8?q?_remove_from_string!!!!!?= In-Reply-To: References: <1123045648.7112215.1451400786758.JavaMail.yahoo.ref@...3424...> <1123045648.7112215.1451400786758.JavaMail.yahoo@...3424...> <5682A84F.1080800@...626...> <5682E819.3020207@...3301...> <20151230110214.80f10d769aa807a5edfbf43d@...626...> Message-ID: now i tested fully the hardware, the char non-printable and not definitive in the extended ASCII table that i got *was a garbage*.. my parner must made a complete function to remove it .. i talk at the manufacturer but there's no response.. seems like that any guindow-like made hardware are fully of defects! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2015-12-30 1:36 GMT-04:30 Fabien Bodard : > Thank you Bruce :-)... It was really interresting. We can't figure out > how the world was so different and so identical at the same time. > Ascii is old, control sequences too, but they are also always the > underlying tools used on our modern systems and programs. > > > Oups i've forgotten DEL ... yes asc 127 is not printable. I'm really > curious to know why DEL is on the end of the table ... maybe they have > forget it :-/ > > The character "?" is sometime used as replacement by some monitor for > unradable char. But Monitor like vt100 also have the capabilities to > use characters combination, and a set of different characaters can > give one special char. In thi case the problem is not this character > in fact but only all charaters lower than asc 32.. control chars that > interact with the terminal interpreter or with the textarea of gambas. > In the case of the text area gtk can generate error on unreconised > chars, in the case of terminal maybe too because of the char > combination. > > > > > 2015-12-30 1:32 GMT+01:00 adamnt42 at ...626... : > > On Tue, 29 Dec 2015 15:07:53 -0500 > > Stephen wrote: > > > >> On 12/29/2015 10:54 AM, Fabien Bodard wrote: > >> > To resume ... in the old past of ascii all standart printer or monitor > >> > can manage ascii and print 32 to 127 chars. So Ansi C provide a > >> > standart function named IsPrint that allow to say if a char was able > >> > to be printed. > >> > > >> > IN 2015... Ascii is known in it's 8 bit format so printable chars are > >> > from 32 to 255. > >> > > >> > Characters lower than 32 are for monitor, modem and printer > management. > >> > > >> > Thanks to my terminal studie i'm now able to understand all of that > :-). > >> > > >> > It's really interresting to study the past ... > >> > > >> It's more interesting to have LIVED it and now be working with UTF-8. > >> ASCII was SOOO simple, but also SOOOO restrictive. > >> > >> > 2015-12-29 16:39 GMT+01:00 Fabien Bodard: > >> >> But is print just take into account the old asci table > >> >> > >> >> > >> >> 2015-12-29 16:35 GMT+01:00 ML: > >> >>> All, > >> >>> > >> >>> I might be utterly wrong, but since Linux normally uses UTF-8, any > >> >>> high-bit-set char may be interpreted as one of the "multibyte char" > flags. > >> >>> If isprint() takes this into account, then it's dead right that > char by > >> >>> itself is not printable! > >> >>> > >> >>> Hope that helps and makes sense... > >> >>> > >> >>> On 2015-12-29 11:53, Ru Vuott wrote: > >> >>>> Tchao Fabien, > >> >>>> Ru .. Characters> to 127 are printable... > >> >>>> uhmmm... excuse me, but I do not understand. > >> >>>> If I test the "printability" :-) of "characters> to 127" by > using C "isprint()" function (that checks whether the passed character is > printable), I obtain only zero results. > >> >>>> Where: "isprint()" function returns a non-zero value (true) if > character is printable, else zero (false) if character is NOT printable. > >> >>>> > >> >>>> ***************************************************** > >> >>>> #include > >> >>>> int main() { > >> >>>> int i, c; > >> >>>> for (i=128; i<= 255; ++i) { > >> >>>> c = isprint(i); > >> >>>> printf("%d %d\n", i, c); > >> >>>> } > >> >>>> return (0); > >> >>>> } > >> >>>> ***************************************************** > >> >>>> So, it seems resulting that "characters> to 127" are NOT > printable characters. > >> >>>> Ciao > > > > Yes and no. Short answer: 129 though 255 are "extended ACSII" - a very > nebulous area. What is "printable" depends on the "printing device" > "character code" set. > > The character "?" is part of a code set I recall being called the "box > drawing" set that was used on some CRT "print" devices from a bygone era > (aka before Unicode). > > In fact, the fact that I can see and recognize it means something. The > following is a link to an archived article in which you can see the > "amazing" things that were done with such code sets in the 1980's. > > > > > https://books.google.com.au/books?id=C6JUZUHEBuAC&pg=PA327&lpg=PA327&dq=the+software+bottling+company&source=bl&ots=dCVO1ZWFmo&sig=tzzYiReg3OW8NI65rmBvQXo1GXU&hl=en&sa=X&ved=0ahUKEwiC_PHvqYLKAhXjFqYKHRgrCmc4ChDoAQgwMAA#v=onepage&q=the%20software%20bottling%20company&f=false > > > > cheers > > bruce > > > >> >>> > ------------------------------------------------------------------------------ > >> >>> _______________________________________________ > >> >>> Gambas-user mailing list > >> >>> Gambas-user at lists.sourceforge.net > >> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> >> > >> >> -- > >> >> Fabien Bodard > >> > > >> > > >> > >> > >> -- > >> Kindest Regards > >> Stephen A. Bungay, Prop. > >> Smarts On Site Information Systems > >> > >> > >> > ------------------------------------------------------------------------------ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > > B Bruen > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Fri Jan 22 16:14:29 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 22 Jan 2016 16:14:29 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: <56A0DAEE.7010806@...626...> Message-ID: Now I understand why some people use to blow your nose with two bricks instead of the handkerchief! 2016-01-22 14:30 GMT+01:00 PICCORO McKAY Lenz : > despiste the differences, *my points its that gambas has no fault of the > problem*, thats why > the focus of the distribution, and as i pointed, winbuntu its for "easy" > not for optimized! > > i exaplin me: > *In debian (and derivates like buntu) QT4 was removed in experimental/sid > and qt5 superset.. so many of the components not yet ported will fail*, > THIS WILL happened in any other distro > > so in conclusion for you Pino Zollo if u stoped > develop in gambas its due u'r "easy policy" like i pointed of winbuntu > does.. > > for every people that goes to "easy" way, never will see the true root of > the problems.. > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2016-01-22 5:05 GMT-04:30 Gianluigi : > > > If I like something I use it, otherwise I do not use it but without > > despising. > > I appreciate Gambas, I appreciate Ubuntu and I appreciate those who > > respect my > > choices. > > Ubuntu is easy to use and suitable for a simple person like me. :-) > > > > 2016-01-22 2:58 GMT+01:00 PICCORO McKAY Lenz : > > > > > winbuntu spend too much resources... > > > > > > currently in debian gambas has one only mantainer so its not the same, > > > > > > the ppa packages follow the policy of gambas upstream > > > > > > the packages on debian follows quality in two ambits, copyright and > > > availibility respect the debian architectures supported > > > winbuntu only provides the packages and only support two arch, x86 and > > > amd64... > > > > > > 2016-01-21 18:29 GMT-04:30, Gianluigi : > > > > Ciao Pino, > > > > but this is not a big help. :-) > > > > This is not a my problem, I use Ubuntu and are satisfied with Gambas, > > > very > > > > satisfied. > > > > If you struggle a bit, the end result is more satisfactory. > > > > I hope that one day you want to come back with us. :-D > > > > Gianluigi > > > > > > > > 2016-01-21 14:19 GMT+01:00 Pino Zollo : > > > > > > > >> > > > >> > > > >> El 21/01/16 a las 10:01, gambas-user-request at lists.sourceforge.net > > > >> escribi?: > > > >> > [Gambas-user] Debian problem step 3.5.4 to 3.8.4 > > > >> > > > >> Gianluigi...? per questo che ho smesso di usare Gambas > > > >> > > > >> That's why I stopped developments in Gambas > > > >> > > > >> Pino > > > >> > > > >> > > > >> > > > > > > ------------------------------------------------------------------------------ > > > >> Site24x7 APM Insight: Get Deep Visibility into Application > Performance > > > >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > > >> Monitor end-to-end web transactions and take corrective actions now > > > >> Troubleshoot faster and improve end-user experience. Signup Now! > > > >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > > >> _______________________________________________ > > > >> Gambas-user mailing list > > > >> Gambas-user at lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >> > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Site24x7 APM Insight: Get Deep Visibility into Application > Performance > > > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > > > Monitor end-to-end web transactions and take corrective actions now > > > > Troubleshoot faster and improve end-user experience. Signup Now! > > > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > -- > > > Lenz McKAY Gerardo (PICCORO) > > > http://qgqlochekone.blogspot.com > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > > Monitor end-to-end web transactions and take corrective actions now > > > Troubleshoot faster and improve end-user experience. Signup Now! > > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Site24x7 APM Insight: Get Deep Visibility into Application Performance > > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > > Monitor end-to-end web transactions and take corrective actions now > > Troubleshoot faster and improve end-user experience. Signup Now! > > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Fri Jan 22 16:25:34 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Jan 2016 10:55:34 -0430 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 Message-ID: 2016-01-22 10:44 GMT-04:30 Gianluigi : > Now I understand why some people use to blow your nose with two bricks > instead of the handkerchief! the idea is never catch a cold ... unless will love blow noise and Benoit seem are working in this problem of the Text fields missing due qt4/qt5 components problem From bagonergi at ...626... Fri Jan 22 17:13:44 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 22 Jan 2016 17:13:44 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: References: Message-ID: :D :OK 2016-01-22 16:25 GMT+01:00 PICCORO McKAY Lenz : > 2016-01-22 10:44 GMT-04:30 Gianluigi : > > Now I understand why some people use to blow your nose with two bricks > > instead of the handkerchief! > > the idea is never catch a cold ... unless will love blow noise > > and Benoit seem are working in this problem of the Text fields missing > due qt4/qt5 components problem > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From moviga at ...3488... Fri Jan 22 19:07:14 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 22 Jan 2016 19:07:14 +0100 Subject: [Gambas-user] Drag'NDrop with FileView In-Reply-To: References: <5f5c7616a08c66d1b811234f6d163e2e@...3488...> <56A0FAA6.4010409@...1...> Message-ID: <5da13b65a8500ff075ff6c7e7d19464c@...3488...> Den 22.01.2016 15:16, skrev PICCORO McKAY Lenz: > > 2016-01-21 11:05 GMT-04:30 Beno?t Minisini : > > > > Le 21/01/2016 16:19, Moviga Technologies a ?crit : It seems to me that drag and drop is not working with FileView? No, this is something to add. > This its due realted to QT libs or only in recent versions of gambas? > > or never was implemented!? No, the component is written in Gambas. From bugtracker at ...3416... Sat Jan 23 08:25:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 23 Jan 2016 07:25:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #885: Arch Linux Raspberry Pi 2 IDE Segmentation fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.885&from=L21haW4- Comment #6 by Joris ALDERS: I removed everything, and downloaded Gambas 3.8.4 again wget http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.8.4.tar.bz2 tar xvjf gambas3-3.8.4.tar.bz2 cd gambas3-3.8.4 ./reconf-all && ./configure -C Followed by make -j4 , because the RPI 2 is a quadcore And after sudo make install it works pretty good. Joris ALDERS changed the state of the bug to: Fixed. From ihaywood3 at ...626... Sat Jan 23 09:48:07 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Sat, 23 Jan 2016 19:48:07 +1100 Subject: [Gambas-user] TextEdit on Qt5 Message-ID: This was a lot simpler than I thought. I enclose a working patch. Two outstanding issues: - the TextEdit has a grey background (the system default) and ignores setting .Background = Color.White - the documentation doesn't appear in the IDE (because it's looking for qt4.TextEdit, whereas the docs wil lbe under qt5.ext.TextEdit) I suspect I'm missing something (i.e. if it's so easy presumably Benoit had a good reason for not doing it at the start) Anyway I hope this will kick the work along... as I said several of us *really need* TextEdit! Ian -------------- next part -------------- diff --git a/gb.qt4/src/main.cpp b/gb.qt4/src/main.cpp index 543dc7c..b3bfec6 100644 --- a/gb.qt4/src/main.cpp +++ b/gb.qt4/src/main.cpp @@ -99,6 +99,8 @@ #include #ifndef QT5 #include "CEmbedder.h" +#else +#include "CTextEdit.h" #endif #include "desktop.h" @@ -147,6 +149,9 @@ GB_CLASS CLASS_ScrollView; GB_CLASS CLASS_Image; GB_CLASS CLASS_SvgImage; GB_CLASS CLASS_TextArea; +#ifdef QT5 +GB_CLASS CLASS_TextEdit; +#endif static bool in_event_loop = false; static int _no_destroy = 0; @@ -1298,6 +1303,9 @@ GB_DESC *GB_CLASSES[] EXPORT = CWatcherDesc, PrinterDesc, SvgImageDesc, +#ifdef QT5 + CTextEditSelectionDesc, CTextEditFormatDesc, CTextEditDesc, +#endif NULL }; @@ -1406,7 +1414,9 @@ int EXPORT GB_INIT(void) CLASS_Image = GB.FindClass("Image"); CLASS_SvgImage = GB.FindClass("SvgImage"); CLASS_TextArea = GB.FindClass("TextArea"); - +#ifdef QT5 + CLASS_TextEdit = GB.FindClass("TextEdit"); +#endif QT_InitEventLoop(); #ifdef OS_CYGWIN diff --git a/gb.qt5/src/CTextEdit.cpp b/gb.qt5/src/CTextEdit.cpp new file mode 100644 index 0000000..bb0bc20 --- /dev/null +++ b/gb.qt5/src/CTextEdit.cpp @@ -0,0 +1,728 @@ +/*************************************************************************** + + CTextEdit.cpp + + (c) 2000-2013 Beno?t Minisini + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + +***************************************************************************/ + +#define __CTEXTEDIT_CPP + +#include +#include +#include +#include +#include +#include +#include + +#include "gambas.h" +#include "main.h" +#include "CFont.h" +#include "CConst.h" +#include "CTextEdit.h" + + +DECLARE_EVENT(EVENT_Change); +DECLARE_EVENT(EVENT_Cursor); + +#if 0 +static void to_pos(Q3TextEdit *wid, int par, int car, int *pos) +{ + int i, l; + int p = 0; + + for (i = 0; i < par; i++) + { + l = wid->paragraphLength(i); + if (l < 0) + break; + p += l + 1; + } + + *pos = p + car; +} + + +static void from_pos(Q3TextEdit *wid, int pos, int *par, int *car) +{ + int i; + int l; + + for (i = 0; i <= wid->paragraphs(); i++) + { + l = wid->paragraphLength(i); + if (l < 0) + { + pos = wid->length(); + i--; + break; + } + if (pos <= l) + break; + pos -= l + 1; + } + + *par = i; + *car = pos; +} + + +static void look_pos(Q3TextEdit *wid, int *line, int *col) +{ + if (*line == -1) + *line = wid->paragraphs(); + + if (*col == -1) + *col = wid->paragraphLength(*line); +} + + +static void get_selection(Q3TextEdit *wid, int *start, int *length) +{ + int pStart, iStart, pEnd, iEnd; + int posEnd; + + wid->getSelection(&pStart, &iStart, &pEnd, &iEnd); + + if (pStart < 0) + { + wid->getCursorPosition(&pStart, &iStart); + to_pos(wid, pStart, iStart, start); + *length = 0; + return; + } + + to_pos(wid, pStart, iStart, start); + to_pos(wid, pEnd, iEnd, &posEnd); + + *length = posEnd - *start; +} +#endif + +static int get_length(void *_object) +{ + if (THIS->length < 0) + { + QTextBlock block = WIDGET->document()->begin(); + int len = 0; + + while (block.isValid()) + { + len += block.length(); + block = block.next(); + } + + THIS->length = len - 1; + } + + return THIS->length; +} + +static int get_column(void *_object) +{ + QTextCursor cursor = WIDGET->textCursor(); + return cursor.position() - cursor.block().position(); +} + +static void to_pos(QTextEdit *wid, int par, int car, int *pos) +{ + QTextCursor cursor = wid->textCursor(); + QTextBlock block = cursor.block(); + int p = 0; + + while (par) + { + if (!block.isValid()) + break; + p += block.length() + 1; + block = block.next(); + par--; + } + + *pos = p + car; +} + + +static void from_pos(void *_object, int pos, int *par, int *car) +{ + QTextCursor cursor = WIDGET->textCursor(); + + if (pos >= get_length(THIS)) + cursor.movePosition(QTextCursor::End); + else + cursor.setPosition(pos); + + *par = cursor.blockNumber(); + *car = cursor.position() - cursor.block().position(); +} + + +static void get_selection(QTextEdit *wid, int *start, int *length) +{ + QTextCursor cursor = wid->textCursor(); + + *start = cursor.selectionStart(); + *length = cursor.selectionEnd() - *start; +} + + +/** MyTextEdit *************************************************************/ + +MyTextEdit::MyTextEdit(QWidget *parent) : QTextEdit(parent) +{ + setTabChangesFocus(true); + //viewport()->setMouseTracking(true); +} + +MyTextEdit::~MyTextEdit() +{ +} + +void MyTextEdit::emitLinkClicked(const QString &s) +{ + //d->textOrSourceChanged = FALSE; + emit linkClicked( s ); + //if ( !d->textOrSourceChanged ) + // setSource( s ); +} + +/** TEXTEDIT ***************************************************************/ + +BEGIN_PROPERTY(CTEXTEDIT_text) + + if (READ_PROPERTY) + RETURN_NEW_STRING(WIDGET->document()->toPlainText()); + else + { + WIDGET->document()->setPlainText(QSTRING_PROP()); + //THIS->length = -1; + } + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_rich_text) + + if (READ_PROPERTY) + RETURN_NEW_STRING(WIDGET->document()->toHtml("utf-8")); + else + WIDGET->document()->setHtml(QSTRING_PROP()); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_length) + + GB.ReturnInteger(get_length(THIS)); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_read_only) + + if (READ_PROPERTY) + GB.ReturnBoolean(WIDGET->isReadOnly()); + else + WIDGET->setReadOnly(VPROP(GB_BOOLEAN)); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_wrap) + + if (READ_PROPERTY) + GB.ReturnBoolean(WIDGET->lineWrapMode() != QTextEdit::NoWrap); + else + WIDGET->setLineWrapMode(VPROP(GB_BOOLEAN) ? QTextEdit::WidgetWidth : QTextEdit::NoWrap); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_column) + + QTextCursor cursor = WIDGET->textCursor(); + + if (READ_PROPERTY) + //GB.ReturnInteger(WIDGET->textCursor().columnNumber()); + GB.ReturnInteger(get_column(THIS)); + else + { + int col = VPROP(GB_INTEGER); + + if (col <= 0) + cursor.movePosition(QTextCursor::QTextCursor::StartOfBlock); + else if (col >= cursor.block().length()) + cursor.movePosition(QTextCursor::QTextCursor::EndOfBlock); + else + cursor.setPosition(cursor.block().position() + col); + + WIDGET->setTextCursor(cursor); + } + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_line) + + QTextCursor cursor = WIDGET->textCursor(); + + if (READ_PROPERTY) + GB.ReturnInteger(cursor.blockNumber()); + else + { + int col = get_column(THIS); + int line = VPROP(GB_INTEGER); + + if (line < 0) + cursor.movePosition(QTextCursor::Start); + else if (line >= WIDGET->document()->blockCount()) + cursor.movePosition(QTextCursor::End); + else + { + cursor.setPosition(WIDGET->document()->findBlockByNumber(line).position()); + if (col > 0) + { + if (col >= cursor.block().length()) + cursor.movePosition(QTextCursor::QTextCursor::EndOfBlock); + else + cursor.setPosition(cursor.block().position() + col); + } + } + + WIDGET->setTextCursor(cursor); + } + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_pos) + + if (READ_PROPERTY) + { + GB.ReturnInteger(WIDGET->textCursor().position()); + } + else + { + int pos = VPROP(GB_INTEGER); + QTextCursor cursor = WIDGET->textCursor(); + + if (pos >= get_length(THIS)) + cursor.movePosition(QTextCursor::End); + else + cursor.setPosition(pos); + + WIDGET->setTextCursor(cursor); + } + +END_PROPERTY + +BEGIN_METHOD_VOID(CTEXTEDIT_clear) + + WIDGET->clear(); + +END_METHOD + +BEGIN_METHOD(CTEXTEDIT_insert, GB_STRING text) + + WIDGET->textCursor().insertText(QSTRING_ARG(text)); + +END_METHOD + + +/** .TextEdit.Selection ****************************************************/ + +BEGIN_PROPERTY(CTEXTEDIT_sel_text) + + if (READ_PROPERTY) + RETURN_NEW_STRING(WIDGET->textCursor().selection().toPlainText()); + else + WIDGET->textCursor().insertText(QSTRING_PROP()); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_sel_rich_text) + + if (READ_PROPERTY) + RETURN_NEW_STRING(WIDGET->textCursor().selection().toHtml()); + else + WIDGET->textCursor().insertFragment(QTextDocumentFragment::fromHtml(QSTRING_PROP())); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_sel_length) + + int start, length; + + get_selection(WIDGET, &start, &length); + GB.ReturnInteger(length); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_sel_start) + + int start, length; + + get_selection(WIDGET, &start, &length); + GB.ReturnInteger(start); + +END_PROPERTY + +BEGIN_METHOD_VOID(CTEXTEDIT_sel_clear) + + QTextCursor cursor = WIDGET->textCursor(); + cursor.clearSelection(); + WIDGET->setTextCursor(cursor); + +END_METHOD + +BEGIN_PROPERTY(CTEXTEDIT_selected) + + GB.ReturnBoolean(WIDGET->textCursor().hasSelection()); + +END_PROPERTY + +BEGIN_METHOD(CTEXTEDIT_sel_select, GB_INTEGER start; GB_INTEGER length) + + if (MISSING(start) && MISSING(length)) + WIDGET->textCursor().select(QTextCursor::Document); + else if (!MISSING(start) && !MISSING(length)) + { + QTextCursor cursor = WIDGET->textCursor(); + + cursor.setPosition(VARG(start)); + cursor.setPosition(VARG(start) + VARG(length), QTextCursor::KeepAnchor); + + WIDGET->setTextCursor(cursor); + } + +END_METHOD + +BEGIN_METHOD_VOID(CTEXTEDIT_sel_all) + + QTextCursor cursor = WIDGET->textCursor(); + cursor.select(QTextCursor::Document); + WIDGET->setTextCursor(cursor); + +END_METHOD + +/***************************************************************************/ + +BEGIN_METHOD(CTEXTEDIT_to_pos, GB_INTEGER line; GB_INTEGER col) + + int pos; + + to_pos(WIDGET, VARG(line), VARG(col), &pos); + + GB.ReturnInteger(pos); + +END_METHOD + +BEGIN_METHOD(CTEXTEDIT_to_line, GB_INTEGER pos) + + int line, col; + + from_pos(THIS, VARG(pos), &line, &col); + + GB.ReturnInteger(line); + +END_METHOD + +BEGIN_METHOD(CTEXTEDIT_to_col, GB_INTEGER pos) + + int line, col; + + from_pos(THIS, VARG(pos), &line, &col); + + GB.ReturnInteger(col); + +END_METHOD + +BEGIN_METHOD_VOID(CTEXTEDIT_copy) + + WIDGET->copy(); + +END_METHOD + + +BEGIN_METHOD_VOID(CTEXTEDIT_cut) + + WIDGET->cut(); + +END_METHOD + + +BEGIN_METHOD_VOID(CTEXTEDIT_paste) + + WIDGET->paste(); + +END_METHOD + + +BEGIN_METHOD_VOID(CTEXTEDIT_undo) + + WIDGET->undo(); + +END_METHOD + + +BEGIN_METHOD_VOID(CTEXTEDIT_redo) + + WIDGET->redo(); + +END_METHOD + +BEGIN_METHOD_VOID(CTEXTEDIT_ensure_visible) + + WIDGET->ensureCursorVisible(); + +END_METHOD + + +BEGIN_PROPERTY(CTEXTEDIT_border) + + CWIDGET_border_simple(_object, _param); + +END_PROPERTY + + + +/** TextEdit ***************************************************************/ + +BEGIN_METHOD(CTEXTEDIT_new, GB_OBJECT parent) + + QTextEdit *wid = new QTextEdit(QCONTAINER(VARG(parent))); + + QObject::connect(wid, SIGNAL(textChanged()), &CTextEdit::manager, SLOT(changed())); + QObject::connect(wid, SIGNAL(cursorPositionChanged()), &CTextEdit::manager, SLOT(cursor())); + + wid->setLineWrapMode(QTextEdit::NoWrap); + + CWIDGET_new(wid, (void *)_object); + + THIS->length = -1; + +END_METHOD + +BEGIN_PROPERTY(CTEXTEDIT_scroll_x) + + if (READ_PROPERTY) + GB.ReturnInteger(WIDGET->horizontalScrollBar()->value()); + else + WIDGET->horizontalScrollBar()->setValue(VPROP(GB_INTEGER)); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_scroll_y) + + if (READ_PROPERTY) + GB.ReturnInteger(WIDGET->verticalScrollBar()->value()); + else + WIDGET->verticalScrollBar()->setValue(VPROP(GB_INTEGER)); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_text_width) + + if (WIDGET->document()->isEmpty()) + GB.ReturnInteger(0); + else + GB.ReturnInteger(WIDGET->document()->documentLayout()->documentSize().toSize().width()); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_text_height) + + if (WIDGET->document()->isEmpty()) + GB.ReturnInteger(0); + else + GB.ReturnInteger(WIDGET->document()->documentLayout()->documentSize().toSize().height()); + +END_PROPERTY + +/***************************************************************************/ + +BEGIN_PROPERTY(CTEXTEDIT_format_alignment) + + if (READ_PROPERTY) + GB.ReturnInteger(CCONST_alignment(WIDGET->alignment() + Qt::AlignVCenter, ALIGN_NORMAL, false)); + else + WIDGET->setAlignment((Qt::Alignment)(CCONST_alignment(VPROP(GB_INTEGER), ALIGN_NORMAL, true) & Qt::AlignHorizontal_Mask)); + +END_PROPERTY + + +/*BEGIN_PROPERTY(CTEXTEDIT_format_position) + + if (READ_PROPERTY) + GB.ReturnInteger(WIDGET->verticalAlignment()); + else + WIDGET->setVerticalAlignment((QTextEdit::VerticalAlignment)VPROP(GB_INTEGER)); + +END_PROPERTY*/ + +static void set_font(QFont &font, void *_object = 0) +{ + WIDGET->setCurrentFont(font); +} + +BEGIN_PROPERTY(CTEXTEDIT_format_font) + + if (READ_PROPERTY) + GB.ReturnObject(CFONT_create(WIDGET->currentFont(), set_font, _object)); + else + CFONT_set(set_font, VPROP(GB_OBJECT), THIS); + +END_PROPERTY + + +BEGIN_PROPERTY(CTEXTEDIT_format_color) + + if (READ_PROPERTY) + GB.ReturnInteger(WIDGET->textColor().rgb() & 0xFFFFFF); + else + WIDGET->setTextColor(QColor((QRgb)VPROP(GB_INTEGER))); + +END_PROPERTY + +BEGIN_PROPERTY(CTEXTEDIT_format_background) + + if (READ_PROPERTY) + GB.ReturnInteger(WIDGET->textBackgroundColor().rgb() & 0xFFFFFF); + else + WIDGET->setTextBackgroundColor(QColor((QRgb)VPROP(GB_INTEGER))); + +END_PROPERTY + +/***************************************************************************/ + +GB_DESC CTextEditFormatDesc[] = +{ + GB_DECLARE(".TextEdit.Format", 0), GB_VIRTUAL_CLASS(), + + GB_PROPERTY("Alignment", "i", CTEXTEDIT_format_alignment), + //GB_PROPERTY("Position", "i", CTEXTEDIT_format_position), + GB_PROPERTY("Font", "Font", CTEXTEDIT_format_font), + GB_PROPERTY("Color", "i", CTEXTEDIT_format_color), + GB_PROPERTY("Background", "i", CTEXTEDIT_format_background), + + GB_END_DECLARE +}; + +GB_DESC CTextEditSelectionDesc[] = +{ + GB_DECLARE(".TextEdit.Selection", 0), GB_VIRTUAL_CLASS(), + + GB_PROPERTY("Text", "s", CTEXTEDIT_sel_text), + GB_PROPERTY("RichText", "s", CTEXTEDIT_sel_rich_text), + GB_PROPERTY_READ("Length", "i", CTEXTEDIT_sel_length), + GB_PROPERTY_READ("Start", "i", CTEXTEDIT_sel_start), + GB_METHOD("Hide", NULL, CTEXTEDIT_sel_clear, NULL), + + GB_END_DECLARE +}; + +GB_DESC CTextEditDesc[] = +{ + GB_DECLARE("TextEdit", sizeof(CTEXTEDIT)), GB_INHERITS("Control"), + + GB_METHOD("_new", NULL, CTEXTEDIT_new, "(Parent)Container;"), + + //GB_CONSTANT("Normal", "i", QTextEdit::AlignNormal), + //GB_CONSTANT("SubScript", "i", QTextEdit::AlignSubScript), + //GB_CONSTANT("SuperScript", "i", QTextEdit::AlignSuperScript), + + GB_PROPERTY("ReadOnly", "b", CTEXTEDIT_read_only), + + GB_METHOD("Clear", NULL, CTEXTEDIT_clear, NULL), + + GB_PROPERTY("Text", "s", CTEXTEDIT_text), + GB_PROPERTY("RichText", "s", CTEXTEDIT_rich_text), + GB_METHOD("Insert", NULL, CTEXTEDIT_insert, "(Text)s"), + + GB_PROPERTY("Paragraph", "i", CTEXTEDIT_line), + GB_PROPERTY("Index", "i", CTEXTEDIT_column), + GB_PROPERTY("Pos", "i", CTEXTEDIT_pos), + //GB_PROPERTY_READ("Line", "i", CTEXTEDIT_line), + + GB_METHOD("ToPos", "i", CTEXTEDIT_to_pos, "(Paragraph)i(Index)i"), + GB_METHOD("ToParagraph", "i", CTEXTEDIT_to_line, "(Pos)i"), + GB_METHOD("ToIndex", "i", CTEXTEDIT_to_col, "(Pos)i"), + + GB_METHOD("EnsureVisible", NULL, CTEXTEDIT_ensure_visible, NULL), + + GB_PROPERTY_SELF("Selection", ".TextEdit.Selection"), + GB_METHOD("Select", NULL, CTEXTEDIT_sel_select, "[(Start)i(Length)i]"), + GB_METHOD("SelectAll", NULL, CTEXTEDIT_sel_all, NULL), + GB_METHOD("Unselect", NULL, CTEXTEDIT_sel_clear, NULL), + GB_PROPERTY_READ("Selected", "b", CTEXTEDIT_selected), + + GB_METHOD("Copy", NULL, CTEXTEDIT_copy, NULL), + GB_METHOD("Cut", NULL, CTEXTEDIT_cut, NULL), + GB_METHOD("Paste", NULL, CTEXTEDIT_paste, NULL), + GB_METHOD("Undo", NULL, CTEXTEDIT_undo, NULL), + GB_METHOD("Redo", NULL, CTEXTEDIT_redo, NULL), + + GB_PROPERTY("Border", "b", CTEXTEDIT_border), + GB_PROPERTY("ScrollBar", "i", CWIDGET_scrollbar), + GB_PROPERTY("Wrap", "b", CTEXTEDIT_wrap), + + GB_PROPERTY("ScrollX", "i", CTEXTEDIT_scroll_x), + GB_PROPERTY("ScrollY", "i", CTEXTEDIT_scroll_y), + + GB_PROPERTY_READ("TextWidth", "i", CTEXTEDIT_text_width), + GB_PROPERTY_READ("TextHeight", "i", CTEXTEDIT_text_height), + + GB_PROPERTY_SELF("Format", ".TextEdit.Format"), + + GB_EVENT("Change", NULL, NULL, &EVENT_Change), + GB_EVENT("Cursor", NULL, NULL, &EVENT_Cursor), + //GB_EVENT("Link", NULL, "(Path)s", &EVENT_Link), + + TEXTEDIT_DESCRIPTION, + + GB_END_DECLARE +}; + + +/** CTextEdit **************************************************************/ + +CTextEdit CTextEdit::manager; + +void CTextEdit::changed(void) +{ + GET_SENDER(); + GB.Raise(THIS, EVENT_Change, 0); +} + +void CTextEdit::cursor(void) +{ + GET_SENDER(); + GB.Raise(THIS, EVENT_Cursor, 0); +} + +#if 0 +void CTEXTEDIT::link(const QString &path) +{ + void *_object = QT.GetObject((QWidget *)sender()); + + //THIS_EDIT->change = false; + + GB.Raise(_object, EVENT_Link, 1, + GB_T_STRING, TO_UTF8(path), 0); + + /*if (!THIS_EDIT->change) + { + // This cancels the click on the link (see qt source code) + WIDGET->setSource(WIDGET->source()); + }*/ +} +#endif diff --git a/gb.qt5/src/CTextEdit.h b/gb.qt5/src/CTextEdit.h new file mode 100644 index 0000000..a5ffd44 --- /dev/null +++ b/gb.qt5/src/CTextEdit.h @@ -0,0 +1,85 @@ +/*************************************************************************** + + CTextEdit.h + + (c) 2000-2013 Beno?t Minisini + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, + MA 02110-1301, USA. + +***************************************************************************/ + +#ifndef __CTEXTEDIT_H +#define __CTEXTEDIT_H + +#include "gambas.h" +#include "CWidget.h" +#include + +#ifndef __CTEXTEDIT_CPP +extern GB_DESC CTextEditSelectionDesc[]; +extern GB_DESC CTextEditFormatDesc[]; +extern GB_DESC CTextEditDesc[]; +#else + +#define WIDGET ((QTextEdit *)((CWIDGET *)_object)->widget) +#define MYTEXTEDIT ((MyTextEdit *)((CWIDGET *)_object)->widget) +#define THIS ((CTEXTEDIT *)_object) + +#endif + +typedef + struct { + CWIDGET widget; + int length; + bool change; + } + CTEXTEDIT; + +class MyTextEdit: public QTextEdit +{ + Q_OBJECT + +public: + MyTextEdit(QWidget *parent = 0); + ~MyTextEdit(); + +signals: + //void highlighted(const QString&); + void linkClicked(const QString&); + +private: + //void popupDetail( const QString& contents, const QPoint& pos ); + bool linksEnabled() const { return true; } + //void emitHighlighted( const QString &s ); + void emitLinkClicked( const QString &s ); +}; + +class CTextEdit : public QObject +{ + Q_OBJECT + +public: + + static CTextEdit manager; + +public slots: + + void changed(void); + void cursor(void); + //void link(const QString &); +}; + +#endif From moviga at ...3488... Sat Jan 23 14:33:02 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 23 Jan 2016 14:33:02 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: References: Message-ID: Wow, thank you! Beno?t! Can you include this in the SVN? Pretty please?! :) From gambas at ...1... Sat Jan 23 14:45:50 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 23 Jan 2016 14:45:50 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: References: Message-ID: <56A3840E.5070107@...1...> Le 23/01/2016 14:33, Moviga Technologies a ?crit : > > > Wow, thank you! > > Beno?t! Can you include this in the SVN? Pretty please?! :) Yes, but it cannot be included directly in the gb.qt5 component. It must be included in an extension component like gb.qt4 has. -- Beno?t Minisini From moviga at ...3488... Sat Jan 23 15:42:45 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 23 Jan 2016 15:42:45 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A3840E.5070107@...1...> References: <56A3840E.5070107@...1...> Message-ID: <9df094a7a50feef7ca1a47e4ce9cdb61@...3488...> That's very fine! From bagonergi at ...626... Sat Jan 23 17:48:54 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 23 Jan 2016 17:48:54 +0100 Subject: [Gambas-user] Debian problem step 3.5.4 to 3.8.4 In-Reply-To: <56A039BF.3030207@...1...> References: <56A039BF.3030207@...1...> Message-ID: Hello Benoit, Our mutual friend announces that, after setting the component gb.gui.qt, now to several days after, they have all worked. I apologize for the trouble, but I believe that you will be happy to know that you have worked a miracle for induction, the projects rather than submit to your harsh judgment, they have preferred self-adjust :-) I hope this good news help the friend Pino Zollo to review its decision. :-D Regards Gianluigi 2016-01-21 2:51 GMT+01:00 Beno?t Minisini : > Le 21/01/2016 02:35, Ian Haywood a ?crit : > > On Tue, Jan 19, 2016 at 8:45 PM, Gianluigi wrote: > >> Hello to all, > >> a friend of ours of Gambas-it forum, runs Debian and updated from > version > >> 3.5.4 to 3.8.4. > >> He can no longer use the old qt4 projects. > >> He tried compile, compile all, refresh, reload ? but nothing. > >> Changing with gb.gui.qt in some projects the Fmain.class disappears and > in > >> the other Fmain.form. > >> On Update all forms he gets this message: ?Unable to update all forms! > Too > >> many arguments. ProjectUpdateAllForms.5941?. > > > > Is he/she using TextEdit? > > > > This is the problem I have run into: Debian no longer supports Qt4, > > and Qt5 on Gambas > > has no TextEdit, so my project doesn't load. > > > > I would like to enter in another plea for TextEdit to be supported on > Qt5. > > Previous discussions have been around a Gambas-native rich text > > editor: agree that's a > > lot of work, but also unnecessary: Qt5 has a rich text editor (see > > http://doc.qt.io/qt-5/richtext.html) > > I don't see why that cannot be used. > > > > I'd have a crack at doing it myself but I have limited time and > > haven't used C++/Qt for many years > > so it would take some time to relearn. > > Would be happy to pay if there are others able to here. > > > > ian > > > > Indeed. Normally switching from Qt4 to Qt5 has no big problem unless you > use the TextEdit control. Does your friend use it? Otherwise, can you > send one or two projects that do not work? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Jan 24 01:07:24 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 24 Jan 2016 01:07:24 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: References: Message-ID: <56A415BC.3090204@...1...> Le 23/01/2016 09:48, Ian Haywood a ?crit : > This was a lot simpler than I thought. > I enclose a working patch. Two outstanding issues: > - the TextEdit has a grey background (the system default) and ignores > setting .Background = Color.White > - the documentation doesn't appear in the IDE (because it's looking > for qt4.TextEdit, whereas the docs wil lbe under > qt5.ext.TextEdit) > > I suspect I'm missing something (i.e. if it's so easy presumably > Benoit had a good reason for not doing it at the start) > Anyway I hope this will kick the work along... as I said several of us > *really need* TextEdit! > > Ian > TextEdit has been included in a new 'gb.qt5.ext' component in revision #7584. I hope you will make a statue of me. :-) Note that there is no 'gb.gui.qt.ext' virtual component to automatically switch between gb.qt4.ext and gb.qt5.ext, as these two components do not include the same controls. Regards, -- Beno?t Minisini From moviga at ...3488... Sun Jan 24 01:25:49 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 24 Jan 2016 01:25:49 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A415BC.3090204@...1...> References: <56A415BC.3090204@...1...> Message-ID: That is super! I'll give you a cyber man hug as I am not to good with a chisel :) From gambas at ...1... Sun Jan 24 01:31:28 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 24 Jan 2016 01:31:28 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: References: <56A415BC.3090204@...1...> Message-ID: <56A41B60.4070207@...1...> Le 24/01/2016 01:25, Moviga Technologies a ?crit : > > > That is super! I'll give you a cyber man hug as I am not to good with a > chisel :) > > I'm normally going to Geneva Feb., 4th on the evening, if you want to bring me some swiss chocolate. :-) -- Beno?t Minisini From moviga at ...3488... Sun Jan 24 01:40:55 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 24 Jan 2016 01:40:55 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A41B60.4070207@...1...> References: <56A415BC.3090204@...1...> <56A41B60.4070207@...1...> Message-ID: It took me half a minute to understand what you mean :) I am using the Kolab mail service as it has great terms, but I am in fact Norwegian :) We have some really good milk chocolate here too though. I can send you some as a thank you if you for the component, and Gambas in general, if you email me your address. From gambas at ...1... Sun Jan 24 01:52:24 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 24 Jan 2016 01:52:24 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: References: <56A415BC.3090204@...1...> <56A41B60.4070207@...1...> Message-ID: <56A42048.4080909@...1...> Le 24/01/2016 01:40, Moviga Technologies a ?crit : > > > It took me half a minute to understand what you mean :) I am using the > Kolab mail service as it has great terms, but I am in fact Norwegian :) > We have some really good milk chocolate here too though. I can send you > some as a thank you if you for the component, and Gambas in general, if > you email me your address. Haaaa okay ! Maybe you can finish the translation of the IDE in norwegian instead ? And the components ? :-) -- Beno?t Minisini From moviga at ...3488... Sun Jan 24 02:18:13 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 24 Jan 2016 02:18:13 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A42048.4080909@...1...> References: <56A415BC.3090204@...1...> <56A41B60.4070207@...1...> <56A42048.4080909@...1...> Message-ID: <0b4664213649adfa13cacee947255a5f@...3488...> Making all in ext make[5]: Entering directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' CXX gb_qt5_ext_la-main.lo /usr/lib/qt/bin/moc -o CTextEdit_moc.cpp CTextEdit.h CXX gb_qt5_ext_la-CTextEdit_moc.lo CXX gb_qt5_ext_la-CTextEdit.lo CXXLD gb.qt5.ext.la make[5]: *** No rule to make target 'gb.qt5.ext.component', needed by 'all-am'. Stop. make[5]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' Makefile:1330: recipe for target 'all-recursive' failed make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' Makefile:448: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:380: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' Makefile:438: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk' Makefile:379: recipe for target 'all' failed make: *** [all] Error 2 From gambas at ...1... Sun Jan 24 02:23:48 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 24 Jan 2016 02:23:48 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <0b4664213649adfa13cacee947255a5f@...3488...> References: <56A415BC.3090204@...1...> <56A41B60.4070207@...1...> <56A42048.4080909@...1...> <0b4664213649adfa13cacee947255a5f@...3488...> Message-ID: <56A427A4.4030703@...1...> Le 24/01/2016 02:18, Moviga Technologies a ?crit : > > > Making all in ext > make[5]: Entering directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' > CXX gb_qt5_ext_la-main.lo > /usr/lib/qt/bin/moc -o CTextEdit_moc.cpp CTextEdit.h > CXX gb_qt5_ext_la-CTextEdit_moc.lo > CXX gb_qt5_ext_la-CTextEdit.lo > CXXLD gb.qt5.ext.la > make[5]: *** No rule to make target 'gb.qt5.ext.component', needed by > 'all-am'. Stop. > make[5]: Leaving directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' > Makefile:1330: recipe for target 'all-recursive' failed > make[4]: *** [all-recursive] Error 1 > make[4]: Leaving directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' > Makefile:448: recipe for target 'all-recursive' failed > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' > Makefile:380: recipe for target 'all' failed > make[2]: *** [all] Error 2 > make[2]: Leaving directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' > Makefile:438: recipe for target 'all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk' > Makefile:379: recipe for target 'all' failed > make: *** [all] Error 2 > > Oops, fixed in revision #7585. -- Beno?t Minisini From moviga at ...3488... Sun Jan 24 13:42:55 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 24 Jan 2016 13:42:55 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A415BC.3090204@...1...> References: <56A415BC.3090204@...1...> Message-ID: <3605f1bc9b4e11f4fa8a3f2d150b9289@...3488...> Would it be possible to also have .InsertRichText() ? That way one will not have to extract all the RichText, manipulate it and re-insert it to get tables, images, ul/ol and the like. From taboege at ...626... Sun Jan 24 17:17:29 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Jan 2016 17:17:29 +0100 Subject: [Gambas-user] Share code across projects Message-ID: <20160124161729.GA18449@...2774...> Hi everybody, with the semester break upcoming, I plan to supplement a project of mine with some other applications in which I want to use classes from the project. I have not, if memory serves, written any "local" components yet. By "local" I mean a component which is *not* installed into /usr/lib/gambas3. >From what I remember from other threads, I could: - symlink source files around, - copy source files around, - install the project to /usr/lib/gambas3, or - create a Library. I don't really want to copy source files as I presume they will change considerably during development. The symlink solution is kind of dirty and makes the projects less easy to give to others. I would prefer not to touch /usr/lib/gambas3 for some private project of very limited scope (i.e. it is way too specific to lie amongst the general components). As I imagine, using a library becomes messy, too, if it should be shared by multiple projects. Also I couldn't really share my project because the library path is absolute and won't work on somebody else's computer (right?). How are you others doing this? Did you notice or can you imagine any problems with your way of doing it? Any arguments in favour of the library approach? I think a user-specific directory for custom components would be nice. It would be a standard path relative to a user's home directory which is taken into account by the IDE (when it lists the installed components) and the interpreter (when it loads components). Or is that considered a security risk, Benoit? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From moviga at ...3488... Sun Jan 24 17:21:52 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sun, 24 Jan 2016 17:21:52 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: <20160124161729.GA18449@...2774...> References: <20160124161729.GA18449@...2774...> Message-ID: How about a category for libraries on the Farm? So that when you install the program on somebody else's computer, it will fetch the library from the farm and put it in that directory in the users home folder... From gambas at ...1... Sun Jan 24 17:49:51 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 24 Jan 2016 17:49:51 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: <20160124161729.GA18449@...2774...> References: <20160124161729.GA18449@...2774...> Message-ID: <56A500AF.5000505@...1...> Le 24/01/2016 17:17, Tobias Boege a ?crit : > Hi everybody, > > with the semester break upcoming, I plan to supplement a project of mine > with some other applications in which I want to use classes from the > project. I have not, if memory serves, written any "local" components yet. > By "local" I mean a component which is *not* installed into /usr/lib/gambas3. > >>From what I remember from other threads, I could: > - symlink source files around, > - copy source files around, > - install the project to /usr/lib/gambas3, or > - create a Library. > > I don't really want to copy source files as I presume they will change > considerably during development. The symlink solution is kind of dirty and > makes the projects less easy to give to others. I would prefer not to touch > /usr/lib/gambas3 for some private project of very limited scope (i.e. it is > way too specific to lie amongst the general components). As I imagine, using > a library becomes messy, too, if it should be shared by multiple projects. > Also I couldn't really share my project because the library path is absolute > and won't work on somebody else's computer (right?). > > How are you others doing this? Did you notice or can you imagine any problems > with your way of doing it? Any arguments in favour of the library approach? > > I think a user-specific directory for custom components would be nice. It > would be a standard path relative to a user's home directory which is > taken into account by the IDE (when it lists the installed components) and > the interpreter (when it loads components). Or is that considered a security > risk, Benoit? > > Regards, > Tobi > User-specific directory for components was existing before but has been removed. I think that custom components (in the sense of Gambas) can be a security risk, but it is above all a management mess. Moreover, as I said elsewhere, for me components are part of the language, it's like "interpreter drivers". So I'd prefer using libraries for that. But to fit your needs, I have to enhance the libraries support with: - The ability to share libraries between different projects without having to put everything in the same directory. - The ability to explicitly load a library from any path. What do you think? -- Beno?t Minisini From mckaygerhard at ...626... Sun Jan 24 19:02:18 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 24 Jan 2016 13:32:18 -0430 Subject: [Gambas-user] Share code across projects In-Reply-To: <56A500AF.5000505@...1...> References: <20160124161729.GA18449@...2774...> <56A500AF.5000505@...1...> Message-ID: i thinks that all those great "ideas" have too many depends on network! some time ago some devels cited the problem of the online-always documentation and the gambas team work hard to make the help available offline, now this "ideas" are some regression of that important behavior!!! what are happened here??? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-01-24 12:19 GMT-04:30 Beno?t Minisini : > Le 24/01/2016 17:17, Tobias Boege a ?crit : > > Hi everybody, > > > > with the semester break upcoming, I plan to supplement a project of mine > > with some other applications in which I want to use classes from the > > project. I have not, if memory serves, written any "local" components > yet. > > By "local" I mean a component which is *not* installed into > /usr/lib/gambas3. > > > >>From what I remember from other threads, I could: > > - symlink source files around, > > - copy source files around, > > - install the project to /usr/lib/gambas3, or > > - create a Library. > > > > I don't really want to copy source files as I presume they will change > > considerably during development. The symlink solution is kind of dirty > and > > makes the projects less easy to give to others. I would prefer not to > touch > > /usr/lib/gambas3 for some private project of very limited scope (i.e. it > is > > way too specific to lie amongst the general components). As I imagine, > using > > a library becomes messy, too, if it should be shared by multiple > projects. > > Also I couldn't really share my project because the library path is > absolute > > and won't work on somebody else's computer (right?). > > > > How are you others doing this? Did you notice or can you imagine any > problems > > with your way of doing it? Any arguments in favour of the library > approach? > > > > I think a user-specific directory for custom components would be nice. It > > would be a standard path relative to a user's home directory which is > > taken into account by the IDE (when it lists the installed components) > and > > the interpreter (when it loads components). Or is that considered a > security > > risk, Benoit? > > > > Regards, > > Tobi > > > > User-specific directory for components was existing before but has been > removed. > > I think that custom components (in the sense of Gambas) can be a > security risk, but it is above all a management mess. > > Moreover, as I said elsewhere, for me components are part of the > language, it's like "interpreter drivers". > > So I'd prefer using libraries for that. > > But to fit your needs, I have to enhance the libraries support with: > > - The ability to share libraries between different projects without > having to put everything in the same directory. > > - The ability to explicitly load a library from any path. > > What do you think? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Jan 24 20:06:29 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Jan 2016 20:06:29 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: References: <20160124161729.GA18449@...2774...> <56A500AF.5000505@...1...> Message-ID: <20160124190629.GC18449@...2774...> On Sun, 24 Jan 2016, PICCORO McKAY Lenz wrote: > i thinks that all those great "ideas" have too many depends on network! > > some time ago some devels cited the problem of the online-always > documentation and > > the gambas team work hard to make the help available offline, > > now this "ideas" are some regression of that important behavior!!! > > what are happened here??? > I asked for ways to use code from one of my projects in other projects. It has nothing to do with network. Calm down. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sun Jan 24 20:27:08 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Jan 2016 20:27:08 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: <56A500AF.5000505@...1...> References: <20160124161729.GA18449@...2774...> <56A500AF.5000505@...1...> Message-ID: <20160124192708.GD18449@...2774...> On Sun, 24 Jan 2016, Beno??t Minisini wrote: > Le 24/01/2016 17:17, Tobias Boege a ?crit : > > Hi everybody, > > > > with the semester break upcoming, I plan to supplement a project of mine > > with some other applications in which I want to use classes from the > > project. I have not, if memory serves, written any "local" components yet. > > By "local" I mean a component which is *not* installed into /usr/lib/gambas3. > > > >>From what I remember from other threads, I could: > > - symlink source files around, > > - copy source files around, > > - install the project to /usr/lib/gambas3, or > > - create a Library. > > > > I don't really want to copy source files as I presume they will change > > considerably during development. The symlink solution is kind of dirty and > > makes the projects less easy to give to others. I would prefer not to touch > > /usr/lib/gambas3 for some private project of very limited scope (i.e. it is > > way too specific to lie amongst the general components). As I imagine, using > > a library becomes messy, too, if it should be shared by multiple projects. > > Also I couldn't really share my project because the library path is absolute > > and won't work on somebody else's computer (right?). > > > > How are you others doing this? Did you notice or can you imagine any problems > > with your way of doing it? Any arguments in favour of the library approach? > > > > I think a user-specific directory for custom components would be nice. It > > would be a standard path relative to a user's home directory which is > > taken into account by the IDE (when it lists the installed components) and > > the interpreter (when it loads components). Or is that considered a security > > risk, Benoit? > > > > Regards, > > Tobi > > > > User-specific directory for components was existing before but has been > removed. > > I think that custom components (in the sense of Gambas) can be a > security risk, but it is above all a management mess. > > Moreover, as I said elsewhere, for me components are part of the > language, it's like "interpreter drivers". > > So I'd prefer using libraries for that. > OK. > But to fit your needs, I have to enhance the libraries support with: > > - The ability to share libraries between different projects without > having to put everything in the same directory. > > - The ability to explicitly load a library from any path. > > What do you think? > Thank you for picking this thread up so quickly. Especially that last point would be cool. As you may remember I have written (and still work with) a way to insert (user-supplied) Gambas classes at run- time, into a Gambas process. This works by creating a temporary component out of the given classes and loading it. Until now this mechanism required a small patch to the interpreter to allow loading components from an absolute path. If you could do that last point, I would get rid of this customisation (provided that Component.Load() would gain this ability, too). To extended the first point: if I add a library now, its absolute path (usually including my user name because stuff is in my home directory) is added to .project. Someone else would have to adjust this path manually to get the project running. They would have to do that for every update of the project that does not come in the form of a patch. What may be a better way to address libraries? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From ihaywood3 at ...626... Mon Jan 25 09:58:53 2016 From: ihaywood3 at ...626... (Ian Haywood) Date: Mon, 25 Jan 2016 19:58:53 +1100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <56A427A4.4030703@...1...> References: <56A415BC.3090204@...1...> <56A41B60.4070207@...1...> <56A42048.4080909@...1...> <0b4664213649adfa13cacee947255a5f@...3488...> <56A427A4.4030703@...1...> Message-ID: Thanks heaps for doing this I have found one problem that blocks loading the qt5 component at all /usr/bin/gbi3: symbol lookup error: /usr/lib/gambas3/gb.qt5.so: undefined symbol: _ZTV14FixBreezeStyle On Sun, Jan 24, 2016 at 12:23 PM, Beno?t Minisini wrote: > Le 24/01/2016 02:18, Moviga Technologies a ?crit : >> >> >> Making all in ext >> make[5]: Entering directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' >> CXX gb_qt5_ext_la-main.lo >> /usr/lib/qt/bin/moc -o CTextEdit_moc.cpp CTextEdit.h >> CXX gb_qt5_ext_la-CTextEdit_moc.lo >> CXX gb_qt5_ext_la-CTextEdit.lo >> CXXLD gb.qt5.ext.la >> make[5]: *** No rule to make target 'gb.qt5.ext.component', needed by >> 'all-am'. Stop. >> make[5]: Leaving directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src/ext' >> Makefile:1330: recipe for target 'all-recursive' failed >> make[4]: *** [all-recursive] Error 1 >> make[4]: Leaving directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5/src' >> Makefile:448: recipe for target 'all-recursive' failed >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' >> Makefile:380: recipe for target 'all' failed >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk/gb.qt5' >> Makefile:438: recipe for target 'all-recursive' failed >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> '/home/jornmo/Sync/Gambaspakker/Gambas-SVN/src/trunk' >> Makefile:379: recipe for target 'all' failed >> make: *** [all] Error 2 >> >> > > Oops, fixed in revision #7585. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Mon Jan 25 17:16:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 25 Jan 2016 16:16:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Session is lost, and I don't know why. Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I cannot figure out why the Session variables are reset after going to /admin and logging in with user:test password:Test123. At first the Session variables are OK, and the login i successful. But as soon as you browse to another page, they are lost (try going to /admin once more after logging in, but do not use refresh as it will resend the Post data). You must also change the path to the attached database to the correct path. I have not called Session.Abandon(), nor have I reset the session variables. Only thing I can think of then is a bug... Kind regards System information ------------------ [System] Gambas=3.8.90 r7585 OperatingSystem=Linux Kernel=4.3.3-3-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Breeze Language=nb_NO.UTF-8 Memory=3580M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.29 GTK+3=libgtk-3.so.0.1800.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/572,unix/:/tmp/.ICE-unix/572 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Mon Jan 25 17:16:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 25 Jan 2016 16:16:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Moviga TECHNOLOGIES added an attachment: CMS From bugtracker at ...3416... Mon Jan 25 17:16:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 25 Jan 2016 16:16:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Moviga TECHNOLOGIES added an attachment: website-0.0.1.tar.gz From Karl.Reinl at ...2345... Mon Jan 25 21:51:12 2016 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 25 Jan 2016 21:51:12 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: <20160124192708.GD18449@...2774...> References: <20160124161729.GA18449@...2774...> <56A500AF.5000505@...1...> <20160124192708.GD18449@...2774...> Message-ID: <1453755072.3705.15.camel@...40...> Am Sonntag, den 24.01.2016, 20:27 +0100 schrieb Tobias Boege: > On Sun, 24 Jan 2016, Beno??t Minisini wrote: > > Le 24/01/2016 17:17, Tobias Boege a ?crit : > > > Hi everybody, > > > > > > with the semester break upcoming, I plan to supplement a project of mine > > > with some other applications in which I want to use classes from the > > > project. I have not, if memory serves, written any "local" components yet. > > > By "local" I mean a component which is *not* installed into /usr/lib/gambas3. > > > > > >>From what I remember from other threads, I could: > > > - symlink source files around, > > > - copy source files around, > > > - install the project to /usr/lib/gambas3, or > > > - create a Library. > > > > > > I don't really want to copy source files as I presume they will change > > > considerably during development. The symlink solution is kind of dirty and > > > makes the projects less easy to give to others. I would prefer not to touch > > > /usr/lib/gambas3 for some private project of very limited scope (i.e. it is > > > way too specific to lie amongst the general components). As I imagine, using > > > a library becomes messy, too, if it should be shared by multiple projects. > > > Also I couldn't really share my project because the library path is absolute > > > and won't work on somebody else's computer (right?). > > > > > > How are you others doing this? Did you notice or can you imagine any problems > > > with your way of doing it? Any arguments in favour of the library approach? > > > > > > I think a user-specific directory for custom components would be nice. It > > > would be a standard path relative to a user's home directory which is > > > taken into account by the IDE (when it lists the installed components) and > > > the interpreter (when it loads components). Or is that considered a security > > > risk, Benoit? > > > > > > Regards, > > > Tobi > > > > > > > User-specific directory for components was existing before but has been > > removed. > > > > I think that custom components (in the sense of Gambas) can be a > > security risk, but it is above all a management mess. > > > > Moreover, as I said elsewhere, for me components are part of the > > language, it's like "interpreter drivers". > > > > So I'd prefer using libraries for that. > > > > OK. > > > But to fit your needs, I have to enhance the libraries support with: > > > > - The ability to share libraries between different projects without > > having to put everything in the same directory. > > > > - The ability to explicitly load a library from any path. > > > > What do you think? > > > > Thank you for picking this thread up so quickly. > > Especially that last point would be cool. As you may remember I have written > (and still work with) a way to insert (user-supplied) Gambas classes at run- > time, into a Gambas process. This works by creating a temporary component > out of the given classes and loading it. Until now this mechanism required a > small patch to the interpreter to allow loading components from an absolute > path. If you could do that last point, I would get rid of this customisation > (provided that Component.Load() would gain this ability, too). > > To extended the first point: if I add a library now, its absolute path > (usually including my user name because stuff is in my home directory) is > added to .project. Someone else would have to adjust this path manually to > get the project running. They would have to do that for every update of the > project that does not come in the form of a patch. What may be a better way > to address libraries? > > Regards, > Tobi > Salut Tobi, solved that problem with Libraries installed at '/usr/bin' as symlink, so I can use it in all project I want. For that I wrote instGA3 to set these symlinks easily (instGA3 is at Software-Farm) -- Amicalement Charlie From chrisml at ...3340... Mon Jan 25 22:38:03 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 25 Jan 2016 22:38:03 +0100 Subject: [Gambas-user] Share code across projects In-Reply-To: <20160124161729.GA18449@...2774...> References: <20160124161729.GA18449@...2774...> Message-ID: <56A695BB.3020108@...3340...> Hi Tobi, Am 24.01.2016 um 17:17 schrieb Tobias Boege: > How are you others doing this? Did you notice or can you imagine any problems > with your way of doing it? Any arguments in favour of the library approach? As I deploy the products of my work as Debian packages (for that I wrote my own set of makefile and package-scripts) I let (by the package manager) install my own libs currently in /usr/bin. That is not the cleanest way, but ensures, that my executable files, also installed in /usr/bin, can find the libs. But I would prefer to install the libs to /usr/lib/$myname. If in a Gambas project there could be defined such a search path for libs for production environment, I would appreciate that. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Tue Jan 26 01:31:57 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 26 Jan 2016 01:31:57 +0100 Subject: [Gambas-user] Sharing libraries across projects Message-ID: <56A6BE7D.4040307@...1...> Here is a proposal, tell me what you think. 1) When you create a project library, you will have to specify a vendor. 2) When creating the library executable of a library project, a symbolic link to the executable will be created in '~/.local/share/gambas3/lib/'. 3) When another project wants to use that library, it stores in its project configuration file the relative path '/'. Through the symbolic link created in 2), the true library executable will be found by the IDE and by the project at runtime. 4) When creating a package of a library, the library executable will be installed in '/usr/lib/gambas3/' ('/usr/lib/gambas3' is for components). Maybe '/usr/share/gambas3/lib/' should be better, to mimic 2). After all, Gambas libraries are not to be run, and are not system shared libraries. 5) When running a project using a library outside of the IDE (i.e. not in debugging mode), the project will search its libraries in '/usr/lib/gambas3' (or maybe '/usr/share/gambas3/lib'). Never in '~/.local/share/gambas3/lib' for security reasons. Tell me if I am paranoid here. 6) A project can use a library whose only the executable is installed. The IDE must present the user everything it finds in '~/.local/share/gambas3/lib' and '/usr/lib/gambas3' sub-directories when selecting a library. It will search the '/' stored in the project configuration file first in '~/.local/share/gambas3/lib', then in '/usr/lib/gambas3'. 7) Backward-compatibility. If a project library has no vendor, then the old behaviour will be retained: - No symbolic link is created. - The project using it stores its absolute path. - When creating a package, the library executable is stored in the same place as normal executables. - When the project runs outside of the IDE, the library is searched in '/bin' and '/usr/bin' only. I'd like all that stuff as simple as possible. If you can simplify it and keep all the features we need, just tell me! -- Beno?t Minisini From t.lee.davidson at ...626... Tue Jan 26 03:03:03 2016 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Mon, 25 Jan 2016 21:03:03 -0500 Subject: [Gambas-user] Sharing libraries across projects In-Reply-To: <56A6BE7D.4040307@...1...> References: <56A6BE7D.4040307@...1...> Message-ID: <56A6D3D7.6000604@...626...> On 01/25/2016 07:31 PM, Beno?t Minisini wrote: > 4) When creating a package of a library, the library executable will be > installed in '/usr/lib/gambas3/' ('/usr/lib/gambas3' is for > components). Maybe '/usr/share/gambas3/lib/' should be better, > to mimic 2). After all, Gambas libraries are not to be run, and are not > system shared libraries. To be in compliance with the Linux Filesystem Hierarchy Standard, shouldn't the use of '/usr/local' be considered? http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html: "4.9.1. Purpose The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr." Lee __________ "Artificial Intelligence is no match for natural stupidity." From taboege at ...626... Tue Jan 26 06:36:24 2016 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Jan 2016 06:36:24 +0100 Subject: [Gambas-user] Sharing libraries across projects In-Reply-To: <56A6BE7D.4040307@...1...> References: <56A6BE7D.4040307@...1...> Message-ID: <20160126053624.GA687@...2774...> On Tue, 26 Jan 2016, Beno??t Minisini wrote: > Here is a proposal, tell me what you think. > > 1) When you create a project library, you will have to specify a vendor. > > 2) When creating the library executable of a library project, a symbolic > link to the executable will be created in > '~/.local/share/gambas3/lib/'. > Instead of an implicit symbolic link it is more straightforward (and still easy enough) to have a new button in the Project > Make menu which creates the executable at the proper place. > 3) When another project wants to use that library, it stores in its > project configuration file the relative path '/'. > Through the symbolic link created in 2), the true library executable > will be found by the IDE and by the project at runtime. > > 4) When creating a package of a library, the library executable will be > installed in '/usr/lib/gambas3/' ('/usr/lib/gambas3' is for > components). Maybe '/usr/share/gambas3/lib/' should be better, > to mimic 2). After all, Gambas libraries are not to be run, and are not > system shared libraries. > > 5) When running a project using a library outside of the IDE (i.e. not > in debugging mode), the project will search its libraries in > '/usr/lib/gambas3' (or maybe '/usr/share/gambas3/lib'). Never in > '~/.local/share/gambas3/lib' for security reasons. Tell me if I am > paranoid here. > I don't know. I don't want everyone to check their ~/.local/share/gambas3/lib before starting any project in the future, but in the end my need is to use a custom library from some executables. > 6) A project can use a library whose only the executable is installed. > The IDE must present the user everything it finds in > '~/.local/share/gambas3/lib' and '/usr/lib/gambas3' sub-directories when > selecting a library. It will search the '/' stored in > the project configuration file first in '~/.local/share/gambas3/lib', > then in '/usr/lib/gambas3'. > > 7) Backward-compatibility. If a project library has no vendor, then the > old behaviour will be retained: > - No symbolic link is created. > - The project using it stores its absolute path. > - When creating a package, the library executable is stored in the same > place as normal executables. > - When the project runs outside of the IDE, the library is searched in > '/bin' and '/usr/bin' only. > > I'd like all that stuff as simple as possible. If you can simplify it > and keep all the features we need, just tell me! > T Lee Davidson has a point. As I am now aware, for all I care the library search path does not need to be user-specific. If there is a button in the IDE which: - asks for the sudo / su password and - copies the executable to /usr/local/lib/gambas3// that would be alright. The interpreter should be able to trust libraries under /usr/local/lib and load them even when not debugging. If asking for root-enabling passwords in the IDE is not a good idea (I would understand that), a button to run a Makefile would even be enough :-) But this is would be far removed from a self-contained solution... Points 1, 3, 4, 6 and 7 are fine, modulo details about the path. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Tue Jan 26 10:31:49 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 26 Jan 2016 10:31:49 +0100 Subject: [Gambas-user] Sharing libraries across projects In-Reply-To: <56A6BE7D.4040307@...1...> References: <56A6BE7D.4040307@...1...> Message-ID: <56A73D05.3010108@...3340...> Am 26.01.2016 um 01:31 schrieb Beno?t Minisini: > Here is a proposal, tell me what you think. > > 1) When you create a project library, you will have to specify a vendor. Good, but look at the end of my post. > 2) When creating the library executable of a library project, a symbolic > link to the executable will be created in > '~/.local/share/gambas3/lib/'. At development time, right? Then that is good. > 3) When another project wants to use that library, it stores in its > project configuration file the relative path '/'. > Through the symbolic link created in 2), the true library executable > will be found by the IDE and by the project at runtime. The IDE finds it in ~/.local/share/gambas3/lib/ Later at runtime the project finds it in /usr/lib/gambas3/vendor Ok, but I'd like it in /usr/lib/$vendor/gambas3 or /usr/share/$vendor/gambas3 Could that path be configurable? > 5) When running a project using a library outside of the IDE (i.e. not > in debugging mode), the project will search its libraries in > '/usr/lib/gambas3' (or maybe '/usr/share/gambas3/lib'). Never in > '~/.local/share/gambas3/lib' for security reasons. Tell me if I am > paranoid here. No, that is very important! I have the same software installed on my computer, that I am actually developing. If I change the libs in the dev-version, the behaviour of the software, that is installed and working must not change! > 6) A project can use a library whose only the executable is installed. > The IDE must present the user everything it finds in > '~/.local/share/gambas3/lib' and '/usr/lib/gambas3' sub-directories when > selecting a library. It will search the '/' stored in > the project configuration file first in '~/.local/share/gambas3/lib', > then in '/usr/lib/gambas3'. Ok. > 7) Backward-compatibility. If a project library has no vendor, then the > old behaviour will be retained: > - No symbolic link is created. > - The project using it stores its absolute path. > - When creating a package, the library executable is stored in the same > place as normal executables. > - When the project runs outside of the IDE, the library is searched in > '/bin' and '/usr/bin' only. Ok. > I'd like all that stuff as simple as possible. If you can simplify it > and keep all the features we need, just tell me! You could instead give the author the chance to define a path where to find own libs at runtime. I would prefer that because I would store libs in /usr/lib/$vendor/gambas or in /usr/local/lib/$vendor/gambas so /usr/lib/gambas3 remains untouched by my software. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From bugtracker at ...3416... Tue Jan 26 18:42:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 17:42:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #1 by Moviga TECHNOLOGIES: Here is a more simple project showing the same issue! From bugtracker at ...3416... Tue Jan 26 18:43:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 17:43:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Moviga TECHNOLOGIES added an attachment: Session-0.0.1.tar.gz From tercoide at ...67... Tue Jan 26 21:16:47 2016 From: tercoide at ...67... (martin p cristia) Date: Tue, 26 Jan 2016 17:16:47 -0300 Subject: [Gambas-user] Share code across projects In-Reply-To: References: Message-ID: I have a module of utils I use on every project. It woud be great if I can use a single file for all of the as I'm always add some new stuff (or fix old one). This is for the IDE. From bugtracker at ...3416... Tue Jan 26 21:41:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 20:41:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #2 by Moviga TECHNOLOGIES: OK! I found out now that it works with a string, but not a boolean value. The wiki says it can be a Variant, so then I suppose that this is indeed a bug! From bugtracker at ...3416... Tue Jan 26 21:54:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 20:54:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #3 by Beno?t MINISINI: No. It does not work because, by default, WebPage are not buffered. So when the session is created, the cookie cannot be sent to the web browser because the Webpage header has already be sent. Two solutions: 1) Add "Me.Buffered = True" in the webpage "_new" method. The headers and the HTML will be sent once the page has been entirely rendered. 2) Check the login/password and create the session outside of the WebPage, in the Main method for example. Beno?t MINISINI changed the state of the bug to: Invalid. From bugtracker at ...3416... Tue Jan 26 21:54:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 20:54:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Tue Jan 26 21:56:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 20:56:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #4 by Moviga TECHNOLOGIES: Aha! OK! Will try that :) From bugtracker at ...3416... Tue Jan 26 22:24:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 21:24:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #5 by Beno?t MINISINI: Maybe you can try the new 'gb.web.form' component too, if you want to make a web application? From bugtracker at ...3416... Tue Jan 26 22:26:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 26 Jan 2016 21:26:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #887: Session is lost, and I don't know why. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.887&from=L21haW4- Comment #6 by Moviga TECHNOLOGIES: Righ now I am building a CMS for a personal website. I suppose I can use the webforms for the admin section! (y) From gambas at ...1... Tue Jan 26 22:27:22 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 26 Jan 2016 22:27:22 +0100 Subject: [Gambas-user] TextEdit on Qt5 In-Reply-To: <3605f1bc9b4e11f4fa8a3f2d150b9289@...3488...> References: <56A415BC.3090204@...1...> <3605f1bc9b4e11f4fa8a3f2d150b9289@...3488...> Message-ID: <56A7E4BA.6030307@...1...> Le 24/01/2016 13:42, Moviga Technologies a ?crit : > > > Would it be possible to also have .InsertRichText() ? > > That way one will not have to extract all the RichText, manipulate it > and re-insert it to get tables, images, ul/ol and the like. > I think you can already do that by using the TextEdit.Selection.RichText property. -- Beno?t Minisini From gambas at ...1... Tue Jan 26 22:31:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 26 Jan 2016 22:31:30 +0100 Subject: [Gambas-user] About the initial screen In-Reply-To: References: Message-ID: <56A7E5B2.7020704@...1...> Le 22/01/2016 10:15, Jorge Carri?n a ?crit : > In previous versions the icons of recently opened projects had the tooltip > property established as the path of the project. Now, if you open several > projects with same name (backups in another directory) you can't know what > of them is the original and what is the backup until you open the project. > Sometimes until you have modified the project :( > > It's posible establish the old behavior? > > Regards Put your mouse cursor on the project icon, and the tooltip will appear. -- Beno?t Minisini From rterry at ...1823... Tue Jan 26 22:38:21 2016 From: rterry at ...1823... (richard terry) Date: Wed, 27 Jan 2016 08:38:21 +1100 Subject: [Gambas-user] About the initial screen In-Reply-To: <56A7E5B2.7020704@...1...> References: <56A7E5B2.7020704@...1...> Message-ID: <56A7E74D.1040106@...1823...> On 27/01/16 08:31, Beno?t Minisini wrote: > Le 22/01/2016 10:15, Jorge Carri?n a ?crit : >> In previous versions the icons of recently opened projects had the tooltip >> property established as the path of the project. Now, if you open several >> projects with same name (backups in another directory) you can't know what >> of them is the original and what is the backup until you open the project. >> Sometimes until you have modified the project :( >> >> It's posible establish the old behavior? >> >> Regards > Put your mouse cursor on the project icon, and the tooltip will appear. > Benoit, I've not found that works well, I get terminally confused, I think actually having the path listed would be great. Richard From shordi at ...626... Tue Jan 26 22:53:35 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 26 Jan 2016 22:53:35 +0100 Subject: [Gambas-user] About the initial screen In-Reply-To: <56A7E5B2.7020704@...1...> References: <56A7E5B2.7020704@...1...> Message-ID: Gosh! I'm half blind, I guess... Thank you Benoit Best Regards. 2016-01-26 22:31 GMT+01:00 Beno?t Minisini : > Le 22/01/2016 10:15, Jorge Carri?n a ?crit : > > In previous versions the icons of recently opened projects had the > tooltip > > property established as the path of the project. Now, if you open several > > projects with same name (backups in another directory) you can't know > what > > of them is the original and what is the backup until you open the > project. > > Sometimes until you have modified the project :( > > > > It's posible establish the old behavior? > > > > Regards > > Put your mouse cursor on the project icon, and the tooltip will appear. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Tue Jan 26 23:46:30 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 26 Jan 2016 23:46:30 +0100 Subject: [Gambas-user] Sharing libraries across projects In-Reply-To: <56A73D05.3010108@...3340...> References: <56A6BE7D.4040307@...1...> <56A73D05.3010108@...3340...> Message-ID: <56A7F746.9000809@...3340...> Hi, now I see that this ... Am 26.01.2016 um 10:31 I wrote > You could instead give the author the chance to define a path where to > find own libs at runtime. I would prefer that because I would store libs in > > /usr/lib/$vendor/gambas > > or in > > /usr/local/lib/$vendor/gambas > > so /usr/lib/gambas3 remains untouched by my software. ... would be counterproductive if one would like to share libraries with products of other programmers. So your proposal, Beno?t, is the more generic one and better. Especially with the future possibility to invent namespaces in mind. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From ea7dfh at ...2382... Wed Jan 27 18:14:16 2016 From: ea7dfh at ...2382... (Jesus Guardon) Date: Wed, 27 Jan 2016 18:14:16 +0100 Subject: [Gambas-user] Sharing libraries across projects In-Reply-To: <56A7F746.9000809@...3340...> References: <56A6BE7D.4040307@...1...> <56A73D05.3010108@...3340...> <56A7F746.9000809@...3340...> Message-ID: <56A8FAE8.6010701@...2382...> El 26/1/16 a las 23:46, Christof Thalhofer escribi?: > > So your proposal, Beno?t, is the more generic one and better. Especially > with the future possibility to invent namespaces in mind. > > Alles Gute > > Christof Thalhofer Uhh!, namespaces. Good point, Chris. That way, we could avoid possible collisions in common symbols and encapsulate yet more our groups of classes. Regards, Jesus From bugtracker at ...3416... Wed Jan 27 19:25:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 27 Jan 2016 18:25:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #888: Replace all - word only, does not differenciate sPath and $sPath Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.888&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Replace all - word only, does not differenciate sPath and $sPath Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I have sPath declared locally and $sPath globally in my class file. As I want to replace sPath with something else, and limited to word only, all instances of both variables are replaced? System information ------------------ [System] Gambas=3.8.90 r7312 OperatingSystem=Linux Kernel=4.1.6-1-ARCH Architecture=x86_64 Distribution=arch Desktop=KDE5 Theme=Proxy Language=nb_NO.UTF-8 Memory=9901M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.2.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.3 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.28 GTK+3=libgtk-3.so.0.1600.6 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.52.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.0 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-7rvPN8rlRD,guid=75534cfdb433e848ad9f896a55f965a8 DESKTOP_SESSION=plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=nb_NO.UTF-8 LANGUAGE=nb LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_IM_MODULE=compose QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/899,unix/:/tmp/.ICE-unix/899 SHELL=/bin/bash SHLVL=1 SSH_ASKPASS=/usr/bin/ksshaskpass TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Breeze_Snow XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From jussi.lahtinen at ...626... Wed Jan 27 23:24:25 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 28 Jan 2016 00:24:25 +0200 Subject: [Gambas-user] Setting path in Dialog In-Reply-To: <569E6E26.7050502@...221...> References: <569E6E26.7050502@...221...> Message-ID: It seems to work in here. If the path is "/home/yourname/Desktop", then it will open "/home/yourname" with "Desktop" as a file name. But if the path is "/home/yourname/Desktop/", then it will open the whole path without default file name. "/home/yourname/Desktop/default" will give "default" as the suggested file name. What the variable "Dateiname$" contains? Jussi On Tue, Jan 19, 2016 at 7:11 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Want to set a filename and ask the user to confirm name and directory: > > Dialog.Path = Dateiname$ > Dialog.Filter = ["*.frm", "Formulare", "*", "Alle Dateien"] > If Dialog.SaveFile() Then Return > > When Save Dialog appears, it fills in the name of the File (base name > and extension), but it sets the Directory List above to the application > path and not the path contained in Dateiname$. > > How can I set the directory? > > Regards > Rolf > > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Jan 29 00:33:48 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 29 Jan 2016 01:33:48 +0200 Subject: [Gambas-user] PPA for Gambas3 Message-ID: Hi! I installed Gambas3 stable from the PPA for my virtual machine. $ sudo add-apt-repository ppa:gambas-team/gambas3 When I run the IDE it says it's the development version. And when I try to run GAlarm in it, I will get "Unknown symbol 'Tag' in class 'TrayIcon'". Where is the problem? Errors in the PPA? Jussi [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=3.16.0-59-generic Architecture=x86_64 Distribution=Ubuntu 14.04.3 LTS Desktop=GNOME Theme=Gtk Language=en_US.UTF-8 Memory=2548M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 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 COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DtPeSvdPmo DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/debian-uxterm.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2464 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-rFbxed GNOME_KEYRING_PID=1509 GPG_AGENT_INFO=/run/user/1000/keyring-rFbxed/gpg:0:1 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=en_US.UTF-8 LANGUAGE=en_US 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=fi_FI.UTF-8 LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_IM_MODULE=ibus QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=ubuntu SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/1745,unix/:/tmp/.ICE-unix/1745 SHELL=/bin/bash SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring-rFbxed/ssh TERM=xterm TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1520 USER= WINDOWID=67108900 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus XTERM_LOCALE=en_US.UTF-8 XTERM_SHELL=/bin/bash XTERM_VERSION=XTerm(297) _=/usr/bin/gambas3 From jussi.lahtinen at ...626... Fri Jan 29 01:36:46 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 29 Jan 2016 02:36:46 +0200 Subject: [Gambas-user] PPA for Gambas3 In-Reply-To: References: Message-ID: OK, I compiled from the sources and I still get the unknown symbol "Tag" in trayicon!!?? Does the trayicon component work at all on Ubuntu? Jussi On Fri, Jan 29, 2016 at 1:33 AM, Jussi Lahtinen wrote: > Hi! > I installed Gambas3 stable from the PPA for my virtual machine. > > $ sudo add-apt-repository ppa:gambas-team/gambas3 > > When I run the IDE it says it's the development version. And when I try to > run GAlarm in it, > I will get "Unknown symbol 'Tag' in class 'TrayIcon'". > > Where is the problem? Errors in the PPA? > > > Jussi > > > [System] > Gambas=3.8.90 > OperatingSystem=Linux > Kernel=3.16.0-59-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.3 LTS > Desktop=GNOME > Theme=Gtk > Language=en_US.UTF-8 > Memory=2548M > > [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+2=libgtk-x11-2.0.so.0.2400.23 > GTK+3=libgtk-3.so.0.1000.8 > 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 > COMPIZ_BIN_PATH=/usr/bin/ > COMPIZ_CONFIG_PROFILE=ubuntu > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-DtPeSvdPmo > DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path > DESKTOP_SESSION=ubuntu > DISPLAY=:0 > GB_GUI=gb.qt4 > GDMSESSION=ubuntu > GDM_LANG=en_US > GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/debian-uxterm.desktop > GIO_LAUNCHED_DESKTOP_FILE_PID=2464 > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-rFbxed > GNOME_KEYRING_PID=1509 > GPG_AGENT_INFO=/run/user/1000/keyring-rFbxed/gpg:0:1 > GTK_IM_MODULE=ibus > GTK_MODULES=overlay-scrollbar:unity-gtk-module > HOME= > IM_CONFIG_PHASE=1 > INSTANCE= > JOB=dbus > LANG=en_US.UTF-8 > LANGUAGE=en_US > 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=fi_FI.UTF-8 > LESSCLOSE=/usr/bin/lesspipe %s %s > LESSOPEN=| /usr/bin/lesspipe %s > LOGNAME= > > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: > MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > PWD= > QT4_IM_MODULE=xim > QT_IM_MODULE=ibus > QT_QPA_PLATFORMTHEME=appmenu-qt5 > SELINUX_INIT=YES > SESSION=ubuntu > SESSIONTYPE=gnome-session > > SESSION_MANAGER=local/:@/tmp/.ICE-unix/1745,unix/:/tmp/.ICE-unix/1745 > SHELL=/bin/bash > SHLVL=1 > SSH_AUTH_SOCK=/run/user/1000/keyring-rFbxed/ssh > TERM=xterm > TEXTDOMAIN=im-config > TEXTDOMAINDIR=/usr/share/locale/ > TZ=:/etc/localtime > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1520 > USER= > WINDOWID=67108900 > XAUTHORITY=/.Xauthority > XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg > XDG_CURRENT_DESKTOP=Unity > > XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/ > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ > XDG_MENU_PREFIX=gnome- > XDG_RUNTIME_DIR=/run/user/1000 > XDG_SEAT=seat0 > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 > XDG_SESSION_ID=c2 > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 > XDG_VTNR=7 > XMODIFIERS=@...3498...=ibus > XTERM_LOCALE=en_US.UTF-8 > XTERM_SHELL=/bin/bash > XTERM_VERSION=XTerm(297) > _=/usr/bin/gambas3 > From bugtracker at ...3416... Sat Jan 30 02:39:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jan 2016 01:39:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- Comment #2 by Beno?t MINISINI: I have just installed Gambas 3.8.4 from sources on Ubuntu 12.04 LTS. So this is a problem of packaging. Where did you install Gambas from? Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Jan 30 02:46:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jan 2016 01:46:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- Comment #3 by Beno?t MINISINI: OK, got it. The gambas-gb-pdf package for Ubuntu 14.04 LTS of the gambas stable PPA at http://packages.ubuntu.com/trusty/libpoppler44 requires the libpoppler44 package, which is provided by Ubuntu 14.04: http://packages.ubuntu.com/trusty/libpoppler44 So I don't see how you can say that it requires libpoppler19. Beno?t MINISINI changed the state of the bug to: Opened. From bugtracker at ...3416... Sat Jan 30 02:47:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jan 2016 01:47:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Sat Jan 30 02:49:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 30 Jan 2016 01:49:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #888: Replace all - word only, does not differenciate sPath and $sPath In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.888&from=L21haW4- Comment #1 by Beno?t MINISINI: Changed to a request, as it depends what you call a word. I think at the moment "$" is not considered as part of a word. But I admit that it makes sense inside Gambas code, as identifiers accept dollars. So I may implement a different meaning of what a word is according to the type of source file. Anyway, as a workaround, you can use regular expression search to match exactly what you want. Beno?t MINISINI changed the state of the bug to: Accepted. From gambas at ...1... Sat Jan 30 20:48:27 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 30 Jan 2016 20:48:27 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! Message-ID: <56AD138B.5010608@...1...> Hi, I'm still thinking about that, especially trying to find the simplest solution. Here is a new proposal, that requires less changes: 1) Add a new project option that allows to indicate the library search directory at runtime. If specified, the libraries are searched in that directory first. (Question: are multiple directories needed?) 2) Elsewhere, the libraries are searched in the same directory than the components, '/lib/gambas3'. The difference is that a library has no *.component file, and its name cannot starts with "gb.", which is reserved for gambas components. 3) For backward compatibility, the libraries are finally searched in '/bin'. 4) At debug time, in the IDE, libraries are searched in the same directories, and will be listed in the project configuration dialog to be checked (the old specific library tab may be removed). 5) The packager will install libraries in '/lib/gambas3', and prevent the use of 'gb.' at the beginning of project name. What do you think now? -- Beno?t Minisini From taboege at ...626... Sat Jan 30 21:44:43 2016 From: taboege at ...626... (Tobias Boege) Date: Sat, 30 Jan 2016 21:44:43 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD138B.5010608@...1...> References: <56AD138B.5010608@...1...> Message-ID: <20160130204443.GF29078@...2774...> On Sat, 30 Jan 2016, Beno??t Minisini wrote: > Hi, > > I'm still thinking about that, especially trying to find the simplest > solution. > Good, I still need it :-) ATM I can continue work by having a copy of the library in each project that uses it. So we should not rush things. (The new project also had me experiment with gb.web.form. It's pretty cool and hopefully we can talk about a WebForm_KeyPress event later on gambas-devel.) > Here is a new proposal, that requires less changes: > > 1) Add a new project option that allows to indicate the library search > directory at runtime. If specified, the libraries are searched in that > directory first. (Question: are multiple directories needed?) > Should this value be project-specific? I would imagine that I'd install all Gambas libraries in $HOME/bin or so. When I set the library search path in my project and give that project to someone else, they still have to adjust the path (every time they receive a new version). That would be solved if it was a global option for the interpreter. Do you think a configuration file for the interpreter is a good idea? > 2) Elsewhere, the libraries are searched in the same directory than the > components, '/lib/gambas3'. The difference > is that a library has no *.component file, and its name cannot starts > with "gb.", which is reserved for gambas components. > > 3) For backward compatibility, the libraries are finally searched in > '/bin'. > > 4) At debug time, in the IDE, libraries are searched in the same > directories, and will be listed in the project configuration dialog to > be checked (the old specific library tab may be removed). > OK. > 5) The packager will install libraries in ' prefix>/lib/gambas3', and prevent the use of 'gb.' at the beginning of > project name. > Sounds sensible. Aside from the packager, one would be able to install the library by just putting an executable archive into the search path, right? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Sat Jan 30 21:58:24 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 30 Jan 2016 21:58:24 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD138B.5010608@...1...> References: <56AD138B.5010608@...1...> Message-ID: <56AD23F0.8020703@...3340...> Hi, Am 30.01.2016 um 20:48 schrieb Beno?t Minisini: > 4) At debug time, in the IDE, libraries are searched in the same > directories, and will be listed in the project configuration dialog to > be checked (the old specific library tab may be removed). That would break my current development-cycle. For programming I have such a structure in my homedir: ~/prog/gambasprojects/project1 ~/prog/gambasprojects/project2 ~/prog/gambasprojects/lib1/lib1.gambas ~/prog/gambasprojects/lib2/lib2.gambas ~/prog/gambasprojects/lib3/lib3.gambas The projects include the libs ~/prog/gambasprojects/lib$x Now I can program the projects and libraries, change things, debug and compile. At the same time my software (stable version for production) is installed in /usr/bin: /usr/bin/project1.gambas /usr/bin/project2.gambas ... /usr/bin/lib1.gambas /usr/bin/lib2.gambas ... And I can use that older software, the libraries in /usr/bin are untouched by the development-version. But: If as you write "At debug time, in the IDE, libraries are searched in the same directories" (do you mean /usr/bin, /usr/local/$selfdefined ?) That is bad. Because If I have to change something in the libraries at debug time, and compile them I have to overwrite the libs in /usr/... Then my stable software on the same computer changes behaviour. So I found your first proposal better for my development-cycle. Because it separtes development and production states on the same computer without creating any conflicts. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From gambas at ...1... Sat Jan 30 22:18:48 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 30 Jan 2016 22:18:48 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <20160130204443.GF29078@...2774...> References: <56AD138B.5010608@...1...> <20160130204443.GF29078@...2774...> Message-ID: <56AD28B8.80809@...1...> Le 30/01/2016 21:44, Tobias Boege a ?crit : > On Sat, 30 Jan 2016, Beno??t Minisini wrote: >> Hi, >> >> I'm still thinking about that, especially trying to find the simplest >> solution. >> > > Good, I still need it :-) ATM I can continue work by having a copy of the > library in each project that uses it. So we should not rush things. (The > new project also had me experiment with gb.web.form. It's pretty cool and > hopefully we can talk about a WebForm_KeyPress event later on gambas-devel.) > >> Here is a new proposal, that requires less changes: >> >> 1) Add a new project option that allows to indicate the library search >> directory at runtime. If specified, the libraries are searched in that >> directory first. (Question: are multiple directories needed?) >> > > Should this value be project-specific? I would imagine that I'd install > all Gambas libraries in $HOME/bin or so. When I set the library search > path in my project and give that project to someone else, they still have > to adjust the path (every time they receive a new version). > > That would be solved if it was a global option for the interpreter. Do you > think a configuration file for the interpreter is a good idea? It's project specific, and you should be able to put a path relative to the executable (for example, "../lib"). It's there only to override the default search algorithm. > >> 2) Elsewhere, the libraries are searched in the same directory than the >> components, '/lib/gambas3'. The difference >> is that a library has no *.component file, and its name cannot starts >> with "gb.", which is reserved for gambas components. >> >> 3) For backward compatibility, the libraries are finally searched in >> '/bin'. >> >> 4) At debug time, in the IDE, libraries are searched in the same >> directories, and will be listed in the project configuration dialog to >> be checked (the old specific library tab may be removed). >> > > OK. > >> 5) The packager will install libraries in '> prefix>/lib/gambas3', and prevent the use of 'gb.' at the beginning of >> project name. >> > > Sounds sensible. Aside from the packager, one would be able to install the > library by just putting an executable archive into the search path, right? Yes. Otherwise, there is something missing: the ability to use libraries without having to install them globally. I.e. a user-specific directory where libraries are searched only in debug mode. For example "~/.local/config/gambas3/lib". -- Beno?t Minisini From gambas at ...1... Sat Jan 30 22:21:32 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 30 Jan 2016 22:21:32 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD23F0.8020703@...3340...> References: <56AD138B.5010608@...1...> <56AD23F0.8020703@...3340...> Message-ID: <56AD295C.6080309@...1...> Le 30/01/2016 21:58, Christof Thalhofer a ?crit : > Hi, > > Am 30.01.2016 um 20:48 schrieb Beno?t Minisini: > >> 4) At debug time, in the IDE, libraries are searched in the same >> directories, and will be listed in the project configuration dialog to >> be checked (the old specific library tab may be removed). > > That would break my current development-cycle. > > For programming I have such a structure in my homedir: > > ~/prog/gambasprojects/project1 > ~/prog/gambasprojects/project2 > > ~/prog/gambasprojects/lib1/lib1.gambas > ~/prog/gambasprojects/lib2/lib2.gambas > ~/prog/gambasprojects/lib3/lib3.gambas > > The projects include the libs ~/prog/gambasprojects/lib$x > > Now I can program the projects and libraries, change things, debug and > compile. > > At the same time my software (stable version for production) is > installed in /usr/bin: > > /usr/bin/project1.gambas > /usr/bin/project2.gambas > ... > /usr/bin/lib1.gambas > /usr/bin/lib2.gambas > ... > > And I can use that older software, the libraries in /usr/bin are > untouched by the development-version. > > But: > > If as you write "At debug time, in the IDE, libraries are searched in > the same directories" (do you mean /usr/bin, /usr/local/$selfdefined ?) > > That is bad. > > Because If I have to change something in the libraries at debug time, > and compile them I have to overwrite the libs in /usr/... > > Then my stable software on the same computer changes behaviour. > > So I found your first proposal better for my development-cycle. Because > it separtes development and production states on the same computer > without creating any conflicts. > > > Alles Gute > > Christof Thalhofer > I will add a user-specific library directory only used at debug time: "~/.local/share/gambas3/lib". By putting libraries there, you won't have to install them globally to debug your project. You will just have to store your libraries executable there (it will be automatic I think), instead on putting them inside the project directory. But the final executable will only be able to search libraries globally, or in the specific directory specified by the new project option. -- Beno?t Minisini From chrisml at ...3340... Sun Jan 31 01:23:00 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 31 Jan 2016 01:23:00 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD295C.6080309@...1...> References: <56AD138B.5010608@...1...> <56AD23F0.8020703@...3340...> <56AD295C.6080309@...1...> Message-ID: <56AD53E4.7090800@...3340...> Am 30.01.2016 um 22:21 schrieb Beno?t Minisini: > I will add a user-specific library directory only used at debug time: > "~/.local/share/gambas3/lib". By putting libraries there, you won't have > to install them globally to debug your project. > > You will just have to store your libraries executable there (it will be > automatic I think), instead on putting them inside the project directory. > > But the final executable will only be able to search libraries globally, > or in the specific directory specified by the new project option. Ok, that's cool :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Sun Jan 31 01:42:49 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 31 Jan 2016 01:42:49 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD138B.5010608@...1...> References: <56AD138B.5010608@...1...> Message-ID: <56AD5889.9020808@...3340...> Am 30.01.2016 um 20:48 schrieb Beno?t Minisini: > 1) Add a new project option that allows to indicate the library search > directory at runtime. If specified, the libraries are searched in that > directory first. (Question: are multiple directories needed?) If there shall be the opportunity to embed foreign libraries, then yes, but as subdirs. So does it PHP with namespaces, where you can include classes with identical classnames but from different vendors: For example: lib/vendor1/mail.php lib/vendor2/mail.php And in your own PHP class you can say "use 'vendor1'" to point the classname "Mail" to lib/vendor1/mail.php. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Sun Jan 31 04:55:01 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 31 Jan 2016 04:55:01 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD5889.9020808@...3340...> References: <56AD138B.5010608@...1...> <56AD5889.9020808@...3340...> Message-ID: <56AD8595.9060609@...1...> Le 31/01/2016 01:42, Christof Thalhofer a ?crit : > Am 30.01.2016 um 20:48 schrieb Beno?t Minisini: > >> 1) Add a new project option that allows to indicate the library search >> directory at runtime. If specified, the libraries are searched in that >> directory first. (Question: are multiple directories needed?) > > If there shall be the opportunity to embed foreign libraries, then yes, > but as subdirs. > > So does it PHP with namespaces, where you can include classes with > identical classnames but from different vendors: > > For example: > lib/vendor1/mail.php > lib/vendor2/mail.php > > And in your own PHP class you can say "use 'vendor1'" to point the > classname "Mail" to lib/vendor1/mail.php. > > > > Alles Gute > > Christof Thalhofer > You can already do that, except that vendor name should be included in the library name. I'm against using namespaces in Gambas, because I think it's mainly a workaround of the inhability to find good class names. :-) -- Beno?t Minisini From chrisml at ...3340... Sun Jan 31 11:14:35 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 31 Jan 2016 11:14:35 +0100 Subject: [Gambas-user] Sharing libraries across projects : new proposal! In-Reply-To: <56AD8595.9060609@...1...> References: <56AD138B.5010608@...1...> <56AD5889.9020808@...3340...> <56AD8595.9060609@...1...> Message-ID: <56ADDE8B.7080106@...3340...> Am 31.01.2016 um 04:55 schrieb Beno?t Minisini: > You can already do that, except that vendor name should be included in > the library name. Ok. I can throw them all in one directory. But the library name unfortunately does not act like a namespace, it does not separate the Classnames. If you have two libraries which contain classes with identical names, then BANG. > I'm against using namespaces in Gambas, because I think it's mainly a > workaround of the inhability to find good class names. :-) I disagree. :-) That is right with a handful applications/libs in mind (aka "inhouse"). Not everybody has the whole world in mind when programming it's good idea. There are always common tasks inside a library for whom it is difficult to find unique (and understandable) names, like "Template", "Cache" and so on. So I usually name these classes "DegTemplate", "DegCache" and so on. But that is also a workaround and even dangerous when giving the library free to others. To give away your good idea as library you actually would have to: 1: Take a vendor name in the libs name. 2: Name every class inside the lib with a vendor prefix and hope, that it is not used elsewhere. What stands against the ability to do: /usr/lib/gambas3/lib/vendor1/this.gambas and /usr/lib/gambas3/lib/vendor2/this.gambas /usr/lib/gambas3/lib/vendor2/that.gambas ? You could separate them inside code like so: Dim CacheV1 as vendor1.this.Cache Dim CacheV2 as vendor2.this.Cache Here there is no danger anymore. Everybody can freely exchange libs with others. In PHP the usage, quality and exchange of libraries literally exploded with namespaces: https://packagist.org/statistics Ok. I do not know how difficult it is to realize such a thing in the interpreter. And I like Gambas very much. Even without namespaces. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: OpenPGP digital signature URL: