From eilert-sprachen at ...221... Thu Dec 1 10:34:20 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 01 Dec 2011 10:34:20 +0100 Subject: [Gambas-user] What's faster: RegExp or String function In-Reply-To: References: Message-ID: <4ED74A1C.8000403@...221...> This one is ideal for my current project. In my eyes, it is very elegant. > > i=Instr(s,"<") > while i> 0 > j=InStr(s,">", i) > cut out from s the substring from i to j > i=Instr(s,"<") > wend I made a function out of it and cut the strings with String.Left and String.Mid, just one line. Thanks for that idea! The regexp, however, didn't run (I guess I'd have to define some more things), but in my program it is needed only once when the user types a "(", so speed doesn't matter. Regards Rolf From eilert-sprachen at ...221... Thu Dec 1 10:41:17 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 01 Dec 2011 10:41:17 +0100 Subject: [Gambas-user] Display of fonts differs (Gambas2) Message-ID: <4ED74BBD.1080103@...221...> I just stumbled over this little "feature" ;-) Maybe qt is to blame: When I use the same font in the editor and on a TextLabel, the TextLabel shows the font less nice. I include a screenshot, hope it gets through. As you can see, the "(" and ")" look better in the editor. And the "" should be bold but appear somewhat crumbly in the TextLabel. You can compare normal and bold characters in the editor with the TextLabel. Any idea why this is so and if there is any workaround to it? Of course, I can always use another font for the TextLabel that is shown better... Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3.png Type: image/png Size: 1889 bytes Desc: not available URL: From gambas.fr at ...626... Thu Dec 1 10:54:21 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 1 Dec 2011 10:54:21 +0100 Subject: [Gambas-user] Display of fonts differs (Gambas2) In-Reply-To: <4ED74BBD.1080103@...221...> References: <4ED74BBD.1080103@...221...> Message-ID: hum an antialiasing problem ! 2011/12/1 Rolf-Werner Eilert : > I just stumbled over this little "feature" ;-) Maybe qt is to blame: > > When I use the same font in the editor and on a TextLabel, the TextLabel > shows the font less nice. I include a screenshot, hope it gets through. > > As you can see, the "(" and ")" look better in the editor. And the "" should > be bold but appear somewhat crumbly in the TextLabel. You can compare normal > and bold characters in the editor with the TextLabel. > > Any idea why this is so and if there is any workaround to it? Of course, I > can always use another font for the TextLabel that is shown better... > > Regards > > Rolf > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...2524... Thu Dec 1 11:20:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 01 Dec 2011 10:20:03 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide Message-ID: <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 1) Describe the problem. When i try to create a new connection inside gambas3 ide it crash with segfault: 1) if i set to remember password it not give me the db list and it crash 2) if i don't flag to remember password it don't crash and show me the db list it crash if i select the db on postgresql backend log i get 2011-12-01 11:13:57 CET LOG: unexpected EOF on client connection on system /vr/log/messages 11:17:58 localhost kernel: [ 8078.387664] gbr3[32265]: segfault at 0 ip 4d15dd43 sp bf937214 error 4 in libc-2.11.1.so[4d0e9000+153000] The connection is working good i can access to it by code line... inside my app The ide connection is working good setting a new connection on a existing sqlite3 db 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: svn rev. 4263 (11/12/2011) compiled with [System] OperatingSystem=Linux Kernel=2.6.35-28-generic Architecture=i686 Memory=2051380 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.3 LTS" Desktop=Gnome [Gambas 2] Version=2.23.1 Path=/usr/local/bin/gbx2 [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2000.1 Operating system: Linux Distribution: Ubuntu 10.04.3 Architecture: x86 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome postgresql-8.3: Installato: 8.3.8-1 Candidato: 8.3.8-1 Tabella versione: *** 8.3.8-1 0 100 /var/lib/dpkg/status 3) Provide a little project that reproduces the bug or the crash. Cannot provide since is a gambas3 ide crash 4) If your project needs a database, try to provide it, or part of it. Cannot provide is a huge private db... BTW is working with pgadminIII and it don't have any particular restriction 5) Explain clearly how to reproduce the bug or the crash. Create a new project add the postgresql from component and try to define and open a new postgresql connection from ide the crash i have when i try to get the postgres databases available list 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Thu Dec 1 11:36:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 01 Dec 2011 10:36:13 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #1 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 i'm ready to send valgrind report here but is my very first time and i need some basic instructions to launch it on gambas ide itself with no project defined since this bug is on gambas itself, please help From gambas at ...2524... Thu Dec 1 17:49:47 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 01 Dec 2011 16:49:47 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <1-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #2 on issue 153 by jussi.la... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Does this crash occur with different database? Is it possible to create little database for test purpose that will cause the crash? From gambas at ...2524... Thu Dec 1 21:11:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 01 Dec 2011 20:11:01 +0000 Subject: [Gambas-user] Issue 74 in gambas: printer error with gb.report and gb.qt In-Reply-To: <15-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> References: <15-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> <0-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Message-ID: <16-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Comment #16 on issue 74 by flynetin... at ...626...: printer error with gb.report and gb.qt http://code.google.com/p/gambas/issues/detail?id=74 I think one of the problems presented in the clone method. When you request a new report, if it receives a parameter the clone method does not cover it because only limited to instantiate a new object with no parameters, then the error is triggered From gambas at ...2524... Thu Dec 1 21:32:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 01 Dec 2011 20:32:31 +0000 Subject: [Gambas-user] Issue 74 in gambas: printer error with gb.report and gb.qt In-Reply-To: <16-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> References: <16-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> <0-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Message-ID: <17-6813199134517018827-12218113038692005099-gambas=googlecode.com@...2524...> Comment #17 on issue 74 by gambas... at ...626...: printer error with gb.report and gb.qt http://code.google.com/p/gambas/issues/detail?id=74 send me your project please or a project that show the bug From gambas at ...2524... Fri Dec 2 10:06:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 02 Dec 2011 09:06:06 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <2-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #3 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Today on several try i found: in my localhost postgresql server is not strictly need password to access to db in my pg server setting from 127.0.0.1 localhost Running new connection dialog: a) new postgresql connection name test1 type: postgreql host 127.0.0.1 user not set password not set remember password not set click on populate db button works fine also connection is working and is stored from created connections b) new postgresql connection name test2 type: postgreql host 127.0.0.1 user set password not set remember password not set click on populate db button works fine also connection is working and is stored from created connections c) new postgresql connection name test3 type: postgreql host 127.0.0.1 user set password set remember password not set click on populate db button works fine but if i choose my db gambas3 crash test3 is stored from connections but restarting gambas3 tryng to get properties setting the password still crash So the issue may be on some related to password field From gambas at ...2524... Fri Dec 2 10:22:14 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 02 Dec 2011 09:22:14 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <3-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #4 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 > Does this crash occur with different database? > Is it possible to create little database for test purpose that will cause > the crash? Based on my previous test i think is not db related BTW i have this issue on all db in my postgresql so not particular db is required to made this crash. The crash is related to password in the connection dialog. From gambas at ...2524... Fri Dec 2 10:33:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 02 Dec 2011 09:33:23 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <4-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #5 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Another quick dirty may be interesting on Ubuntu 12.04 with same gambas3 compiled from svn. rev. 4263 [27] Cannot load component 'gb.desktop.gnome': cannot find component. _Desktop_Passwords.OpenWallet.29 From geaplanet at ...397... Fri Dec 2 18:54:51 2011 From: geaplanet at ...397... (Maria) Date: Fri, 2 Dec 2011 17:54:51 +0000 (GMT) Subject: [Gambas-user] Drag & drop files In-Reply-To: <1322471851.54141.YahooMailNeo@...2727...> References: <1322471851.54141.YahooMailNeo@...2727...> Message-ID: <1322848491.75264.YahooMailNeo@...2731...> Thanks, Pham I can't find libgvfscommon in debian, is it an old library pearhaps? In gambas-es comunity, jguardon, resolved the problem using a function for automatic conversion: http://www.gambas-es.org/viewtopic.php?f=1&t=2054&postdays=0&postorder=asc&start=10 Here it is the code of jguardon: ' Gambas class file Public Sub Form_Open() End Public Sub boton_Drop() ??Dim a As String ??Dim b As String[] ??a = Drag.Paste("text/uri-list") ' limitamos el tipo de los datos pegados ??b = Split(a, gb.CrLf, "", True) ' cargamos la lista de rutas en un array b ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?' escapando las terminaciones de l?nea ??a = Null ?' reutilizamos la variable "a" ??For Each a In b ?? ?a = Right$(a, -7) ' quitamos "file://" ?? ?a = URLDecode(a) ?' descodificamos las cadenas ?? ?Print a ?? ?Desktop.Open(a) ? ' para probar, abrimos cada tipo de ?? ? ? ? ? ? ? ? ? ? ?' fichero con la aplicacion correspondiente ??Next End Static Private Function URLDecode(txt As String) As String ??''' Descodifica los caracteres hexadecimales en las URI's recorriendo la cadena dada ??''' Params: txt la URI a descodificar ??''' Return: la URI descodificada ?? ??Dim txt_len As Integer ??Dim i As Integer ??Dim ch As String ??Dim digits As String ??Dim resultado As String ??resultado = "" ??txt_len = Len(txt) ??i = 1 ??Do While i <= txt_len ?? ?' Examinar el siguiente caracter ?? ?ch = Mid$(txt, i, 1) ?? ?If ch = "+" Then ?? ? ?' Convertir a espacio ?? ? ?resultado = resultado & " " ?? ?Else If ch <> "%" Then ?? ? ?' Normal, no cambiar ?? ? ?resultado = resultado & ch ?? ?Else If i > txt_len - 2 Then ?? ? ?resultado = resultado & ch ?? ?Else ?? ? ?' Obtener los siguientes caracteres hex. ?? ? ?digits = Mid$(txt, i + 1, 2) ?? ? ?' Debug digits ?? ? ?' aqu? convertimos el valor hexadecimal a entero y ?? ? ?' se lo pasamos a Chr que devuelve el car?cter correcto. ?? ? ?resultado = resultado & Chr$(CInt(Val("&" & digits))) ?? ? ?i = i + 2 ?? ?Endif ?? ?i = i + 1 ??Loop ??Return resultado End From jussi.lahtinen at ...626... Fri Dec 2 19:21:50 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 2 Dec 2011 20:21:50 +0200 Subject: [Gambas-user] Drag & drop files In-Reply-To: <1322848491.75264.YahooMailNeo@...2731...> References: <1322471851.54141.YahooMailNeo@...2727...> <1322848491.75264.YahooMailNeo@...2731...> Message-ID: It seems to be in gvfs package in debian/ubuntu. Jussi On Fri, Dec 2, 2011 at 19:54, Maria wrote: > Thanks, Pham > > I can't find libgvfscommon in debian, is it an old library pearhaps? > > > In gambas-es comunity, jguardon, resolved the problem using a function for > automatic conversion: > http://www.gambas-es.org/viewtopic.php?f=1&t=2054&postdays=0&postorder=asc&start=10 > > > Here it is the code of jguardon: > > ' Gambas class file > > Public Sub Form_Open() > > End > > Public Sub boton_Drop() > > Dim a As String > Dim b As String[] > > a = Drag.Paste("text/uri-list") ' limitamos el tipo de los datos pegados > b = Split(a, gb.CrLf, "", True) ' cargamos la lista de rutas en un array > b > ' escapando las terminaciones de l?nea > a = Null ' reutilizamos la variable "a" > > For Each a In b > a = Right$(a, -7) ' quitamos "file://" > a = URLDecode(a) ' descodificamos las cadenas > Print a > Desktop.Open(a) ' para probar, abrimos cada tipo de > ' fichero con la aplicacion correspondiente > Next > > End > > Static Private Function URLDecode(txt As String) As String > ''' Descodifica los caracteres hexadecimales en las URI's recorriendo la > cadena dada > ''' Params: txt la URI a descodificar > ''' Return: la URI descodificada > > Dim txt_len As Integer > Dim i As Integer > Dim ch As String > Dim digits As String > Dim resultado As String > > resultado = "" > txt_len = Len(txt) > i = 1 > Do While i <= txt_len > ' Examinar el siguiente caracter > ch = Mid$(txt, i, 1) > If ch = "+" Then > ' Convertir a espacio > resultado = resultado & " " > Else If ch <> "%" Then > ' Normal, no cambiar > resultado = resultado & ch > Else If i > txt_len - 2 Then > resultado = resultado & ch > Else > ' Obtener los siguientes caracteres hex. > digits = Mid$(txt, i + 1, 2) > ' Debug digits > ' aqu? convertimos el valor hexadecimal a entero y > ' se lo pasamos a Chr que devuelve el car?cter correcto. > resultado = resultado & Chr$(CInt(Val("&" & digits))) > i = i + 2 > Endif > i = i + 1 > Loop > > Return resultado > > End > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 2 19:23:12 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 2 Dec 2011 20:23:12 +0200 Subject: [Gambas-user] Drag & drop files In-Reply-To: References: <1322471851.54141.YahooMailNeo@...2727...> <1322848491.75264.YahooMailNeo@...2731...> Message-ID: gvfs 1.10.0-0ubuntu1 On Fri, Dec 2, 2011 at 20:21, Jussi Lahtinen wrote: > It seems to be in gvfs package in debian/ubuntu. > > Jussi > > > > > On Fri, Dec 2, 2011 at 19:54, Maria wrote: > >> Thanks, Pham >> >> I can't find libgvfscommon in debian, is it an old library pearhaps? >> >> >> In gambas-es comunity, jguardon, resolved the problem using a function >> for automatic conversion: >> http://www.gambas-es.org/viewtopic.php?f=1&t=2054&postdays=0&postorder=asc&start=10 >> >> >> Here it is the code of jguardon: >> >> ' Gambas class file >> >> Public Sub Form_Open() >> >> End >> >> Public Sub boton_Drop() >> >> Dim a As String >> Dim b As String[] >> >> a = Drag.Paste("text/uri-list") ' limitamos el tipo de los datos pegados >> b = Split(a, gb.CrLf, "", True) ' cargamos la lista de rutas en un >> array b >> ' escapando las terminaciones de l?nea >> a = Null ' reutilizamos la variable "a" >> >> For Each a In b >> a = Right$(a, -7) ' quitamos "file://" >> a = URLDecode(a) ' descodificamos las cadenas >> Print a >> Desktop.Open(a) ' para probar, abrimos cada tipo de >> ' fichero con la aplicacion correspondiente >> Next >> >> End >> >> Static Private Function URLDecode(txt As String) As String >> ''' Descodifica los caracteres hexadecimales en las URI's recorriendo >> la cadena dada >> ''' Params: txt la URI a descodificar >> ''' Return: la URI descodificada >> >> Dim txt_len As Integer >> Dim i As Integer >> Dim ch As String >> Dim digits As String >> Dim resultado As String >> >> resultado = "" >> txt_len = Len(txt) >> i = 1 >> Do While i <= txt_len >> ' Examinar el siguiente caracter >> ch = Mid$(txt, i, 1) >> If ch = "+" Then >> ' Convertir a espacio >> resultado = resultado & " " >> Else If ch <> "%" Then >> ' Normal, no cambiar >> resultado = resultado & ch >> Else If i > txt_len - 2 Then >> resultado = resultado & ch >> Else >> ' Obtener los siguientes caracteres hex. >> digits = Mid$(txt, i + 1, 2) >> ' Debug digits >> ' aqu? convertimos el valor hexadecimal a entero y >> ' se lo pasamos a Chr que devuelve el car?cter correcto. >> resultado = resultado & Chr$(CInt(Val("&" & digits))) >> i = i + 2 >> Endif >> i = i + 1 >> Loop >> >> Return resultado >> >> End >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From keithclark at ...2185... Sun Dec 4 00:09:03 2011 From: keithclark at ...2185... (Keith Clark) Date: Sat, 03 Dec 2011 18:09:03 -0500 Subject: [Gambas-user] CGI programming example Message-ID: <4EDAAC0F.5000508@...2185...> Has anyone written an example/tutorial of CGI programming with Gambas? Any links for me to read? Thanks, Keith From support at ...2529... Sun Dec 4 00:50:43 2011 From: support at ...2529... (John Spikowski) Date: Sat, 03 Dec 2011 15:50:43 -0800 Subject: [Gambas-user] CGI programming example In-Reply-To: <4EDAAC0F.5000508@...2185...> References: <4EDAAC0F.5000508@...2185...> Message-ID: <1322956243.2077.13.camel@...1833...> On Sat, 2011-12-03 at 18:09 -0500, Keith Clark wrote: > Has anyone written an example/tutorial of CGI programming with Gambas? > Any links for me to read? Why Gambas for GCI programming? How do you plan to handle sessions variables in Gambas when running as a CGI application? Have you tried any of the traditional web scripting languages like Python, php, Perl or ScriptBasic? From rmorgan62 at ...626... Sun Dec 4 02:10:19 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 3 Dec 2011 17:10:19 -0800 Subject: [Gambas-user] CGI programming example In-Reply-To: <1322956243.2077.13.camel@...1833...> References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> Message-ID: Hi Keith, I am writing what started out as a small tutorial on Gambas3 and has turned into a book. CGI is one of my topics that I will be covering. I haven't started that section yet but I can expedite it for you. Or perhaps you'd like to collaborate on this section?... I am an old programmer but fairly new to Gambas so I too am learning and wanted to share what I have learned with others... While some disagree with me, I find the documentation on Gambas lacking... So I decided to create the tutorial. It will be released Creative Commons in PDF and in Print on Lulu.com for a fee to cover printing. The books is divided into three major sections: Section 1: Learning to Program -- Lessons on programming in general. While mostly procedural in nature, I cover very basic topics like data types and sizes, what a program is, etc... This section is aimed to be used in an instructional format for someone who has no or little programming experience. Section 2: Basic Programming and The Gambas3 Basic Language. Covers more advanced topics like string manipulation, math functions, GUI applications etc... section 3: Advanced Gambas Programming: Covers advanced topics like CGI, graphics, OpenGL, Scientific computing, Using external libraries to extend Gambas, etc... I currently have about 350 pages that I am sure can be condensed down considerably, once edited. So if you have any thoughts or an idea for CGI applications let me know. It is possible and I have done CGI apps in C and C++. Gambas is just another language that with it's Basic Syntax should make it easier to write cgi apps. Randy On Sat, Dec 3, 2011 at 3:50 PM, John Spikowski wrote: > On Sat, 2011-12-03 at 18:09 -0500, Keith Clark wrote: > > Has anyone written an example/tutorial of CGI programming with Gambas? > > Any links for me to read? > > Why Gambas for GCI programming? How do you plan to handle sessions > variables in Gambas when running as a CGI application? > > Have you tried any of the traditional web scripting languages like > Python, php, Perl or ScriptBasic? > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From keithclark at ...2185... Sun Dec 4 02:42:38 2011 From: keithclark at ...2185... (Keith Clark) Date: Sat, 03 Dec 2011 20:42:38 -0500 Subject: [Gambas-user] CGI programming example In-Reply-To: References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> Message-ID: <4EDAD00E.3030309@...2185...> Randy, Fantastic to hear! How are you writing this? Can I have a look? Keith On 11-12-03 08:10 PM, Randall Morgan wrote: > Hi Keith, > > I am writing what started out as a small tutorial on Gambas3 and has turned > into a book. CGI is one of my topics that I will be covering. I haven't > started that section yet but I can expedite it for you. Or perhaps you'd > like to collaborate on this section?... I am an old programmer but fairly > new to Gambas so I too am learning and wanted to share what I have learned > with others... While some disagree with me, I find the documentation on > Gambas lacking... So I decided to create the tutorial. It will be released > Creative Commons in PDF and in Print on Lulu.com for a fee to cover > printing. > > The books is divided into three major sections: > > Section 1: Learning to Program -- Lessons on programming in general. While > mostly procedural in nature, I cover very basic topics like data types and > sizes, what a program is, etc... This section is aimed to be used in an > instructional format for someone who has no or little programming > experience. > > Section 2: Basic Programming and The Gambas3 Basic Language. Covers more > advanced topics like string manipulation, math functions, GUI applications > etc... > > section 3: Advanced Gambas Programming: Covers advanced topics like CGI, > graphics, OpenGL, Scientific computing, Using external libraries to extend > Gambas, etc... > > I currently have about 350 pages that I am sure can be condensed down > considerably, once edited. > > So if you have any thoughts or an idea for CGI applications let me know. It > is possible and I have done CGI apps in C and C++. Gambas is just another > language that with it's Basic Syntax should make it easier to write cgi > apps. > > Randy > > > > On Sat, Dec 3, 2011 at 3:50 PM, John Spikowskiwrote: > >> On Sat, 2011-12-03 at 18:09 -0500, Keith Clark wrote: >>> Has anyone written an example/tutorial of CGI programming with Gambas? >>> Any links for me to read? >> Why Gambas for GCI programming? How do you plan to handle sessions >> variables in Gambas when running as a CGI application? >> >> Have you tried any of the traditional web scripting languages like >> Python, php, Perl or ScriptBasic? >> >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure >> contains a definitive record of customers, application performance, >> security threats, fraudulent activity, and more. Splunk takes this >> data and makes sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-novd2d >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Sun Dec 4 02:52:07 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 04 Dec 2011 02:52:07 +0100 Subject: [Gambas-user] CGI programming example In-Reply-To: <1322956243.2077.13.camel@...1833...> References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> Message-ID: <4EDAD247.7030403@...1...> Le 04/12/2011 00:50, John Spikowski a ?crit : > > Why Gambas for GCI programming? How do you plan to handle sessions > variables in Gambas when running as a CGI application? > > Have you tried any of the traditional web scripting languages like > Python, php, Perl or ScriptBasic? Everything needed to program CGI scripts is located in the gb.web component, that provides an ASP-like interface to handle requests, responses, sessions, file download, URL escaping, HTTP headers... I use it to develop a big project in my job : sort of MS-Access on the web, with support for Google Maps, GPS tracking, PDF/OpenOffice document generation, custom map layers... By interfacing it with a light web server, I got something faster and easier to maintain than anything I could have wrote in Python, PHP or Perl. I've never heard from ScriptBasic, so I can't tell you about it. Regards, -- Beno?t Minisini From support at ...2529... Sun Dec 4 04:23:06 2011 From: support at ...2529... (John Spikowski) Date: Sat, 03 Dec 2011 19:23:06 -0800 Subject: [Gambas-user] CGI programming example In-Reply-To: <4EDAD247.7030403@...1...> References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> <4EDAD247.7030403@...1...> Message-ID: <1322968986.2077.38.camel@...1833...> On Sun, 2011-12-04 at 02:52 +0100, Beno?t Minisini wrote: > Everything needed to program CGI scripts is located in the gb.web > component, that provides an ASP-like interface to handle requests, > responses, sessions, file download, URL escaping, HTTP headers... > > I use it to develop a big project in my job : sort of MS-Access on the > web, with support for Google Maps, GPS tracking, PDF/OpenOffice document > generation, custom map layers... > > By interfacing it with a light web server, I got something faster and > easier to maintain than anything I could have wrote in Python, PHP or > Perl. I've never heard from ScriptBasic, so I can't tell you about it. > That is good news to hear. Where could one find the documentation (supported language syntax) for the console mode Gambas interpreter? ScriptBasic: The first production stable version of ScriptBasic arrived around 1999 or so. It was written by Peter Verhas (Budapest, Hungary) and I picked up the project manager spot in 2005. (Seattle WA area) One of the ScriptBasic variation examples that comes with the distribution is a multi-threaded http web server that installs itself as a service. It supports session variables and a common R/W lockable variable pool. Your database options are MySQL, PostgreSQL and ODBC. In most cases the ScriptBasic web/application server is run as a proxy server with Apache. ScriptBasic runs on Windows, Linux and OS X. (32/64 bit) By design, ScriptBasic is an embeddable scripting API. A console mode interpreter (embedding example), webserver (multi-threaded embedding example) and example scripts along with extensive user and developer documentation are provided in the LGPL download. There is only one source tree that compiles on all platforms. That's about it in a nutshell. From keithclark at ...2185... Sun Dec 4 04:24:39 2011 From: keithclark at ...2185... (Keith Clark) Date: Sat, 03 Dec 2011 22:24:39 -0500 Subject: [Gambas-user] New Game Creation In-Reply-To: <4EDAD247.7030403@...1...> References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> <4EDAD247.7030403@...1...> Message-ID: <4EDAE7F7.5020707@...2185...> I used to love Wall Street Raider for DOS/Windows and would like to create a newer, updated version for Linux. I think Gambas would make the perfect platform for doing so. If anyone is interested in participating, let me know my personal email and we'll get things started! Keith From gambas.fr at ...626... Sun Dec 4 07:25:48 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 4 Dec 2011 07:25:48 +0100 Subject: [Gambas-user] CGI programming example In-Reply-To: <1322968986.2077.38.camel@...1833...> References: <4EDAAC0F.5000508@...2185...> <1322956243.2077.13.camel@...1833...> <4EDAD247.7030403@...1...> <1322968986.2077.38.camel@...1833...> Message-ID: well you have doc in the GambasDoc and examples in the gambas sourcecode (gambasfoc) and on the web the sources of gambasforge.org on sourceforge.net http://gambasforge.org -- Fabien Bodard From tobiasboe1 at ...20... Sun Dec 4 11:17:47 2011 From: tobiasboe1 at ...20... (tobias) Date: Sun, 04 Dec 2011 11:17:47 +0100 Subject: [Gambas-user] CGI programming example In-Reply-To: <4EDAAC0F.5000508@...2185...> References: <4EDAAC0F.5000508@...2185...> Message-ID: <4EDB48CB.1030803@...20...> On 04.12.2011 00:09, Keith Clark wrote: > Has anyone written an example/tutorial of CGI programming with Gambas? > Any links for me to read? > > Thanks, > > Keith > erm, i know of someone who already is familiar with this topic and spent a lot of time in setting up apache with gambas as a cgi module on ubuntu. i think i can find his material somewhere on my computer but looking at your name i don't think that you'll have much use of german papers... if i find it, i'll translate it. but i never read this papers, i don't know how it fits your needs... regards, tobi From gambas at ...2524... Sun Dec 4 14:00:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 04 Dec 2011 13:00:01 +0000 Subject: [Gambas-user] Issue 154 in gambas: "circular references detected" when using Object.New Message-ID: <0-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 154 by svit... at ...626...: "circular references detected" when using Object.New http://code.google.com/p/gambas/issues/detail?id=154 The object that is passed to the Object.New function is not released: gbx3: warning: circular references detected: gbx3: 1 ClassArgForObjectNew gbx3: warning: 3 allocation (s) non freed. If the class constructor will be no arguments, the bug does not occur. Version: RC6 Operating system: Linux Architecture: x86 A little project attached. Attachments: Bug_Object.New-0.0.1.tar.gz 4.9 KB From Karl.Reinl at ...2345... Sun Dec 4 22:14:44 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 04 Dec 2011 22:14:44 +0100 Subject: [Gambas-user] Report with Gambas 3 In-Reply-To: <825290986.9401.1321965885109.JavaMail.www@...2724...> References: <16679282.3082.1321949418120.JavaMail.www@...2723...> <1321954935.6388.2.camel@...40...> <825290986.9401.1321965885109.JavaMail.www@...2724...> Message-ID: <1323033284.7361.11.camel@...40...> Am Dienstag, den 22.11.2011, 13:44 +0100 schrieb Ext4: > > > > Hi all, > > > > > > I'm new in gambas (6 months) and I'm writing a small application that manages data in a MySQL database. > > > I started my apprenticeship with Gambas3 and I encountered a problem I can not solve alone. > > > For prints I saw that there were two solutions. The component Gb.report and class PdfWriter (http://www.gambas-it.org/wp/?page_id=21). > > > Gb.report seems more complete, but is more difficult to use. > > > PDFWriter is very easy to use. > > > The two solutions are they perennial? > > > What do you recommend, knowing that I'm not very good with Gambas3? > > > > > > Thank you for your advice. > > > > Salut, > > > > the PDFWriter is for gambas2, so it is not said, it will work for > > gambas3 > > Pdfwriter works fine with Gambas3. Just need to convert it. Salut, I'v tried today the said Pdfwriter, YES, you can convert it to gambas3, and you can run it, and there is no ERROR raising up.... but I'v got an empty form with 24 pages, yes there are 24 pages. But all 24 are, empty pages. So if it works for you, I know you are using a too old version of gambas 2.99 Draw can't no more be directed to a printer, you have to use paint for that. -- Amicalement Charlie From richard_sandia at ...1541... Tue Dec 6 03:25:34 2011 From: richard_sandia at ...1541... (xnome) Date: Mon, 5 Dec 2011 18:25:34 -0800 (PST) Subject: [Gambas-user] Video Capture In-Reply-To: <201102201400.14109.gambas@...1...> References: <1298189426.2281.4.camel@...2519...> <201102201400.14109.gambas@...1...> Message-ID: <32921777.post@...1379...> Hi, Benoit Please show me the way how gb.v4l component can extract each image generated by the WebCam, because i keep getting "unable to get image" error in gambas2.23 while in gambas3 aka gambas 2.99.6 i could extract image but only in 320x240 picture size for proper result, but not other than that. all works fine when i use cheese on my ubuntu10.10 32bit here's the result: good http://www.freeimagehosting.net/fc62c 320x240 bad http://www.freeimagehosting.net/4ae39 160x120 http://www.freeimagehosting.net/4e164 640x480 I wish gambas will be better, thanks Beno?t Minisini wrote: > > Apparently, the gb.v4l component can extract each image generated by the > WebCam, but cannot generate an AVI from it. Hopefully, there are > command-line > tools that can do that for you. I think mplayer can take a bunch of images > and > generate a video from them too. > > Regards, > > -- > Beno?t Minisini > > > -- View this message in context: http://old.nabble.com/Video-Capture-tp30969595p32921777.html Sent from the gambas-user mailing list archive at Nabble.com. From admhardsoft at ...253... Tue Dec 6 14:45:43 2011 From: admhardsoft at ...253... (=?iso-8859-1?Q?Tom=E1s_Rodriguez?=) Date: Tue, 6 Dec 2011 05:45:43 -0800 (PST) Subject: [Gambas-user] Hola friend!! Message-ID: <1323179143.595.androidMobile@...2733...>

Hey, hey!
I told myself to stay positive I knew I had to take advantage of this its funny how the tables have turned youre the only one that ive told
http://syatyou55.web.fc2.com/profile/49AdrianAlien/
talk to you soon.

From gambas at ...2524... Wed Dec 7 06:48:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 07 Dec 2011 05:48:09 +0000 Subject: [Gambas-user] Issue 155 in gambas: Event ComboBox_Click() performed when I make ComboBox.Add("aaa") Message-ID: <0-6813199134517018827-14950166480694986876-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 155 by bespalov... at ...626...: Event ComboBox_Click() performed when I make ComboBox.Add("aaa") http://code.google.com/p/gambas/issues/detail?id=155 Why event ComboBox_Clic() do not done when i clicked on the ComboBox if ComboBox is empty? How do if i want fill in ComboBox after clicked it? Version: Last RC6 Operating system: Linux Distribution: Fedora 16 Architecture: x86 GUI component: QT4 Desktop used: Gnome 3 From gambas at ...2524... Wed Dec 7 07:02:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 07 Dec 2011 06:02:12 +0000 Subject: [Gambas-user] Issue 156 in gambas: Do not copied controls at form Message-ID: <0-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 156 by bespalov... at ...626...: Do not copied controls at form http://code.google.com/p/gambas/issues/detail?id=156 Do not copied controls at form 1. Select Control 2. Press Ctrl+C or context menu Copy 3. Press Ctrl+V at new place at form Do not copied Or how do this? Version: Last RC6 Operating system: Linux Distribution: Fedora 16 Architecture: x86 GUI component: QT4 Desktop used: Gnome 3 From marcobra.ubuntu at ...626... Wed Dec 7 13:03:28 2011 From: marcobra.ubuntu at ...626... (marco bra) Date: Wed, 7 Dec 2011 13:03:28 +0100 Subject: [Gambas-user] Gambas3 WebSettings.HttpProxy Message-ID: I defined o gambas3 WebSettings.HttpProxy it works fine but how can i add proxy exclusion i mean no proxy for some domain or ip ? Thanks Marco -- Linux Infinite Freedom From bbruen at ...2308... Fri Dec 9 02:38:25 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Fri, 09 Dec 2011 12:08:25 +1030 Subject: [Gambas-user] Passing ... parameters Message-ID: <1323394705.9998.7.camel@...2688...> Hi folks, I'm looking for a way to pass all the ... parameters in a function call on to another function. In other words, I have a situation where I want to pass all the extra parameters, but I don't know/care how many there are, viz Public Function F1(sType as String,...) as Boolean If sType = "Basic" then ' process the call locally Else Return F2(???) ' where ??? is the set of Params received. Endif End Public Function F2(...) as Boolean If Param.Count=2 then ' process the call using method A Else If Param.Count=3 then ' process the call using method B Else Error.Raise("Illegal parameter set") EndIf End Is there a way to just pass all the extra params? regards Bruce From gambas.fr at ...626... Fri Dec 9 13:30:41 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 9 Dec 2011 13:30:41 +0100 Subject: [Gambas-user] Passing ... parameters In-Reply-To: <1323394705.9998.7.camel@...2688...> References: <1323394705.9998.7.camel@...2688...> Message-ID: hum there is someting that hurt me ... how are passed your params ... in what variable ? for exemple ... if all is string like : (param1, para2, para3) use an array Public Funtion F2(MyParam as string[]) as end call it F2(split(sParam,",")) to use "..." it's really rare it's for polymorphe call via a hard coded function : F2(toto, tata, titi) F2(toto,tata) but it not seem to be your case From jussi.lahtinen at ...626... Fri Dec 9 19:04:59 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 9 Dec 2011 20:04:59 +0200 Subject: [Gambas-user] Passing ... parameters In-Reply-To: <1323394705.9998.7.camel@...2688...> References: <1323394705.9998.7.camel@...2688...> Message-ID: I don't know how to do this directly, but there are several ways to do it indirectly. Perhaps you need something like this: Public Function F1(...) As Integer Return F2(Param.All) End Public Function F2(ArraOfParameters As Variant[]) As Integer Return ArraOfParameters.Count End But even better if you can change the structure of your program so that you don't have to re-pass all the parameters. BTW. Do you know command TypeOf() ? It may be useful with this case. Jussi On Fri, Dec 9, 2011 at 03:38, Bruce Bruen wrote: > Hi folks, > > I'm looking for a way to pass all the ... parameters in a function call > on to another function. > > In other words, I have a situation where I want to pass all the extra > parameters, but I don't know/care how many there are, viz > > Public Function F1(sType as String,...) as Boolean > If sType = "Basic" then > ' process the call locally > Else > Return F2(???) ' where ??? is the set of Params received. > Endif > End > > Public Function F2(...) as Boolean > If Param.Count=2 then > ' process the call using method A > Else If Param.Count=3 then > ' process the call using method B > Else > Error.Raise("Illegal parameter set") > EndIf > End > > Is there a way to just pass all the extra params? > > regards > Bruce > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point > of > discussion for anyone considering optimizing the pricing and packaging > model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri Dec 9 22:25:50 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 9 Dec 2011 22:25:50 +0100 Subject: [Gambas-user] Passing ... parameters In-Reply-To: References: <1323394705.9998.7.camel@...2688...> Message-ID: it really depend of what you want to do :/ 2011/12/9 Jussi Lahtinen : > I don't know how to do this directly, but there are several ways to do it > indirectly. > Perhaps you need something like this: > > Public Function F1(...) As Integer > > ?Return F2(Param.All) > > End > > > Public Function F2(ArraOfParameters As Variant[]) As Integer > > ?Return ArraOfParameters.Count > > End > > But even better if you can change the structure of your program so that you > don't have to re-pass all the parameters. > BTW. Do you know command TypeOf() ? It may be useful with this case. > > Jussi > > > > > > On Fri, Dec 9, 2011 at 03:38, Bruce Bruen wrote: > >> Hi folks, >> >> I'm looking for a way to pass all the ... parameters in a function call >> on to another function. >> >> In other words, I have a situation where I want to pass all the extra >> parameters, but I don't know/care how many there are, viz >> >> Public Function F1(sType as String,...) as Boolean >> ? ?If sType = "Basic" then >> ? ? ? ?' process the call locally >> ? ?Else >> ? ? ? ?Return F2(???) ' where ??? is the set of Params received. >> ? ?Endif >> End >> >> Public Function F2(...) as Boolean >> ? ?If Param.Count=2 then >> ? ? ? ?' process the call using method A >> ? ?Else If Param.Count=3 then >> ? ? ? ?' process the call using method B >> ? ?Else >> ? ? ? ?Error.Raise("Illegal parameter set") >> ? ?EndIf >> End >> >> Is there a way to just pass all the extra params? >> >> regards >> Bruce >> >> ------------------------------------------------------------------------------ >> Cloud Services Checklist: Pricing and Packaging Optimization >> This white paper is intended to serve as a reference, checklist and point >> of >> discussion for anyone considering optimizing the pricing and packaging >> model >> of a cloud services business. Read Now! >> http://www.accelacomm.com/jaw/sfnl/114/51491232/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bbruen at ...2308... Fri Dec 9 23:00:45 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Sat, 10 Dec 2011 08:30:45 +1030 Subject: [Gambas-user] Passing ... parameters In-Reply-To: References: <1323394705.9998.7.camel@...2688...> Message-ID: <1323468045.9998.53.camel@...2688...> Fabian and Jussi, Thanks guys, this is now so close it hurts! On Fri, 2011-12-09 at 20:04 +0200, Jussi Lahtinen wrote: > Perhaps you need something like this: > > Public Function F1(...) As Integer > > Return F2(Param.All) > > End > That (Param.All) appears to be the big part of the solution. However, it has a little problem in my particular situation that's way down the bottom of this post. On Fri, 2011-12-09 at 20:04 +0200, Jussi Lahtinen wrote: > But even better if you can change the structure of your program so that you > don't have to re-pass all the parameters. > BTW. Do you know command TypeOf() ? It may be useful with this case. On Fri, 2011-12-09 at 13:30 +0100, Fabien Bodard wrote: > to use "..." it's really rare it's for polymorphe call via a hard > coded function : > > F2(toto, tata, titi) > F2(toto,tata) > > but it not seem to be your case Here's the real situation, which explains what I'm trying to do. I have 5 production systems in gambas 2 that are represented by over 80 gambas projects. They each use one of three gb2 components to do database access. These 3 libraries are very similar functionally, they implement the Create, Read, Update and Delete actions on the database and some other utility functions (like checking if a row exists for a primary key value). In moving these to gambas3, I am trying to merge the three gb2 components into a single gb3 library. This has been 99% successful, everything but the Read functions have been rationalised, merged and now all these functions work using common function calls. Read is the problem, one gb2 component's Read function uses an array of primary key values, one uses a "pseudo query" string and one uses a class that represents a "query by example" structure. There are hundreds, possibly thousands, of calls to the Read function spread throughout all these gb2 projects. The signatures look like this: Public Function DBRead(oTarget as Object, vPKey as Variant[]) as Boolean Public Function DBRead(oTarget as Object,sQuery as String, Optional sSort as String) as Boolean Public Function DBRead(oQBE as QBE) as Boolean where oTarget is the object that the data will be loaded into. The functionality of the three Reads is the same - the rows read from the database end up in the target object. The only differences are the calling signature and how the target is specified (in the QBE example it is inside the oQBE class). So, here's my desire: Rather then go through all the projects and "fix" all of the calls to a common signature, I thought I could make a "wrapper" function in the new library: Public Function DBRead(...) as Boolean that would look at the Params and call an appropriate internal function to handle each type. I think that would be a lot quicker. As usual, I have complicated the problem by putting the wrapper function in a class that inherits the base DBAccess class. The reason being that at some time in the future, the calls will all be rationalised to a single signature. For instance, I'll possibly retire the QBE method as it is overly complex. The pseudo code for the public DBRead now looks like this: Public Function DBRead(...) as Boolean Dim localtarget as Object Dim localquery as String Dim localsort as String If Param.Count = 1 and Param[0] is QBE then decipher_QBE(Param[0],localtarget,localquery,localsort) Return Super.DBRead(localobject,localquery,localsort) else Return Super.DBRead(Param.All) Endif The base class DBRead(...) theortically can decipher which call type it's got OK. BUT~! I can't debug it??? When I try and display the Param class in the debugger or include things like Debug Param[0] it shows an "Out Of Bounds" error. Is this something I've done or a gb3 issue? regards Bruce From jussi.lahtinen at ...626... Fri Dec 9 23:25:44 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 10 Dec 2011 00:25:44 +0200 Subject: [Gambas-user] Passing ... parameters In-Reply-To: <1323468045.9998.53.camel@...2688...> References: <1323394705.9998.7.camel@...2688...> <1323468045.9998.53.camel@...2688...> Message-ID: > I can't debug it??? > When I try and display the Param class in the debugger or include things > like Debug Param[0] it shows an "Out Of Bounds" error. > Is this something I've done or a gb3 issue? > In short; only problem left is with debugging? I have no problems with "Debug Param[0]", but when clicking on "Param" I will get "Out Of Bounds". So I think this is bug, or perhaps more like missing feature... Benoit? Jussi From gambas.fr at ...626... Sat Dec 10 07:08:36 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 10 Dec 2011 07:08:36 +0100 Subject: [Gambas-user] Passing ... parameters In-Reply-To: References: <1323394705.9998.7.camel@...2688...> <1323468045.9998.53.camel@...2688...> Message-ID: Public Function DBRead(...) as Boolean ? ?Dim localtarget as Object? ?Dim localquery as String? ?Dim localsort as String ? ?If Param.Count = 1 and Param.all[0] is QBE then decipher_QBE(Param.all[0],localtarget,localquery,localsort) Return Super.DBRead(localobject,localquery,localsort)? ?else Return Super.DBRead(Param.All)? ?Endif In fact "..." generate an array of variant, you can have it in "all" when you call DBRead(ParamAll) you pass an array of variant. From bill-lancaster at ...2231... Sat Dec 10 17:09:26 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sat, 10 Dec 2011 08:09:26 -0800 (PST) Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling Message-ID: <32951969.post@...1379...> First, the report example doesn't work for me - it just hangs. I want to print information onto a pre-printed form (one A4 sheet) so there would be a number of fields in specific positions on the page. Building a new project using the same components as the example I can get a form to print OK but data prints at top left of the page. Any help would be appreciated -- View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32951969.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Dec 10 18:46:28 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 10 Dec 2011 18:46:28 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32951969.post@...1379...> References: <32951969.post@...1379...> Message-ID: 2011/12/10 Bill-Lancaster : > > First, the report example doesn't work for me - it just hangs. > > I want to print information onto a pre-printed form (one A4 sheet) so there > would be a number of fields in specific positions on the page. > > Building a new project using the same components as the example I can get a > form to print OK but data prints at top left of the page. > > Any help would be appreciated > > well just wait a little bit... you need to use the svn version as i'm currently made many improvement. for the free positionning labels you need : add a panel with arrangement at none and expand at true set the reportpadding at Zero (it is at init) then for each labels you add you need to set X/Y or top/left value and really important the width and the height (you can use autoresize) normally it will work this way. Sorry the ide not allow a wisiwig positionning it will come after gambas 3 release For the datas do not set any text in the label that will be used for fields ... they will then generate an event _data() in this event set the data value Public sub MyLabel_Data() Last.Data = value end in your case it is not necessary... you can setup the values directly in the _new() procedure. I will made many examples... actually i've start some video but they are in french...(youtube) > > -- > View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32951969.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From adamnt42 at ...626... Sun Dec 11 00:00:28 2011 From: adamnt42 at ...626... (GMail) Date: Sun, 11 Dec 2011 09:30:28 +1030 Subject: [Gambas-user] Passing ... parameters In-Reply-To: References: <1323394705.9998.7.camel@...2688...> <1323468045.9998.53.camel@...2688...> Message-ID: <1323558028.14427.5.camel@...2688...> Ha! Got it solved. All I need to do is the same check in the wrapper as the base class. There appears to be a strange effect if there is only on real parameter and it is already a Variant[]. So I just check for that instance in the wrapper class and call the base DBRead directly using Param[0]. Now the wrapper code is: If Param.Count = 1 and Param[0] is QBE then decipher_QBE(Param[0],localtarget,localquery,localsort) Return Super.DBRead(localobject,localquery,localsort) else if Param.Count = 1 and Param[0] is Array then Return Super.DBRead(Param[0]) else Return Super.DBRead(Param.All) Endif and it all works! :-) Thanks for the help guys. Bruce From bill-lancaster at ...2231... Sun Dec 11 09:53:42 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 11 Dec 2011 00:53:42 -0800 (PST) Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> Message-ID: <32954214.post@...1379...> Dear Fabien, OK, I have one main form with a button that opens Report1 (a report type of form - is that what you call a 'panel'?) The I added a ReportTextLabel set width, height, x & y. Then in code for Report1 I have, Public Sub TextLabel_Data() Last.Data = "KKKKKKKKKK" End When I run it I get:- Unknown symbol 'RichTextHeight' in class 'paint' -- View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32954214.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Sun Dec 11 12:39:10 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 11 Dec 2011 03:39:10 -0800 (PST) Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32954214.post@...1379...> References: <32951969.post@...1379...> <32954214.post@...1379...> Message-ID: <32954824.post@...1379...> A step forward! Have discovered if I insert a ReportTextLabel in Report1 then select 'embed into a container' from its properties I get Panel1 containing the ReportTextLabel. So now I know what you meant by a 'panel' and the error 'Unknown Symbol etc' has gone away. I couldn't see an item called 'Panel' in the toolbox. I'm not there yet but progressing. -- View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32954824.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Sun Dec 11 14:54:59 2011 From: willy at ...2734... (Willy Raets) Date: Sun, 11 Dec 2011 14:54:59 +0100 Subject: [Gambas-user] Runtime missing!!! Message-ID: <1323611699.2377.13.camel@...2735...> Hi, Don't really know if this is the right place to post this but anyway: I installed the latest version of Gambas using 'gambas3-2.99.6.tar.bz2' After unpacking into a folder I did the ./reconfig-all -> no problems ./configure -C -> no problems make -> no problems sudo make install -> no problems Gambas starts up just fine and seems to work just fine. When I debug run, the applications I built do run. When I make a executable (nameapp.gambas) they run on my PC I can also make Source archives. Problem starts with making Installation packages. When I make one for Ubuntu and try install it I get this: Dependency is not satisfiable: gambas3-runtime (>= 2.90.0) It looks like the gambas3-runtime is missing!!! How is this possible. Is it not included in the 'gambas3-2.99.6.tar.bz2'? Anyone know how to solve this? Thanks, Willy System info (copied from Gambas 3): [System] OperatingSystem=Linux Kernel=2.6.35-31-generic Architecture=i686 Memory=2051628 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.22.0 Path=/usr/bin/gbx2 [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 -- Met vriendelijke groeten/ With kind regards, Willy From gambas.fr at ...626... Sun Dec 11 15:13:13 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 11 Dec 2011 15:13:13 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32954824.post@...1379...> References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> Message-ID: 2011/12/11 Bill-Lancaster : > > A step forward! > > Have discovered if I insert a ReportTextLabel in Report1 then select 'embed > into a container' from its properties I get Panel1 containing the > ReportTextLabel. > > So now I know what you meant by a 'panel' and the error 'Unknown Symbol etc' > has gone away. > > I couldn't see an item called 'Panel' in the toolbox. not panel but report panel ... and are you using the svn version ?? > > I'm not there yet but progressing. > -- > View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32954824.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From ea7dfh at ...2382... Sun Dec 11 15:35:22 2011 From: ea7dfh at ...2382... (Jesus) Date: Sun, 11 Dec 2011 15:35:22 +0100 Subject: [Gambas-user] Runtime missing!!! In-Reply-To: <1323611699.2377.13.camel@...2735...> References: <1323611699.2377.13.camel@...2735...> Message-ID: <4EE4BFAA.4090001@...2382...> El 11/12/11 14:54, Willy Raets escribi?: > Hi, > > Don't really know if this is the right place to post this but anyway: > > I installed the latest version of Gambas using 'gambas3-2.99.6.tar.bz2' > After unpacking into a folder I did the > ./reconfig-all -> no problems > ./configure -C -> no problems > make -> no problems > sudo make install -> no problems > > Gambas starts up just fine and seems to work just fine. > > When I debug run, the applications I built do run. > When I make a executable (nameapp.gambas) they run on my PC > I can also make Source archives. > > Problem starts with making Installation packages. > When I make one for Ubuntu and try install it I get this: > Dependency is not satisfiable: gambas3-runtime (>= 2.90.0) > > It looks like the gambas3-runtime is missing!!! > How is this possible. Is it not included in the > 'gambas3-2.99.6.tar.bz2'? > > Anyone know how to solve this? > > Thanks, > > Willy > > System info (copied from Gambas 3): > > [System] > OperatingSystem=Linux > Kernel=2.6.35-31-generic > Architecture=i686 > Memory=2051628 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.10" > Desktop=Gnome > > [Gambas 2] > Version=2.22.0 > Path=/usr/bin/gbx2 > > [Gambas 3] > Version=2.99.6 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.0 > GTK+=libgtk-x11-2.0.so.0.2200.0 > Hi, Willy Err... well, there is no problem with your setup. The main reason is that there aren't yet packages in the repositories. The installation package you've created contains information on what dependencies are needed and tries to install them, but it fails because Gambas3 isn't official and therefore is not in the repositories and none of its components. So for the moment there is not an easy solution, but shipping a home-made package using GB_DIR environment variable pointing at your copied gambas libraries. Regards -- Jesus Guardon From willy at ...2734... Sun Dec 11 15:56:05 2011 From: willy at ...2734... (Willy Raets) Date: Sun, 11 Dec 2011 15:56:05 +0100 Subject: [Gambas-user] Runtime missing!!! In-Reply-To: <4EE4BFAA.4090001@...2382...> References: <1323611699.2377.13.camel@...2735...> <4EE4BFAA.4090001@...2382...> Message-ID: <1323615365.2377.25.camel@...2735...> Hi Jesus, Thanks, at least now I know what is going on and there is nothing wrong with the installation of Gambas 3. Guess I'll just have to wait. Could not find much info on using GB DIR to do a home-made package for Gambas applications. Take care.. On zo, 2011-12-11 at 15:35 +0100, Jesus wrote: > Hi, Willy > > Err... well, there is no problem with your setup. The main reason is > that there aren't yet packages in the repositories. > > The installation package you've created contains information on what > dependencies are needed and tries to install them, but it fails because > Gambas3 isn't official and therefore is not in the repositories and none > of its components. > > So for the moment there is not an easy solution, but shipping a > home-made package using GB_DIR environment variable pointing at your > copied gambas libraries. > > Regards > -- Met vriendelijke groeten/ With kind regards, Willy From bill-lancaster at ...2231... Sun Dec 11 18:42:11 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sun, 11 Dec 2011 09:42:11 -0800 (PST) Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> Message-ID: <32956050.post@...1379...> sorry, I can't find what svn version means! -- View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32956050.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sun Dec 11 19:42:40 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 11 Dec 2011 19:42:40 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32956050.post@...1379...> References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> Message-ID: 2011/12/11 Bill-Lancaster : > > sorry, I can't find what svn version means! http://gambasdoc.org/help/howto/svn?v3 -- Fabien Bodard From bbruen at ...2308... Mon Dec 12 09:01:26 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 12 Dec 2011 18:31:26 +1030 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql Message-ID: <1323676886.14427.21.camel@...2688...> Hi Benoit, I was tracing through the postgresql library trying to figure out why some tables would add, update or delete single rows in milliseconds and others took "seconds". I found that the table_init function in gb.db.postgresql Main.c is calling the field_info function for each and every column in the table. Which in turn is querying the database catalogue for each column. Thus in a table with a large number of columns, calls to .Create and .Edit in gambas were taking close on half a second each (with a test table of 46 columns and the database on another server). With my LIMITED C knowledge I have hacked the table_init queries so that the required catalogue columns are returned in the intial query and moved what I hope is the relevant code from field_info into table_init. My limited testing shows that .Create and .Edit call timings have now dropped to the order of .02 seconds, and the overall add, update and delete times drop to around .05 seconds. That is an order of 10 times faster. Would you please take a look at the code for table_init below and see if it makes sense to go this way. (The code copies and pastes OK into an editor like geany, even though the mail may wrap lines ... so I hope you can read it OK). regards Bruce CODE: /***************************************************************************** table_init() Initialize an info structure from table fields. is the database handle. is the table name. points at the info structure. This function must initialize the following info fields: - info->nfield must contain the number of fields in the table. - info->fields is a char*[] pointing at the name of each field. This function returns TRUE if the command has failed, and FALSE if everything was OK. *****************************************************************************/ static int field_info(DB_DATABASE *db, const char *table, const char *field, DB_FIELD *info); static int table_init(DB_DATABASE *db, const char *table, DB_INFO *info) { // Contains some changes (**BB**) to see where we can speed up the Create method. /* char *qfield = "select pg_attribute.attname, pg_attribute.atttypid::int,pg_attribute.atttypmod " "from pg_class, pg_attribute " "where pg_class.relname = '&1' " "and (pg_class.relnamespace not in (select oid from pg_namespace where nspname = 'information_schema')) " "and pg_attribute.attnum > 0 and not pg_attribute.attisdropped " "and pg_attribute.attrelid = pg_class.oid "; char *qfield_schema = "select pg_attribute.attname, pg_attribute.atttypid::int,pg_attribute.atttypmod " "from pg_class, pg_attribute " "where pg_class.relname = '&1' " "and (pg_class.relnamespace in (select oid from pg_namespace where nspname = '&2')) " "and pg_attribute.attnum > 0 and not pg_attribute.attisdropped " "and pg_attribute.attrelid = pg_class.oid "; */ const char *qfield_all= "SELECT col.attname, col.atttypid::int, col.atttypmod, " "col.attnotnull, def.adsrc, col.atthasdef " "FROM pg_catalog.pg_class tbl, pg_catalog.pg_attribute col " "LEFT JOIN pg_catalog.pg_attrdef def ON (def.adnum = col.attnum AND def.adrelid = col.attrelid) " "WHERE tbl.relname = '&1' AND " "col.attrelid = tbl.oid AND " "col.attnum > 0 AND " "not col.attisdropped " "ORDER BY col.attnum ASC;"; char *qfield_schema_all = "select pg_attribute.attname, pg_attribute.atttypid::int,pg_attribute.atttypmod, " "pg_attribute.attnotnull, pg_attrdef.adsrc, pg_attribute.atthasdef " "from pg_class, pg_attribute " "LEFT JOIN pg_catalog.pg_attrdef ON (pg_attrdef.adnum = pg_attribute.attnum AND pg_attrdef.adrelid = pg_attribute.attrelid) " "where pg_class.relname = '&1' " "and (pg_class.relnamespace in (select oid from pg_namespace where nspname = '&2')) " "and pg_attribute.attnum > 0 and not pg_attribute.attisdropped " "and pg_attribute.attrelid = pg_class.oid "; #if DEBUG_BB fprintf(stderr, "==>main.c table_init\n"); #endif PGresult *res; int i, n; DB_FIELD *f; char *schema; // **BB** Oid type; GB_VARIANT def; char *val; /* Nom de la table */ info->table = GB.NewZeroString(table); if (get_table_schema(&table, &schema)) { fprintf(stderr,"Method A\n"); if (do_query(db,"Unable to get table fields: &1", &res, qfield_all, 1, table)) // WAS: if (do_query(db, "Unable to get table fields: &1", &res, qfield, 1, table)) return TRUE; } else { fprintf(stderr,"Method B\n"); if (do_query(db, "Unable to get table fields: &1", &res, qfield_schema_all, 2, table, schema)) //WAS: if (do_query(db, "Unable to get table fields: &1", &res, qfield_schema, 2, table, schema)) return TRUE; } info->nfield = n = PQntuples(res); if (n == 0) { PQclear(res); return TRUE; } GB.Alloc(POINTER(&info->field), sizeof(DB_FIELD) * n); for (i = 0; i < n; i++) { f = &info->field[i]; /* **BB** don't use the step by step method any more if (field_info(db, info->table, PQgetvalue(res, i, 0), f)) { PQclear(res); return TRUE; } */ f->name = GB.NewZeroString(PQgetvalue(res, i, 0)); // **BB** // determine the column data type type = atoi(PQgetvalue(res, i, 1)); f->type = conv_type(type); // if the column is a string then get the max length f->length = 0; if (f->type == GB_T_STRING) { f->length = atoi(PQgetvalue(res, i, 2)); if (f->length < 0) f->length = 0; else f->length -= 4; } // determine default vales and other stuff f->def.type = GB_T_NULL; if (conv_boolean(PQgetvalue(res, i, 3))) // if attnotnull { def.type = GB_T_VARIANT; def.value.type = GB_T_NULL; val = PQgetvalue(res, i, 4); // val=pg_attrdef.adsrc if (val && *val) { if (strncmp(val, "nextval(", 8) == 0) // nextval func so its a serial { if (f->type == GB_T_LONG) f->type = DB_T_SERIAL; } else { switch(f->type) { case GB_T_BOOLEAN: def.value.type = GB_T_BOOLEAN; def.value.value._boolean = (val[1] == 't'); break; default: DB.Query.Init(); if (!unquote_string(val, PQgetlength(res, i, 4), DB.Query.AddLength)) val = DB.Query.Get(); conv_data(val, -1, &def.value, type); } GB.StoreVariant(&def, &f->def); } } } // End **BB** /* BM's originally commented out code just moved here out of the way f->type = conv_type(atol(PQgetvalue(res, i, 1))); f->length = 0; if (f->type == GB_T_STRING) { f->length = atoi(PQgetvalue(res, i, 2)); if (f->length < 0) f->length = 0; else f->length -= 4; } */ } PQclear(res); return FALSE; } From fr.archer at ...2736... Mon Dec 12 09:40:39 2011 From: fr.archer at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Mon, 12 Dec 2011 15:40:39 +0700 Subject: [Gambas-user] Gambas and DBF Message-ID: <837041323679239@...2737...> From eilert-sprachen at ...221... Mon Dec 12 12:29:57 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 12 Dec 2011 12:29:57 +0100 Subject: [Gambas-user] One control with Expand, one not (Gambas2) Message-ID: <4EE5E5B5.1000207@...221...> Hope you can help here. I have a Tab control in my main Form. The Form is divided by an HSplit, the Tab control sits on the right. In one of the tabs, there is a GridView. This GridView shall expand with all the others. All this has been running well, although I did not set the controls' Expand-properties to True. Instead it was enough to set the HSplit-Expand to True, the rest didn't matter. First question: why does it run like this? Why doesn't it need Expand to be set in all controls which shall expand or at least for all containers? Now, for some reason I had the idea to set another container/control pair over the GridView. If I do so, it is automatically expanded. This is a bit tricky now, because this pair should not expand but keep a fixed size. How do I tell not to expand this container or control? Do you understand what I mean? Regards Rolf From gambas.fr at ...626... Mon Dec 12 12:36:01 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 12 Dec 2011 12:36:01 +0100 Subject: [Gambas-user] Gambas and DBF In-Reply-To: <837041323679239@...2737...> References: <837041323679239@...2737...> Message-ID: ??? 2011/12/12 ???????? ??????? : > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bbruen at ...2308... Mon Dec 12 13:14:20 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 12 Dec 2011 22:44:20 +1030 Subject: [Gambas-user] One control with Expand, one not (Gambas2) In-Reply-To: <4EE5E5B5.1000207@...221...> References: <4EE5E5B5.1000207@...221...> Message-ID: <1323692060.14427.28.camel@...2688...> On Mon, 2011-12-12 at 12:29 +0100, Rolf-Werner Eilert wrote: > Hope you can help here. > > I have a Tab control in my main Form. The Form is divided by an HSplit, > the Tab control sits on the right. In one of the tabs, there is a > GridView. This GridView shall expand with all the others. All this has > been running well, although I did not set the controls' > Expand-properties to True. Instead it was enough to set the > HSplit-Expand to True, the rest didn't matter. > > First question: why does it run like this? Why doesn't it need Expand to > be set in all controls which shall expand or at least for all containers? > > Now, for some reason I had the idea to set another container/control > pair over the GridView. If I do so, it is automatically expanded. This > is a bit tricky now, because this pair should not expand but keep a > fixed size. How do I tell not to expand this container or control? > > Do you understand what I mean? > > Regards > > Rolf I think you need to look at what the various container Arrange properties are (or at least tell us). The Expand property should be read as "can_Expand" rather than "will_Expand" and depends on the Arrangement property of it's parent container. In other words, controls can't "Expand" by themselves. Nor does Expand in a container control what happens to its children, it just controls whether the container itself can Expand. Also note that the HSplit doesn't have an Arrangement property because it is intrinsically set to "Fill". As it wouldn't make sense otherwise. hth Bruce From gambas.fr at ...626... Mon Dec 12 13:42:00 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 12 Dec 2011 13:42:00 +0100 Subject: [Gambas-user] One control with Expand, one not (Gambas2) In-Reply-To: <1323692060.14427.28.camel@...2688...> References: <4EE5E5B5.1000207@...221...> <1323692060.14427.28.camel@...2688...> Message-ID: 2011/12/12 Bruce Bruen : > On Mon, 2011-12-12 at 12:29 +0100, Rolf-Werner Eilert wrote: > >> Hope you can help here. >> >> I have a Tab control in my main Form. The Form is divided by an HSplit, >> the Tab control sits on the right. In one of the tabs, there is a >> GridView. This GridView shall expand with all the others. All this has >> been running well, although I did not set the controls' >> Expand-properties to True. Instead it was enough to set the >> HSplit-Expand to True, the rest didn't matter. >> >> First question: why does it run like this? Why doesn't it need Expand to >> be set in all controls which shall expand or at least for all containers? >> >> Now, for some reason I had the idea to set another container/control >> pair over the GridView. If I do so, it is automatically expanded. This >> is a bit tricky now, because this pair should not expand but keep a >> fixed size. How do I tell not to expand this container or control? >> >> Do you understand what I mean? >> >> Regards >> >> Rolf > > I think you need to look at what the various container Arrange > properties are (or at least tell us). > > The Expand property should be read as "can_Expand" rather than > "will_Expand" and depends on the Arrangement property of it's parent > container. > In other words, controls can't "Expand" by themselves. Nor does Expand > in a container control what happens to its children, it just controls > whether the > container itself can Expand. > > Also note that the HSplit doesn't have an Arrangement property because > it is intrinsically set to "Fill". As it wouldn't make sense otherwise. > hth in fact ... just put a panel in first container and then fill that container as you want. Hsplit not manage containers but object size each object but in split count is added with a new separator. Yes expand is for the control in his container ... if it's container is fixed .... the control is fixed too. The arrange procedure allow a fine control of the elements ... but need some attention. Nevertheless it's more simple than define all in _resize event :) You need to make the control arrangement step by step from the lower container to the upper. > Bruce > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From fr.archer at ...2736... Mon Dec 12 17:09:27 2011 From: fr.archer at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Mon, 12 Dec 2011 23:09:27 +0700 Subject: [Gambas-user] Gambas and DBF In-Reply-To: References: <837041323679239@...2737...> Message-ID: <340791323706167@...2738...> From bespalov.av at ...626... Mon Dec 12 17:39:38 2011 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Mon, 12 Dec 2011 22:39:38 +0600 Subject: [Gambas-user] Gambas and DBF Message-ID: Hi. Please tell me how to open a gambas to read dbf base file? ____ Alexey. From gambas at ...2524... Tue Dec 13 04:04:03 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:04:03 +0000 Subject: [Gambas-user] =?utf-8?q?Issue_157_in_gambas=3A_Gambas3_give_me_er?= =?utf-8?q?ror_on_accessing_to_the_main_menu_=E2=86=92_open_recent?= Message-ID: <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 157 by marcobra... at ...626...: Gambas3 give me error on accessing to the main menu ? open recent http://code.google.com/p/gambas/issues/detail?id=157 1) Describe the problem. This application has raised an unexpected error and must abort. [13] Null object. FMain.UpdateRecentMenu.551 FMain.UpdateRecentMenu.551: #13: Null object 1: FMain.UpdateRecentMenu.551 2: FMain.mnuOpenRecent_Show.1553 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): [System] OperatingSystem=Linux Kernel=3.0.0-13-generic Architecture=i686 Memory=1988380 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 11.10" Desktop=Gnome [Gambas 2] Version=2.23.1 Path=/usr/local/bin/gbx2 [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. This issue on all projects... 4) If your project needs a database, try to provide it, or part of it. no need 5) Explain clearly how to reproduce the bug or the crash. Access to File ? Open Recent menu item 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Dec 13 04:14:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:14:08 +0000 Subject: [Gambas-user] =?utf-8?q?Issue_157_in_gambas=3A_Gambas3_give_me_er?= =?utf-8?q?ror_on_accessing_to_the_main_menu_=E2=86=92_open_recent?= In-Reply-To: <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Comment #1 on issue 157 by marcobra... at ...626...: Gambas3 give me error on accessing to the main menu ? open recent http://code.google.com/p/gambas/issues/detail?id=157 Was the Svn Revision 4276 From gambas at ...2524... Tue Dec 13 04:24:14 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:24:14 +0000 Subject: [Gambas-user] =?utf-8?q?Issue_157_in_gambas=3A_Gambas3_give_me_er?= =?utf-8?q?ror_on_accessing_to_the_main_menu_=E2=86=92_open_recent?= In-Reply-To: <1-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #2 on issue 157 by benoit.m... at ...626...: Gambas3 give me error on accessing to the main menu ? open recent http://code.google.com/p/gambas/issues/detail?id=157 Can you provide your ~/.config/gambas3/gambas3.conf file? From gambas at ...2524... Tue Dec 13 04:28:16 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:28:16 +0000 Subject: [Gambas-user] Issue 156 in gambas: Do not copied controls at form In-Reply-To: <0-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 156 by benoit.m... at ...626...: Do not copied controls at form http://code.google.com/p/gambas/issues/detail?id=156 I cannot reproduce the problem. Can you provide a little project that shows this bug? Can you give more details by describing exactly what you did just before hitting CTRL+C? What do you mean by "Press CTRL+V at new place at form"? Thanks. From gambas at ...2524... Tue Dec 13 04:33:21 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:33:21 +0000 Subject: [Gambas-user] Issue 154 in gambas: "circular references detected" when using Object.New In-Reply-To: <0-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 154 by benoit.m... at ...626...: "circular references detected" when using Object.New http://code.google.com/p/gambas/issues/detail?id=154 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 13 04:37:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 03:37:24 +0000 Subject: [Gambas-user] =?utf-8?q?Issue_157_in_gambas=3A_Gambas3_give_me_er?= =?utf-8?q?ror_on_accessing_to_the_main_menu_=E2=86=92_open_recent?= In-Reply-To: <2-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Comment #3 on issue 157 by marcobra... at ...626...: Gambas3 give me error on accessing to the main menu ? open recent http://code.google.com/p/gambas/issues/detail?id=157 In attachment the file... Attachments: gambas3.conf 5.3 KB From gambas at ...2524... Tue Dec 13 05:50:04 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 04:50:04 +0000 Subject: [Gambas-user] Issue 154 in gambas: "circular references detected" when using Object.New In-Reply-To: <1-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> <0-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14830693556127704358-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 154 by benoit.m... at ...626...: "circular references detected" when using Object.New http://code.google.com/p/gambas/issues/detail?id=154 It should be fixed in revision #4277. From gambas at ...2524... Tue Dec 13 05:54:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 04:54:05 +0000 Subject: [Gambas-user] Issue 149 in gambas: DesktopWindow.X and DesktopWindow.Y always 1 and 21 In-Reply-To: <0-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17923315537843977754-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Priority-Medium Version-TRUNK Priority-Low Comment #1 on issue 149 by benoit.m... at ...626...: DesktopWindow.X and DesktopWindow.Y always 1 and 21 http://code.google.com/p/gambas/issues/detail?id=149 There is no way at the moment to get the absolute coordinates of a window in the gb.desktop components. This is a very complex task under X11, so I will implement it later! From gambas at ...2524... Tue Dec 13 05:58:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 04:58:07 +0000 Subject: [Gambas-user] Issue 155 in gambas: Event ComboBox_Click() performed when I make ComboBox.Add("aaa") In-Reply-To: <0-6813199134517018827-14950166480694986876-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14950166480694986876-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14950166480694986876-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 155 by benoit.m... at ...626...: Event ComboBox_Click() performed when I make ComboBox.Add("aaa") http://code.google.com/p/gambas/issues/detail?id=155 The Click event has a bad name because it comes from VB. It means that you have selected an already existing item. So if your combo-box is void, you won't get it. To populate it, you can try to use the MousePress and the KeyPress event. I may add a dedicated event for that in the future (like the Show event of the Menu class). From gambas at ...2524... Tue Dec 13 06:02:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 05:02:08 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <5-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Crash Comment #6 on issue 153 by benoit.m... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 13 06:06:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 05:06:09 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 152 by benoit.m... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 I cannot reproduce the problem, and the provided project is void. Can you provide the same project as in the screenshot? And can you provide the contents of the "system information" dialog from the IDE? From gambas at ...1... Tue Dec 13 06:08:15 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 13 Dec 2011 06:08:15 +0100 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <1323676886.14427.21.camel@...2688...> References: <1323676886.14427.21.camel@...2688...> Message-ID: <4EE6DDBF.70004@...1...> Le 12/12/2011 09:01, Bruce Bruen a ?crit : > Hi Benoit, > > I was tracing through the postgresql library trying to figure out why > some tables would add, update or delete single rows in milliseconds and > others took "seconds". > I found that the table_init function in gb.db.postgresql Main.c is > calling the field_info function for each and every column in the table. > Which in turn is querying the database catalogue for each column. > Thus in a table with a large number of columns, calls to .Create > and .Edit in gambas were taking close on half a second each (with a test > table of 46 columns and the database on another server). > > With my LIMITED C knowledge I have hacked the table_init queries so that > the required catalogue columns are returned in the intial query and > moved what I hope is the relevant code from field_info into > table_init. > > My limited testing shows that .Create and .Edit call timings have now > dropped to the order of .02 seconds, and the overall add, update and > delete times drop to around .05 seconds. That is an order of 10 times > faster. > > Would you please take a look at the code for table_init below and see if > it makes sense to go this way. (The code copies and pastes OK into an > editor like geany, even though the mail may wrap lines ... so I hope you > can read it OK). > > regards > Bruce > > CODE: > /***************************************************************************** > > table_init() > > Initialize an info structure from table fields. > > is the database handle. >
is the table name. > points at the info structure. > > This function must initialize the following info fields: > - info->nfield must contain the number of fields in the table. > - info->fields is a char*[] pointing at the name of each field. > > This function returns TRUE if the command has failed, and FALSE if > everything was OK. > > *****************************************************************************/ > > static int field_info(DB_DATABASE *db, const char *table, const char > *field, DB_FIELD *info); > > static int table_init(DB_DATABASE *db, const char *table, DB_INFO *info) > { > > // Contains some changes (**BB**) to see where we can speed up the > Create method. > > /* > char *qfield = > "select pg_attribute.attname, > pg_attribute.atttypid::int,pg_attribute.atttypmod " > "from pg_class, pg_attribute " > "where pg_class.relname = '&1' " > "and (pg_class.relnamespace not in (select oid from pg_namespace > where nspname = 'information_schema')) " > "and pg_attribute.attnum> 0 and not pg_attribute.attisdropped " > "and pg_attribute.attrelid = pg_class.oid "; > > char *qfield_schema = > "select pg_attribute.attname, > pg_attribute.atttypid::int,pg_attribute.atttypmod " > "from pg_class, pg_attribute " > "where pg_class.relname = '&1' " > "and (pg_class.relnamespace in (select oid from pg_namespace where > nspname = '&2')) " > "and pg_attribute.attnum> 0 and not pg_attribute.attisdropped " > "and pg_attribute.attrelid = pg_class.oid "; > */ > const char *qfield_all= > "SELECT col.attname, col.atttypid::int, col.atttypmod, " > "col.attnotnull, def.adsrc, col.atthasdef " > "FROM pg_catalog.pg_class tbl, pg_catalog.pg_attribute col " > "LEFT JOIN pg_catalog.pg_attrdef def ON (def.adnum = > col.attnum AND def.adrelid = col.attrelid) " > "WHERE tbl.relname = '&1' AND " > "col.attrelid = tbl.oid AND " > "col.attnum> 0 AND " > "not col.attisdropped " > "ORDER BY col.attnum ASC;"; > > char *qfield_schema_all = > "select pg_attribute.attname, > pg_attribute.atttypid::int,pg_attribute.atttypmod, " > "pg_attribute.attnotnull, pg_attrdef.adsrc, > pg_attribute.atthasdef " > "from pg_class, pg_attribute " > "LEFT JOIN pg_catalog.pg_attrdef ON (pg_attrdef.adnum = > pg_attribute.attnum AND pg_attrdef.adrelid = pg_attribute.attrelid) " > "where pg_class.relname = '&1' " > "and (pg_class.relnamespace in (select oid from pg_namespace > where nspname = '&2')) " > "and pg_attribute.attnum> 0 and not > pg_attribute.attisdropped " > "and pg_attribute.attrelid = pg_class.oid "; > > #if DEBUG_BB > fprintf(stderr, "==>main.c table_init\n"); > #endif > > PGresult *res; > int i, n; > DB_FIELD *f; > char *schema; > // **BB** > Oid type; > GB_VARIANT def; > char *val; > > /* Nom de la table */ > > info->table = GB.NewZeroString(table); > > if (get_table_schema(&table,&schema)) > { > fprintf(stderr,"Method A\n"); > if (do_query(db,"Unable to get table fields:&1",&res, > qfield_all, 1, table)) > // WAS: if (do_query(db, "Unable to get table fields:&1",&res, > qfield, 1, table)) > return TRUE; > } > else > { > fprintf(stderr,"Method B\n"); > if (do_query(db, "Unable to get table fields:&1",&res, > qfield_schema_all, 2, table, schema)) > //WAS: if (do_query(db, "Unable to get table fields:&1",&res, > qfield_schema, 2, table, schema)) > return TRUE; > } > > info->nfield = n = PQntuples(res); > if (n == 0) > { > PQclear(res); > return TRUE; > } > > GB.Alloc(POINTER(&info->field), sizeof(DB_FIELD) * n); > > for (i = 0; i< n; i++) > { > f =&info->field[i]; > /* **BB** don't use the step by step method any more > if (field_info(db, info->table, PQgetvalue(res, i, 0), f)) > { > PQclear(res); > return TRUE; > } > */ > > f->name = GB.NewZeroString(PQgetvalue(res, i, 0)); > // **BB** > // determine the column data type > type = atoi(PQgetvalue(res, i, 1)); > f->type = conv_type(type); > > // if the column is a string then get the max length > f->length = 0; > if (f->type == GB_T_STRING) > { > f->length = atoi(PQgetvalue(res, i, 2)); > if (f->length< 0) > f->length = 0; > else > f->length -= 4; > } > // determine default vales and other stuff > f->def.type = GB_T_NULL; > if (conv_boolean(PQgetvalue(res, i, 3))) // if attnotnull > { > def.type = GB_T_VARIANT; > def.value.type = GB_T_NULL; > > val = PQgetvalue(res, i, 4); // > val=pg_attrdef.adsrc > if (val&& *val) > { > if (strncmp(val, "nextval(", 8) == 0) // nextval func > so its a serial > { > if (f->type == GB_T_LONG) > f->type = DB_T_SERIAL; > } > else > { > switch(f->type) > { > case GB_T_BOOLEAN: > def.value.type = GB_T_BOOLEAN; > def.value.value._boolean = (val[1] == 't'); > break; > > default: > > DB.Query.Init(); > if (!unquote_string(val, PQgetlength(res, i, > 4), DB.Query.AddLength)) > val = DB.Query.Get(); > > conv_data(val, -1,&def.value, type); > } > > GB.StoreVariant(&def,&f->def); > } > > } > } > // End **BB** > > > /* BM's originally commented out code just moved here out of the way > f->type = conv_type(atol(PQgetvalue(res, i, 1))); > f->length = 0; > if (f->type == GB_T_STRING) > { > f->length = atoi(PQgetvalue(res, i, 2)); > if (f->length< 0) > f->length = 0; > else > f->length -= 4; > } */ > > } > > PQclear(res); > return FALSE; > } > > Cool optimization apparently... Can you send me your code as an attachment so that I can open it directly in an editor to check it? Thanks in advance! -- Beno?t Minisini From gambas at ...1... Tue Dec 13 06:08:28 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 13 Dec 2011 06:08:28 +0100 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <1323676886.14427.21.camel@...2688...> References: <1323676886.14427.21.camel@...2688...> Message-ID: <4EE6DDCC.8040309@...1...> Le 12/12/2011 09:01, Bruce Bruen a ?crit : > Hi Benoit, > > I was tracing through the postgresql library trying to figure out why > some tables would add, update or delete single rows in milliseconds and > others took "seconds". > I found that the table_init function in gb.db.postgresql Main.c is > calling the field_info function for each and every column in the table. > Which in turn is querying the database catalogue for each column. > Thus in a table with a large number of columns, calls to .Create > and .Edit in gambas were taking close on half a second each (with a test > table of 46 columns and the database on another server). > > With my LIMITED C knowledge I have hacked the table_init queries so that > the required catalogue columns are returned in the intial query and > moved what I hope is the relevant code from field_info into > table_init. > > My limited testing shows that .Create and .Edit call timings have now > dropped to the order of .02 seconds, and the overall add, update and > delete times drop to around .05 seconds. That is an order of 10 times > faster. > > Would you please take a look at the code for table_init below and see if > it makes sense to go this way. (The code copies and pastes OK into an > editor like geany, even though the mail may wrap lines ... so I hope you > can read it OK). > > regards > Bruce > Cool optimization apparently... Can you send me your code as an attachment so that I can open it directly in an editor to check it? Thanks in advance! -- Beno?t Minisini From gambas at ...2524... Tue Dec 13 06:10:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 05:10:09 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <1-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #2 on issue 152 by benoit.m... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 (No comment was entered for this change.) From bill-lancaster at ...2231... Tue Dec 13 10:16:26 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Tue, 13 Dec 2011 01:16:26 -0800 (PST) Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32956050.post@...1379...> References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> Message-ID: <32965155.post@...1379...> SVN Have installed it (I think!). If I run Gambas3 from where I did the install I get Gambas 2.99.6 - is this the svn? running the report example produces "not enough arguments" when Print button clicked -- View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32965155.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Tue Dec 13 14:11:18 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 13 Dec 2011 14:11:18 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: <32965155.post@...1379...> References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: 2011/12/13 Bill-Lancaster : > > SVN > > Have installed it (I think!). > > If I run Gambas3 from where I did the install I get Gambas 2.99.6 - is this if you haveinstalled the rc before ... you need to remove it. then make instal in the svn . the version number is the same as the last rc > the svn? > > running the report example produces "not enough arguments" when Print button > clicked hum... i've change some things in need to see if it's not my fault > -- > View this message in context: http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969p32965155.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Tue Dec 13 20:23:18 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 19:23:18 +0000 Subject: [Gambas-user] Issue 158 in gambas: Minor defect with IDE when making source arcives. Message-ID: <0-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 158 by jussi.la... at ...626...: Minor defect with IDE when making source arcives. http://code.google.com/p/gambas/issues/detail?id=158 1) Describe the problem. Making source archive from IDE doesn't make sure that the project is saved. I think IDE should either ask for save, or automatically save before making archive. Otherwise source archive may miss some desired changes. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4277 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: XFCE From gambas at ...2524... Tue Dec 13 20:27:21 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 19:27:21 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <2-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Comment #3 on issue 152 by jussi.la... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 > Can you provide the same project as in the screenshot? See issue 158. The project is now attached. System information dialog is empty!! Currently I'm using revision 4277. Attachments: New-Try-HelpTestBug-0.0.1.tar.gz 4.6 KB From gambas at ...2524... Tue Dec 13 20:32:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 19:32:24 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <3-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Comment #4 on issue 152 by jussi.la... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 $ pkg-config --modversion gtk+-2.0 2.24.6 From gambas at ...2524... Tue Dec 13 20:44:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 13 Dec 2011 19:44:34 +0000 Subject: [Gambas-user] Issue 152 in gambas: Minor bug with help texts. In-Reply-To: <4-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> <0-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1043921039689062273-gambas=googlecode.com@...2524...> Comment #5 on issue 152 by jussi.la... at ...626...: Minor bug with help texts. http://code.google.com/p/gambas/issues/detail?id=152 report-ng.sh did not run because of /tmp is mounted noexec. [System] OperatingSystem=Linux Kernel=3.0.0-14-generic Architecture=x86_64 Memory=4056292 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 11.10" Desktop=Xfce [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 From bbruen at ...2308... Tue Dec 13 21:58:25 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 14 Dec 2011 07:28:25 +1030 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <4EE6DDBF.70004@...1...> References: <1323676886.14427.21.camel@...2688...> <4EE6DDBF.70004@...1...> Message-ID: <1323809905.14427.30.camel@...2688...> On Tue, 2011-12-13 at 06:08 +0100, Beno?t Minisini wrote: > > Cool optimization apparently... > > Can you send me your code as an attachment so that I can open it > directly in an editor to check it? > > Thanks in advance! > > -- > Beno?t Minisini > Attached. regards Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: pg_main.c Type: text/x-csrc Size: 69857 bytes Desc: not available URL: From bbruen at ...2308... Tue Dec 13 23:23:07 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 14 Dec 2011 08:53:07 +1030 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <1323809905.14427.30.camel@...2688...> References: <1323676886.14427.21.camel@...2688...> <4EE6DDBF.70004@...1...> <1323809905.14427.30.camel@...2688...> Message-ID: <1323814987.14427.35.camel@...2688...> By the way, here is the log from my test harness for an "Update" cycle (which changes a single column in a 46 column table and then undoes that change). The relevant lines are those marked "<<======== Connection.Edit" Bruce ================================> Using repo gb.db.postgresql Main.c Test.TestUpdate.188: 1) Load object Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0173 secs) Load Succeeded for The Tiger/MORN110424 (0.0177 secs) Comment="{-}" Test.TestUpdate.197: 2) Saved changed object GB .Begin (0.0008 secs) GB .Edit (0.5042 secs) <<======== Connection.Edit GB .Update (0.007 secs) GB .Commit (0.0186 secs) Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0165 secs) Save Succeeded for The Tiger/MORN110424 (0.548 secs) Comment (changed)="Test Update" Test.TestUpdate.211: 3) Reload object Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0044 secs) Load Succeeded for The Tiger/MORN110424 (0.0047 secs) Comment="Test Update" Test.TestUpdate.219: 4) Reset to original value GB .Begin (0.0007 secs) GB .Edit (0.4917 secs) <<======== Connection.Edit GB .Update (0.0045 secs) GB .Commit (0.0177 secs) Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0168 secs) Save Succeeded for The Tiger/MORN110424 (0.5322 secs) Comment="{-}" ================================> Using modified Main.c Test.TestUpdate.188: 1) Load object Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0172 secs) Load Succeeded for The Tiger/MORN110424 (0.0176 secs) Comment="{-}" Test.TestUpdate.197: 2) Save changed object GB .Begin (0.0007 secs) GB .Edit (0.0705 secs) <<======== Connection.Edit GB .Update (0.0069 secs) GB .Commit (0.0493 secs) Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0213 secs) Save Succeeded for The Tiger/MORN110424 (0.1496 secs) Comment (changed)="Test Update" Test.TestUpdate.211: 3) Reload object Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0043 secs) Load Succeeded for The Tiger/MORN110424 (0.0047 secs) Comment="Test Update" Test.TestUpdate.219: 4) Reset to original value GB .Begin (0.0008 secs) GB .Edit (0.0715 secs) <<======== Connection.Edit GB .Update (0.0046 secs) GB .Commit (0.0234 secs) Persistor.ReadDB.337: Query : MyObject.Mtgcode = MORN110424 AND MyObject.Hname = The Tiger GB .Exec (0.0166 secs) Save Succeeded for The Tiger/MORN110424 (0.1179 secs) Comment="{-}" From Gambas at ...1950... Wed Dec 14 15:59:53 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 14 Dec 2011 15:59:53 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program Message-ID: <1323874793.3346.2255.camel@...2150...> Hi, I have a program that compares small binary files (either 1k or 4k so really quite small files!). The program builds the GUI based on whether the user has chosen to view the data from a Mifare 1k card or a Mifare 4k card. Problem is that when building the view for the 4k card, the program slows down to a crawl. There are 8192 textboxes built in 2 columns of 64 panels (64 textboxes per panel), with a bold label against each panel indicating the sector number on the card. This arrangement represents the sectors on a Mifare 4k card. The side by side column view makes for a very nice, quick visual check on where the cards differ. The slowdown doesn't appear to be linear, that is the more items there are to add (or have been added), the slower and slower it gets. I get the impression Gambas may be frantically shuffling things around on the form, and finding more and more things to shuffle, so taking longer and longer as each item is added. To see the slowdown for yourself, just try selecting Mifare 4k in the dropdown under Mifare Card Type, you don't need to load any files or run Compare... I have tried replacing the whole panel/textbox/scrollview thing with a GridView and it works, a LOT faster, but then you have no possibility to edit the data (coming in a later version of the program!). If anyone can take a look and suggest some improvements, I'd be more than happy! Kind regards, Caveat P.S. Project is attached, it is a work in progress...! -------------- next part -------------- A non-text attachment was scrubbed... Name: mifare.tar Type: application/x-tar Size: 51200 bytes Desc: not available URL: From gambas.fr at ...626... Wed Dec 14 18:06:40 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 14 Dec 2011 18:06:40 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323874793.3346.2255.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> Message-ID: 2011/12/14 Caveat : > Hi, > > I have a program that compares small binary files (either 1k or 4k so > really quite small files!). > > The program builds the GUI based on whether the user has chosen to view > the data from a Mifare 1k card or a Mifare 4k card. > > Problem is that when building the view for the 4k card, the program > slows down to a crawl. ?There are 8192 textboxes built in 2 columns of > 64 panels (64 textboxes per panel), with a bold label against each panel > indicating the sector number on the card. ?This arrangement represents > the sectors on a Mifare 4k card. ?The side by side column view makes for > a very nice, quick visual check on where the cards differ. > > The slowdown doesn't appear to be linear, that is the more items there > are to add (or have been added), the slower and slower it gets. ?I get > the impression Gambas may be frantically shuffling things around on the > form, and finding more and more things to shuffle, so taking longer and > longer as each item is added. ?To see the slowdown for yourself, just > try selecting Mifare 4k in the dropdown under Mifare Card Type, you > don't need to load any files or run Compare... > > I have tried replacing the whole panel/textbox/scrollview thing with a > GridView and it works, a LOT faster, but then you have no possibility to > edit the data (coming in a later version of the program!). Use tableview instead of gridview !!! > > If anyone can take a look and suggest some improvements, I'd be more > than happy! > > Kind regards, > Caveat > P.S. ?Project is attached, it is a work in progress...! > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From Gambas at ...1950... Wed Dec 14 18:32:17 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 14 Dec 2011 18:32:17 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: References: <1323874793.3346.2255.camel@...2150...> Message-ID: <1323883937.3346.2411.camel@...2150...> But tableview doesn't appear to be editable either... there's no read-only attribute, no editable attribute... so ? On Wed, 2011-12-14 at 18:06 +0100, Fabien Bodard wrote: > 2011/12/14 Caveat : > > Hi, > > > > I have a program that compares small binary files (either 1k or 4k so > > really quite small files!). > > > > The program builds the GUI based on whether the user has chosen to view > > the data from a Mifare 1k card or a Mifare 4k card. > > > > Problem is that when building the view for the 4k card, the program > > slows down to a crawl. There are 8192 textboxes built in 2 columns of > > 64 panels (64 textboxes per panel), with a bold label against each panel > > indicating the sector number on the card. This arrangement represents > > the sectors on a Mifare 4k card. The side by side column view makes for > > a very nice, quick visual check on where the cards differ. > > > > The slowdown doesn't appear to be linear, that is the more items there > > are to add (or have been added), the slower and slower it gets. I get > > the impression Gambas may be frantically shuffling things around on the > > form, and finding more and more things to shuffle, so taking longer and > > longer as each item is added. To see the slowdown for yourself, just > > try selecting Mifare 4k in the dropdown under Mifare Card Type, you > > don't need to load any files or run Compare... > > > > I have tried replacing the whole panel/textbox/scrollview thing with a > > GridView and it works, a LOT faster, but then you have no possibility to > > edit the data (coming in a later version of the program!). > > Use tableview instead of gridview !!! > > > > > > If anyone can take a look and suggest some improvements, I'd be more > > than happy! > > > > Kind regards, > > Caveat > > P.S. Project is attached, it is a work in progress...! > > > > ------------------------------------------------------------------------------ > > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > > This paper surveys cloud computing today: What are the benefits? > > Why are businesses embracing it? What are its payoffs and pitfalls? > > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > From herberthguzman at ...626... Wed Dec 14 18:50:43 2011 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 14 Dec 2011 11:50:43 -0600 Subject: [Gambas-user] Help in sending sms Message-ID: Greetings all, I want to implement in my program sending text messages (sms) to mobile number of store manager reporting cash income of the day but not if I can help do this because I tried and I could not and need help please. In a text box I put the cell phone number in another the message data and a combite where the service provider will (Claro, Telefonica, Tigo) Guatemala. Thanks for the help. From tobiasboe1 at ...20... Wed Dec 14 19:00:06 2011 From: tobiasboe1 at ...20... (tobias) Date: Wed, 14 Dec 2011 19:00:06 +0100 Subject: [Gambas-user] Help in sending sms In-Reply-To: References: Message-ID: <4EE8E426.7050607@...20...> On 14.12.2011 18:50, herberth guzman wrote: > Greetings all, I want to implement in my program sending text messages > (sms) to mobile number of store manager reporting cash income of the > day but not if I can help do this because I tried and I could not and > need help please. In a text box I put the cell phone number in another > the message data and a combite where the service provider will (Claro, > Telefonica, Tigo) Guatemala. Thanks for the help. > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user i think that you will need appropriate hardware? if you have got some, what's the problem? From gambas at ...1... Wed Dec 14 19:29:32 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 14 Dec 2011 19:29:32 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323874793.3346.2255.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> Message-ID: <4EE8EB0C.8010109@...1...> Le 14/12/2011 15:59, Caveat a ?crit : > Hi, > > I have a program that compares small binary files (either 1k or 4k so > really quite small files!). > > The program builds the GUI based on whether the user has chosen to view > the data from a Mifare 1k card or a Mifare 4k card. > > Problem is that when building the view for the 4k card, the program > slows down to a crawl. There are 8192 textboxes built in 2 columns of > 64 panels (64 textboxes per panel), with a bold label against each panel > indicating the sector number on the card. This arrangement represents > the sectors on a Mifare 4k card. The side by side column view makes for > a very nice, quick visual check on where the cards differ. > > The slowdown doesn't appear to be linear, that is the more items there > are to add (or have been added), the slower and slower it gets. I get > the impression Gambas may be frantically shuffling things around on the > form, and finding more and more things to shuffle, so taking longer and > longer as each item is added. To see the slowdown for yourself, just > try selecting Mifare 4k in the dropdown under Mifare Card Type, you > don't need to load any files or run Compare... > > I have tried replacing the whole panel/textbox/scrollview thing with a > GridView and it works, a LOT faster, but then you have no possibility to > edit the data (coming in a later version of the program!). > > If anyone can take a look and suggest some improvements, I'd be more > than happy! > > Kind regards, > Caveat > P.S. Project is attached, it is a work in progress...! > I guess the slowdown comes from Qt or GTK+, as I usually don't use any O(n) algorithms in my code. But using 8192 textboxes is a stupid thing, as GUI are very heavy, in any toolkit. So just use a TableView as Fabien said. TableView is an editable GridView. When the user click on a cell, tell the TableView to edit the data with the Edit() method. Then the "Save" event will be raised to ask you to save the data. You have to maintain the TableView contents yourself (through the Data event), as the TableView just displays and edits it. Regards, -- Beno?t Minisini From Gambas at ...1950... Wed Dec 14 19:40:38 2011 From: Gambas at ...1950... (Caveat) Date: Wed, 14 Dec 2011 19:40:38 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE8EB0C.8010109@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> Message-ID: <1323888038.3346.2481.camel@...2150...> Thanks Benoit, that was the missing piece of the puzzle! Now the program is working great! I kind of thought 8000+ textboxes was a little overkill, but I didn't expect it to be quite so slow... Thanks again Caveat On Wed, 2011-12-14 at 19:29 +0100, Beno?t Minisini wrote: > Le 14/12/2011 15:59, Caveat a ?crit : > > Hi, > > > > I have a program that compares small binary files (either 1k or 4k so > > really quite small files!). > > > > The program builds the GUI based on whether the user has chosen to view > > the data from a Mifare 1k card or a Mifare 4k card. > > > > Problem is that when building the view for the 4k card, the program > > slows down to a crawl. There are 8192 textboxes built in 2 columns of > > 64 panels (64 textboxes per panel), with a bold label against each panel > > indicating the sector number on the card. This arrangement represents > > the sectors on a Mifare 4k card. The side by side column view makes for > > a very nice, quick visual check on where the cards differ. > > > > The slowdown doesn't appear to be linear, that is the more items there > > are to add (or have been added), the slower and slower it gets. I get > > the impression Gambas may be frantically shuffling things around on the > > form, and finding more and more things to shuffle, so taking longer and > > longer as each item is added. To see the slowdown for yourself, just > > try selecting Mifare 4k in the dropdown under Mifare Card Type, you > > don't need to load any files or run Compare... > > > > I have tried replacing the whole panel/textbox/scrollview thing with a > > GridView and it works, a LOT faster, but then you have no possibility to > > edit the data (coming in a later version of the program!). > > > > If anyone can take a look and suggest some improvements, I'd be more > > than happy! > > > > Kind regards, > > Caveat > > P.S. Project is attached, it is a work in progress...! > > > > I guess the slowdown comes from Qt or GTK+, as I usually don't use any > O(n) algorithms in my code. > > But using 8192 textboxes is a stupid thing, as GUI are very heavy, in > any toolkit. So just use a TableView as Fabien said. TableView is an > editable GridView. > > When the user click on a cell, tell the TableView to edit the data with > the Edit() method. Then the "Save" event will be raised to ask you to > save the data. You have to maintain the TableView contents yourself > (through the Data event), as the TableView just displays and edits it. > > Regards, > From support at ...2529... Wed Dec 14 20:28:52 2011 From: support at ...2529... (John Spikowski) Date: Wed, 14 Dec 2011 11:28:52 -0800 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323888038.3346.2481.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> Message-ID: <1323890932.2060.14.camel@...1833...> On Wed, 2011-12-14 at 19:40 +0100, Caveat wrote: > Thanks Benoit, that was the missing piece of the puzzle! > > Now the program is working great! > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > expect it to be quite so slow... That is like drawing your own fonts because you can't figure out how to enable italics. 8000+ window classes, give me a break ... From gambas at ...1... Wed Dec 14 20:42:57 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 14 Dec 2011 20:42:57 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323888038.3346.2481.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> Message-ID: <4EE8FC41.6070202@...1...> Le 14/12/2011 19:40, Caveat a ?crit : > Thanks Benoit, that was the missing piece of the puzzle! > > Now the program is working great! > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > expect it to be quite so slow... > > Thanks again > Caveat Do you use GTK+ or QT? -- Beno?t Minisini From nando_f at ...951... Wed Dec 14 20:51:35 2011 From: nando_f at ...951... (nando) Date: Wed, 14 Dec 2011 15:51:35 -0400 Subject: [Gambas-user] Help in sending sms In-Reply-To: <4EE8E426.7050607@...20...> References: <4EE8E426.7050607@...20...> Message-ID: <20111214195021.M34374@...951...> I have heard connecting (usb) a computer to a smartphone and using the smartphone to do the SMS work is one way. ---------- Original Message ----------- From: tobias To: mailing list for gambas users Sent: Wed, 14 Dec 2011 19:00:06 +0100 Subject: Re: [Gambas-user] Help in sending sms > On 14.12.2011 18:50, herberth guzman wrote: > > Greetings all, I want to implement in my program sending text messages > > (sms) to mobile number of store manager reporting cash income of the > > day but not if I can help do this because I tried and I could not and > > need help please. In a text box I put the cell phone number in another > > the message data and a combite where the service provider will (Claro, > > Telefonica, Tigo) Guatemala. Thanks for the help. > > > > ------------------------------------------------------------------------------ > > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > > This paper surveys cloud computing today: What are the benefits? > > Why are businesses embracing it? What are its payoffs and pitfalls? > > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > i think that you will need appropriate hardware? if you have got some, > what's the problem? > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From rmorgan62 at ...626... Wed Dec 14 22:52:57 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 14 Dec 2011 13:52:57 -0800 Subject: [Gambas-user] Help in sending sms In-Reply-To: <20111214195021.M34374@...951...> References: <4EE8E426.7050607@...20...> <20111214195021.M34374@...951...> Message-ID: You can also use a service provider like Yahoo, MSN, and others. Just google their SMS API's. Then your app simply needs to send the proper info over a web connection to the service. Randall On Wed, Dec 14, 2011 at 11:51 AM, nando wrote: > I have heard connecting (usb) a computer to a smartphone and using the > smartphone to do > the SMS work is one way. > > > ---------- Original Message ----------- > From: tobias > To: mailing list for gambas users > Sent: Wed, 14 Dec 2011 19:00:06 +0100 > Subject: Re: [Gambas-user] Help in sending sms > > > On 14.12.2011 18:50, herberth guzman wrote: > > > Greetings all, I want to implement in my program sending text messages > > > (sms) to mobile number of store manager reporting cash income of the > > > day but not if I can help do this because I tried and I could not and > > > need help please. In a text box I put the cell phone number in another > > > the message data and a combite where the service provider will (Claro, > > > Telefonica, Tigo) Guatemala. Thanks for the help. > > > > > > > ------------------------------------------------------------------------------ > > > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > > > This paper surveys cloud computing today: What are the benefits? > > > Why are businesses embracing it? What are its payoffs and pitfalls? > > > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > i think that you will need appropriate hardware? if you have got some, > > what's the problem? > > > > > ------------------------------------------------------------------------------ > > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > > This paper surveys cloud computing today: What are the benefits? > > Why are businesses embracing it? What are its payoffs and pitfalls? > > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From herberthguzman at ...626... Wed Dec 14 23:02:55 2011 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 14 Dec 2011 16:02:55 -0600 Subject: [Gambas-user] Gambas-user Digest, Vol 67, Issue 12 In-Reply-To: References: Message-ID: Greetings, I need to send a text message to a cell phone from gambas3, and I can not, can help me please. From herberthguzman at ...626... Wed Dec 14 23:03:38 2011 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 14 Dec 2011 16:03:38 -0600 Subject: [Gambas-user] send a text message to a cell phone Message-ID: Greetings, I need to send a text message to a cell phone from gambas3, and I can not, can help me please. From ea7dfh at ...2382... Wed Dec 14 23:10:19 2011 From: ea7dfh at ...2382... (Jesus) Date: Wed, 14 Dec 2011 23:10:19 +0100 Subject: [Gambas-user] send a text message to a cell phone In-Reply-To: References: Message-ID: <4EE91ECB.9070302@...2382...> El 14/12/11 23:03, herberth guzman escribi?: > Greetings, I need to send a text message to a cell phone from gambas3, and > I can not, can help me please. > ------------------------------------------------------------------------------ > Cloud Computing - Latest Buzzword or a Glimpse of the Future? > This paper surveys cloud computing today: What are the benefits? > Why are businesses embracing it? What are its payoffs and pitfalls? > http://www.accelacomm.com/jaw/sdnl/114/51425149/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Well, did you read the answers to your previous post? Why do you re-post again the same question? Regards -- Jesus Guardon From Gambas at ...1950... Thu Dec 15 00:44:15 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 00:44:15 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE8FC41.6070202@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> Message-ID: <1323906255.3346.2830.camel@...2150...> Hi Benoit Pretty sure I'm using gtk. Project has gb.gui selected so afaict it should be selecting gtk (I don't run KDE here). For a 1k card, the program was taking about 6 seconds or so to draw the GUI. For the 4k card, it was taking about 1.5 minutes (that's 15x as long), when I would have expected somewhere under 30 seconds, based on it being 4x the 1k case. Despite the unhelpful and sarcastic comments of some members (OK, one!) of the mailing list, I miss my thousands of little textboxes all neatly lined up on their panels. With them, the GUI had an elegance and visual structure that just isn't there with the tableview. Oh well, the tableview works, and it's functional enough so thanks again Benoit. Regards, Caveat On Wed, 2011-12-14 at 20:42 +0100, Beno?t Minisini wrote: > Le 14/12/2011 19:40, Caveat a ?crit : > > Thanks Benoit, that was the missing piece of the puzzle! > > > > Now the program is working great! > > > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > > expect it to be quite so slow... > > > > Thanks again > > Caveat > > Do you use GTK+ or QT? > From Gambas at ...1950... Thu Dec 15 01:19:39 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 01:19:39 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE8FC41.6070202@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> Message-ID: <1323908379.3346.2871.camel@...2150...> Benoit, I decided to test against qt and gtk+ by selecting them manually from the Project Properties, Components. If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' takes less than 1/2 a second. With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same '4k GUI' takes 1.5 minutes to build. Hope this helps. Regards, Caveat On Wed, 2011-12-14 at 20:42 +0100, Beno?t Minisini wrote: > Le 14/12/2011 19:40, Caveat a ?crit : > > Thanks Benoit, that was the missing piece of the puzzle! > > > > Now the program is working great! > > > > I kind of thought 8000+ textboxes was a little overkill, but I didn't > > expect it to be quite so slow... > > > > Thanks again > > Caveat > > Do you use GTK+ or QT? > From support at ...2529... Thu Dec 15 01:22:55 2011 From: support at ...2529... (John Spikowski) Date: Wed, 14 Dec 2011 16:22:55 -0800 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323906255.3346.2830.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323906255.3346.2830.camel@...2150...> Message-ID: <1323908575.2060.19.camel@...1833...> On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote: > Despite the unhelpful and sarcastic comments of some members (OK, one!) What amazes me is that you see nothing wrong with your design. On a positive note, it's good to have folks pushing Gambas to the limits. From Gambas at ...1950... Thu Dec 15 01:51:15 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 01:51:15 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323908575.2060.19.camel@...1833...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323906255.3346.2830.camel@...2150...> <1323908575.2060.19.camel@...1833...> Message-ID: <1323910275.3346.2927.camel@...2150...> > What amazes me is that you see nothing wrong with your design That's untrue, I do see the design as a little unwieldy. And sometimes, poor designs just grow out of what may have been a nice idea at the start... I certainly didn't start out with the intention of having 8000+ controls. You should also remember that this is a hobby, something some of us do for fun, so we're not going to spend hours writing design documents and holding requirements gathering sessions! But, having said all that, I love the look of the custom built GUI, it lends an idea of the structure of the Mifare card, showing the card as arranged in blocks of 16 bytes, in sectors of 4 blocks...you see the keys at the end of each block...the nature of the textboxes intuits to you that's it's an editable view... And finally, if I choose qt4, there is no problem with the design. My 4k Mifare GUI builds in 3 seconds flat!! You may still not like the design, you may think the program should be scalable, that it should have a command-line interface, that it should window through the data and read files of arbitrary lengths. but it's my program, doing what I want it to do... and that is simply to compare 1k and 4k Mifare cards and present the differences nicely. And maybe one day to allow editing of the card data too... I couldn't see (until Benoit kindly helped out) how to make all the individual bytes in the binary file editable using any of the ...view controls, which is why I didn't choose for them in the first place. I probably should have read the documentation more thoroughly but then wouldn't have benefited from the enriching experience of interacting with the fine people on on this mailing list. >On a positive note, it's good to have folks pushing Gambas to the limits. Indeed, and we've now discovered that the problem is only apparent when using gtk+. I'm sure Benoit will keep us posted. Regards, Caveat On Wed, 2011-12-14 at 16:22 -0800, John Spikowski wrote: > On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote: > > > Despite the unhelpful and sarcastic comments of some members (OK, one!) > > What amazes me is that you see nothing wrong with your design. On a > positive note, it's good to have folks pushing Gambas to the limits. > > > > > From herberthguzman at ...626... Thu Dec 15 02:24:18 2011 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 14 Dec 2011 19:24:18 -0600 Subject: [Gambas-user] Gambas-user Digest, Vol 67, Issue 13 In-Reply-To: References: Message-ID: Thank you to those who have helped me solve my problem but I read about it but I can not, I have seen that in java if you can but not if it would work in prawns, in the last would leave by sending an email but what need is to send him to a cell phone. 2011/12/14, gambas-user-request at lists.sourceforge.net : > Send Gambas-user mailing list submissions to > gambas-user at lists.sourceforge.net > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/gambas-user > or, via email, send a message with subject or body 'help' to > gambas-user-request at lists.sourceforge.net > > You can reach the person managing the list at > gambas-user-owner at lists.sourceforge.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Gambas-user digest..." > > > Today's Topics: > > 1. Re: Help in sending sms (nando) > 2. Re: Help in sending sms (Randall Morgan) > 3. Re: Gambas-user Digest, Vol 67, Issue 12 (herberth guzman) > 4. send a text message to a cell phone (herberth guzman) > 5. Re: send a text message to a cell phone (Jesus) > 6. Re: Big Gambas3 slowdown on hex edit / compare program (Caveat) > 7. Re: Big Gambas3 slowdown on hex edit / compare program (Caveat) > 8. Re: Big Gambas3 slowdown on hex edit / compare program > (John Spikowski) > 9. Re: Big Gambas3 slowdown on hex edit / compare program (Caveat) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 14 Dec 2011 15:51:35 -0400 > From: "nando" > Subject: Re: [Gambas-user] Help in sending sms > To: mailing list for gambas users > Message-ID: <20111214195021.M34374 at ...951...> > Content-Type: text/plain; charset=iso-8859-1 > > I have heard connecting (usb) a computer to a smartphone and using the > smartphone to do > the SMS work is one way. > > > ---------- Original Message ----------- > From: tobias > To: mailing list for gambas users > Sent: Wed, 14 Dec 2011 19:00:06 +0100 > Subject: Re: [Gambas-user] Help in sending sms > >> On 14.12.2011 18:50, herberth guzman wrote: >> > Greetings all, I want to implement in my program sending text messages >> > (sms) to mobile number of store manager reporting cash income of the >> > day but not if I can help do this because I tried and I could not and >> > need help please. In a text box I put the cell phone number in another >> > the message data and a combite where the service provider will (Claro, >> > Telefonica, Tigo) Guatemala. Thanks for the help. >> > >> > ------------------------------------------------------------------------------ >> > Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> > This paper surveys cloud computing today: What are the benefits? >> > Why are businesses embracing it? What are its payoffs and pitfalls? >> > http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> i think that you will need appropriate hardware? if you have got some, >> what's the problem? >> >> ------------------------------------------------------------------------------ >> Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> This paper surveys cloud computing today: What are the benefits? >> Why are businesses embracing it? What are its payoffs and pitfalls? >> http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > > ------------------------------ > > Message: 2 > Date: Wed, 14 Dec 2011 13:52:57 -0800 > From: Randall Morgan > Subject: Re: [Gambas-user] Help in sending sms > To: nando_f at ...951..., mailing list for gambas users > > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > You can also use a service provider like Yahoo, MSN, and others. Just > google their SMS API's. Then your app simply needs to send the proper info > over a web connection to the service. > > Randall > > On Wed, Dec 14, 2011 at 11:51 AM, nando wrote: > >> I have heard connecting (usb) a computer to a smartphone and using the >> smartphone to do >> the SMS work is one way. >> >> >> ---------- Original Message ----------- >> From: tobias >> To: mailing list for gambas users >> Sent: Wed, 14 Dec 2011 19:00:06 +0100 >> Subject: Re: [Gambas-user] Help in sending sms >> >> > On 14.12.2011 18:50, herberth guzman wrote: >> > > Greetings all, I want to implement in my program sending text messages >> > > (sms) to mobile number of store manager reporting cash income of the >> > > day but not if I can help do this because I tried and I could not and >> > > need help please. In a text box I put the cell phone number in another >> > > the message data and a combite where the service provider will (Claro, >> > > Telefonica, Tigo) Guatemala. Thanks for the help. >> > > >> > > >> ------------------------------------------------------------------------------ >> > > Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> > > This paper surveys cloud computing today: What are the benefits? >> > > Why are businesses embracing it? What are its payoffs and pitfalls? >> > > http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> > i think that you will need appropriate hardware? if you have got some, >> > what's the problem? >> > >> > >> ------------------------------------------------------------------------------ >> > Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> > This paper surveys cloud computing today: What are the benefits? >> > Why are businesses embracing it? What are its payoffs and pitfalls? >> > http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------- End of Original Message ------- >> >> >> >> ------------------------------------------------------------------------------ >> Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> This paper surveys cloud computing today: What are the benefits? >> Why are businesses embracing it? What are its payoffs and pitfalls? >> http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > > > ------------------------------ > > Message: 3 > Date: Wed, 14 Dec 2011 16:02:55 -0600 > From: herberth guzman > Subject: Re: [Gambas-user] Gambas-user Digest, Vol 67, Issue 12 > To: gambas-user at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Greetings, I need to send a text message to a cell phone from gambas3, and > I can not, can help me please. > > > ------------------------------ > > Message: 4 > Date: Wed, 14 Dec 2011 16:03:38 -0600 > From: herberth guzman > Subject: [Gambas-user] send a text message to a cell phone > To: gambas-user > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Greetings, I need to send a text message to a cell phone from gambas3, and > I can not, can help me please. > > > ------------------------------ > > Message: 5 > Date: Wed, 14 Dec 2011 23:10:19 +0100 > From: Jesus > Subject: Re: [Gambas-user] send a text message to a cell phone > To: mailing list for gambas users > Message-ID: <4EE91ECB.9070302 at ...2382...> > Content-Type: text/plain; charset=ISO-8859-1 > > El 14/12/11 23:03, herberth guzman escribi?: >> Greetings, I need to send a text message to a cell phone from gambas3, and >> I can not, can help me please. >> ------------------------------------------------------------------------------ >> Cloud Computing - Latest Buzzword or a Glimpse of the Future? >> This paper surveys cloud computing today: What are the benefits? >> Why are businesses embracing it? What are its payoffs and pitfalls? >> http://www.accelacomm.com/jaw/sdnl/114/51425149/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > Well, did you read the answers to your previous post? Why do you re-post > again the same question? > > Regards > > -- > Jesus Guardon > > > > ------------------------------ > > Message: 6 > Date: Thu, 15 Dec 2011 00:44:15 +0100 > From: Caveat > Subject: Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare > program > To: mailing list for gambas users > Message-ID: <1323906255.3346.2830.camel at ...2150...> > Content-Type: text/plain; charset="UTF-8" > > Hi Benoit > > Pretty sure I'm using gtk. Project has gb.gui selected so afaict it > should be selecting gtk (I don't run KDE here). > > For a 1k card, the program was taking about 6 seconds or so to draw the > GUI. For the 4k card, it was taking about 1.5 minutes (that's 15x as > long), when I would have expected somewhere under 30 seconds, based on > it being 4x the 1k case. > > Despite the unhelpful and sarcastic comments of some members (OK, one!) > of the mailing list, I miss my thousands of little textboxes all neatly > lined up on their panels. With them, the GUI had an elegance and visual > structure that just isn't there with the tableview. > > Oh well, the tableview works, and it's functional enough so thanks again > Benoit. > > Regards, > Caveat > > > On Wed, 2011-12-14 at 20:42 +0100, Beno?t Minisini wrote: >> Le 14/12/2011 19:40, Caveat a ?crit : >> > Thanks Benoit, that was the missing piece of the puzzle! >> > >> > Now the program is working great! >> > >> > I kind of thought 8000+ textboxes was a little overkill, but I didn't >> > expect it to be quite so slow... >> > >> > Thanks again >> > Caveat >> >> Do you use GTK+ or QT? >> > > > > > > ------------------------------ > > Message: 7 > Date: Thu, 15 Dec 2011 01:19:39 +0100 > From: Caveat > Subject: Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare > program > To: mailing list for gambas users > Message-ID: <1323908379.3346.2871.camel at ...2150...> > Content-Type: text/plain; charset="UTF-8" > > Benoit, > > I decided to test against qt and gtk+ by selecting them manually from > the Project Properties, Components. > > If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' > takes less than 1/2 a second. > > With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same > '4k GUI' takes 1.5 minutes to build. > > Hope this helps. > > Regards, > Caveat > > On Wed, 2011-12-14 at 20:42 +0100, Beno?t Minisini wrote: >> Le 14/12/2011 19:40, Caveat a ?crit : >> > Thanks Benoit, that was the missing piece of the puzzle! >> > >> > Now the program is working great! >> > >> > I kind of thought 8000+ textboxes was a little overkill, but I didn't >> > expect it to be quite so slow... >> > >> > Thanks again >> > Caveat >> >> Do you use GTK+ or QT? >> > > > > > > ------------------------------ > > Message: 8 > Date: Wed, 14 Dec 2011 16:22:55 -0800 > From: John Spikowski > Subject: Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare > program > To: Gambas at ...1950..., mailing list for gambas users > > Message-ID: <1323908575.2060.19.camel at ...1833...> > Content-Type: text/plain; charset="UTF-8" > > On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote: > >> Despite the unhelpful and sarcastic comments of some members (OK, one!) > > What amazes me is that you see nothing wrong with your design. On a > positive note, it's good to have folks pushing Gambas to the limits. > > > > > > > > > ------------------------------ > > Message: 9 > Date: Thu, 15 Dec 2011 01:51:15 +0100 > From: Caveat > Subject: Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare > program > To: mailing list for gambas users > Message-ID: <1323910275.3346.2927.camel at ...2150...> > Content-Type: text/plain; charset="UTF-8" > >> What amazes me is that you see nothing wrong with your design > > That's untrue, I do see the design as a little unwieldy. And sometimes, > poor designs just grow out of what may have been a nice idea at the > start... I certainly didn't start out with the intention of having 8000+ > controls. You should also remember that this is a hobby, something some > of us do for fun, so we're not going to spend hours writing design > documents and holding requirements gathering sessions! > But, having said all that, I love the look of the custom built GUI, it > lends an idea of the structure of the Mifare card, showing the card as > arranged in blocks of 16 bytes, in sectors of 4 blocks...you see the > keys at the end of each block...the nature of the textboxes intuits to > you that's it's an editable view... > And finally, if I choose qt4, there is no problem with the design. My > 4k Mifare GUI builds in 3 seconds flat!! > > You may still not like the design, you may think the program should be > scalable, that it should have a command-line interface, that it should > window through the data and read files of arbitrary lengths. but it's my > program, doing what I want it to do... and that is simply to compare 1k > and 4k Mifare cards and present the differences nicely. And maybe one > day to allow editing of the card data too... > > I couldn't see (until Benoit kindly helped out) how to make all the > individual bytes in the binary file editable using any of the ...view > controls, which is why I didn't choose for them in the first place. I > probably should have read the documentation more thoroughly but then > wouldn't have benefited from the enriching experience of interacting > with the fine people on on this mailing list. > >>On a positive note, it's good to have folks pushing Gambas to the > limits. > > Indeed, and we've now discovered that the problem is only apparent when > using gtk+. I'm sure Benoit will keep us posted. > > Regards, > Caveat > > > On Wed, 2011-12-14 at 16:22 -0800, John Spikowski wrote: >> On Thu, 2011-12-15 at 00:44 +0100, Caveat wrote: >> >> > Despite the unhelpful and sarcastic comments of some members (OK, one!) >> >> What amazes me is that you see nothing wrong with your design. On a >> positive note, it's good to have folks pushing Gambas to the limits. >> >> >> >> >> > > > > > > ------------------------------ > > ------------------------------------------------------------------------------ > 10 Tips for Better Server Consolidation > Server virtualization is being driven by many needs. > But none more important than the need to reduce IT complexity > while improving strategic productivity. Learn More! > http://www.accelacomm.com/jaw/sdnl/114/51507609/ > > ------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > End of Gambas-user Digest, Vol 67, Issue 13 > ******************************************* > From gambas at ...1... Thu Dec 15 03:42:56 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 15 Dec 2011 03:42:56 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <1323908379.3346.2871.camel@...2150...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323908379.3346.2871.camel@...2150...> Message-ID: <4EE95EB0.8030107@...1...> Le 15/12/2011 01:19, Caveat a ?crit : > Benoit, > > I decided to test against qt and gtk+ by selecting them manually from > the Project Properties, Components. > > If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' > takes less than 1/2 a second. > > With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same > '4k GUI' takes 1.5 minutes to build. > > Hope this helps. > > Regards, > Caveat > Then maybe the problem is in the gb.gtk code, as I didn't wrote all of it... I will take a look. And I don't think that John wanted to be rude or sarcastic at all: I had the same reaction when I saw the 8000+ textboxes. It is something I didn't dare to do (even with qt) without expecting an explosion somewhere. :-) -- Beno?t Minisini From gambas at ...1... Thu Dec 15 05:50:11 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 15 Dec 2011 05:50:11 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE95EB0.8030107@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323908379.3346.2871.camel@...2150...> <4EE95EB0.8030107@...1...> Message-ID: <4EE97C83.7050602@...1...> Le 15/12/2011 03:42, Beno?t Minisini a ?crit : > Le 15/12/2011 01:19, Caveat a ?crit : >> Benoit, >> >> I decided to test against qt and gtk+ by selecting them manually from >> the Project Properties, Components. >> >> If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' >> takes less than 1/2 a second. >> >> With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same >> '4k GUI' takes 1.5 minutes to build. >> >> Hope this helps. >> >> Regards, >> Caveat >> > > Then maybe the problem is in the gb.gtk code, as I didn't wrote all of > it... I will take a look. > > And I don't think that John wanted to be rude or sarcastic at all: I had > the same reaction when I saw the 8000+ textboxes. > > It is something I didn't dare to do (even with qt) without expecting an > explosion somewhere. :-) > OK: the GTK+ functions that modify control colors and fonts are slow, and become slower as the number of created controls grows. So I now call them only if really necessary in revision #4278. If you try it, you will get a great speed up. Regards, -- Beno?t Minisini From ron at ...1740... Thu Dec 15 09:12:51 2011 From: ron at ...1740... (Ron) Date: Thu, 15 Dec 2011 09:12:51 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE97C83.7050602@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323908379.3346.2871.camel@...2150...> <4EE95EB0.8030107@...1...> <4EE97C83.7050602@...1...> Message-ID: <4EE9AC03.7080909@...1740...> On 15-12-2011 5:50, Beno?t Minisini wrote: > Le 15/12/2011 03:42, Beno?t Minisini a ?crit : >> Le 15/12/2011 01:19, Caveat a ?crit : >>> Benoit, >>> >>> I decided to test against qt and gtk+ by selecting them manually from >>> the Project Properties, Components. >>> >>> If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' >>> takes less than 1/2 a second. >>> >>> With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same >>> '4k GUI' takes 1.5 minutes to build. >>> >>> Hope this helps. >>> >>> Regards, >>> Caveat >>> >> Then maybe the problem is in the gb.gtk code, as I didn't wrote all of >> it... I will take a look. >> >> And I don't think that John wanted to be rude or sarcastic at all: I had >> the same reaction when I saw the 8000+ textboxes. >> >> It is something I didn't dare to do (even with qt) without expecting an >> explosion somewhere. :-) >> > OK: the GTK+ functions that modify control colors and fonts are slow, > and become slower as the number of created controls grows. So I now call > them only if really necessary in revision #4278. > > If you try it, you will get a great speed up. > > Regards, > You see that even 'unefficient' programming/design of a users project helps making Gambas better for all of us. Specific bugs or slowdowns are easier to spot if you try to get the most out of Gambas. Regards, Ron_2nd. From Gambas at ...1950... Thu Dec 15 10:11:30 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 10:11:30 +0100 Subject: [Gambas-user] Compile fails, rev 4278 Message-ID: <1323940290.3346.3430.camel@...2150...> gbx3-gbx_class_init.o:(.rodata+0x280): undefined reference to `NATIVE_System' gbx3-gbx_class_init.o:(.rodata+0x2a0): undefined reference to `NATIVE_User' gbx3-gbx_c_process.o: In function `signal_child': /home/jules/dev/gambas3/trunk/main/gbx/gbx_c_process.c:646: undefined reference to `SIGNAL_previous' gbx3-gbx_c_process.o: In function `init_child': /home/jules/dev/gambas3/trunk/main/gbx/gbx_c_process.c:670: undefined reference to `SIGNAL_install' gbx3-gbx_c_process.o: In function `exit_child': /home/jules/dev/gambas3/trunk/main/gbx/gbx_c_process.c:689: undefined reference to `SIGNAL_uninstall' Attached full output... -------------- next part -------------- A non-text attachment was scrubbed... Name: comp_result.gz Type: application/x-gzip Size: 7043 bytes Desc: not available URL: From Gambas at ...1950... Thu Dec 15 15:09:03 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 15:09:03 +0100 Subject: [Gambas-user] Compile fails, rev 4278 [FIXED] In-Reply-To: <1323940290.3346.3430.camel@...2150...> References: <1323940290.3346.3430.camel@...2150...> Message-ID: <1323958143.3346.3731.camel@...2150...> ./reconf-all ./configure make seems to have fixed it. Probably quite a lot changed on my machine since the last time I compiled Gambas. :-) From Gambas at ...1950... Thu Dec 15 15:19:21 2011 From: Gambas at ...1950... (Caveat) Date: Thu, 15 Dec 2011 15:19:21 +0100 Subject: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program In-Reply-To: <4EE97C83.7050602@...1...> References: <1323874793.3346.2255.camel@...2150...> <4EE8EB0C.8010109@...1...> <1323888038.3346.2481.camel@...2150...> <4EE8FC41.6070202@...1...> <1323908379.3346.2871.camel@...2150...> <4EE95EB0.8030107@...1...> <4EE97C83.7050602@...1...> Message-ID: <1323958761.3346.3753.camel@...2150...> I can confirm that rev #4278 is *much* faster on gtk+ now. gtk+ now scores about 6 seconds in comparison to qt4's 3 seconds, for my "massively inefficient GUI". Many thanks for the quick turnaround Benoit! Now I just need to decide if I want to stay with my beautiful-looking but poorly-designed "textboxes on panels GUI" or switch to the rather more boring-looking but pleasing to the design-police "tableview GUI" :-D :-D :-D :-D Kind regards, Caveat On Thu, 2011-12-15 at 05:50 +0100, Beno?t Minisini wrote: > Le 15/12/2011 03:42, Beno?t Minisini a ?crit : > > Le 15/12/2011 01:19, Caveat a ?crit : > >> Benoit, > >> > >> I decided to test against qt and gtk+ by selecting them manually from > >> the Project Properties, Components. > >> > >> If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI' > >> takes less than 1/2 a second. > >> > >> With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same > >> '4k GUI' takes 1.5 minutes to build. > >> > >> Hope this helps. > >> > >> Regards, > >> Caveat > >> > > > > Then maybe the problem is in the gb.gtk code, as I didn't wrote all of > > it... I will take a look. > > > > And I don't think that John wanted to be rude or sarcastic at all: I had > > the same reaction when I saw the 8000+ textboxes. > > > > It is something I didn't dare to do (even with qt) without expecting an > > explosion somewhere. :-) > > > > OK: the GTK+ functions that modify control colors and fonts are slow, > and become slower as the number of created controls grows. So I now call > them only if really necessary in revision #4278. > > If you try it, you will get a great speed up. > > Regards, > From randlemillner at ...626... Fri Dec 16 16:28:24 2011 From: randlemillner at ...626... (Randy Millner) Date: Fri, 16 Dec 2011 09:28:24 -0600 Subject: [Gambas-user] Gambas2 Gambas3 Compilation Message-ID: Trying to help the 64bit distro of PcLinuxOS by compiling first Gambas2 and then Gambas3 When making sure I have all components first per the Gambas documentation, it seems most components exist, but with numbers appended to the filename For Example: [ee at ...40... ~]$ locate libmysqlclient.so /usr/lib64/libmysqlclient.so.16 /usr/lib64/libmysqlclient.so.16.0.0 [ee at ...40... ~]$ locate libz.so /lib/libz.so.1 /lib/libz.so.1.2.5 /lib64/libz.so.1 /lib64/libz.so.1.2.5 /usr/lib/libz.so.1 /usr/lib/libz.so.1.2.5 /usr/lib/dropbox-dist/libz.so.1 /usr/lib64/libz.so.1 /usr/lib64/libz.so.1.2.5 Shouldn't the target file be somewhere exactly matching the argument to 'locate' ? The 64bit version of the OS might release early 2012, the release candidate is very stable, volunteers are hard at work getting the repos filled. Gambas needs to be in the repos when the 64bit version debuts. any help is appreciated. Randy From Gambas at ...1950... Fri Dec 16 16:43:32 2011 From: Gambas at ...1950... (Caveat) Date: Fri, 16 Dec 2011 16:43:32 +0100 Subject: [Gambas-user] Gambas2 Gambas3 Compilation In-Reply-To: References: Message-ID: <1324050212.10290.386.camel@...2150...> This is usually managed by links. So for example, looking for libz.so... $ sudo find / -name libz.so [sudo] password: /usr/lib/libz.so $ ls -l /usr/lib/libz.so lrwxrwxrwx 1 root root 20 2011-04-15 16:32 /usr/lib/libz.so -> /lib/libz.so.1.2.3.4 The 'file' libz.so in /usr/lib is just a pointer to the specific version, so the 'locate' just has to find libz.so and follow the link to the right version. Regards, Caveat On Fri, 2011-12-16 at 09:28 -0600, Randy Millner wrote: > Trying to help the 64bit distro of PcLinuxOS by compiling first > Gambas2 and then Gambas3 > > When making sure I have all components first per the Gambas documentation, > it seems most components exist, but with numbers appended to the filename > > For Example: > > [ee at ...40... ~]$ locate libmysqlclient.so > /usr/lib64/libmysqlclient.so.16 > /usr/lib64/libmysqlclient.so.16.0.0 > > [ee at ...40... ~]$ locate libz.so > /lib/libz.so.1 > /lib/libz.so.1.2.5 > /lib64/libz.so.1 > /lib64/libz.so.1.2.5 > /usr/lib/libz.so.1 > /usr/lib/libz.so.1.2.5 > /usr/lib/dropbox-dist/libz.so.1 > /usr/lib64/libz.so.1 > /usr/lib64/libz.so.1.2.5 > > Shouldn't the target file be somewhere exactly matching the argument > to 'locate' ? > > The 64bit version of the OS might release early 2012, the release > candidate is very stable, volunteers > are hard at work getting the repos filled. Gambas needs to be in the > repos when the 64bit version debuts. > > any help is appreciated. > Randy > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bill-lancaster at ...2231... Sat Dec 17 13:32:12 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sat, 17 Dec 2011 04:32:12 -0800 (PST) Subject: [Gambas-user] Gambas3 Printing - text width Message-ID: <32991752.post@...1379...> I'm using Paint.DrawRichText(MoneyValue, x, y) and want to have money values right justified (ideally '.' justified). The Align.Right option doesn't help. Any ideas? Gambas 2.99.6, qt4 -- View this message in context: http://old.nabble.com/Gambas3-Printing---text-width-tp32991752p32991752.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Dec 17 13:48:25 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 17 Dec 2011 13:48:25 +0100 Subject: [Gambas-user] Gambas3 Printing - text width In-Reply-To: <32991752.post@...1379...> References: <32991752.post@...1379...> Message-ID: 2011/12/17 Bill-Lancaster : > > I'm using > > ? ? ? ? ?Paint.DrawRichText(MoneyValue, x, y) > > and want to have money values right justified (ideally '.' justified). > > The Align.Right option doesn't help. yes you need to specify right relative to ??? you need to specify the width and height of the text zone > Any ideas? > > Gambas 2.99.6, qt4 > > -- > View this message in context: http://old.nabble.com/Gambas3-Printing---text-width-tp32991752p32991752.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! ?Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bill-lancaster at ...2231... Sat Dec 17 14:55:30 2011 From: bill-lancaster at ...2231... (Bill-Lancaster) Date: Sat, 17 Dec 2011 05:55:30 -0800 (PST) Subject: [Gambas-user] Gambas3 Printing - text width SOLVED In-Reply-To: <32991752.post@...1379...> References: <32991752.post@...1379...> Message-ID: <32992108.post@...1379...> OK, didn't try hard enough! Paint.Font.RichTextWidth(TextString) should do the trick. -- View this message in context: http://old.nabble.com/Gambas3-Printing---text-width-tp32991752p32992108.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sat Dec 17 16:31:53 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 17 Dec 2011 16:31:53 +0100 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <1323809905.14427.30.camel@...2688...> References: <1323676886.14427.21.camel@...2688...> <4EE6DDBF.70004@...1...> <1323809905.14427.30.camel@...2688...> Message-ID: <4EECB5E9.60300@...1...> Le 13/12/2011 21:58, Bruce Bruen a ?crit : > On Tue, 2011-12-13 at 06:08 +0100, Beno?t Minisini wrote: > > >> >> Cool optimization apparently... >> >> Can you send me your code as an attachment so that I can open it >> directly in an editor to check it? >> >> Thanks in advance! >> >> -- >> Beno?t Minisini >> > > Attached. > > regards > Bruce > Hi, I have factorized your optimization and the code from the field_info function, and put it in revision #4280. Can you try it and check that I didn't break everything? And that optimization is always there of course! Regards, -- Beno?t Minisini From randlemillner at ...626... Sat Dec 17 18:11:32 2011 From: randlemillner at ...626... (Randy Millner) Date: Sat, 17 Dec 2011 11:11:32 -0600 Subject: [Gambas-user] Gambas2 compilation problems Message-ID: Apologies to the moderator. Operating System : pcLinuxOS 64bitest4.iso (Stable release candidate) Hardware Zotac Zbox: CPU Intel ATOM D525 Dual Core 1.8 Ghz 800 Mhz front bus Chipset Intel NM10 Graphics Intel media accelerator 3150 4 Gig Ram Kingston 64Gig Sata SSD Drive My goal is to have at least Gambas2 ready for our distro's repos by the time pcLinuxOS64 releases in 2012 (Next month) I've gotten the compilers to work, Good News! I am getting comile errors. I followed the instructions per the release notes and attached the output, $ ( ./configure -C; make; make install ) > output.txt 2>&1 I guess the output violated some policy and the moderator bounced the email back. (NO REASON GIVEN) Here is what I think was pertinent, but if you still need the total output, perhaps a different email? Tail End Output from ./configure -C ************************************************************ THESE COMPONENTS ARE DISABLED: - gb.compress.bzlib2 - gb.compress.zlib - gb.corba - gb.db.firebird - gb.db.mysql - gb.db.odbc - gb.db.postgresql - gb.db.sqlite2 - gb.db.sqlite3 - gb.desktop - gb.gtk - gb.gtk.svg - gb.net.curl - gb.net.smtp - gb.opengl - gb.pcre - gb.pdf - gb.qt - gb.qt.kde - gb.qte - gb.sdl - gb.sdl.sound - gb.v4l - gb.xml ************************************************************ The following is only the tail end of the make install (where the errors occur) Creating the information files for gb.crypt component... gb.crypt make[4]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' Making install in gb.opengl make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' Making install in gb.corba make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' Making install in gb.pdf make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' Making install in gb.gtk.svg make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' Making install in gb.image make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.image' Making install in src make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" /usr/bin/install -c -m 644 gb.image.component '/usr/local/lib/gambas2' test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" /usr/bin/install -c -m 644 gb.image.component '/usr/local/lib/gambas2' test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" /bin/sh ../libtool --mode=install /usr/bin/install -c gb.image.la '/usr/local/lib/gambas2' libtool: install: /usr/bin/install -c .libs/gb.image.so.0.0.0 /usr/local/lib/gambas2/gb.image.so.0.0.0 /usr/bin/install: cannot stat `.libs/gb.image.so.0.0.0': No such file or directory make[3]: *** [install-gblibLTLIBRARIES] Error 1 make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image' make: *** [install-recursive] Error 1 Thank you, Our community is grateful From gambas at ...1... Sat Dec 17 18:24:45 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 17 Dec 2011 18:24:45 +0100 Subject: [Gambas-user] Gambas2 compilation problems In-Reply-To: References: Message-ID: <4EECD05D.5000003@...1...> Le 17/12/2011 18:11, Randy Millner a ?crit : > Apologies to the moderator. > > Operating System : pcLinuxOS 64bitest4.iso (Stable release candidate) > Hardware Zotac Zbox: > CPU Intel ATOM D525 Dual Core 1.8 Ghz 800 Mhz front bus > Chipset Intel NM10 > Graphics Intel media accelerator 3150 > 4 Gig Ram > Kingston 64Gig Sata SSD Drive > > My goal is to have at least Gambas2 ready for our distro's repos by > the time pcLinuxOS64 releases in 2012 (Next month) > > I've gotten the compilers to work, Good News! I am getting comile errors. > I followed the instructions per the release notes and attached the output, > > $ ( ./configure -C; make; make install )> output.txt 2>&1 > > I guess the output violated some policy and the moderator bounced the > email back. (NO REASON GIVEN) Your mail was too big. There is a 256K limit on all posts on the mailing-list. Don't forget that your mail is sent to 800 people, so 256K*800 > 200Mb just for one mail. Poor sourceforge! :-) > > > > Here is what I think was pertinent, but if you still need the total > output, perhaps a different email? Just use 'tar cfz' ! I need the entire output of a configuration/compilation/installation from scratch. Regards, -- Beno?t Minisini From rmorgan62 at ...626... Sat Dec 17 18:26:49 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 17 Dec 2011 09:26:49 -0800 Subject: [Gambas-user] Gambas2 compilation problems In-Reply-To: References: Message-ID: For make install and possibly make, you must have root access rights. sudo, or su or logged in as root. On Sat, Dec 17, 2011 at 9:11 AM, ac Millner wrote: > Apologies to the moderator. > > Operating System : pcLinuxOS 64bitest4.iso (Stable release candidate) > Hardware Zotac Zbox: > CPU Intel ATOM D525 Dual Core 1.8 Ghz 800 Mhz front bus > Chipset Intel NM10 > Graphics Intel media accelerator 3150 > 4 Gig Ram > Kingston 64Gig Sata SSD Drive > > My goal is to have at least Gambas2 ready for our distro's repos by > the time pcLinuxOS64 releases in 2012 (Next month) > > I've gotten the compilers to work, Good News! I am getting comile errors. > I followed the instructions per the release notes and attached the output, > > $ ( ./configure -C; make; make install ) > output.txt 2>&1 > > I guess the output violated some policy and the moderator bounced the > email back. (NO REASON GIVEN) > > > > Here is what I think was pertinent, but if you still need the total > output, perhaps a different email? > > > Tail End Output from ./configure -C > > ************************************************************ > > THESE COMPONENTS ARE DISABLED: > > - gb.compress.bzlib2 > - gb.compress.zlib > - gb.corba > - gb.db.firebird > - gb.db.mysql > - gb.db.odbc > - gb.db.postgresql > - gb.db.sqlite2 > - gb.db.sqlite3 > - gb.desktop > - gb.gtk > - gb.gtk.svg > - gb.net.curl > - gb.net.smtp > - gb.opengl > - gb.pcre > - gb.pdf > - gb.qt > - gb.qt.kde > - gb.qte > - gb.sdl > - gb.sdl.sound > - gb.v4l > - gb.xml > > ************************************************************ > > > > The following is only the tail end of the make install (where the errors > occur) > > Creating the information files for gb.crypt component... > gb.crypt > > make[4]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt/src' > make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' > make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.crypt' > Making install in gb.opengl > make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.opengl' > Making install in gb.corba > make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.corba' > Making install in gb.pdf > make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.pdf' > Making install in gb.gtk.svg > make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > make[2]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > make[3]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > make[3]: Nothing to be done for `install-exec-am'. > make[3]: Nothing to be done for `install-data-am'. > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.gtk.svg' > Making install in gb.image > make[1]: Entering directory `/home/ee/Downloads/gambas2-2.23.1/gb.image' > Making install in src > make[2]: Entering directory > `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' > make[3]: Entering directory > `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' > make[3]: Nothing to be done for `install-exec-am'. > test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" > /usr/bin/install -c -m 644 gb.image.component '/usr/local/lib/gambas2' > test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" > /usr/bin/install -c -m 644 gb.image.component '/usr/local/lib/gambas2' > test -z "/usr/local/lib/gambas2" || /bin/mkdir -p "/usr/local/lib/gambas2" > /bin/sh ../libtool --mode=install /usr/bin/install -c gb.image.la > '/usr/local/lib/gambas2' > libtool: install: /usr/bin/install -c .libs/gb.image.so.0.0.0 > /usr/local/lib/gambas2/gb.image.so.0.0.0 > /usr/bin/install: cannot stat `.libs/gb.image.so.0.0.0': No such file > or directory > make[3]: *** [install-gblibLTLIBRARIES] Error 1 > make[3]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' > make[2]: *** [install-am] Error 2 > make[2]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image/src' > make[1]: *** [install-recursive] Error 1 > make[1]: Leaving directory `/home/ee/Downloads/gambas2-2.23.1/gb.image' > make: *** [install-recursive] Error 1 > > > Thank you, > Our community is grateful > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From adamnt42 at ...626... Sat Dec 17 22:58:15 2011 From: adamnt42 at ...626... (GMail) Date: Sun, 18 Dec 2011 08:28:15 +1030 Subject: [Gambas-user] Hopefully, an optimisation for gb.db.postgresql In-Reply-To: <4EECB5E9.60300@...1...> References: <1323676886.14427.21.camel@...2688...> <4EE6DDBF.70004@...1...> <1323809905.14427.30.camel@...2688...> <4EECB5E9.60300@...1...> Message-ID: <1324159095.4569.17.camel@...2688...> On Sat, 2011-12-17 at 16:31 +0100, Beno?t Minisini wrote: > Hi, > > I have factorized your optimization and the code from the field_info > function, and put it in revision #4280. > > Can you try it and check that I didn't break everything? And that > optimization is always there of course! > > Regards, > Good morning Beno?t, I have checked rev #4280 and my test harness indicates that all works and the speed gains are there for the expected calls (Connection.Create and Connection.Edit) and all the db methods still work as expected. One question though! In both the original code and the new code you check that the column is not null and has a default value. I don't quite understand the need for this and have a feeling that the code as it is will not detect serial columns where the postgresql NOT NULL is not set (there is no requirement in postgresql that a column with any default value be NOT NULL). regards Bruce From gambas at ...2524... Sun Dec 18 04:40:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 18 Dec 2011 03:40:34 +0000 Subject: [Gambas-user] Issue 158 in gambas: Minor defect with IDE when making source arcives. In-Reply-To: <0-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Priority-Medium Version-TRUNK Priority-Low Comment #1 on issue 158 by benoit.m... at ...626...: Minor defect with IDE when making source arcives. http://code.google.com/p/gambas/issues/detail?id=158 (No comment was entered for this change.) From gambas at ...1... Sun Dec 18 04:46:26 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 18 Dec 2011 04:46:26 +0100 Subject: [Gambas-user] Gambas3 WebSettings.HttpProxy In-Reply-To: References: Message-ID: <4EED6212.3070405@...1...> Le 07/12/2011 13:03, marco bra a ?crit : > I defined o gambas3 > > WebSettings.HttpProxy > > it works fine but how can i add proxy exclusion i mean no proxy for > some domain or ip ? > > Thanks > > Marco > This is not possible at the moment. But Qt4 allows that, so I will see if I can implement something for you. Anyway I'm curious: why should we need different proxies for different domains or ip? Regards, -- Beno?t Minisini From gambas at ...1... Sun Dec 18 05:04:33 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 18 Dec 2011 05:04:33 +0100 Subject: [Gambas-user] Bug drawing_area In-Reply-To: <20111126061421.M76312@...951...> References: <20111125061248.M23899@...951...> <4ECF3EF1.5050407@...221...> <20111125180132.M24915@...951...> <4ECFDAEB.3030207@...1...> <20111126061421.M76312@...951...> Message-ID: <4EED6651.6010200@...1...> Le 26/11/2011 07:16, nando a ?crit : > Thank you Benoit, > A project archive is attached with a simple example > -Fernando > OK: don't call Draw.Begin() / Draw.End() during the Draw event. Qt does not like it. And it is useless... And you should not move the DrawingArea during its Draw event, but during the Timer event. Regards, -- Beno?t Minisini From marcobra.ubuntu at ...626... Sun Dec 18 06:16:45 2011 From: marcobra.ubuntu at ...626... (marco bra) Date: Sun, 18 Dec 2011 06:16:45 +0100 Subject: [Gambas-user] Gambas3 WebSettings.HttpProxy In-Reply-To: <4EED6212.3070405@...1...> References: <4EED6212.3070405@...1...> Message-ID: > Anyway I'm curious: why should we need different proxies for different > domains or ip? Because i have to made some try querying localhost with no proxy set and then also with other external ip with proxy BTW i have solved by set WebSettings.HttpProxy or WebSettings.noProxy based on the address i type Regards Marco -- Linux Infinite Freedom From gambas at ...2524... Sun Dec 18 12:04:25 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 18 Dec 2011 11:04:25 +0000 Subject: [Gambas-user] Issue 134 in gambas: gb.report not work properly In-Reply-To: <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Comment #1 on issue 134 by gambas... at ...626...: gb.report not work properly http://code.google.com/p/gambas/issues/detail?id=134 Many things have changed .... to use gb.report... just prefer to use the svn version , as i'm currently polish it. You must to set explicitely the autoresize to true now for label. Maybe i must set the value to true by default in the ide. If you not set it to true then the height of the label is 0px + Padding+border So you have two choice ... autoresize or set the height ... or maybe expand, but if the height is 0 then all the result will be on the same page :/. Attachments: ReportExample-0.0.1.tar.gz 35.3 KB From rmorgan62 at ...626... Sun Dec 18 15:06:40 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 18 Dec 2011 06:06:40 -0800 Subject: [Gambas-user] Issue 134 in gambas: gb.report not work properly In-Reply-To: <1-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> <1-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Message-ID: Just curious why a default height of zero (0) was chosen? Wouldn't a default of a typical font height be a better choice? Or, look at the font size set and use it's height is not height has been explicitly define by the user.... I think default values should always provide a working solution though not necessarily a pretty one... Even setting the height to something like 5 pixels would result in each line printing, though unreadable the user would have a huge clue as to why the results were not as expected. Randall On Sun, Dec 18, 2011 at 3:04 AM, wrote: > > Comment #1 on issue 134 by gambas... at ...626...: gb.report not work > properly > http://code.google.com/p/gambas/issues/detail?id=134 > > Many things have changed .... to use gb.report... just prefer to use the > svn version , as i'm currently polish it. > > You must to set explicitely the autoresize to true now for label. > > Maybe i must set the value to true by default in the ide. If you not set it > to true then the height of the label is 0px + Padding+border > > So you have two choice ... autoresize or set the height ... or maybe > expand, but if the height is 0 then all the result will be on the same > page :/. > > > > > > Attachments: > ReportExample-0.0.1.tar.gz 35.3 KB > > > > ------------------------------------------------------------------------------ > Learn Windows Azure Live! Tuesday, Dec 13, 2011 > Microsoft is holding a special Learn Windows Azure training event for > developers. It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...1... Sun Dec 18 19:58:03 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 18 Dec 2011 19:58:03 +0100 Subject: [Gambas-user] Drag & drop files In-Reply-To: <1322471851.54141.YahooMailNeo@...2727...> References: <1322471851.54141.YahooMailNeo@...2727...> Message-ID: <4EEE37BB.6080601@...1...> Le 28/11/2011 10:17, Maria a ?crit : > Hi! > > I was trying drag&drop posibilities in Gambas and I was wondering if you could help me with a problem I found. > > I create a button with the DROP property TRUE. Then I write this: > > PUBLIC SUB button_Drop() > > DIM a AS String > > a = Drag.Paste() > a = RTrim(a) > EXEC ["gedit", a] > END > > > This works. Drag.Paste get the file I droped, but in an horrible html format, with %20 in spaces and other > characters like ? ?????, etc... AND starting with "file://" > Gedit works because untherstand this format, butmust commands do not understand this format. AND it finishes with a strange character that I have to cut with RTrim otherwise I would not work. > > Now the questions: > > How to get a lot of files droped into the button? > How to get real and good path for all applications can untherstand it? > You must specify the paste format: Drag.Paste("text/uri-list") Then you will get a list of uri separated by newline characters. Then search the internet to find how to convert a "file://" uri into a standard file path. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Dec 18 20:07:58 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 18 Dec 2011 19:07:58 +0000 Subject: [Gambas-user] Issue 134 in gambas: gb.report not work properly In-Reply-To: <1-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Comment #2 on issue 134 by flynetin... at ...626...: gb.report not work properly http://code.google.com/p/gambas/issues/detail?id=134 I see. Thanks for all Very good work Regards From gambas at ...2524... Sun Dec 18 20:27:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 18 Dec 2011 19:27:01 +0000 Subject: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8 Message-ID: <0-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 159 by dba... at ...626...: No Toolbox after warning about el_GR.utf8 http://code.google.com/p/gambas/issues/detail?id=159 After the installation the IDE runs, but in the Console gives this warning: gb.qt4: warning: unable to load Qt translation: el_GR.utf8 The real problem is that the toolbox is not visible (neither pressing F6) [System] OperatingSystem=Linux Kernel=2.6.32-36-generic Architecture=i686 Memory=2026672 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.3 LTS" Desktop=Gnome [Gambas 3] Version=2.99.6 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.6.2 GTK+=libgtk-x11-2.0.so.0.2000.1 GREEK localization From randlemillner at ...626... Mon Dec 19 00:20:10 2011 From: randlemillner at ...626... (Randy Millner) Date: Sun, 18 Dec 2011 17:20:10 -0600 Subject: [Gambas-user] Gambas-user Digest, Vol 67, Issue 16 In-Reply-To: References: Message-ID: > Message: 1 > Date: Sat, 17 Dec 2011 18:24:45 +0100 > From: Beno?t Minisini > Subject: Re: [Gambas-user] Gambas2 compilation problems > To: mailing list for gambas users > Message-ID: <4EECD05D.5000003 at ...1...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Le 17/12/2011 18:11, Randy Millner a ?crit : >> Apologies to the moderator. >> >> Operating System : pcLinuxOS 64bitest4.iso ?(Stable release candidate) >> Hardware Zotac Zbox: >> CPU Intel ATOM D525 Dual Core 1.8 Ghz 800 Mhz front bus >> Chipset Intel NM10 >> Graphics Intel media accelerator 3150 >> 4 Gig Ram >> Kingston 64Gig Sata SSD Drive >> >> My goal is to have at least Gambas2 ready for our distro's repos by >> the time pcLinuxOS64 releases in 2012 (Next month) >> >> I've gotten the compilers to work, Good News! I am getting compile errors. >> I followed the instructions per the release notes and attached the output, >> >> $ ( ./configure -C; make; make install )> ?output.txt 2>&1 >> >> I guess the output violated some policy and the moderator bounced the >> email back. (NO REASON GIVEN) > > Your mail was too big. There is a 256K limit on all posts on the > mailing-list. Don't forget that your mail is sent to 800 people, so > 256K*800 > 200Mb just for one mail. Poor sourceforge! :-) > >> >> >> >> Here is what I think was pertinent, but if you still need the total >> output, perhaps a different email? > > Just use 'tar cfz' ! I need the entire output of a DONE see Attachment > configuration/compilation/installation from scratch. > > Regards, > > -- > Beno?t Minisini > Done, see attachemnt Thank you Benoit for your assistance. I speak for everyone from our community and especially the users of my Gambas apps. I found most of the required libraries in our repos, The disabled module list has been substantially diminished. I can't seem to locate Corba and a couple of others, perhaps there are some other naming convention in use?, or more likey the 64bit pclinuxos development team hasn't gotten around to packaging everything, yet. any clues as to where to find packages to compile would be helpful. I've used gambas for a couple of years, and never had to compile it from scratch. Trying to give back to the PcLinuxOS community. I think I am a whole lot closer now. My next 'first' will be figuring out 'how to' package it for the repo. -------------- next part -------------- A non-text attachment was scrubbed... Name: output.tar Type: application/x-tar Size: 12496 bytes Desc: not available URL: From gambas at ...2524... Mon Dec 19 02:41:18 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 01:41:18 +0000 Subject: [Gambas-user] Issue 158 in gambas: Minor defect with IDE when making source arcives. In-Reply-To: <1-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> <0-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8276848182129471363-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 158 by benoit.m... at ...626...: Minor defect with IDE when making source arcives. http://code.google.com/p/gambas/issues/detail?id=158 Fixed in revision #4293. From gambas at ...2524... Mon Dec 19 02:53:23 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 01:53:23 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <6-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #7 on issue 153 by benoit.m... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Can I have a gdb stack backtrace? It is explained in the "report a problem" page on the web site. $ cd /path/to/gambas3/ide/project $ gdb gbx3 ... *crash* (gdb) bt From gambas at ...2524... Mon Dec 19 03:12:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 02:12:31 +0000 Subject: [Gambas-user] =?utf-8?q?Issue_157_in_gambas=3A_Gambas3_give_me_er?= =?utf-8?q?ror_on_accessing_to_the_main_menu_=E2=86=92_open_recent?= In-Reply-To: <3-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> <0-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-6137262112022020732-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 157 by benoit.m... at ...626...: Gambas3 give me error on accessing to the main menu ? open recent http://code.google.com/p/gambas/issues/detail?id=157 OK, it should be fixed in revision #4294. From gambas at ...2524... Mon Dec 19 03:16:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 02:16:33 +0000 Subject: [Gambas-user] Issue 151 in gambas: Gambas3 Quick Variable View in debugging has strange colour In-Reply-To: <0-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #1 on issue 151 by benoit.m... at ...626...: Gambas3 Quick Variable View in debugging has strange colour http://code.google.com/p/gambas/issues/detail?id=151 (No comment was entered for this change.) From bbruen at ...2308... Mon Dec 19 03:38:14 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Mon, 19 Dec 2011 13:08:14 +1030 Subject: [Gambas-user] Gambas-user Digest, Vol 67, Issue 16 In-Reply-To: References: Message-ID: <1324262294.4569.41.camel@...2688...> On Sun, 2011-12-18 at 17:20 -0600, Randy Millner wrote: > I can't seem to locate Corba and a couple of others, perhaps there are > some other naming convention > in use?, or more likey the 64bit pclinuxos development team hasn't > gotten around to packaging everything, yet. Randy, CORBA ====== The required CORBA libs are not in the PCLOS repos (neither 64 nor 32 bit) AFAIK never have been. CORBA.h, can be sourced from omniORB at http://omniorb.sourceforge.net/ The two missing libraries can be built from the mandriva srpm at http://rpm.pbone.net/index.php3/stat/26/dist/70/size/3092594/name/omniorb-4.1.4-3mdv2010.1.src.rpm You will also have to convert these to 64bit and package them up as well for PCLOS. Also ,there may be other dependencies within these libraries. There is no corba component in gambas3! gb.qt.kde ======= This component provides the kde extensions for DBUS thingos Your missing headers and libraries are: kapplication.h &libkdecore.so I believe they may be in the kdevplatform libraries in the repo, but I don't know (Thanks to Neal et al LXDE rulez here!) This component does not exist in gambas3 gb.qte ===== You are missing libqte-mt.so Now this is strange. It is certainly not on my system but gb2 compiles fine with qte included. I have no idea what this library is. It may be from qt3, a search for it on rpmbone reveals nothing. You will need to work though the gb.qte config logs to see what is requiring this. > any clues as to where to find packages to compile would be helpful. See above > I've used gambas for a couple of years, and never had to compile it > from scratch. > Trying to give back to the PcLinuxOS community. gambas2 is in the pclos repo. Here is a list of all its' "requires". rpmlib(VersionedDependencies) <= 3.0.3-1 glibc >= 2.12.1 libstdc++6 >= 4.5.2 /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 libaa.so.1 libatk-1.0.so.0 libbz2.so.1 libcairo.so.2 libcrypt.so.1 libcrypt.so.1(GLIBC_2.0) libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.7) libcurl.so.4 libdirect-1.4.so.0 libdirectfb-1.4.so.0 libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfbclient.so.2 libffi.so.5 libfontconfig.so.1 libfreetype.so.6 libfusion-1.4.so.0 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libgdk_pixbuf-2.0.so.0 libgdk-x11-2.0.so.0 libggi.so.2 libgg.so.1 libgii.so.1 libgio-2.0.so.0 libglib-2.0.so.0 libGL.so.1 libGLU.so.1 libgmodule-2.0.so.0 libgobject-2.0.so.0 libgpm.so.1 libgthread-2.0.so.0 libgtk-x11-2.0.so.0 libICE.so.6 libintl.so.8 libjpeg.so.62 liblcms.so.1 libmng.so.1 libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libmysqlclient.so.16 libodbc.so.1 libpango-1.0.so.0 libpangocairo-1.0.so.0 libpangoft2-1.0.so.0 libpcre.so.0 libpixman-1.so.0 libpng12.so.0 libpoppler.so.7 libpq.so.5 libpthread.so.0 libpthread.so.0(GLIBC_2.0) libpthread.so.0(GLIBC_2.1) libpthread.so.0(GLIBC_2.2) libqt-mt.so.3 libresolv.so.2 librsvg-2.so.2 librt.so.1 libSDL-1.2.so.0 libSDL_image-1.2.so.0 libSDL_mixer-1.2.so.0 libslang.so.2 libSM.so.6 libsqlite3.so.0 libsqlite.so.0 libstdc++.so.6 libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.14) libstdc++.so.6(GLIBCXX_3.4.9) libX11.so.6 libXau.so.6 libxcb.so.1 libXcursor.so.1 libXdmcp.so.6 libXext.so.6 libXfixes.so.3 libXft.so.2 libXinerama.so.1 libxml2.so.2 libXrandr.so.2 libXrender.so.1 libxslt.so.1 libXtst.so.6 libXxf86dga.so.1 libz.so.1 Suggest you check them all off and try another ./configure -C By the way, your reconf-all seems OK so there is no need to re-run it But until you can get all the gambas components requirements resolved to configure's satisfaction, there is no need to run the make. Finally, these are all pclos problems, not gambas, so I suggest you contact me off the list so we don't clutter it up further. regards Bruce From gambas at ...2524... Mon Dec 19 18:13:45 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 17:13:45 +0000 Subject: [Gambas-user] Issue 142 in gambas: Graphical bug with labels. In-Reply-To: <0-6813199134517018827-15905778346027353566-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15905778346027353566-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15905778346027353566-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 142 by benoit.m... at ...626...: Graphical bug with labels. http://code.google.com/p/gambas/issues/detail?id=142 It should be better with revision #4295, *but*: "Transparent" Pictures are not really transparent, but use a bitmap mask. So, when drawing text inside a "transparent" picture, a mask is created that surrounds the text. But the text is anti-aliased, so some pixels are a mix between the text color and the picture background, which is can be random with a transparent picture (as its data is not initialized). So you may have random pixels around the text. If you need an intermediate buffer to draw your text, you can use an Image and the Paint class in Gambas 3. Image can have an real alpha channel. From gambas at ...2524... Mon Dec 19 21:08:50 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 19 Dec 2011 20:08:50 +0000 Subject: [Gambas-user] Issue 160 in gambas: IS NOT A BUG - Requirement connection timeout Message-ID: <0-6813199134517018827-7587119918313042939-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 160 by flynetin... at ...626...: IS NOT A BUG - Requirement connection timeout http://code.google.com/p/gambas/issues/detail?id=160 I need to specify how long it takes to show the error when I try a connection to the db Normally in other languages ??is possible to specify the timeout. Currently, gambas has a default time too long for my taste. If the database server does not respond, it takes over 30 seconds to return the error. Thanks From Karl.Reinl at ...2345... Tue Dec 20 00:45:04 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 20 Dec 2011 00:45:04 +0100 Subject: [Gambas-user] sending a PDF file to printer Message-ID: <1324338304.6326.14.camel@...40...> Salut, is it possible to send a PDF file to a printer (with full printer dialog and/or without printer dialog) in gambas3 (not by shell or exec)? Does anybody made it ? -- Amicalement Charlie From gambas at ...2524... Tue Dec 20 09:14:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 08:14:07 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken Message-ID: <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 161 by adamn... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 1) Describe the problem. at least in gb.report/Tests/Test.module Public Sub Main() Dim hReport As New Report11 <==== no such thing Dim hLabel As ReportLabel 'hReport.Padding = ReportPadding["2cm"] 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4296 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. make install 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Dec 20 09:21:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 08:21:13 +0000 Subject: [Gambas-user] Issue 156 in gambas: Do not copied controls at form In-Reply-To: <1-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> <0-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Comment #2 on issue 156 by bespalov... at ...626...: Do not copied controls at form http://code.google.com/p/gambas/issues/detail?id=156 Yes, it is problem the my linux at work. Home it is problem cannot reproduce... Close item. From gambas at ...2524... Tue Dec 20 11:11:57 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 10:11:57 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <7-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #8 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Trying to debug the issue: cd ~/src/gambas/trunk/app/src/gambas3 gdb gbx3 GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/gbx3...done. (gdb) run Starting program: /usr/local/bin/gbx3 [Thread debugging using libthread_db enabled] ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file Program exited with code 01. So i try to recompile the src of Gambas3 i cannot get gb.report to be compiled in attach the logs... Thanks Attachments: output.txt 204 KB install.txt 137 KB From gambas at ...2524... Tue Dec 20 12:27:46 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 11:27:46 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <8-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #9 on issue 153 by adamn... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 See issue 161 re the CReportBrush problem From gambas at ...2524... Tue Dec 20 12:31:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 11:31:48 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #1 on issue 161 by adamn... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 Something seriously bad has happened. The IDE wont run. [bb at ...2711... src]$ gbx3 gambas3/ ERROR: #2: Cannot load class 'CReportBrush': Unable to load class file I have tried to go back to 4280 but still get this error. I have even make cleaned, make uninstalled, etc etc From gambas at ...2740... Tue Dec 20 14:08:19 2011 From: gambas at ...2740... (=?utf-8?Q?Hamza_Abdelkebir?=) Date: Tue, 20 Dec 2011 14:08:19 +0100 Subject: [Gambas-user] Client/Server Application with Gambas Message-ID: Hi all, I'm trying to develop a clients/server application using gambas. Basically there will be two clients: one is an android app and the other is a desktop app. ? What are the advantages of using sockets or webservices? Does anyone have an idea on how to develop XMLRPC webservices in Gambas? ? Thanks, ? Hamza From gambas at ...2524... Tue Dec 20 16:49:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 15:49:43 +0000 Subject: [Gambas-user] Issue 156 in gambas: Do not copied controls at form In-Reply-To: <2-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> <0-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-6923062157461668583-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 156 by benoit.m... at ...626...: Do not copied controls at form http://code.google.com/p/gambas/issues/detail?id=156 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 20 16:53:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 15:53:48 +0000 Subject: [Gambas-user] Issue 162 in gambas: The IDE system information script cannot be run if /tmp is mounted noexec. Message-ID: <0-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> Status: New Owner: benoit.m... at ...626... Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 162 by benoit.m... at ...626...: The IDE system information script cannot be run if /tmp is mounted noexec. http://code.google.com/p/gambas/issues/detail?id=162 1) Describe the problem. The IDE system information script cannot be run if /tmp is mounted noexec. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK From gambas at ...2524... Tue Dec 20 16:57:50 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 15:57:50 +0000 Subject: [Gambas-user] Issue 162 in gambas: The IDE system information script cannot be run if /tmp is mounted noexec. In-Reply-To: <0-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 162 by benoit.m... at ...626...: The IDE system information script cannot be run if /tmp is mounted noexec. http://code.google.com/p/gambas/issues/detail?id=162 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 20 17:01:53 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 16:01:53 +0000 Subject: [Gambas-user] Issue 160 in gambas: IS NOT A BUG - Requirement connection timeout In-Reply-To: <0-6813199134517018827-7587119918313042939-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7587119918313042939-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7587119918313042939-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 160 by benoit.m... at ...626...: IS NOT A BUG - Requirement connection timeout http://code.google.com/p/gambas/issues/detail?id=160 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 20 17:05:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 16:05:54 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <1-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #2 on issue 161 by benoit.m... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 The compilation and installation have failed: please provide the full output of them! From gambas at ...2524... Tue Dec 20 17:09:56 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 16:09:56 +0000 Subject: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8 In-Reply-To: <0-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-TRUNK Comment #1 on issue 159 by benoit.m... at ...626...: No Toolbox after warning about el_GR.utf8 http://code.google.com/p/gambas/issues/detail?id=159 Please provide a IDE screenshot of what you mean by "not visible". From gambas at ...2524... Tue Dec 20 17:13:57 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 16:13:57 +0000 Subject: [Gambas-user] Issue 134 in gambas: gb.report not work properly In-Reply-To: <2-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> <0-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8916742290594799344-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #3 on issue 134 by benoit.m... at ...626...: gb.report not work properly http://code.google.com/p/gambas/issues/detail?id=134 (No comment was entered for this change.) From jferreira at ...2188... Tue Dec 20 17:09:35 2011 From: jferreira at ...2188... (JOHN FERREIRA) Date: Tue, 20 Dec 2011 08:09:35 -0800 (PST) Subject: [Gambas-user] (no subject) Message-ID: <1324397375.67488.YahooMailRC@...2743...> Please remove my email address, I no longer wish to receive gambas updates. Thanx From gambas at ...2524... Tue Dec 20 17:23:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 16:23:05 +0000 Subject: [Gambas-user] Issue 163 in gambas: Events and ByRef Message-ID: <0-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 163 by emil.len... at ...626...: Events and ByRef http://code.google.com/p/gambas/issues/detail?id=163 1) Describe the problem. The Event declaration allows ByRef: Event ev(ByRef a As Integer) However, the Raise statement does not allow ByRef: Raise ev(ByRef a) Compiler says: "Unexpected ByRef" 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 3) Provide a little project that reproduces the bug or the crash. 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! Either allow the use of ByRef in Event raising, or throw an error when ByRef is encountered in an Event declaration. From ron at ...1740... Tue Dec 20 18:22:00 2011 From: ron at ...1740... (Ron) Date: Tue, 20 Dec 2011 18:22:00 +0100 Subject: [Gambas-user] Client/Server Application with Gambas In-Reply-To: References: Message-ID: Hi Hamza, I use XMLRPC in my Gambas project. http://www.domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa/CXMLRPC.class Look here for simple android, web and iphone clients using xmlrpc/json: http://www.domotiga.nl/projects/domotiga/repository/show/trunk/webclients I also watched websockets, done nothing with them yet. If you have any ideas/experience please share them with me if you want. Regards, Ron_2nd. 2011/12/20 Hamza Abdelkebir > Hi all, > > I'm trying to develop a clients/server application using gambas. > > Basically there will be two clients: one is an android app and the other > is a desktop app. > > > What are the advantages of using sockets or webservices? > > Does anyone have an idea on how to develop XMLRPC webservices in Gambas? > > > Thanks, > > > Hamza > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Dec 20 20:01:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 19:01:07 +0000 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. Message-ID: <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 164 by jussi.la... at ...626...: With GTK+ DrawingArea doesn't raise _Draw event. http://code.google.com/p/gambas/issues/detail?id=164 1) Describe the problem. With GTK+ DrawingArea doesn't raise _Draw event. Demonstration project attached. No problems with Qt4. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4297 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: XFCE Attachments: GraphBug-0.0.2.tar.gz 4.9 KB From gambas at ...2524... Tue Dec 20 20:11:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 19:11:27 +0000 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. In-Reply-To: <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Comment #1 on issue 164 by gambas... at ...626...: With GTK+ DrawingArea doesn't raise _Draw event. http://code.google.com/p/gambas/issues/detail?id=164 Hi, Cached property of DrawingArea must be set to false ! From gambas at ...2524... Tue Dec 20 20:25:42 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 19:25:42 +0000 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. In-Reply-To: <1-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Comment #2 on issue 164 by jussi.la... at ...626...: With GTK+ DrawingArea doesn't raise _Draw event. http://code.google.com/p/gambas/issues/detail?id=164 I don't think that is the solution, as controls should behave similarly in all environments. From gambas at ...2524... Tue Dec 20 20:33:49 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 20 Dec 2011 19:33:49 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <2-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #3 on issue 161 by adamn... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 Attached, the make install log. Configure and make are all clean. gbr3, gbx3, gbc3 all run OK. It is only the IDE that seems affected. From the log it appears (around line 2274) that the IDE compiles properly but it wont run properly. Neither in the local dev as shown above nor in /usr/local/bin. Attachments: makelog.txt 135 KB From gambas at ...2524... Wed Dec 21 08:23:25 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 07:23:25 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <9-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #10 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Ok now report compile issue is fixed... so i can send something more about this: [Thread debugging using libthread_db enabled] gb.qt4: warning: unable to load Qt translation: it_IT.UTF-8 [New Thread 0xb787ab70 (LWP 21877)] [New Thread 0xb27ffb70 (LWP 21884)] [Thread 0xb27ffb70 (LWP 21884) exited] _Desktop_Passwords.OpenWallet.29: #27: Cannot load component 'gb.desktop.gnome': cannot find component 1: FMain.tvwProject_Menu.234 [Thread 0xb787ab70 (LWP 21877) exited] Program exited with code 01. (gdb) bt No stack. -------------------- So i try valgrind in attach the output... Attachments: valgrind.out 1.9 KB From gambas at ...2524... Wed Dec 21 08:34:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 07:34:27 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <10-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #11 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 FYI in a try i also tried to add the gtk modules to the project, and i remove the qt4 relate lib modules due incompatibility with qt4 but i still get same error... From robert1juhasz at ...626... Wed Dec 21 11:14:43 2011 From: robert1juhasz at ...626... (JUHASZ Robert) Date: Wed, 21 Dec 2011 11:14:43 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <4ED5FC45.5000606@...626...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> Message-ID: <1324462483.15555.20.camel@...2425...> Hello List, I didn't succeed to recover my gambas2 despite of trying all the proposals. Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new install. Also installed the latest gambas2. After installation it worked properly including the Eval function. Then, I installed one of my programs (.deb file created on Ubuntu 11.04 when gambas2 still worked). I could launch the program but the Eval function didn't work. When I tried to open the project from gambas2 for recompiling I had exactly the same issue as the last time under 11.04: gambas2 didn't start and gave the famous message: "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library file" I had some difficulties to remove my program (hoping that it recovers gambas2), finally succeeded from synaptic but gambas2 still doesn't work. Very probably it's the installation of the program developed in gambas2 which created the problem but I have no idea how to deal with the problem. It would be great to understand and solve this issue. Thanks for the help. Robi -----Original Message----- From: Norbert Szenogr?di To: mailing list for gambas users , robert1juhasz at ...626... Subject: Re: [Gambas-user] problems after ubuntu 11.04 update Date: Wed, 30 Nov 2011 10:49:57 +0100 Hello Robert, You can try Kendek's ppa repository: https://launchpad.net/~nemh/+ppa-packages I hope this help for your problem. Robi: pr?b?ld meg Kendek ppa t?rol?j?t, rem?lem megoldja a probl?m?d :-) ?dv.: Sevoir 2011-11-30 10:28 keltez?ssel, JUHASZ Robert ?rta: > Thanks for your instructions Jussi, I tried to follow them. > However I still receive the same error message as before. > > I attached the log file. > > Thanks for any help. > > Robi > > -----Original Message----- > From: Jussi Lahtinen > Reply-to: mailing list for gambas users > > To: mailing list for gambas users > Subject: Re: [Gambas-user] problems after ubuntu 11.04 update > Date: Tue, 29 Nov 2011 17:32:40 +0200 > > > Not sure what is going on, but I have had similar problems. > > 1. Stop all gambas processes, and run these commands: > sudo rm -f /usr/local/bin/gbx2 /usr/local/bin/gbc2 /usr/local/bin/gba2 > /usr/local/bin/gbi2 > sudo rm -rf /usr/local/lib/gambas2 > sudo rm -rf /usr/local/share/gambas2 > > 2. Delete old sources and download new ones to make sure you have > non-corrupted sources. > > 3. Compile: > ( ./reconf-all && ./configure -C && make && sudo make install ) > > ~/Desktop/compile.log 2>&1 > > 4. If problem persist send packed compile.log (tar.gz) to the list. > > Jussi > > > > > On Tue, Nov 29, 2011 at 11:42, JUHASZ Robert wrote: > > > > Hello, > > > > I updated my gambas2 to the latest revision 2 days ago and was perfectly > > happy as the eval function works again. > > This morning an automatic update of my OS (Ubuntu 11.04, 32bit) was > > performed which was a "big" update (with an updated kernel to > > 2.6.38-13). > > > > After the update my programs (developed in gambas2 and installed - so > > not running from the IDE) again don't work properly, especially the eval > > function. > > I tried to check the error from the IDE but the gambas IDE doesn't > > start. The error message is "ERROR: #27: Cannot load component > > 'gb.form.dialog': cannot find library file". > > > > I reconfigured and recompiled gambas but it didn't help. > > I also updated to the latest revision from svn, reconfigured, > > reinstalled but it didn't solve the issue. > > > > Can you please help in this matter. Did anyone else meet the same > > problem? > > > > Thx, > > Robi > > > > > > ------------------------------------------------------------------------------ > > All the data continuously generated in your IT infrastructure > > contains a definitive record of customers, application performance, > > security threats, fraudulent activity, and more. Splunk takes this > > data and makes sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-novd2d > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From ea7dfh at ...2382... Wed Dec 21 18:05:59 2011 From: ea7dfh at ...2382... (Jesus) Date: Wed, 21 Dec 2011 18:05:59 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <1324462483.15555.20.camel@...2425...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> Message-ID: <4EF211F7.5050702@...2382...> El 21/12/11 11:14, JUHASZ Robert escribi?: > Hello List, > > I didn't succeed to recover my gambas2 despite of trying all the > proposals. > Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new > install. > Also installed the latest gambas2. > > After installation it worked properly including the Eval function. > > Then, I installed one of my programs (.deb file created on Ubuntu 11.04 > when gambas2 still worked). > I could launch the program but the Eval function didn't work. > > When I tried to open the project from gambas2 for recompiling I had > exactly the same issue as the last time under 11.04: gambas2 didn't > start and gave the famous message: > "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library > file" > > I had some difficulties to remove my program (hoping that it recovers > gambas2), finally succeeded from synaptic but gambas2 still doesn't > work. > > Very probably it's the installation of the program developed in gambas2 > which created the problem but I have no idea how to deal with the > problem. > > It would be great to understand and solve this issue. Thanks for the > help. > > Robi Hi I'm sure this is a problem related to mixing two kind of installations: Gambas IDE (and all its components) from sources and parts of gambas coming from repositories (those who your deb package installs). Since compiled sources result in a set of binaries located at /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, unlike packages installed from repository that are placed in /usr/bin, /usr/lib/gambas2 and /usr/share/gambas2. This means that the two paths, compiled vs repositories, are in the environment path. Probably, binaries differ each other, but then the system is using -in your case, it seems- the older ones. >From the beginning of Gambas I'm aware of this, so it's not a good idea to install deb packages made by the gambas IDE in a computer having Gambas installed by compiling from the latest SVN. Hope you will understand, my English is not as good as I'd like. Regards -- Jesus Guardon From gambas at ...2524... Wed Dec 21 18:43:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 17:43:54 +0000 Subject: [Gambas-user] Issue 163 in gambas: Events and ByRef In-Reply-To: <0-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 163 by benoit.m... at ...626...: Events and ByRef http://code.google.com/p/gambas/issues/detail?id=163 Sorry, ByRef is not allowed with events. The event declaration should not allow it. From gambas at ...2524... Wed Dec 21 18:47:56 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 17:47:56 +0000 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. In-Reply-To: <2-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #3 on issue 164 by benoit.m... at ...626...: With GTK+ DrawingArea doesn't raise _Draw event. http://code.google.com/p/gambas/issues/detail?id=164 Sorry but Qt4 does not raise the event too, when the Cached property is set. This is the intended behaviour. From gambas at ...2524... Wed Dec 21 18:52:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 17:52:01 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <3-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #4 on issue 161 by benoit.m... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 You just give the "make install" output, not the full output of configure and make. And you should give more details about your system, if you have already tried to compile Gambas 3... Anyway I suggest you remove everything of Gambas 3 from your machine and do the entire process again from scratch. You are apparently the only one that has this problem. From gambas.fr at ...626... Wed Dec 21 18:53:46 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 21 Dec 2011 18:53:46 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <4EF211F7.5050702@...2382...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> Message-ID: 2011/12/21 Jesus : > El 21/12/11 11:14, JUHASZ Robert escribi?: >> Hello List, >> >> I didn't succeed to recover my gambas2 despite of trying all the >> proposals. >> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >> install. >> Also installed the latest gambas2. >> >> After installation it worked properly including the Eval function. >> >> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >> when gambas2 still worked). >> I could launch the program but the Eval function didn't work. >> >> When I tried to open the project from gambas2 for recompiling I had >> exactly the same issue as the last time under 11.04: gambas2 didn't >> start and gave the famous message: >> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >> file" >> >> I had some difficulties to remove my program (hoping that it recovers >> gambas2), finally succeeded from synaptic but gambas2 still doesn't >> work. >> >> Very probably it's the installation of the program developed in gambas2 >> which created the problem but I have no idea how to deal with the >> problem. >> >> It would be great to understand and solve this issue. Thanks for the >> help. >> >> Robi > > > Hi > > I'm sure this is a problem related to mixing two kind of installations: > Gambas IDE (and all its components) from sources and parts of gambas > coming from repositories (those who your deb package installs). > > Since compiled sources result in a set of binaries located at > /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, > unlike packages installed from repository that are placed in /usr/bin, > /usr/lib/gambas2 and /usr/share/gambas2. > > This means that the two paths, compiled vs repositories, are in the > environment path. Probably, binaries differ each other, but then the > system is using -in your case, it seems- the older ones. > > From the beginning of Gambas I'm aware of this, so it's not a good idea > to install deb packages made by the gambas IDE in a computer having > Gambas installed by compiling from the latest SVN. > > Hope you will understand, my English is not as good as I'd like. > > Regards > > > -- > Jesus Guardon if it's deb of gb2 program it use gbr2 and executable for gb3 use gbr3... no conflict between those two > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Wed Dec 21 18:57:04 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 17:57:04 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <4-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #5 on issue 161 by gambas... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 everything = in /usr/local/lib/gambas3 /usr/local/bin (gb*) /usr/local/share/gambas3 From robert1juhasz at ...626... Wed Dec 21 18:59:06 2011 From: robert1juhasz at ...626... (JUHASZ Robert) Date: Wed, 21 Dec 2011 18:59:06 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> Message-ID: <1324490346.15555.40.camel@...2425...> I only use gambas2: the executable was also written in gambas2, created a .deb file under 11.04 (before the original issue) and installed on 11.10. This crashed the gambas IDE. Robi -----Original Message----- From: Fabien Bodard Reply-to: mailing list for gambas users To: mailing list for gambas users Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 Date: Wed, 21 Dec 2011 18:53:46 +0100 2011/12/21 Jesus : > El 21/12/11 11:14, JUHASZ Robert escribi?: >> Hello List, >> >> I didn't succeed to recover my gambas2 despite of trying all the >> proposals. >> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >> install. >> Also installed the latest gambas2. >> >> After installation it worked properly including the Eval function. >> >> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >> when gambas2 still worked). >> I could launch the program but the Eval function didn't work. >> >> When I tried to open the project from gambas2 for recompiling I had >> exactly the same issue as the last time under 11.04: gambas2 didn't >> start and gave the famous message: >> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >> file" >> >> I had some difficulties to remove my program (hoping that it recovers >> gambas2), finally succeeded from synaptic but gambas2 still doesn't >> work. >> >> Very probably it's the installation of the program developed in gambas2 >> which created the problem but I have no idea how to deal with the >> problem. >> >> It would be great to understand and solve this issue. Thanks for the >> help. >> >> Robi > > > Hi > > I'm sure this is a problem related to mixing two kind of installations: > Gambas IDE (and all its components) from sources and parts of gambas > coming from repositories (those who your deb package installs). > > Since compiled sources result in a set of binaries located at > /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, > unlike packages installed from repository that are placed in /usr/bin, > /usr/lib/gambas2 and /usr/share/gambas2. > > This means that the two paths, compiled vs repositories, are in the > environment path. Probably, binaries differ each other, but then the > system is using -in your case, it seems- the older ones. > > From the beginning of Gambas I'm aware of this, so it's not a good idea > to install deb packages made by the gambas IDE in a computer having > Gambas installed by compiling from the latest SVN. > > Hope you will understand, my English is not as good as I'd like. > > Regards > > > -- > Jesus Guardon if it's deb of gb2 program it use gbr2 and executable for gb3 use gbr3... no conflict between those two > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Dec 21 19:01:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 18:01:06 +0000 Subject: [Gambas-user] Issue 162 in gambas: The IDE system information script cannot be run if /tmp is mounted noexec. In-Reply-To: <1-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> <0-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14118046143713453125-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 162 by benoit.m... at ...626...: The IDE system information script cannot be run if /tmp is mounted noexec. http://code.google.com/p/gambas/issues/detail?id=162 Fixed in revision #4307. From gambas at ...2524... Wed Dec 21 19:05:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 18:05:08 +0000 Subject: [Gambas-user] Issue 151 in gambas: Gambas3 Quick Variable View in debugging has strange colour In-Reply-To: <1-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> <0-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 151 by benoit.m... at ...626...: Gambas3 Quick Variable View in debugging has strange colour http://code.google.com/p/gambas/issues/detail?id=151 (No comment was entered for this change.) From gambas at ...2524... Wed Dec 21 19:09:17 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 18:09:17 +0000 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. In-Reply-To: <3-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Comment #4 on issue 164 by jussi.la... at ...626...: With GTK+ DrawingArea doesn't raise _Draw event. http://code.google.com/p/gambas/issues/detail?id=164 Yes it does in my computer! Jussi From ea7dfh at ...2382... Wed Dec 21 19:35:48 2011 From: ea7dfh at ...2382... (Jesus) Date: Wed, 21 Dec 2011 19:35:48 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> Message-ID: <4EF22704.9060500@...2382...> El 21/12/11 18:53, Fabien Bodard escribi?: > 2011/12/21 Jesus : >> El 21/12/11 11:14, JUHASZ Robert escribi?: >>> Hello List, >>> >>> I didn't succeed to recover my gambas2 despite of trying all the >>> proposals. >>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>> install. >>> Also installed the latest gambas2. >>> >>> After installation it worked properly including the Eval function. >>> >>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>> when gambas2 still worked). >>> I could launch the program but the Eval function didn't work. >>> >>> When I tried to open the project from gambas2 for recompiling I had >>> exactly the same issue as the last time under 11.04: gambas2 didn't >>> start and gave the famous message: >>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>> file" >>> >>> I had some difficulties to remove my program (hoping that it recovers >>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>> work. >>> >>> Very probably it's the installation of the program developed in gambas2 >>> which created the problem but I have no idea how to deal with the >>> problem. >>> >>> It would be great to understand and solve this issue. Thanks for the >>> help. >>> >>> Robi >> >> >> Hi >> >> I'm sure this is a problem related to mixing two kind of installations: >> Gambas IDE (and all its components) from sources and parts of gambas >> coming from repositories (those who your deb package installs). >> >> Since compiled sources result in a set of binaries located at >> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >> unlike packages installed from repository that are placed in /usr/bin, >> /usr/lib/gambas2 and /usr/share/gambas2. >> >> This means that the two paths, compiled vs repositories, are in the >> environment path. Probably, binaries differ each other, but then the >> system is using -in your case, it seems- the older ones. >> >> From the beginning of Gambas I'm aware of this, so it's not a good idea >> to install deb packages made by the gambas IDE in a computer having >> Gambas installed by compiling from the latest SVN. >> >> Hope you will understand, my English is not as good as I'd like. >> >> Regards >> >> >> -- >> Jesus Guardon > > > if it's deb of gb2 program it use gbr2 and executable for gb3 use > gbr3... no conflict between those two Yes, I know. But I'm talking only about Gambas2 and the differences between the paths where it's installed, depending on the way it's installed. The same will be applicable to Gambas3 when there will be packages in official repositories. The actual conflict comes when you have two versions of the Gambas2 interpreter, etc, in different places in the $PATH. -- Jesus Guardon From gambas at ...2524... Wed Dec 21 20:12:21 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 21 Dec 2011 19:12:21 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float Message-ID: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 165 by jussi.la... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 1) Describe the problem. Dim ff As Float = 2 ^ 23 Print ff Gambas gives result: 8388607.99999999 while expected is 8388608. Floating point (64bit) precision should be enough for accurate result. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4297 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 GUI component: QT4 and GTK+ Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Attached. Attachments: ArithmeticError-0.0.1.tar.gz 4.6 KB From gambas at ...2524... Thu Dec 22 01:33:56 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 00:33:56 +0000 Subject: [Gambas-user] Issue 160 in gambas: Requirement connection timeout In-Reply-To: <1-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <0-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Updates: Summary: Requirement connection timeout Status: Fixed Comment #2 on issue 160 by benoit.m... at ...626...: Requirement connection timeout http://code.google.com/p/gambas/issues/detail?id=160 Done in revision #4309. I added a Connection.Timeout property, that is 20 seconds by default. From robert1juhasz at ...626... Thu Dec 22 07:39:08 2011 From: robert1juhasz at ...626... (JUHASZ Robert) Date: Thu, 22 Dec 2011 07:39:08 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <4EF22704.9060500@...2382...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> <4EF22704.9060500@...2382...> Message-ID: <1324535948.15555.49.camel@...2425...> Hello Jesus, I absolutely understand what you mean and I think that it's a correct explanation. I'll avoid installing programs written in gambas on my main OS in the future and will only do on a testing virtual machine. So understanding and prevention are fine :-) Do you have any idea for the cure? How could I get working my gambas without re-installing the OS? I tries to recompile, also tried to delete the installation files and recompile but it doesn't work. Thx, Robi -----Original Message----- From: Jesus Reply-to: mailing list for gambas users To: mailing list for gambas users Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 Date: Wed, 21 Dec 2011 19:35:48 +0100 El 21/12/11 18:53, Fabien Bodard escribi?: > 2011/12/21 Jesus : >> El 21/12/11 11:14, JUHASZ Robert escribi?: >>> Hello List, >>> >>> I didn't succeed to recover my gambas2 despite of trying all the >>> proposals. >>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>> install. >>> Also installed the latest gambas2. >>> >>> After installation it worked properly including the Eval function. >>> >>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>> when gambas2 still worked). >>> I could launch the program but the Eval function didn't work. >>> >>> When I tried to open the project from gambas2 for recompiling I had >>> exactly the same issue as the last time under 11.04: gambas2 didn't >>> start and gave the famous message: >>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>> file" >>> >>> I had some difficulties to remove my program (hoping that it recovers >>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>> work. >>> >>> Very probably it's the installation of the program developed in gambas2 >>> which created the problem but I have no idea how to deal with the >>> problem. >>> >>> It would be great to understand and solve this issue. Thanks for the >>> help. >>> >>> Robi >> >> >> Hi >> >> I'm sure this is a problem related to mixing two kind of installations: >> Gambas IDE (and all its components) from sources and parts of gambas >> coming from repositories (those who your deb package installs). >> >> Since compiled sources result in a set of binaries located at >> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >> unlike packages installed from repository that are placed in /usr/bin, >> /usr/lib/gambas2 and /usr/share/gambas2. >> >> This means that the two paths, compiled vs repositories, are in the >> environment path. Probably, binaries differ each other, but then the >> system is using -in your case, it seems- the older ones. >> >> From the beginning of Gambas I'm aware of this, so it's not a good idea >> to install deb packages made by the gambas IDE in a computer having >> Gambas installed by compiling from the latest SVN. >> >> Hope you will understand, my English is not as good as I'd like. >> >> Regards >> >> >> -- >> Jesus Guardon > > > if it's deb of gb2 program it use gbr2 and executable for gb3 use > gbr3... no conflict between those two Yes, I know. But I'm talking only about Gambas2 and the differences between the paths where it's installed, depending on the way it's installed. The same will be applicable to Gambas3 when there will be packages in official repositories. The actual conflict comes when you have two versions of the Gambas2 interpreter, etc, in different places in the $PATH. From robert1juhasz at ...626... Thu Dec 22 07:46:51 2011 From: robert1juhasz at ...626... (JUHASZ Robert) Date: Thu, 22 Dec 2011 07:46:51 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <1324535948.15555.49.camel@...2425...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> <4EF22704.9060500@...2382...> <1324535948.15555.49.camel@...2425...> Message-ID: <1324536411.15555.53.camel@...2425...> Cure is OK, too: from synaptic I removed all the installed gambas components and now the IDE works properly. Thank you so much for the help. Robi - ----Original Message----- From: JUHASZ Robert To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 Date: Thu, 22 Dec 2011 07:39:08 +0100 Hello Jesus, I absolutely understand what you mean and I think that it's a correct explanation. I'll avoid installing programs written in gambas on my main OS in the future and will only do on a testing virtual machine. So understanding and prevention are fine :-) Do you have any idea for the cure? How could I get working my gambas without re-installing the OS? I tries to recompile, also tried to delete the installation files and recompile but it doesn't work. Thx, Robi -----Original Message----- From: Jesus Reply-to: mailing list for gambas users To: mailing list for gambas users Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 Date: Wed, 21 Dec 2011 19:35:48 +0100 El 21/12/11 18:53, Fabien Bodard escribi?: > 2011/12/21 Jesus : >> El 21/12/11 11:14, JUHASZ Robert escribi?: >>> Hello List, >>> >>> I didn't succeed to recover my gambas2 despite of trying all the >>> proposals. >>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>> install. >>> Also installed the latest gambas2. >>> >>> After installation it worked properly including the Eval function. >>> >>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>> when gambas2 still worked). >>> I could launch the program but the Eval function didn't work. >>> >>> When I tried to open the project from gambas2 for recompiling I had >>> exactly the same issue as the last time under 11.04: gambas2 didn't >>> start and gave the famous message: >>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>> file" >>> >>> I had some difficulties to remove my program (hoping that it recovers >>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>> work. >>> >>> Very probably it's the installation of the program developed in gambas2 >>> which created the problem but I have no idea how to deal with the >>> problem. >>> >>> It would be great to understand and solve this issue. Thanks for the >>> help. >>> >>> Robi >> >> >> Hi >> >> I'm sure this is a problem related to mixing two kind of installations: >> Gambas IDE (and all its components) from sources and parts of gambas >> coming from repositories (those who your deb package installs). >> >> Since compiled sources result in a set of binaries located at >> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >> unlike packages installed from repository that are placed in /usr/bin, >> /usr/lib/gambas2 and /usr/share/gambas2. >> >> This means that the two paths, compiled vs repositories, are in the >> environment path. Probably, binaries differ each other, but then the >> system is using -in your case, it seems- the older ones. >> >> From the beginning of Gambas I'm aware of this, so it's not a good idea >> to install deb packages made by the gambas IDE in a computer having >> Gambas installed by compiling from the latest SVN. >> >> Hope you will understand, my English is not as good as I'd like. >> >> Regards >> >> >> -- >> Jesus Guardon > > > if it's deb of gb2 program it use gbr2 and executable for gb3 use > gbr3... no conflict between those two Yes, I know. But I'm talking only about Gambas2 and the differences between the paths where it's installed, depending on the way it's installed. The same will be applicable to Gambas3 when there will be packages in official repositories. The actual conflict comes when you have two versions of the Gambas2 interpreter, etc, in different places in the $PATH. From gambas.fr at ...626... Thu Dec 22 08:25:03 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 22 Dec 2011 08:25:03 +0100 Subject: [Gambas-user] Issue 164 in gambas: With GTK+ DrawingArea doesn't raise _Draw event. In-Reply-To: <4-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> <3-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> <4-6813199134517018827-15831161683667403643-gambas=googlecode.com@...2524...> Message-ID: 2011/12/21 : > > Comment #4 on issue 164 by jussi.la... at ...626...: With GTK+ DrawingArea > doesn't raise _Draw event. > http://code.google.com/p/gambas/issues/detail?id=164 > > Yes it does in my computer! > > Jussi > so it's qt4 that have a problem on your machine > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From marcobra.ubuntu at ...626... Thu Dec 22 08:35:48 2011 From: marcobra.ubuntu at ...626... (marco bra) Date: Thu, 22 Dec 2011 08:35:48 +0100 Subject: [Gambas-user] Issue 160 in gambas: Requirement connection timeout In-Reply-To: <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <1-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Message-ID: 2011/12/22 : > Updates: > ? ? ? ?Summary: Requirement connection timeout > ? ? ? ?Status: Fixed > > Comment #2 on issue 160 by benoit.m... at ...626...: Requirement connection > timeout > http://code.google.com/p/gambas/issues/detail?id=160 > > Done in revision #4309. I added a Connection.Timeout property, that is 20 > seconds by default. > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Fyi in my daily test: with gambas3 svn build 4312 i get a wrong timeout option connection creating new postgresql connection ( postgresql-8.3 ) Thanks -- Linux Infinite Freedom From gambas at ...2524... Thu Dec 22 11:53:10 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 10:53:10 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. Message-ID: <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 166 by oonthew... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 1) Describe the problem. With Qt4 DrawingArea raises _Draw event when cached property is set. This creates inconsistency between Qt4 and GTK+ of how DrawingArea behaves. See issue 164. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4297 Operating system: Linux Distribution: Xubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: XFCE 3) Provide a little project that reproduces the bug or the crash. Attached. Attachments: GraphBug-0.0.2.tar.gz 4.9 KB From gambas at ...2524... Thu Dec 22 11:57:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 10:57:12 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. In-Reply-To: <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Comment #1 on issue 166 by oonthew... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 Sorry, GUI component: Qt4 Of course... From gambas at ...2524... Thu Dec 22 12:05:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 11:05:13 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. In-Reply-To: <1-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Comment #2 on issue 166 by oonthew... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 And you need to change gb.gtk to gb.qt4 in GraphBug-0.0.2. I cannot do it with damn windows machine I'm forced to work with. Sorry again. From ea7dfh at ...2382... Thu Dec 22 14:50:29 2011 From: ea7dfh at ...2382... (Jesus) Date: Thu, 22 Dec 2011 14:50:29 +0100 Subject: [Gambas-user] problems after ubuntu 11.04 update --> same under 11.10 In-Reply-To: <1324536411.15555.53.camel@...2425...> References: <1322559777.1998.11.camel@...2425...> <1322645339.2052.61.camel@...2425...> <4ED5FC45.5000606@...626...> <1324462483.15555.20.camel@...2425...> <4EF211F7.5050702@...2382...> <4EF22704.9060500@...2382...> <1324535948.15555.49.camel@...2425...> <1324536411.15555.53.camel@...2425...> Message-ID: <4EF335A5.3030108@...2382...> El 22/12/11 07:46, JUHASZ Robert escribi?: > Cure is OK, too: from synaptic I removed all the installed gambas > components and now the IDE works properly. > Thank you so much for the help. > > Robi Good to know, Robi. I was confident enough of this. Best regards! -- Jesus Guardon > - > ----Original Message----- > From: JUHASZ Robert > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same > under 11.10 > Date: Thu, 22 Dec 2011 07:39:08 +0100 > > Hello Jesus, > > I absolutely understand what you mean and I think that it's a correct > explanation. I'll avoid installing programs written in gambas on my main > OS in the future and will only do on a testing virtual machine. > So understanding and prevention are fine :-) > > Do you have any idea for the cure? How could I get working my gambas > without re-installing the OS? > I tries to recompile, also tried to delete the installation files and > recompile but it doesn't work. > > Thx, > Robi > > -----Original Message----- > From: Jesus > Reply-to: mailing list for gambas users > > To: mailing list for gambas users > Subject: Re: [Gambas-user] problems after ubuntu 11.04 update --> same > under 11.10 > Date: Wed, 21 Dec 2011 19:35:48 +0100 > > > El 21/12/11 18:53, Fabien Bodard escribi?: >> 2011/12/21 Jesus : >>> El 21/12/11 11:14, JUHASZ Robert escribi?: >>>> Hello List, >>>> >>>> I didn't succeed to recover my gambas2 despite of trying all the >>>> proposals. >>>> Anyhow I wanted to upgrade to Ubuntu 11.10, so I made a brand new >>>> install. >>>> Also installed the latest gambas2. >>>> >>>> After installation it worked properly including the Eval function. >>>> >>>> Then, I installed one of my programs (.deb file created on Ubuntu 11.04 >>>> when gambas2 still worked). >>>> I could launch the program but the Eval function didn't work. >>>> >>>> When I tried to open the project from gambas2 for recompiling I had >>>> exactly the same issue as the last time under 11.04: gambas2 didn't >>>> start and gave the famous message: >>>> "ERROR: #27: Cannot load component 'gb.form.dialog': cannot find library >>>> file" >>>> >>>> I had some difficulties to remove my program (hoping that it recovers >>>> gambas2), finally succeeded from synaptic but gambas2 still doesn't >>>> work. >>>> >>>> Very probably it's the installation of the program developed in gambas2 >>>> which created the problem but I have no idea how to deal with the >>>> problem. >>>> >>>> It would be great to understand and solve this issue. Thanks for the >>>> help. >>>> >>>> Robi >>> >>> >>> Hi >>> >>> I'm sure this is a problem related to mixing two kind of installations: >>> Gambas IDE (and all its components) from sources and parts of gambas >>> coming from repositories (those who your deb package installs). >>> >>> Since compiled sources result in a set of binaries located at >>> /usr/local/bin, /usr/local/lib/gambas2 and /usr/local/share/gambas2, >>> unlike packages installed from repository that are placed in /usr/bin, >>> /usr/lib/gambas2 and /usr/share/gambas2. >>> >>> This means that the two paths, compiled vs repositories, are in the >>> environment path. Probably, binaries differ each other, but then the >>> system is using -in your case, it seems- the older ones. >>> >>> From the beginning of Gambas I'm aware of this, so it's not a good idea >>> to install deb packages made by the gambas IDE in a computer having >>> Gambas installed by compiling from the latest SVN. >>> >>> Hope you will understand, my English is not as good as I'd like. >>> >>> Regards >>> >>> >>> -- >>> Jesus Guardon >> >> >> if it's deb of gb2 program it use gbr2 and executable for gb3 use >> gbr3... no conflict between those two > > > Yes, I know. But I'm talking only about Gambas2 and the differences > between the paths where it's installed, depending on the way it's installed. > > The same will be applicable to Gambas3 when there will be packages in > official repositories. > > The actual conflict comes when you have two versions of the Gambas2 > interpreter, etc, in different places in the $PATH. > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Jesus Guardon From gambas at ...2524... Thu Dec 22 15:54:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 14:54:43 +0000 Subject: [Gambas-user] Issue 160 in gambas: Requirement connection timeout In-Reply-To: <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <0-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Comment #3 on issue 160 by flynetin... at ...626...: Requirement connection timeout http://code.google.com/p/gambas/issues/detail?id=160 I will use immediately. Excellent work. Thanks From nando_f at ...951... Thu Dec 22 17:19:53 2011 From: nando_f at ...951... (nando) Date: Thu, 22 Dec 2011 12:19:53 -0400 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <20111222161410.M18896@...951...> Personally, I do not see this as a problem for a float doing this calculation. Since it is transcendental function, this will happen. Plus, float is not 64 bits of precision, it is 52 bits. I suggest use INT or LONG This type of round-off error goes back to the beginning of time -Fernando ---------- Original Message ----------- From: gambas at ...2524... To: gambas-user at lists.sourceforge.net Sent: Wed, 21 Dec 2011 19:12:21 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float > Status: New > Owner: ---- > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > Desktop-Any GUI-Any > > New issue 165 by jussi.la... at ...626...: Arithmetic problem with float > http://code.google.com/p/gambas/issues/detail?id=165 > > 1) Describe the problem. > > Dim ff As Float = 2 ^ 23 > > Print ff > > Gambas gives result: 8388607.99999999 while expected is 8388608. > Floating point (64bit) precision should be enough for accurate result. > > 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): > > Version: TRUNK > Revision: r4297 > Operating system: Linux > Distribution: Xubuntu > Architecture: x86_64 > GUI component: QT4 and GTK+ > Desktop used: XFCE > > 3) Provide a little project that reproduces the bug or the crash. > > Attached. > > Attachments: > ArithmeticError-0.0.1.tar.gz 4.6 KB > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From jussi.lahtinen at ...626... Thu Dec 22 17:55:09 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 22 Dec 2011 18:55:09 +0200 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <20111222161410.M18896@...951...> References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <20111222161410.M18896@...951...> Message-ID: I know limitations of floats. I reported this since I found it weird mostly because of it doesn't happen with equivalent C function with equivalent variable type. So, maybe there is hiding error. double a = pow(2,23); printf ("%f\n", a); Jussi On Thu, Dec 22, 2011 at 18:19, nando wrote: > Personally, I do not see this as a problem for a float doing this > calculation. > Since it is transcendental function, this will happen. > Plus, float is not 64 bits of precision, it is 52 bits. > I suggest use INT or LONG > This type of round-off error goes back to the beginning of time > -Fernando > > ---------- Original Message ----------- > From: gambas at ...2524... > To: gambas-user at lists.sourceforge.net > Sent: Wed, 21 Dec 2011 19:12:21 +0000 > Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float > > > Status: New > > Owner: ---- > > Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any > > Desktop-Any GUI-Any > > > > New issue 165 by jussi.la... at ...626...: Arithmetic problem with float > > http://code.google.com/p/gambas/issues/detail?id=165 > > > > 1) Describe the problem. > > > > Dim ff As Float = 2 ^ 23 > > > > Print ff > > > > Gambas gives result: 8388607.99999999 while expected is 8388608. > > Floating point (64bit) precision should be enough for accurate result. > > > > 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): > > > > Version: TRUNK > > Revision: r4297 > > Operating system: Linux > > Distribution: Xubuntu > > Architecture: x86_64 > > GUI component: QT4 and GTK+ > > Desktop used: XFCE > > > > 3) Provide a little project that reproduces the bug or the crash. > > > > Attached. > > > > Attachments: > > ArithmeticError-0.0.1.tar.gz 4.6 KB > > > > > ------------------------------------------------------------------------------ > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Dec 22 18:56:57 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 17:56:57 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Priority-Medium Version-TRUNK Priority-Low Comment #1 on issue 165 by benoit.m... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 I think the problem is in the float to string conversion. Internally the value seems to be accurate (?2^23-8388608 returns 0). From willy at ...2734... Thu Dec 22 18:43:11 2011 From: willy at ...2734... (Willy Raets) Date: Thu, 22 Dec 2011 18:43:11 +0100 Subject: [Gambas-user] Me.Top and Me.left not working with gb.qt on Gambas 2.22!! Message-ID: <1324575791.2426.8.camel@...2735...> Hi All, In an application I'm building I got into trouble with Me.Left and Me.Top not doing what they should do. When using Me.Center and then showing Me.Top and Me.Left values in a Message they turn up zero !!! So I did some investigation on the matter in a little TestApp. Turns out that when using gb.gtk is works fine. Me.Center followed my message ginving Me.Top and Me.Left returns correct values When doing the same thing with gb.qt things don't work. Me.Top and Me.left return zero!!! Any idea on how to handle this? I added a .tar containing systeminfo and two source archives. One for the TestAppGTK, the other for the TestAppQT I'm on Ubuntu 10.10 Maverick, desktop Gnome, Gambas 2.22 Willy -------------- next part -------------- A non-text attachment was scrubbed... Name: TestApp.tar Type: application/x-tar Size: 20480 bytes Desc: not available URL: From gambas at ...2524... Thu Dec 22 19:10:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 18:10:08 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <1-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Comment #2 on issue 165 by jussi.la... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 Not sure. Dim ff As Float ff = Log2(536870912) Print ff ff = CInt(Log2(536870912)) Print ff Print Log2(536870912) <> CInt(Log2(536870912)) Result: *29* *29* *True* (expected is False!) Again, behaviour tested with C. double a = log2(536870912); printf ("%10.52f \n", a); Jussi From gambas at ...2524... Thu Dec 22 19:14:10 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 18:14:10 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <2-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Comment #3 on issue 165 by jussi.la... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 Or do I file another bug report? Jussi From gambas at ...2524... Thu Dec 22 19:36:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 18:36:24 +0000 Subject: [Gambas-user] Issue 163 in gambas: Events and ByRef In-Reply-To: <1-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> <0-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4251619817061902639-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 163 by benoit.m... at ...626...: Events and ByRef http://code.google.com/p/gambas/issues/detail?id=163 Fixed in revision #4316. From gambas at ...1... Thu Dec 22 19:41:23 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 22 Dec 2011 19:41:23 +0100 Subject: [Gambas-user] Issue 160 in gambas: Requirement connection timeout In-Reply-To: References: <0-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <1-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> <2-6813199134517018827-14760201267685482749-gambas=googlecode.com@...2524...> Message-ID: <4EF379D3.1050106@...1...> Le 22/12/2011 08:35, marco bra a ?crit : > > Fyi in my daily test: > > with gambas3 svn build 4312 i get a wrong timeout option connection > creating new postgresql connection ( postgresql-8.3 ) > > Thanks > It should be fixed in revision #4317. Regards, -- Beno?t Minisini From gambas at ...2524... Thu Dec 22 19:46:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 18:46:29 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. In-Reply-To: <2-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Comment #3 on issue 166 by jussi.la... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 Proper demonstration project attached. Attachments: GraphBug-0.0.3.tar.gz 4.8 KB From gambas at ...2524... Thu Dec 22 20:02:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 22 Dec 2011 19:02:37 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <3-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Comment #4 on issue 165 by benoit.m... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 ?8388608.0 8388607,99999999 So I think the problem is in the Float->String conversion (which does not use the C library). From gambas at ...2524... Fri Dec 23 02:02:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 01:02:09 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. In-Reply-To: <3-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -GUI-Any Version-TRUNK GUI-QT4 Comment #4 on issue 166 by benoit.m... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 (No comment was entered for this change.) From gambas at ...2524... Fri Dec 23 02:07:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 01:07:12 +0000 Subject: [Gambas-user] Issue 166 in gambas: With Qt4 DrawingArea raises _Draw event when cached property is set. In-Reply-To: <4-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> <0-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1559179624630579944-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 166 by benoit.m... at ...626...: With Qt4 DrawingArea raises _Draw event when cached property is set. http://code.google.com/p/gambas/issues/detail?id=166 Fixed in revision #4321. From gambas at ...2524... Fri Dec 23 02:36:34 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 01:36:34 +0000 Subject: [Gambas-user] Issue 151 in gambas: Gambas3 Quick Variable View in debugging has strange colour In-Reply-To: <2-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> <0-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 151 by benoit.m... at ...626...: Gambas3 Quick Variable View in debugging has strange colour http://code.google.com/p/gambas/issues/detail?id=151 It should be fixed in revision #4322. From ron at ...1740... Fri Dec 23 12:14:08 2011 From: ron at ...1740... (Ron) Date: Fri, 23 Dec 2011 12:14:08 +0100 Subject: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8 In-Reply-To: <1-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> <1-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Message-ID: I had the same problem, it's there, but hidden by default (click the arrows on right side and bottom of the IDE screen to see it, when in form mode) There use to be a toolbar icon in gambas2 who made the toolbox visible with one click, but it's not there anymore in gambas3, better re-add it to take away the confusion. Regards, Ron_2nd. 2011/12/20 > Updates: > Status: NeedsInfo > Labels: -Version Version-TRUNK > > Comment #1 on issue 159 by benoit.m... at ...626...: No Toolbox after warning > about el_GR.utf8 > http://code.google.com/p/gambas/issues/detail?id=159 > > Please provide a IDE screenshot of what you mean by "not visible". > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Fri Dec 23 12:45:00 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 23 Dec 2011 12:45:00 +0100 Subject: [Gambas-user] Gambas 3 TableView Column.Width doesn't react Message-ID: <4EF469BC.7070708@...221...> Finally I got a running Gambas3 (rc 6 download) on my laptop. So far, everything runs ok, but there is one thing I couldn't solve yet. I tried one smaller project I started under Gambas2, converted it and let it run. Conversion was smooth (congratulations for that, amazing thing, though it should warn the user it saves the converted sources into the original files). Under LXDE (gtk+) as well as under KDE4 (qt4) the TableView doesn't care about Column.Width indications which looks somewhat silly. Is there anything additional in Gambas3 I have to observe to make sure the columns are adjusted by code? Thanks for your help. Regards Rolf From eilert-sprachen at ...221... Fri Dec 23 12:48:20 2011 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 23 Dec 2011 12:48:20 +0100 Subject: [Gambas-user] Online help in Gambas3 Message-ID: <4EF46A84.5080102@...221...> There is one more thing I would like to mention about Gambas3. When the computer is not online, I found there is no help text. Maybe it would be useful to have a basic help stored locally in case there is no internet available. And it might be nice to be able to update it from time to time. What do you think? Rolf From tobiasboe1 at ...20... Fri Dec 23 13:32:49 2011 From: tobiasboe1 at ...20... (tobias) Date: Fri, 23 Dec 2011 13:32:49 +0100 Subject: [Gambas-user] MovieBox Message-ID: <4EF474F1.8050206@...20...> hi, i forward a question about MovieBox: --- i try to write some demonstration code for MovieBox for some hours now. the project is attached and working so far but there are error reports in the ide console: MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 the last errors are certainly as numerous as there are pictures in the /tanzen.gif/ file? i converted the picture using the program convert which normally works very reliably. --- i myself haven't taken a look on the sources i attached because it seems to be an issue concerning the MovieBox code or a library...? regards, tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: MovieBox-0.0.9.tar.gz Type: application/gzip Size: 30537 bytes Desc: not available URL: From gambas at ...2524... Fri Dec 23 13:33:38 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 12:33:38 +0000 Subject: [Gambas-user] Issue 151 in gambas: Gambas3 Quick Variable View in debugging has strange colour In-Reply-To: <3-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> <0-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-16788830591403126409-gambas=googlecode.com@...2524...> Comment #4 on issue 151 by ron.mcin... at ...626...: Gambas3 Quick Variable View in debugging has strange colour http://code.google.com/p/gambas/issues/detail?id=151 Thanks Benoit - fast work. Ron From willy at ...2734... Fri Dec 23 14:50:14 2011 From: willy at ...2734... (Willy Raets) Date: Fri, 23 Dec 2011 14:50:14 +0100 Subject: [Gambas-user] Me.Top and Me.left not working with gb.qt on Gambas 2.22!! In-Reply-To: <1324575791.2426.8.camel@...2735...> References: <1324575791.2426.8.camel@...2735...> Message-ID: <1324648214.3888.1.camel@...2735...> Any help here please, I'm stuck. Is this a know issue with the gb.qt components in Gambas 2? Willy On do, 2011-12-22 at 18:43 +0100, Willy Raets wrote: > Hi All, > > In an application I'm building I got into trouble with Me.Left and > Me.Top not doing what they should do. > When using Me.Center and then showing Me.Top and Me.Left values in a > Message they turn up zero !!! > > So I did some investigation on the matter in a little TestApp. > > Turns out that when using gb.gtk is works fine. > Me.Center followed my message ginving Me.Top and Me.Left returns correct > values > When doing the same thing with gb.qt things don't work. > Me.Top and Me.left return zero!!! > > Any idea on how to handle this? > > I added a .tar containing systeminfo and two source archives. > One for the TestAppGTK, the other for the TestAppQT > > I'm on Ubuntu 10.10 Maverick, desktop Gnome, Gambas 2.22 > > Willy > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From santiago_j_oberto at ...1877... Fri Dec 23 16:34:12 2011 From: santiago_j_oberto at ...1877... (Santiago Oberto) Date: Fri, 23 Dec 2011 12:34:12 -0300 Subject: [Gambas-user] A question about how "Frac" works Message-ID: <1324654452.2687.7.camel@...37...> Good Morning! Recently I have been devoloping an application in wich I needed to use several strings and numbers like if they were strings. I have been having a problem with this issue: I realized that when trying to use frac(my_float_number) I don't get the desired result. For instance: Print CString(Frac(5.025)) returns 0.0250000000000004 when I expected to get 0.025... Is this a common behaviour of this function and this is not suited for the pourpose I persuit? I am using Gambas 2.99.3 in a Fedora 14 32-bits Enviroment. Thanks in advanced! From gambas at ...2524... Fri Dec 23 16:37:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 15:37:37 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <4-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Comment #5 on issue 165 by santiago... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 I have posted something similar in the mailing list: Print CString(Frac(5.025)) returns 0.0250000000000004 when I expected to get 0.025... From gambas at ...1... Fri Dec 23 16:37:59 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 16:37:59 +0100 Subject: [Gambas-user] A question about how "Frac" works In-Reply-To: <1324654452.2687.7.camel@...37...> References: <1324654452.2687.7.camel@...37...> Message-ID: <4EF4A057.8020602@...1...> Le 23/12/2011 16:34, Santiago Oberto a ?crit : > Good Morning! > > Recently I have been devoloping an application in wich I needed to use > several strings and numbers like if they were strings. > > I have been having a problem with this issue: > > I realized that when trying to use frac(my_float_number) I don't get the > desired result. For instance: > > Print CString(Frac(5.025)) returns 0.0250000000000004 when I expected to > get 0.025... > > Is this a common behaviour of this function and this is not suited for > the pourpose I persuit? > > I am using Gambas 2.99.3 in a Fedora 14 32-bits Enviroment. > > Thanks in advanced! > This is normal, because 0.025 has no exact binary representation (like 1/3 in decimal). So the fractional part of 5.025 must be approximated by the CPU. Regards, -- Beno?t Minisini From gambas at ...1... Fri Dec 23 16:39:23 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 16:39:23 +0100 Subject: [Gambas-user] MovieBox In-Reply-To: <4EF474F1.8050206@...20...> References: <4EF474F1.8050206@...20...> Message-ID: <4EF4A0AB.2040705@...1...> Le 23/12/2011 13:32, tobias a ?crit : > hi, > > i forward a question about MovieBox: > > --- > i try to write some demonstration code for MovieBox for some hours now. > the project is attached and working so far but there are error reports > in the ide console: > > MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 > > the last errors are certainly as numerous as there are pictures in the > /tanzen.gif/ file? i converted the picture using the program convert > which normally works very reliably. > --- > > i myself haven't taken a look on the sources i attached because it seems > to be an issue concerning the MovieBox code or a library...? > > regards, > tobi > Which toolkit do you use? Where is the project, or at least the movie files? Anyway, if the toolkit cannot decode the files, I won't be able to do anything! -- Beno?t Minisini From gambas at ...1... Fri Dec 23 16:53:34 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 16:53:34 +0100 Subject: [Gambas-user] Gambas 3 TableView Column.Width doesn't react In-Reply-To: <4EF469BC.7070708@...221...> References: <4EF469BC.7070708@...221...> Message-ID: <4EF4A3FE.6010205@...1...> Le 23/12/2011 12:45, Rolf-Werner Eilert a ?crit : > Under LXDE (gtk+) as well as under KDE4 (qt4) the TableView doesn't care > about Column.Width indications which looks somewhat silly. > > Is there anything additional in Gambas3 I have to observe to make sure > the columns are adjusted by code? > Please be more precise about that, as GridView and TableView behaviour against column width has changed. Now they resize their columns automatically by default, to best fit their inner width. So if you can provide a little project that explain what you want to do and what you expected about column width, I will tell you if it is the new behaviour, or a bug! Regards, -- Beno?t Minisini From tobiasboe1 at ...20... Fri Dec 23 16:56:49 2011 From: tobiasboe1 at ...20... (tobias) Date: Fri, 23 Dec 2011 16:56:49 +0100 Subject: [Gambas-user] MovieBox In-Reply-To: <4EF4A0AB.2040705@...1...> References: <4EF474F1.8050206@...20...> <4EF4A0AB.2040705@...1...> Message-ID: <4EF4A4C1.7080309@...20...> On 23.12.2011 16:39, Beno?t Minisini wrote: > Le 23/12/2011 13:32, tobias a ?crit : >> hi, >> >> i forward a question about MovieBox: >> >> --- >> i try to write some demonstration code for MovieBox for some hours now. >> the project is attached and working so far but there are error reports >> in the ide console: >> >> MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >> >> the last errors are certainly as numerous as there are pictures in the >> /tanzen.gif/ file? i converted the picture using the program convert >> which normally works very reliably. >> --- >> >> i myself haven't taken a look on the sources i attached because it seems >> to be an issue concerning the MovieBox code or a library...? >> >> regards, >> tobi >> > Which toolkit do you use? Where is the project, or at least the movie > files? Anyway, if the toolkit cannot decode the files, I won't be able > to do anything! > i use qt4 but i think the person for whom i translated this mail uses gtk+. i thought, i attached the stuff (and my mail client says it, too). anyway this time it has to be attached. i also ran the project as it may be helpful to know how it is with qt4 and i get the same error messages here.. -------------- next part -------------- A non-text attachment was scrubbed... Name: MovieBox-0.0.9.tar.gz Type: application/gzip Size: 30537 bytes Desc: not available URL: From gambas at ...1... Fri Dec 23 17:17:28 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 17:17:28 +0100 Subject: [Gambas-user] MovieBox In-Reply-To: <4EF4A4C1.7080309@...20...> References: <4EF474F1.8050206@...20...> <4EF4A0AB.2040705@...1...> <4EF4A4C1.7080309@...20...> Message-ID: <4EF4A998.1050405@...1...> Le 23/12/2011 16:56, tobias a ?crit : > On 23.12.2011 16:39, Beno?t Minisini wrote: >> Le 23/12/2011 13:32, tobias a ?crit : >>> hi, >>> >>> i forward a question about MovieBox: >>> >>> --- >>> i try to write some demonstration code for MovieBox for some hours now. >>> the project is attached and working so far but there are error reports >>> in the ide console: >>> >>> MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>> >>> the last errors are certainly as numerous as there are pictures in the >>> /tanzen.gif/ file? i converted the picture using the program convert >>> which normally works very reliably. >>> --- >>> >>> i myself haven't taken a look on the sources i attached because it seems >>> to be an issue concerning the MovieBox code or a library...? >>> >>> regards, >>> tobi >>> >> Which toolkit do you use? Where is the project, or at least the movie >> files? Anyway, if the toolkit cannot decode the files, I won't be able >> to do anything! >> > > i use qt4 but i think the person for whom i translated this mail uses > gtk+. i thought, i attached the stuff (and my mail client says it, too). > anyway this time it has to be attached. i also ran the project as it may > be helpful to know how it is with qt4 and i get the same error messages > here.. > The mng file has obviously a problem, both with qt and qt4. With qt (project run with Gambas 2), you have the warning messages. With qt4 (project converted then run with Gambas 3), you have no warning messages, but you clearly see that the last frame is corrupted during the animation. Which should be explained by the first qt warning "Encountered unexpected end of file". As for GTK+, apparently it does not understand mng files. Regards, -- Beno?t Minisini From tobiasboe1 at ...20... Fri Dec 23 17:27:17 2011 From: tobiasboe1 at ...20... (tobias) Date: Fri, 23 Dec 2011 17:27:17 +0100 Subject: [Gambas-user] MovieBox In-Reply-To: <4EF4A998.1050405@...1...> References: <4EF474F1.8050206@...20...> <4EF4A0AB.2040705@...1...> <4EF4A4C1.7080309@...20...> <4EF4A998.1050405@...1...> Message-ID: <4EF4ABE5.8000005@...20...> On 23.12.2011 17:17, Beno?t Minisini wrote: > Le 23/12/2011 16:56, tobias a ?crit : >> On 23.12.2011 16:39, Beno?t Minisini wrote: >>> Le 23/12/2011 13:32, tobias a ?crit : >>>> hi, >>>> >>>> i forward a question about MovieBox: >>>> >>>> --- >>>> i try to write some demonstration code for MovieBox for some hours now. >>>> the project is attached and working so far but there are error reports >>>> in the ide console: >>>> >>>> MNG error 4: Encountered unexpected end-of-file; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> MNG error 11: Function is invalid at this point; chunk vpAg; subcode 0:0 >>>> >>>> the last errors are certainly as numerous as there are pictures in the >>>> /tanzen.gif/ file? i converted the picture using the program convert >>>> which normally works very reliably. >>>> --- >>>> >>>> i myself haven't taken a look on the sources i attached because it seems >>>> to be an issue concerning the MovieBox code or a library...? >>>> >>>> regards, >>>> tobi >>>> >>> Which toolkit do you use? Where is the project, or at least the movie >>> files? Anyway, if the toolkit cannot decode the files, I won't be able >>> to do anything! >>> >> i use qt4 but i think the person for whom i translated this mail uses >> gtk+. i thought, i attached the stuff (and my mail client says it, too). >> anyway this time it has to be attached. i also ran the project as it may >> be helpful to know how it is with qt4 and i get the same error messages >> here.. >> > The mng file has obviously a problem, both with qt and qt4. > > With qt (project run with Gambas 2), you have the warning messages. > > With qt4 (project converted then run with Gambas 3), you have no warning > messages, but you clearly see that the last frame is corrupted during > the animation. Which should be explained by the first qt warning > "Encountered unexpected end of file". > > As for GTK+, apparently it does not understand mng files. > > Regards, o.k., i'll tell him. thanks. From rmorgan62 at ...626... Fri Dec 23 18:08:23 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Fri, 23 Dec 2011 09:08:23 -0800 Subject: [Gambas-user] Online help in Gambas3 In-Reply-To: <4EF46A84.5080102@...221...> References: <4EF46A84.5080102@...221...> Message-ID: It would nice to have the system check for updates to the help text and ask if you want to update when updates are made available... On Fri, Dec 23, 2011 at 3:48 AM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > There is one more thing I would like to mention about Gambas3. > > When the computer is not online, I found there is no help text. Maybe it > would be useful to have a basic help stored locally in case there is no > internet available. And it might be nice to be able to update it from > time to time. > > What do you think? > > Rolf > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From gambas at ...2524... Fri Dec 23 19:10:36 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 18:10:36 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Comment #6 on issue 165 by jussi.la... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 That is kind of expected result, since with doubles (float in Gambas) the actual value is (5.025 - 5): 0.0250000000000003552713678800500929355621337890625000 And Gambas rounds it to: 0.0250000000000004 See this for further details: http://en.wikipedia.org/wiki/Floating_point From rmorgan62 at ...626... Fri Dec 23 19:22:06 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Fri, 23 Dec 2011 10:22:06 -0800 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: Now you guys come up with samples of floating point rounding hehehehe.... A couple months ago I was looking for such rounding demos for my tutorials I am writing. Note that this is just a part of programming. Many real numbers do not have a direct representation in base 2 (binary). So to represent those numbers the floating point library estimates the numbers. The way to deal with this issue is to always define the precision needed and use the most appropriate data type then limit the precision to something less. This is a common issue with floating point math and why you will find many specialized math libraries for science and engineering with use much more precise methods to represent real numbers. Thanks for the demos I may use them in my tutorials if that's ok with you? Randall On Fri, Dec 23, 2011 at 10:10 AM, wrote: > > Comment #6 on issue 165 by jussi.la... at ...626...: Arithmetic problem with > float > http://code.google.com/p/gambas/issues/detail?id=165 > > That is kind of expected result, > since with doubles (float in Gambas) the actual value is (5.025 - 5): > 0.0250000000000003552713678800500929355621337890625000 > And Gambas rounds it to: > 0.0250000000000004 > > See this for further details: > http://en.wikipedia.org/wiki/Floating_point > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jussi.lahtinen at ...626... Fri Dec 23 19:24:35 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 23 Dec 2011 20:24:35 +0200 Subject: [Gambas-user] Me.Top and Me.left not working with gb.qt on Gambas 2.22!! In-Reply-To: <1324648214.3888.1.camel@...2735...> References: <1324575791.2426.8.camel@...2735...> <1324648214.3888.1.camel@...2735...> Message-ID: If same code works with gb.gtk then it's very probably bug with gb.qt. Right now I have only Gambas3 installed... Jussi On Fri, Dec 23, 2011 at 15:50, Willy Raets wrote: > Any help here please, I'm stuck. > Is this a know issue with the gb.qt components in Gambas 2? > > Willy > On do, 2011-12-22 at 18:43 +0100, Willy Raets wrote: > > > Hi All, > > > > In an application I'm building I got into trouble with Me.Left and > > Me.Top not doing what they should do. > > When using Me.Center and then showing Me.Top and Me.Left values in a > > Message they turn up zero !!! > > > > So I did some investigation on the matter in a little TestApp. > > > > Turns out that when using gb.gtk is works fine. > > Me.Center followed my message ginving Me.Top and Me.Left returns correct > > values > > When doing the same thing with gb.qt things don't work. > > Me.Top and Me.left return zero!!! > > > > Any idea on how to handle this? > > > > I added a .tar containing systeminfo and two source archives. > > One for the TestAppGTK, the other for the TestAppQT > > > > I'm on Ubuntu 10.10 Maverick, desktop Gnome, Gambas 2.22 > > > > Willy > > > ------------------------------------------------------------------------------ > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > _______________________________________________ Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 23 19:33:25 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 23 Dec 2011 20:33:25 +0200 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: You can use the samples. BUT some of them are because of bug of Gambas, not the general problem with floating points! Example, Log2(536870912) = 29 is true with double precision floating points but not with Gambas. Also 8388608.0 is 8388608.0 in double precision floating point, but in Gambas *shows* 8388607,99999999. If you use these all as samples you will give wrong information. Jussi On Fri, Dec 23, 2011 at 20:22, Randall Morgan wrote: > Now you guys come up with samples of floating point rounding hehehehe.... > > A couple months ago I was looking for such rounding demos for my tutorials > I am writing. Note that this is just a part of programming. Many real > numbers do not have a direct representation in base 2 (binary). So to > represent those numbers the floating point library estimates the numbers. > The way to deal with this issue is to always define the precision needed > and use the most appropriate data type then limit the precision to > something less. This is a common issue with floating point math and why you > will find many specialized math libraries for science and engineering with > use much more precise methods to represent real numbers. > > Thanks for the demos I may use them in my tutorials if that's ok with you? > > Randall > > On Fri, Dec 23, 2011 at 10:10 AM, wrote: > > > > > Comment #6 on issue 165 by jussi.la... at ...626...: Arithmetic problem > with > > float > > http://code.google.com/p/gambas/issues/detail?id=165 > > > > That is kind of expected result, > > since with doubles (float in Gambas) the actual value is (5.025 - 5): > > 0.0250000000000003552713678800500929355621337890625000 > > And Gambas rounds it to: > > 0.0250000000000004 > > > > See this for further details: > > http://en.wikipedia.org/wiki/Floating_point > > > > > > > > > ------------------------------------------------------------------------------ > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > If you ask me if it can be done. The answer is YES, it can always be done. > The correct questions however are... What will it cost, and how long will > it take? > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Dec 23 19:39:14 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 23 Dec 2011 20:39:14 +0200 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: References: <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <5-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: Here is real sample for you: Dim sngA As Single = 4.1 Dim sngB As Single = 2.2 Print sngA - sngB 1.8999999 Jussi On Fri, Dec 23, 2011 at 20:33, Jussi Lahtinen wrote: > You can use the samples. BUT some of them are because of bug of Gambas, > not the general problem with floating points! > Example, Log2(536870912) = 29 is true with double precision floating > points but not with Gambas. > Also 8388608.0 is 8388608.0 in double precision floating point, but in > Gambas *shows* 8388607,99999999. > > If you use these all as samples you will give wrong information. > > Jussi > > > > > > > On Fri, Dec 23, 2011 at 20:22, Randall Morgan wrote: > >> Now you guys come up with samples of floating point rounding hehehehe.... >> >> A couple months ago I was looking for such rounding demos for my tutorials >> I am writing. Note that this is just a part of programming. Many real >> numbers do not have a direct representation in base 2 (binary). So to >> represent those numbers the floating point library estimates the numbers. >> The way to deal with this issue is to always define the precision needed >> and use the most appropriate data type then limit the precision to >> something less. This is a common issue with floating point math and why >> you >> will find many specialized math libraries for science and engineering with >> use much more precise methods to represent real numbers. >> >> Thanks for the demos I may use them in my tutorials if that's ok with you? >> >> Randall >> >> On Fri, Dec 23, 2011 at 10:10 AM, wrote: >> >> > >> > Comment #6 on issue 165 by jussi.la... at ...626...: Arithmetic problem >> with >> > float >> > http://code.google.com/p/gambas/issues/detail?id=165 >> > >> > That is kind of expected result, >> > since with doubles (float in Gambas) the actual value is (5.025 - 5): >> > 0.0250000000000003552713678800500929355621337890625000 >> > And Gambas rounds it to: >> > 0.0250000000000004 >> > >> > See this for further details: >> > http://en.wikipedia.org/wiki/Floating_point >> > >> > >> > >> > >> ------------------------------------------------------------------------------ >> > Write once. Port to many. >> > Get the SDK and tools to simplify cross-platform app development. Create >> > new or port existing apps to sell to consumers worldwide. Explore the >> > Intel AppUpSM program developer opportunity. >> appdeveloper.intel.com/join >> > http://p.sf.net/sfu/intel-appdev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> -- >> If you ask me if it can be done. The answer is YES, it can always be done. >> The correct questions however are... What will it cost, and how long will >> it take? >> >> ------------------------------------------------------------------------------ >> Write once. Port to many. >> Get the SDK and tools to simplify cross-platform app development. Create >> new or port existing apps to sell to consumers worldwide. Explore the >> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >> http://p.sf.net/sfu/intel-appdev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From santiago_j_oberto at ...1877... Fri Dec 23 23:01:52 2011 From: santiago_j_oberto at ...1877... (Santiago Oberto) Date: Fri, 23 Dec 2011 19:01:52 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 67, Issue 28 In-Reply-To: References: Message-ID: <1324677712.2687.8.camel@...37...> I see... Thank you very much for the explanation. I will make some changes in the code. Regards. Santiago. El vie, 23-12-2011 a las 15:57 +0000, gambas-user-request at lists.sourceforge.net escribi?: > This is normal, because 0.025 has no exact binary > representation (like > 1/3 in decimal). So the fractional part of 5.025 must be > approximated by > the CPU. > > Regards, > > -- > Beno?t Minisini > > From gambas at ...1... Fri Dec 23 23:36:13 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 23:36:13 +0100 Subject: [Gambas-user] Release of Gambas 3 Message-ID: <4EF5025D.7000909@...1...> Hi everyone, I will release the last RC tomorrow morning, just before christmas. Then I will make the Gambas 3 release after christmas, before January, 1st - Didn't I tell that Gambas3 will be releases that year? :-) So I won't fix bugs until next year now, except those that can be fix without any risk. What is the plan after that? - Fabien didn't completely finish gb.report, so I assume he will continue to fix it for the Gambas 3.1. - I'd like to enhance gb.desktop so that it is usable enough to implement a simple GUI shell/desktop (for those who have time and find Gnome 3 or KDE 4 too heavy). The interesting thing is that this simple desktop will be able to use GTK+ or Qt4 indifferently, depending on the user taste. Someone interested in that project? - It would be interesting to make a component with GStreamer. - Learn gardening and buy gold, because the swindling western debt-based economic system is collapsing. Merry Christmas! -- Beno?t Minisini From gambas at ...1... Fri Dec 23 23:48:08 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 23 Dec 2011 23:48:08 +0100 Subject: [Gambas-user] Release of Gambas 3 In-Reply-To: <4EF5025D.7000909@...1...> References: <4EF5025D.7000909@...1...> Message-ID: <4EF50528.5090205@...1...> Le 23/12/2011 23:36, Beno?t Minisini did many mistakes : > Hi everyone, > > I will release the last RC tomorrow morning, just before christmas. > > Then I will make the Gambas 3 release after christmas, before January, > 1st - Didn't I tell that Gambas3 will be releases that year? :-) ---> released > > So I won't fix bugs until next year now, except those that can be fix ---> fixed > without any risk. > > What is the plan after that? > > - Fabien didn't completely finish gb.report, so I assume he will > continue to fix it for the Gambas 3.1. ---> for Gambas 3.1. -- Beno?t Minisini From gambas at ...2524... Sat Dec 24 00:33:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 23 Dec 2011 23:33:54 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <5-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #6 on issue 161 by adamn... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 Hi Benoit, I have done as you suggested and cleaned out everything, did a complete load of the trunk svn and the full compile cycle (the outputs are attached). However, the problem still persists. Two interesting(?) things I have found are that if I comment out the Export in CReportBrush the error moves to other classes. I repeated that in those classes until I get "Cannot load class 'Project': Unable to load class file". Also, it is only the IDE that wont run. I can run previously compiled projects of my own and newly compiled projects, e.g. the examples. They all run OK. I believe you are right in that it is something on my machine. But I'll be damned if I can find what it is. I have even tried creating a new user, downloading the trunk svn into that user and compiling - still get the same problem. Totally lost for ideas now :-( Anyway, mark this one "not a bug" and close it. I'll have to get back to the local problem after Christmas. Bon Natale! Bruce Attachments: install.txt 135 KB output.txt 679 KB From gambas at ...2524... Sat Dec 24 13:30:27 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 24 Dec 2011 12:30:27 +0000 Subject: [Gambas-user] Issue 167 in gambas: Height and width form does not change in runtime. Message-ID: <0-6813199134517018827-10688735171559782550-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 167 by Crasher... at ...626...: Height and width form does not change in runtime. http://code.google.com/p/gambas/issues/detail?id=167 Dim testform As Form testform = New Form testform.h = 100 testform.w = 100 testform.Show This code show small window. Height and width = 0. Version: 2.99.6 Revision: Operating system: Linux Distribution: Ubuntu 11.10 Architecture: x86 GUI component: GTK+ Desktop used: Gnome From gambas at ...1... Sat Dec 24 16:59:39 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 24 Dec 2011 16:59:39 +0100 Subject: [Gambas-user] Release of Gambas 3 RC7 Message-ID: <4EF5F6EB.1000206@...1...> As promised, but a bit late, here is the seventh release candidate of Gambas 3! As many bugs as possible were fixed, and a few last-minute new features were implemented. Mainly: * A new "Gambas" highlighting theme for the IDE. * A new TabPanel control, that is a TabStrip with thin borders. * The ability to define the connection timeout in the database component. * gb.report that is almost finished. See the Release Notes for the full ChangeLog. Please report any problem as usual... The final release is planned for the 31 Dec 2011. Best regards, -- Beno?t Minisini From mohareve at ...626... Sun Dec 25 17:52:33 2011 From: mohareve at ...626... (M. Cs.) Date: Sun, 25 Dec 2011 17:52:33 +0100 Subject: [Gambas-user] Release of Gambas 3 RC7 In-Reply-To: <4EF5F6EB.1000206@...1...> References: <4EF5F6EB.1000206@...1...> Message-ID: Hello Benoit! Congrats for the RC7 and a possible bug with string functions: This function should return the string in mixed case, but it won't: Public Sub TextTog2_Click() Dim intet, gig, a, b As String Dim insta As String[] Dim i As Integer gig = editTitle.Text insta = Split(gig, " ") intet = "" For i = 0 To insta.Count - 1 a = Left$(insta[i], 1) b = Lower$(Mid$(insta[i], 2)) intet = intet & a & b & " " Next intet = Trim$(intet) editTitle.Text = intet End It should work like: Im the text -> Im The Text where the editTitle is a text input 2011/12/24, Beno?t Minisini : > As promised, but a bit late, here is the seventh release candidate of > Gambas 3! > > As many bugs as possible were fixed, and a few last-minute new features > were implemented. Mainly: > > * A new "Gambas" highlighting theme for the IDE. > * A new TabPanel control, that is a TabStrip with thin borders. > * The ability to define the connection timeout in the database component. > * gb.report that is almost finished. > > See the Release Notes for the full ChangeLog. > > Please report any problem as usual... > > The final release is planned for the 31 Dec 2011. > > Best regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Gambas at ...1950... Sun Dec 25 18:01:51 2011 From: Gambas at ...1950... (Caveat) Date: Sun, 25 Dec 2011 18:01:51 +0100 Subject: [Gambas-user] Release of Gambas 3 RC7 In-Reply-To: References: <4EF5F6EB.1000206@...1...> Message-ID: <1324832511.4178.6002.camel@...2150...> Huh? Perhaps I'm enjoying my box of English beers too much (Christmas present so I feel obliged to drink them today) but how do you expect "Im the text" to turn into "Im The Text" (with apologies to the apostrophe police) when you don't use any Upper functions? Or is your code deliberately obscure and using some trick to make the initial letters uppercase? Season's greetings! Caveat On Sun, 2011-12-25 at 17:52 +0100, M. Cs. wrote: > Hello Benoit! > Congrats for the RC7 and a possible bug with string functions: > This function should return the string in mixed case, but it won't: > > Public Sub TextTog2_Click() > Dim intet, gig, a, b As String > Dim insta As String[] > Dim i As Integer > gig = editTitle.Text > insta = Split(gig, " ") > intet = "" > For i = 0 To insta.Count - 1 > a = Left$(insta[i], 1) > b = Lower$(Mid$(insta[i], 2)) > intet = intet & a & b & " " > Next > intet = Trim$(intet) > editTitle.Text = intet > End > > It should work like: Im the text -> Im The Text where the editTitle > is a text input > > 2011/12/24, Beno?t Minisini : > > As promised, but a bit late, here is the seventh release candidate of > > Gambas 3! > > > > As many bugs as possible were fixed, and a few last-minute new features > > were implemented. Mainly: > > > > * A new "Gambas" highlighting theme for the IDE. > > * A new TabPanel control, that is a TabStrip with thin borders. > > * The ability to define the connection timeout in the database component. > > * gb.report that is almost finished. > > > > See the Release Notes for the full ChangeLog. > > > > Please report any problem as usual... > > > > The final release is planned for the 31 Dec 2011. > > > > Best regards, > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > Write once. Port to many. > > Get the SDK and tools to simplify cross-platform app development. Create > > new or port existing apps to sell to consumers worldwide. Explore the > > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > > http://p.sf.net/sfu/intel-appdev > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mohareve at ...626... Sun Dec 25 20:01:42 2011 From: mohareve at ...626... (M. Cs.) Date: Sun, 25 Dec 2011 20:01:42 +0100 Subject: [Gambas-user] Release of Gambas 3 RC7 In-Reply-To: <1324832511.4178.6002.camel@...2150...> References: <4EF5F6EB.1000206@...1...> <1324832511.4178.6002.camel@...2150...> Message-ID: Oh, you are right! Cheers! 2011/12/25, Caveat : > Huh? Perhaps I'm enjoying my box of English beers too much (Christmas > present so I feel obliged to drink them today) but how do you expect "Im > the text" to turn into "Im The Text" (with apologies to the apostrophe > police) when you don't use any Upper functions? > > Or is your code deliberately obscure and using some trick to make the > initial letters uppercase? > > Season's greetings! > Caveat > > On Sun, 2011-12-25 at 17:52 +0100, M. Cs. wrote: >> Hello Benoit! >> Congrats for the RC7 and a possible bug with string functions: >> This function should return the string in mixed case, but it won't: >> >> Public Sub TextTog2_Click() >> Dim intet, gig, a, b As String >> Dim insta As String[] >> Dim i As Integer >> gig = editTitle.Text >> insta = Split(gig, " ") >> intet = "" >> For i = 0 To insta.Count - 1 >> a = Left$(insta[i], 1) >> b = Lower$(Mid$(insta[i], 2)) >> intet = intet & a & b & " " >> Next >> intet = Trim$(intet) >> editTitle.Text = intet >> End >> >> It should work like: Im the text -> Im The Text where the editTitle >> is a text input >> >> 2011/12/24, Beno?t Minisini : >> > As promised, but a bit late, here is the seventh release candidate of >> > Gambas 3! >> > >> > As many bugs as possible were fixed, and a few last-minute new features >> > were implemented. Mainly: >> > >> > * A new "Gambas" highlighting theme for the IDE. >> > * A new TabPanel control, that is a TabStrip with thin borders. >> > * The ability to define the connection timeout in the database >> > component. >> > * gb.report that is almost finished. >> > >> > See the Release Notes for the full ChangeLog. >> > >> > Please report any problem as usual... >> > >> > The final release is planned for the 31 Dec 2011. >> > >> > Best regards, >> > >> > -- >> > Beno?t Minisini >> > >> > ------------------------------------------------------------------------------ >> > Write once. Port to many. >> > Get the SDK and tools to simplify cross-platform app development. Create >> > new or port existing apps to sell to consumers worldwide. Explore the >> > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >> > http://p.sf.net/sfu/intel-appdev >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------------------------ >> Write once. Port to many. >> Get the SDK and tools to simplify cross-platform app development. Create >> new or port existing apps to sell to consumers worldwide. Explore the >> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join >> http://p.sf.net/sfu/intel-appdev >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From karl.reinl at ...9... Mon Dec 26 00:23:25 2011 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 26 Dec 2011 00:23:25 +0100 Subject: [Gambas-user] gambas3 DrawingAreas problems Message-ID: <1324855405.17050.8.camel@...40...> Salut, The DrawingAreas are cached (= True), and painted = False I get, when using qt4 and my DrawingAreas filled with Draw shows NOTHING : X11 ERROR X Error: BadDrawable (invalid Pixmap or Window parameter) 9 Major opcode: 55 (X_CreateGC) Resource id: 0xce0003e X11 ERROR X Error: BadGC (invalid GC parameter) 13. Major opcode: 62 (X_CopyArea) Resource id: 0xce0004fThe DrawinAreas are cached (= True), and painted = False X11 ERROR X Error: BadGC (invalid GC parameter) 13 Major opcode: 60 (X_FreeGC) Resource id: 0xce0004f X11 ERROR X Error: BadPixmap (invalid Pixmap parameter) 4 Major opcode: 54 (X_FreePixmap). Resource id: 0xce0003e While using gtk, no error, it works, and I see all. . I use : [System] OperatingSystem=Linux Kernel=2.6.38.7-server-1mnb2 Architecture=i686 Memory=800324 kB DistributionVendor=MandrivaLinux DistributionRelease="Mandriva Linux 2011.0" Desktop=KDE4 . [Gambas 2] Version=2.23.1 Path=/usr/local/bin/gbx2 [Gambas 3] Version=2.99.7 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.4 GTK+=libgtk-x11-2.0.so.0.2400.5 You can get the project here : http://dbreport.svn.sourceforge.net/viewvc/dbreport/DBReport3/?view=tar -- Amicalement Charlie From bespalov.av at ...626... Mon Dec 26 10:17:17 2011 From: bespalov.av at ...626... (=?KOI8-R?B?4czFy9PFyiDixdPQwczP1w==?=) Date: Mon, 26 Dec 2011 15:17:17 +0600 Subject: [Gambas-user] Please report as much as possible if compilation and installation on your system are ok or not, and if your distribution has binary packages of Gambas 3 Message-ID: > "Please report as much as possible if compilation and installation on your system are ok or not, and if your distribution has binary packages of Gambas 3!" The gambas 3 RC7 had compilation successfully at Fedora 16. Package in the official repositories yet no, only RC6. -- ____ Best regards, Alexey. From gambas at ...1... Mon Dec 26 12:44:49 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 26 Dec 2011 12:44:49 +0100 Subject: [Gambas-user] gambas3 DrawingAreas problems In-Reply-To: <1324855405.17050.8.camel@...40...> References: <1324855405.17050.8.camel@...40...> Message-ID: <4EF85E31.9010400@...1...> Le 26/12/2011 00:23, Karl Reinl a ?crit : > Salut, > > The DrawingAreas are cached (= True), and painted = False > > I get, when using qt4 and my DrawingAreas filled with Draw shows > NOTHING : > > X11 ERROR > X Error: BadDrawable (invalid Pixmap or Window parameter) 9 > Major opcode: 55 (X_CreateGC) > Resource id: 0xce0003e > X11 ERROR > X Error: BadGC (invalid GC parameter) 13. > Major opcode: 62 (X_CopyArea) > Resource id: 0xce0004fThe DrawinAreas are cached (= True), and > painted = False > X11 ERROR > X Error: BadGC (invalid GC parameter) 13 > Major opcode: 60 (X_FreeGC) > Resource id: 0xce0004f > X11 ERROR > X Error: BadPixmap (invalid Pixmap parameter) 4 > Major opcode: 54 (X_FreePixmap). > Resource id: 0xce0003e > > While using gtk, no error, it works, and I see all. > . > I use : > > [System] > OperatingSystem=Linux > Kernel=2.6.38.7-server-1mnb2 > Architecture=i686 > Memory=800324 kB > DistributionVendor=MandrivaLinux > DistributionRelease="Mandriva Linux 2011.0" > Desktop=KDE4 > . > [Gambas 2] > Version=2.23.1 > Path=/usr/local/bin/gbx2 > > [Gambas 3] > Version=2.99.7 > Path=/usr/local/bin/gbx3 > > [Libraries] > Qt4=libQtCore.so.4.7.4 > GTK+=libgtk-x11-2.0.so.0.2400.5 > > You can get the project here : > http://dbreport.svn.sourceforge.net/viewvc/dbreport/DBReport3/?view=tar A subversion tree dump is useless, unless you want to duplicate the repository on another subversion server. Please provide source archives, and please give more details on how to reproduce the bug. Thanks in advance. Regards, -- Beno?t Minisini From willy at ...2734... Mon Dec 26 12:46:33 2011 From: willy at ...2734... (Willy Raets) Date: Mon, 26 Dec 2011 12:46:33 +0100 Subject: [Gambas-user] Please report as much as possible if compilation and installation on your system are ok or not, and if your distribution has binary packages of Gambas 3 In-Reply-To: References: Message-ID: <1324899993.2104.3.camel@...2735...> Successfully compiled and installed Gambas 3 RC 7 on Ubuntu 10.10. systeminfo: [System] OperatingSystem=Linux Kernel=2.6.35-31-generic Architecture=i686 Memory=2051628 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.22.0 Path=/usr/bin/gbx2 [Gambas 3] Version=2.99.7 Path=/usr/local/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.0 GTK+=libgtk-x11-2.0.so.0.2200.0 Thanks for the new release... Willy On ma, 2011-12-26 at 15:17 +0600, ??????? ???????? wrote: > > "Please report as much as possible if compilation and installation on > your system are ok or not, and if your distribution has binary packages of > Gambas 3!" > > > The gambas 3 RC7 had compilation successfully at Fedora 16. > Package in the official repositories yet no, only RC6. > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From gambas at ...1... Mon Dec 26 14:00:12 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 26 Dec 2011 14:00:12 +0100 Subject: [Gambas-user] gambas3 DrawingAreas problems In-Reply-To: <4EF85E31.9010400@...1...> References: <1324855405.17050.8.camel@...40...> <4EF85E31.9010400@...1...> Message-ID: <4EF86FDC.5050008@...1...> Le 26/12/2011 12:44, Beno?t Minisini a ?crit : > Le 26/12/2011 00:23, Karl Reinl a ?crit : >> Salut, >> >> The DrawingAreas are cached (= True), and painted = False >> >> I get, when using qt4 and my DrawingAreas filled with Draw shows >> NOTHING : >> >> X11 ERROR >> ... >> >> You can get the project here : >> http://dbreport.svn.sourceforge.net/viewvc/dbreport/DBReport3/?view=tar > > A subversion tree dump is useless, unless you want to duplicate the > repository on another subversion server. > > Please provide source archives, and please give more details on how to > reproduce the bug. > > Thanks in advance. > > Regards, > I think I fixed the bug in revision #4336. Regards, -- Beno?t Minisini From matteo.pasotti at ...626... Mon Dec 26 14:31:39 2011 From: matteo.pasotti at ...626... (Matteo Pasotti) Date: Mon, 26 Dec 2011 14:31:39 +0100 Subject: [Gambas-user] Please report as much as possible if compilation and installation on your system are ok or not, and if your distribution has binary packages of Gambas 3 In-Reply-To: <1324899993.2104.3.camel@...2735...> References: <1324899993.2104.3.camel@...2735...> Message-ID: <4EF8773B.2080303@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gambas3 RC7 Package already provided by Mageia 2 (Cauldron) official repositories. [System] OperatingSystem=Linux Kernel=3.2.0-desktop-0.rc7.1.mga2 Architecture=x86_64 Memory=1502612 kB DistributionVendor="Mageia" DistributionRelease="Mageia Cauldron" Desktop=LXDE [Gambas 3] Version=2.99.7 Path=/usr/bin/gbx3 Regards - -- Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mageia - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJO+Hc4AAoJED3LowjDDWbNeHkH/0lgJPgdKIcLGBpZLl9f1e94 XayuxDMc7d34fKPAoJXuhpP5t5ovAXLa8FX0k7GTYtjP9WAw5pVpB+2SSFoCn9bc bECVLvZDYDYsvCzWLkoY98ztOvJA/mbFJb8KW7O1vIad2PQ/lcgqaIcVkVPMl6qP JNxNX/qAt4F5ZVvTP1XqdcKbIWuIMZBEI8YXTPkh3Dtl2dKBBmjmXUvbGKmHPEHL CRUoky8P6FZ103NC0w6bUEsINubkuCzo6pkpBCFWqurTTYHVdovbJ6sbw1WloacR WkUnieLj2JGPBmz6/hEfi57tHxRfYcjHCQwl6Zst2sddZNseMOEx2e95WHFn7Os= =R8yf -----END PGP SIGNATURE----- From randlemillner at ...626... Mon Dec 26 16:11:38 2011 From: randlemillner at ...626... (Randy Millner) Date: Mon, 26 Dec 2011 09:11:38 -0600 Subject: [Gambas-user] Gambas 64bit PcLinuxOS Message-ID: Hello Communities, My attempt continues to compile Gambas2 and/or Gambas3 I need guidance on what to do next. Gambas2 unable to compile 2 components, - gb.qt.kde - gb.qte I have included the output in the compressed tar output2.tar Gambas3 reports all components will compiled following error appears during make install /usr/bin/install: cannot stat `.libs/gb.gtk.lai': No such file or directory make[3]: *** [install-gblibLTLIBRARIES] Error 1 I have included the output in a compressed tar output3.tar Thanks for all the valuable support. Randy -------------- next part -------------- A non-text attachment was scrubbed... Name: output2.tar Type: application/x-tar Size: 5080 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: output3.tar Type: application/x-tar Size: 13825 bytes Desc: not available URL: From girardhenri at ...67... Mon Dec 26 16:22:16 2011 From: girardhenri at ...67... (Girard Henri) Date: Mon, 26 Dec 2011 16:22:16 +0100 Subject: [Gambas-user] RC7 success on precise pangolin In-Reply-To: References: Message-ID: build perfect From gambas at ...2524... Mon Dec 26 17:11:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 26 Dec 2011 16:11:33 +0000 Subject: [Gambas-user] Issue 167 in gambas: Height and width form does not change in runtime. In-Reply-To: <0-6813199134517018827-10688735171559782550-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10688735171559782550-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10688735171559782550-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 167 by benoit.m... at ...626...: Height and width form does not change in runtime. http://code.google.com/p/gambas/issues/detail?id=167 Fixed in revision #4337. From rmorgan62 at ...626... Mon Dec 26 18:23:50 2011 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 26 Dec 2011 09:23:50 -0800 Subject: [Gambas-user] Gambas 64bit PcLinuxOS In-Reply-To: References: Message-ID: Go to the qt site (http://qt.nokia..com) and look at qt's dependencies and make sure you have those installed. Randall On Mon, Dec 26, 2011 at 7:11 AM, Randy Millner wrote: > Hello Communities, > My attempt continues to compile Gambas2 and/or Gambas3 > I need guidance on what to do next. > > Gambas2 > unable to compile 2 components, > - gb.qt.kde > - gb.qte > > I have included the output in the compressed tar > output2.tar > > > Gambas3 > reports all components will compiled > following error appears during make install > > /usr/bin/install: cannot stat `.libs/gb.gtk.lai': No such file or directory > make[3]: *** [install-gblibLTLIBRARIES] Error 1 > > > I have included the output in a compressed tar > output3.tar > > Thanks for all the valuable support. > Randy > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From randlemillner at ...626... Mon Dec 26 20:10:03 2011 From: randlemillner at ...626... (Randy Millner) Date: Mon, 26 Dec 2011 13:10:03 -0600 Subject: [Gambas-user] [pclinuxos-testers] Gambas 64bit PcLinuxOS In-Reply-To: <1324918824.14550.YahooMailClassic@...2746...> References: <1324918824.14550.YahooMailClassic@...2746...> Message-ID: Thanks Texstar, With all due respect to the last Gambas packager, How did the existing 32bit KDE PcLinuxOS Gambas package get compiled? How do we recreate that environment in the 64bit world? I may be wrong, but aApparently Gambas2 uses qt3 source components that reference kde3. On Mon, Dec 26, 2011 at 11:00 AM, Texstar wrote: > I think the kde part doesn't build because we use KDE4 now. > > > --- On *Mon, 12/26/11, Randy Millner * wrote: > > > From: Randy Millner > Subject: [pclinuxos-testers] Gambas 64bit PcLinuxOS > To: gambas-user at lists.sourceforge.net, "pclinuxos-testers" < > pclinuxos-testers at ...2739...> > Date: Monday, December 26, 2011, 9:11 AM > > Hello Communities, > My attempt continues to compile Gambas2 and/or Gambas3 > I need guidance on what to do next. > > Gambas2 > unable to compile 2 components, > - gb.qt.kde > - gb.qte > > I have included the output in the compressed tar > output2.tar > > > Gambas3 > reports all components will compiled > following error appears during make install > > /usr/bin/install: cannot stat `.libs/gb.gtk.lai': No such file or directory > make[3]: *** [install-gblibLTLIBRARIES] Error 1 > > > I have included the output in a compressed tar > output3.tar > > Thanks for all the valuable support. > Randy > > -- > To post, send email to pclinuxos-testers at ...2739... > To unsubscribe, send email to > pclinuxos-testers-unsubscribe at ...2739... > For more options, visit this group at > http://groups.google.com/group/pclinuxos-testers?hl=en > > -- > To post, send email to pclinuxos-testers at ...2739... > To unsubscribe, send email to > pclinuxos-testers-unsubscribe at ...2739... > For more options, visit this group at > http://groups.google.com/group/pclinuxos-testers?hl=en > From Karl.Reinl at ...2345... Mon Dec 26 22:47:07 2011 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 26 Dec 2011 22:47:07 +0100 Subject: [Gambas-user] gambas3 DrawingAreas problems In-Reply-To: <4EF86FDC.5050008@...1...> References: <1324855405.17050.8.camel@...40...> <4EF85E31.9010400@...1...> <4EF86FDC.5050008@...1...> Message-ID: <1324936027.6298.11.camel@...40...> Am Montag, den 26.12.2011, 14:00 +0100 schrieb Beno?t Minisini: > Le 26/12/2011 12:44, Beno?t Minisini a ?crit : > > Le 26/12/2011 00:23, Karl Reinl a ?crit : > >> Salut, > >> > >> The DrawingAreas are cached (= True), and painted = False > >> > >> I get, when using qt4 and my DrawingAreas filled with Draw shows > >> NOTHING : > >> > >> X11 ERROR > >> ... > >> > >> You can get the project here : > >> http://dbreport.svn.sourceforge.net/viewvc/dbreport/DBReport3/?view=tar > > > > A subversion tree dump is useless, unless you want to duplicate the > > repository on another subversion server. > > > > Please provide source archives, and please give more details on how to > > reproduce the bug. > > > > Thanks in advance. > > > > Regards, > > > > I think I fixed the bug in revision #4336. > > Regards, > Salut, sorry I have to say NO, it isn't fixed. At least in r4337 (maybe no more) ;-) What I figured out is: It depends the set or not Background.Color in/by the IDE. By a not set Background.Color or set to default, only the gtk version shows something on the screen, but even not the right Background.Color If you set the Background.Color in/by the IDE. it looks better! But the Background.Color set by code is not always token. Attached an example . -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: DrawingAreaTest-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4979 bytes Desc: not available URL: From gambas at ...2524... Mon Dec 26 23:18:02 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 26 Dec 2011 22:18:02 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <6-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Comment #7 on issue 161 by adamn... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 Well, I finally tracked it down. It was a local issue. The problem was caused by a set of 8 or so "non-existent" printers that had somehow been discovered by the CUPS print server on this machine. (I believe _that_ was caused by a recent reconfiguration of my network). Anyway, for interest sake, here's what was happening. Gambas3 was starting up correctly all the time. However, it was taking over half an hour for the welcome screen to show up. I found that out on Christmas day, I tried starting it up again after another trunk update/reconf/etc and got called to go out to lunch. Instead of killing the job I just "accidentally" left it running. When we returned 6 hours later the Welcome screen was there! I loaded the IDE project and stepped through it, line by line and found that it appeared to hang in FMain._new on the line FHelpBrowser.Load (line 41) and sure enough after about half an hour it continued properly. Aha! I thought. Maybe I have broken one of the WebKit libraries. So I spent all yesterday reloading and recompiling every WebKit oriented library on this system. Nothing improved. What was worse, both the WebView example and a little project I made up with a WebView control worked fine. This morning I had an epiphany (as in "a sudden, intuitive perception of or insight into the reality or essential meaning of something")! What else on the FHelpBrowser form could cause this. How about the Printer control? Sure enough as soon as I added a printer control to my little test project it exhibited the same behavior. Seeing as there are no printers directly connected to this machine I just had a look at the CUPS manager and discovered the phantom printers, about a dozen of them. All of them with the same name as the default network printer. (Note the CUPS "name" of a printer is a fairly meaningless term.) With a bit of effort I have cleaned up the CUPS server and now gambas3 starts and runs as it did before. Yahoo! ==================================== I have provided the above to ask you this. When the printer control is created I think that it is "polling" each printer or more to the point, printer queue, it is told about by the system until it either times out or gets some response and the wait time appears to be quite long. Is this true? From gambas at ...2524... Mon Dec 26 23:55:08 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 26 Dec 2011 22:55:08 +0000 Subject: [Gambas-user] Issue 47 in gambas: Make code pretty tool button clears breakpoints In-Reply-To: <2-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> <0-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15676378731405905991-gambas=googlecode.com@...2524...> Updates: Labels: -Priority-Low Priority-Medium Comment #3 on issue 47 by benoit.m... at ...626...: Make code pretty tool button clears breakpoints http://code.google.com/p/gambas/issues/detail?id=47 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 27 00:04:09 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 26 Dec 2011 23:04:09 +0000 Subject: [Gambas-user] Issue 161 in gambas: 4296 broken In-Reply-To: <7-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> <0-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-17693459153347076962-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #8 on issue 161 by benoit.m... at ...626...: 4296 broken http://code.google.com/p/gambas/issues/detail?id=161 When creating a Printer object in Gambas (with gb.qt4), I just create a QPrinter object, so apparently Qt4 initializes its internal printing system then, and starts to talk with Cups. From gambas at ...1... Tue Dec 27 02:09:22 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 27 Dec 2011 02:09:22 +0100 Subject: [Gambas-user] gambas3 DrawingAreas problems In-Reply-To: <1324936027.6298.11.camel@...40...> References: <1324855405.17050.8.camel@...40...> <4EF85E31.9010400@...1...> <4EF86FDC.5050008@...1...> <1324936027.6298.11.camel@...40...> Message-ID: <4EF91AC2.5010607@...1...> Le 26/12/2011 22:47, Charlie Reinl a ?crit : > > sorry I have to say NO, it isn't fixed. > At least in r4337 (maybe no more) ;-) > > What I figured out is: > > It depends the set or not Background.Color in/by the IDE. > By a not set Background.Color or set to default, only the gtk version > shows something on the screen, but even not the right Background.Color > > If you set the Background.Color in/by the IDE. it looks better! > But the Background.Color set by code is not always token. > > Attached an example . > Is it better with revision #4339? -- Beno?t Minisini From gambas at ...2524... Tue Dec 27 04:12:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 03:12:33 +0000 Subject: [Gambas-user] Issue 168 in gambas: gb.db.postgresql error in main.c Message-ID: <0-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 168 by adamn... at ...626...: gb.db.postgresql error in main.c http://code.google.com/p/gambas/issues/detail?id=168 1) Describe the problem. Sorry Benoit, I didn't notice this before. One of the tablenames is wrong in the field_info function queries. Result is that tables cannot be loaded in the database browser. In short atthasdef is in the pg_attribute table, not pg_attrdef. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4333 Operating system: Linux Distribution: mine Architecture: x86 GUI component: na Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. na 4) If your project needs a database, try to provide it, or part of it. na 5) Explain clearly how to reproduce the bug or the crash. Here's the diff for the 2 corrections Index: main.c =================================================================== --- main.c (revision 4333) +++ main.c (working copy) @@ -2007,7 +2007,7 @@ { const char *query = "select pg_attribute.attname, pg_attribute.atttypid::int, " - "pg_attribute.atttypmod, pg_attribute.attnotnull, pg_attrdef.adsrc, pg_attrdef.atthasdef " + "pg_attribute.atttypmod, pg_attribute.attnotnull, pg_attrdef.adsrc, pg_attribute.atthasdef " "from pg_class, pg_attribute " "left join pg_attrdef on (pg_attrdef.adrelid = pg_attribute.attrelid and pg_attrdef.adnum = pg_attribute.attnum) " "where pg_class.relname = '&1' " @@ -2018,7 +2018,7 @@ const char *query_schema = "select pg_attribute.attname, pg_attribute.atttypid::int, " - "pg_attribute.atttypmod, pg_attribute.attnotnull, pg_attrdef.adsrc, pg_attrdef.atthasdef " + "pg_attribute.atttypmod, pg_attribute.attnotnull, pg_attrdef.adsrc, pg_attribute.atthasdef " "from pg_class, pg_attribute " "left join pg_attrdef on (pg_attrdef.adrelid = pg_attribute.attrelid and pg_attrdef.adnum = pg_attribute.attnum) " "where pg_class.relname = '&1' " 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: if you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! From gambas at ...2524... Tue Dec 27 04:56:53 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 03:56:53 +0000 Subject: [Gambas-user] Issue 168 in gambas: gb.db.postgresql error in main.c In-Reply-To: <0-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 168 by benoit.m... at ...626...: gb.db.postgresql error in main.c http://code.google.com/p/gambas/issues/detail?id=168 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 27 05:00:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 04:00:54 +0000 Subject: [Gambas-user] Issue 168 in gambas: gb.db.postgresql error in main.c In-Reply-To: <1-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> <0-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Comment #2 on issue 168 by benoit.m... at ...626...: gb.db.postgresql error in main.c http://code.google.com/p/gambas/issues/detail?id=168 Fix merged in revision #4341. From gambas at ...2524... Tue Dec 27 05:26:06 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 04:26:06 +0000 Subject: [Gambas-user] Issue 168 in gambas: gb.db.postgresql error in main.c In-Reply-To: <2-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> <0-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9504971382565234375-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 168 by benoit.m... at ...626...: gb.db.postgresql error in main.c http://code.google.com/p/gambas/issues/detail?id=168 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 27 16:33:53 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 15:33:53 +0000 Subject: [Gambas-user] Issue 169 in gambas: Error renaming database connection Message-ID: <0-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 169 by r... at ...1740...: Error renaming database connection http://code.google.com/p/gambas/issues/detail?id=169 1) Describe the problem. When trying to rename a database connection you get an error and connection is deleted. Maybe it's not supported yet, but at least prevent error then. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4341 (if you use a development version) Operating system: Linux Distribution: Ubuntu 11.10 Architecture: x86_64 GUI component: QT4 Desktop used: Gnome 5) Explain clearly how to reproduce the bug or the crash. create a db connection (for example mysql) fill in details and save it (name it for example 'db') double click on name created connection in project tree ('db'), try to rename it to something else. you get error 'Unable to rename connection 'db.connection' 'Unknown symbol 'Rename' in class 'FConnectionEditor' and your connection is gone/deleted ;-( From gambas at ...2524... Tue Dec 27 16:37:54 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 15:37:54 +0000 Subject: [Gambas-user] Issue 170 in gambas: Error balloon is placed behind database connection window Message-ID: <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 170 by r... at ...1740...: Error balloon is placed behind database connection window http://code.google.com/p/gambas/issues/detail?id=170 1) Describe the problem. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4341 (if you use a development version) Operating system: Linux Distribution: Ubuntu 11.10 Architecture: x86_64 GUI component: QT4 Desktop used: Gnome 5) Explain clearly how to reproduce the bug or the crash. create a new db connection without filling in credentials directly click on select database icon. you get an error balloon that is placed behind the db connection window you only see "... wrong password: NO)" From gambas at ...2524... Tue Dec 27 16:41:55 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 15:41:55 +0000 Subject: [Gambas-user] Issue 170 in gambas: Error balloon is placed behind database connection window In-Reply-To: <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Comment #1 on issue 170 by r... at ...1740...: Error balloon is placed behind database connection window http://code.google.com/p/gambas/issues/detail?id=170 1) Describe the problem. Error balloon is placed behind database connection window From gambas at ...2524... Tue Dec 27 16:45:56 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 15:45:56 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE Message-ID: <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 171 by r... at ...1740...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 1) Describe the problem. Cannot set property 'columns' of databrowser or dataview object in IDE 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4341 (if you use a development version) Operating system: Linux Distribution: Ubuntu 11.10 Architecture: x86_64 GUI component: QT4 Desktop used: Gnome 5) Explain clearly how to reproduce the bug or the crash. create a form, place a datasource on it, add a databrowser or a dataview object. try to add/edit 'columns' property by clicking the ... next to the property, nothing happens. I left property 'Connection' empty to select the default one, should that matter. From gambas at ...2524... Tue Dec 27 18:19:39 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 17:19:39 +0000 Subject: [Gambas-user] Issue 169 in gambas: Error renaming database connection In-Reply-To: <0-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 169 by benoit.m... at ...626...: Error renaming database connection http://code.google.com/p/gambas/issues/detail?id=169 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 27 18:23:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 17:23:40 +0000 Subject: [Gambas-user] Issue 169 in gambas: Error renaming database connection In-Reply-To: <1-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> <0-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10772160878993071440-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 169 by benoit.m... at ...626...: Error renaming database connection http://code.google.com/p/gambas/issues/detail?id=169 Fixed in revision #4343. From gambas at ...2524... Tue Dec 27 18:27:41 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 17:27:41 +0000 Subject: [Gambas-user] Issue 170 in gambas: Error balloon is placed behind database connection window In-Reply-To: <1-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Updates: Labels: -Version Version-TRUNK Comment #2 on issue 170 by benoit.m... at ...626...: Error balloon is placed behind database connection window http://code.google.com/p/gambas/issues/detail?id=170 Mmm. No problem with KDE. I will try with Gnome... if it does not crash the nouveau driver! From gambas at ...2524... Tue Dec 27 18:31:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 17:31:43 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE In-Reply-To: <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 171 by benoit.m... at ...626...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 Your DataBrowser or DataView must have a parent (or any ancestor) DataSource with a defined Connection property. Otherwise the dialog is not shown. Or maybe you want to be able to define this property without any Connection defined? From gambas at ...2524... Tue Dec 27 18:35:44 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 17:35:44 +0000 Subject: [Gambas-user] Issue 170 in gambas: Error balloon is placed behind database connection window In-Reply-To: <2-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #3 on issue 170 by benoit.m... at ...626...: Error balloon is placed behind database connection window http://code.google.com/p/gambas/issues/detail?id=170 (No comment was entered for this change.) From gambas at ...2524... Tue Dec 27 20:24:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 27 Dec 2011 19:24:31 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE In-Reply-To: <1-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Comment #2 on issue 171 by r... at ...1740...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 Yes, I think one should always be able to enter column names manually, like in gambas2 for projects not having a connection defined via the ide. From gambas at ...2524... Wed Dec 28 01:22:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 00:22:37 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent Message-ID: <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 172 by emil.len... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 1) Describe the problem. Let's say you have an object "obj" of class Class1. Class1 has these symbols: Static Public Const c As Integer Static Public v As Integer Static Property p As Integer Static Public Sub f() If you now try to execute obj.f() or evaluating obj.c, that works. But evaluating obj.v or obj.p results in a runtime error "'Class1.v' is static". That is quite inconsistent. The same rules should be applied to all kind of symbols when they are static, but used on instances, I think... 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4343 From sebikul at ...626... Wed Dec 28 02:03:17 2011 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 27 Dec 2011 22:03:17 -0300 Subject: [Gambas-user] Getting an Object instance from a string Message-ID: Hi! I am having some problems when using the?Object.GetProperty method when the object parameter to be used is stored in a string. The structure of my project is as follows ============ Module Module1{ public Var1 as string } ============ Module Main (Starting class){ public sub Main() DIM sModule as String sModule="Module1" Object.GetProperty(sModule, "Var1") END } ============ The normal behavior is to know the first parameter of the GetProperty method, hence calling Object.GetProperty(Module1, "Var1"), but i need the first parameter to be dynamic, therefore being of a type different than object I would like to know if there is a way to get an instance of an object by knowing the class/module name, or if the GetProperty method can be modified to accept a string as a parameter, same as the second argument Thanks! From bbruen at ...2308... Wed Dec 28 02:11:38 2011 From: bbruen at ...2308... (Bruce Bruen) Date: Wed, 28 Dec 2011 11:41:38 +1030 Subject: [Gambas-user] Re Issue 169 - a few comments Message-ID: <1325034698.10550.48.camel@...2688...> Hi emil.len... at ...626... I have some thoughts on this. Static Public Const c As Integer Any (public) const could be defineable as being "static" by nature (all instances share the same value). The Static keyword for Const is not required and is not in the systax defined in the help for "Constant Declaration". So a Static Const is the same as a nonstatic const. If anything the compiler should complain about the word Static being included in a Const declaration. Static Public v As Integer I don't see any reason why a dynamic reference to a static variable should not be allowed. It's just referencing the class level instance of the variable. From the help on "Variable Declaration" we get "If the STATIC keyword is specified, the same variable will be shared with every object of this class." The Static keyword implies that there will be only one instance of that variable accessable by all instances of the class. There is no restriction of access being limited. Static Public Sub f() Now, here is where "Static" means something different to the above! Static when applied to a method infers that it can only access "the static variables of the class." In fact it has a larger meaning in that it acts only on the class level "instance" (i.e. the "instance" created when the class is loaded). The reason for the restriction of access referencing to only via the class reference is less clear. I cannot think of an example at present (sitting in an airport internet cafe) but suffice to say that the meaning of the Static keyword here differs from the above. Static Property p As Integer This is similar to the above. A property "really" is one or two accessor methods. In that light, they are the same as the "f" method above. regards Bruce From gambas at ...2524... Wed Dec 28 05:02:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 04:02:43 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 172 by benoit.m... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 You are right. obj.f() and obj.c should raise the same error, because using a static symbol on a instance is not logical. From gambas at ...2524... Wed Dec 28 05:18:53 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 04:18:53 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <1-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #2 on issue 172 by benoit.m... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Mmm... Actually this is very useful to be allowed to do obj.c. Because sometimes you don't know the class of 'obj' at design time, or you don't want to know if a property is a real dynamic property or just a constant. So the same thing could be told for obj.v, obj.f(), or obj.p and I should allow them. This is a matter of being allowed to design a class differently without breaking the other classes that use it. From gambas at ...2524... Wed Dec 28 08:59:47 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 07:59:47 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE In-Reply-To: <2-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Comment #3 on issue 171 by r... at ...1740...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 I just checked again, and the proposed way it should work simply doesn doesn't work. Look at the gambas3 example "Database 0.0.1" goto form FTest and try to alter the field property of DataControl1, or any other data object, you can't change it! This project doesn't have a Connection defined. But even if you have one and select it as connection in DataSource it doesn't work, both situations should be working. So these object are completely unusable, and stopped me from porting my project to gambas3. From gambas at ...2524... Wed Dec 28 11:04:12 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 10:04:12 +0000 Subject: [Gambas-user] Issue 173 in gambas: Increasing tabstrip count from ide made Gambas3 crashing Message-ID: <0-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 173 by marcobra... at ...626...: Increasing tabstrip count from ide made Gambas3 crashing http://code.google.com/p/gambas/issues/detail?id=173 1) Describe the problem. Increasing tabstrip from ide give me [13] Null object. FProperty.SaveProperty.413 then gambas3 crash 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4344 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. No necessary, simply try this by creati a dialog window on a new empty project 5) Put a tabstrip in a dialog then increase the "Count" number of Tabs From gambas at ...2524... Wed Dec 28 14:52:47 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 13:52:47 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <2-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #3 on issue 172 by emil.len... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 What is exactly the point in having both dynamic constants and static constants? They seem to behave equally. You can even access a dynamic constant by writing Class1.some_constant. There is only one type of constant for native classes, which can be used both in static contexts and dynamic contexts. That is more logical. From ron at ...1740... Wed Dec 28 14:52:29 2011 From: ron at ...1740... (Ron) Date: Wed, 28 Dec 2011 14:52:29 +0100 Subject: [Gambas-user] Gambas3 IDE's un- indent buttons Message-ID: <4EFB1F1D.60505@...1740...> Community, I really, really miss the Indent and Unindent toolbar icons in Gambas3's IDE! I want to start a petition to get them back, 1 vote added.. Regards, Ron_2nd. From gambas at ...2524... Wed Dec 28 15:33:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 14:33:01 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <3-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #4 on issue 172 by emil.len... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 One little problem I can see is the following: Let's say you have obj1 and obj2 of class Class1. Class1 has a static variable 'a'. The following code: obj1.a = 1426 obj2.a = 231 Print obj1.a 'Prints 231 If you don't know that 'a' is actually static, but you know that obj1 and obj2 are different objects, you might think it's strange when both obj1.a and obj2.a seem to point to the same variable. However, this problem does not exist for read only properties. From gambas at ...1... Wed Dec 28 16:11:37 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 28 Dec 2011 16:11:37 +0100 Subject: [Gambas-user] Gambas3 IDE's un- indent buttons In-Reply-To: <4EFB1F1D.60505@...1740...> References: <4EFB1F1D.60505@...1740...> Message-ID: <4EFB31A9.1000001@...1...> Le 28/12/2011 14:52, Ron a ?crit : > Community, > > I really, really miss the Indent and Unindent toolbar icons in Gambas3's > IDE! > > I want to start a petition to get them back, 1 vote added.. > > Regards, > Ron_2nd. > Click on the toolbar with the right mouse button: a popup menu opens. Then click on "configure" to configure the toolbar the way you want. Regards, -- Beno?t Minisini From gambas at ...2524... Wed Dec 28 16:26:26 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 15:26:26 +0000 Subject: [Gambas-user] Issue 173 in gambas: Increasing tabstrip count from ide made Gambas3 crashing In-Reply-To: <0-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 173 by benoit.m... at ...626...: Increasing tabstrip count from ide made Gambas3 crashing http://code.google.com/p/gambas/issues/detail?id=173 Fixed in revision #4347. From gambas at ...2524... Wed Dec 28 16:32:29 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 15:32:29 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <4-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #5 on issue 172 by benoit.m... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 There is no "dynamic" constant. The point is that you are using a symbol on an object reference, and the symbol kind (constant, property... static or not) is known at runtime only. By allowing using static symbols on reference too, not just on the class name, allows to change the class implementation without breaking the existing code. I have the case in the IDE, with singleton classes. The unique object of these classes have a read-only "Name" symbol, that is actually a constant, not a dynamic property or variable. It is faster (constants access are optimized at runtime). I can choose to make a constant, or a true property, or a variable, without breaking the existing code. Of course, the programmer must know what the class he uses does. Otherwise he may be get strange things like you point in the message #4. From gambas at ...2524... Wed Dec 28 16:36:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 15:36:31 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE In-Reply-To: <3-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #4 on issue 171 by benoit.m... at ...626...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 Mmm. Yes you get that point there. I was not logical. I will see what I can do... From gambas at ...2524... Wed Dec 28 16:40:32 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 15:40:32 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <5-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #6 on issue 172 by benoit.m... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 There is no "dynamic" constant. The point is that you are using a symbol on an object reference, and the symbol kind (constant, property... static or not) is known at runtime only. By allowing using static symbols on reference too, not just on the class name, allows to change the class implementation without breaking the existing code. I have the case with the IDE, with some singleton classes. The unique object of these classes have a read-only "Name" symbol, that is actually a constant, not a dynamic property or variable. It is faster, as constants access are optimized at runtime. And later I can choose to make a constant, or a true property, or a variable, without breaking the existing code. Of course, the programmer must know what the class does. Otherwise he may get strange things like you point in the message #4. From gambas at ...2524... Wed Dec 28 16:48:36 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 15:48:36 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <6-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #7 on issue 172 by emil.len... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Of course real "dynamic" constants would be totally useless :) With static/dynamic constants I meant this: You can declare a const like this: Static Public Const ... or only Public Const ... But including or omitting the Static keyword does not seem to have any effect here. From gambas at ...2524... Wed Dec 28 17:13:45 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 16:13:45 +0000 Subject: [Gambas-user] Issue 172 in gambas: Using static symbols on objects not consistent In-Reply-To: <7-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> <0-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-4122091894508805600-gambas=googlecode.com@...2524...> Comment #8 on issue 172 by benoit.m... at ...626...: Using static symbols on objects not consistent http://code.google.com/p/gambas/issues/detail?id=172 Haa ok. Indeed, the static keyword is optional with the Const keyword, because constants are always static. From gambas at ...2524... Wed Dec 28 17:17:46 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 16:17:46 +0000 Subject: [Gambas-user] Issue 171 in gambas: Cannot set property 'columns' of databrowser or dataview object in IDE In-Reply-To: <4-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> <0-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-18174192317484982566-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 171 by benoit.m... at ...626...: Cannot set property 'columns' of databrowser or dataview object in IDE http://code.google.com/p/gambas/issues/detail?id=171 OK, it should be fixed in revision #4348. Now all these properties are editable even if there is no Connection defined. Of course then you can't choose table and fields directly into the database. From gambas at ...2524... Wed Dec 28 17:21:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 16:21:48 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <12-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #13 on issue 153 by benoit.m... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 The gb.desktop.gnome component is needed to store passwords on Gnome. It needs a library named "gnome-keyring-1". You can see if you installed the development packages of "gnome-keyring-1" by doing: $ pkg-config --modversion gnome-keyring-1 I get "3.2.0" on Ubuntu 11.10. From fabianfloresvadell at ...626... Wed Dec 28 18:12:51 2011 From: fabianfloresvadell at ...626... (=?ISO-8859-1?Q?Fabi=E1n_Flores_Vadell?=) Date: Wed, 28 Dec 2011 14:12:51 -0300 Subject: [Gambas-user] Release of Gambas 3 In-Reply-To: <4EF50528.5090205@...1...> References: <4EF5025D.7000909@...1...> <4EF50528.5090205@...1...> Message-ID: I'd like to enhance gb.desktop so that it is usable enough to implement a simple GUI shell/desktop (for those who have time and find Gnome 3 or KDE 4 too heavy). The interesting thing is that this simple desktop will be able to use GTK+ or Qt4 indifferently, depending on the user taste. Someone interested in that project? What features will it have? What languages will be used? C/C++ for the Desktop component? Gambas for any else? From gambas at ...1... Wed Dec 28 18:54:27 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 28 Dec 2011 18:54:27 +0100 Subject: [Gambas-user] Release of Gambas 3 In-Reply-To: References: <4EF5025D.7000909@...1...> <4EF50528.5090205@...1...> Message-ID: <4EFB57D3.3040806@...1...> Le 28/12/2011 18:12, Fabi?n Flores Vadell a ?crit : > I'd like to enhance gb.desktop so that it is usable enough to > implement a simple GUI shell/desktop (for those who have time and find > Gnome 3 or KDE 4 too heavy). The interesting thing is that this simple > desktop will be able to use GTK+ or Qt4 indifferently, depending on the > user taste. Someone interested in that project? > > What features will it have? > > What languages will be used? C/C++ for the Desktop component? Gambas for > any else? C is needed for the gb.desktop component that implements X11 features. At the moment, this part misses these features: - Full management of windows properties (X and Y are not implemented correctly for example) - Management of the SYSTRAY protocol (the system tray). Then the Gambas part of gb.desktop needs to implement some freedesktop protocols, especially the *.desktop file format that allows to make a startup menu. As for features, I want to start with the simplest possible at the beginning: - A panel with task buttons, virtual desktop buttons, startup menu, system tray. - Some little widgets to display the hour, the network state (how?), program startup icons... - An integrated file manager (like explorer in windows 95). - A background image. - Desktop icons? The interesting part IMHO is that all these things will be integrated in the same Gambas executable, so things will start fast. I'm fed up with waiting for KDE4 to start. :-) And I want a file manager that DOES NOT save its view configuration INSIDE the viewed directory - One of the most stupid things I've ever seen! Of course we need a window manager too. I don't know if we can make one directly in Gambas. I think some more X11 features are needed in gb.desktop. Or maybe by taken an already existing wm, and patching it to make its configuration screen in Gambas? -- Beno?t Minisini From gambas.fr at ...626... Wed Dec 28 19:08:50 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 28 Dec 2011 19:08:50 +0100 Subject: [Gambas-user] Gambas3 IDE's un- indent buttons In-Reply-To: <4EFB31A9.1000001@...1...> References: <4EFB1F1D.60505@...1740...> <4EFB31A9.1000001@...1...> Message-ID: Le 28 d?cembre 2011 16:11, Beno?t Minisini a ?crit : > Le 28/12/2011 14:52, Ron a ?crit : >> Community, >> >> I really, really miss the Indent and Unindent toolbar icons in Gambas3's >> IDE! >> >> I want to start a petition to get them back, 1 vote added.. >> >> Regards, >> Ron_2nd. >> > > Click on the toolbar with the right mouse button: a popup menu opens. > Then click on "configure" to configure the toolbar the way you want. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user mdr... more vote ... i use tab for that :/.... -- Fabien Bodard From gambas.fr at ...626... Wed Dec 28 19:09:49 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 28 Dec 2011 19:09:49 +0100 Subject: [Gambas-user] Release of Gambas 3 In-Reply-To: <4EFB57D3.3040806@...1...> References: <4EF5025D.7000909@...1...> <4EF50528.5090205@...1...> <4EFB57D3.3040806@...1...> Message-ID: Le 28 d?cembre 2011 18:54, Beno?t Minisini a ?crit : > Le 28/12/2011 18:12, Fabi?n Flores Vadell a ?crit : >> ? I'd like to enhance gb.desktop so that it is usable enough to >> implement a simple GUI shell/desktop (for those who have time and find >> Gnome 3 or KDE 4 too heavy). The interesting thing is that this simple >> desktop will be able to use GTK+ or Qt4 indifferently, depending on the >> user taste. Someone interested in that project? >> >> What features will it have? >> >> What languages will be used? C/C++ for the Desktop component? Gambas for >> any else? > > C is needed for the gb.desktop component that implements X11 features. > > At the moment, this part misses these features: > - Full management of windows properties (X and Y are not implemented > correctly for example) > - Management of the SYSTRAY protocol (the system tray). > > Then the Gambas part of gb.desktop needs to implement some freedesktop > protocols, especially the *.desktop file format that allows to make a > startup menu. > > As for features, I want to start with the simplest possible at the > beginning: > > - A panel with task buttons, virtual desktop buttons, startup menu, > system tray. > - Some little widgets to display the hour, the network state (how?), > program startup icons... > - An integrated file manager (like explorer in windows 95). > - A background image. > - Desktop icons? > > The interesting part IMHO is that all these things will be integrated in > the same Gambas executable, so things will start fast. I'm fed up with > waiting for KDE4 to start. :-) > > And I want a file manager that DOES NOT save its view configuration > INSIDE the viewed directory - One of the most stupid things I've ever seen! > > Of course we need a window manager too. I don't know if we can make one > directly in Gambas. I think some more X11 features are needed in > gb.desktop. Or maybe by taken an already existing wm, and patching it to > make its configuration screen in Gambas? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user a really great challenge for gambas :-) -- Fabien Bodard From fabianfloresvadell at ...626... Wed Dec 28 20:40:31 2011 From: fabianfloresvadell at ...626... (=?ISO-8859-1?Q?Fabi=E1n_Flores_Vadell?=) Date: Wed, 28 Dec 2011 16:40:31 -0300 Subject: [Gambas-user] Release of Gambas 3 In-Reply-To: References: <4EF5025D.7000909@...1...> <4EF50528.5090205@...1...> <4EFB57D3.3040806@...1...> Message-ID: > Then the Gambas part of gb.desktop needs to implement some freedesktop > protocols, especially the *.desktop file format that allows to make a > startup menu. > As for features, I want to start with the simplest possible at the > beginning: > - A panel with task buttons, virtual desktop buttons, startup menu, > system tray. > - Some little widgets to display the hour, the network state (how?), > program startup icons... > - An integrated file manager (like explorer in windows 95). > - A background image. > - Desktop icons? I agree. > The interesting part IMHO is that all these things will be integrated in > the same Gambas executable, so things will start fast. I'm fed up with > waiting for KDE4 to start. :-) Yep. > And I want a file manager that DOES NOT save its view configuration > INSIDE the viewed directory - One of the most stupid things I've ever seen! I think that libfm could be used, but a wrapper could be needed to expose its functionality in a object oriented way. So, a fronted in Gambas would be the only missing part. > Of course we need a window manager too. I don't know if we can make one > directly in Gambas. I think some more X11 features are needed in > gb.desktop. Or maybe by taken an already existing wm, and patching it to > make its configuration screen in Gambas? >From my point of view a WM is a complex piece of software, and is would be easier borrow one. There are plenty to choose, I like openbox because sometimes I use LXDE to get the max speed from my hardware. But a complete gb.Desktop component providing the features needed to make complex X11 software may be a killer feature. Regards. From gambas at ...2524... Wed Dec 28 21:20:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 28 Dec 2011 20:20:37 +0000 Subject: [Gambas-user] Issue 174 in gambas: gb.desktop does not recognizes ~ as the home folder Message-ID: <0-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 174 by sebi... at ...626...: gb.desktop does not recognizes ~ as the home folder http://code.google.com/p/gambas/issues/detail?id=174 Using gambas 3.0 rc7, Archlinux By executing Desktop.Open("~/Downloads") the interpreter thinks i'm trying to open <>, when the location should be <> From vuott at ...325... Wed Dec 28 23:52:40 2011 From: vuott at ...325... (Ru Vuott) Date: Wed, 28 Dec 2011 22:52:40 +0000 (GMT) Subject: [Gambas-user] Conflict discovered in 'trunk/main/lib/db/gb.db/.startup'. In-Reply-To: <4EFB57D3.3040806@...1...> Message-ID: <1325112760.84751.YahooMailClassic@...2748...> Hello, from Gambas-3 (svn checkout) updating I had a message: << ....... ....... U trunk/main/gbx/gbx_c_array.h Conflict discovered in 'trunk/main/lib/db/gb.db/.startup'. Select: (p) postpone, (df) diff-full, (e) edit, (mc) mine-conflict, (tc) theirs-conflict, (s) show all options: >> What have I to do ???? Which do I choose ? Paolo From gambas at ...1... Thu Dec 29 00:06:25 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 29 Dec 2011 00:06:25 +0100 Subject: [Gambas-user] Conflict discovered in 'trunk/main/lib/db/gb.db/.startup'. In-Reply-To: <1325112760.84751.YahooMailClassic@...2748...> References: <1325112760.84751.YahooMailClassic@...2748...> Message-ID: <4EFBA0F1.6000106@...1...> Le 28/12/2011 23:52, Ru Vuott a ?crit : > Hello, > > from Gambas-3 (svn checkout) updating I had a message: > > << ....... > ....... > U trunk/main/gbx/gbx_c_array.h > Conflict discovered in 'trunk/main/lib/db/gb.db/.startup'. > Select: (p) postpone, (df) diff-full, (e) edit, > (mc) mine-conflict, (tc) theirs-conflict, > (s) show all options:>> > > What have I to do ???? Which do I choose ? > > > Paolo > 'tc', to choose the file coming from sourceforge. You may have changed this file on your local repository by opening the gb.db project. Regards, -- Beno?t Minisini From jacontreras at ...2715... Thu Dec 29 00:01:30 2011 From: jacontreras at ...2715... (Alfonso Contreras) Date: Wed, 28 Dec 2011 17:01:30 -0600 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: Hi Fabian I have a question how can I change the report orientation to landscape? Thank you -----Mensaje original----- De: Fabien Bodard [mailto:gambas.fr at ...626...] Enviado el: martes, 13 de diciembre de 2011 07:11 a.m. Para: mailing list for gambas users Asunto: Re: [Gambas-user] gb.report Gambas 3 - I'm struggling 2011/12/13 Bill-Lancaster : > > SVN > > Have installed it (I think!). > > If I run Gambas3 from where I did the install I get Gambas 2.99.6 - is > this if you haveinstalled the rc before ... you need to remove it. then make instal in the svn . the version number is the same as the last rc > the svn? > > running the report example produces "not enough arguments" when Print > button clicked hum... i've change some things in need to see if it's not my fault > -- > View this message in context: > http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969 > p32965155.html Sent from the gambas-user mailing list archive at > Nabble.com. > > > ---------------------------------------------------------------------- > -------- > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems > Optimization Self Assessment. > http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ---------------------------------------------------------------------------- -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Thu Dec 29 00:44:03 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 29 Dec 2011 00:44:03 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: 2011/12/29 Alfonso Contreras : > Hi Fabian I have a question how can I change the report orientation to > landscape? report1.orientation = printer.landscape > > Thank you > > > > -----Mensaje original----- > De: Fabien Bodard [mailto:gambas.fr at ...626...] > Enviado el: martes, 13 de diciembre de 2011 07:11 a.m. > Para: mailing list for gambas users > Asunto: Re: [Gambas-user] gb.report Gambas 3 - I'm struggling > > 2011/12/13 Bill-Lancaster : >> >> SVN >> >> Have installed it (I think!). >> >> If I run Gambas3 from where I did the install I get Gambas 2.99.6 - is >> this > if you haveinstalled the rc before ... you need to remove it. > then make instal in the svn . > > the version number is the same as the last rc > > > >> the svn? >> >> running the report example produces "not enough arguments" when Print >> button clicked > hum... i've change some things in need to see if it's not my fault >> -- >> View this message in context: >> http://old.nabble.com/gb.report-Gambas-3---I%27m-struggling-tp32951969 >> p32965155.html Sent from the gambas-user mailing list archive at >> Nabble.com. >> >> >> ---------------------------------------------------------------------- >> -------- >> Systems Optimization Self Assessment >> Improve efficiency and utilization of IT resources. Drive out cost and >> improve service delivery. Take 5 minutes to use this Systems >> Optimization Self Assessment. >> http://www.accelacomm.com/jaw/sdnl/114/51450054/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ---------------------------------------------------------------------------- > -- > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Thu Dec 29 00:45:24 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 29 Dec 2011 00:45:24 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: or just change it in the ide (in the properties) From jacontreras at ...2715... Thu Dec 29 01:05:56 2011 From: jacontreras at ...2715... (Alfonso Contreras) Date: Wed, 28 Dec 2011 18:05:56 -0600 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: Hi Fabian, I just tried that but the orientation property is not available in gambas3 neither in the ide. Thank you Alfonso -----Mensaje original----- De: Fabien Bodard [mailto:gambas.fr at ...626...] Enviado el: mi?rcoles, 28 de diciembre de 2011 05:45 p.m. Para: mailing list for gambas users Asunto: Re: [Gambas-user] gb.report Gambas 3 - I'm struggling or just change it in the ide (in the properties) ---------------------------------------------------------------------------- -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Dec 29 01:54:31 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 29 Dec 2011 01:54:31 +0100 Subject: [Gambas-user] Getting an Object instance from a string In-Reply-To: References: Message-ID: <4EFBBA47.6040400@...1...> Le 28/12/2011 02:03, Sebastian Kulesz a ?crit : > Hi! I am having some problems when using the Object.GetProperty method > when the object parameter to be used is stored in a string. The > structure of my project is as follows > > ============ > Module Module1{ > > public Var1 as string > > } > > > ============ > Module Main (Starting class){ > > public sub Main() > > DIM sModule as String > > sModule="Module1" > > Object.GetProperty(sModule, "Var1") > > END > > } > ============ > > The normal behavior is to know the first parameter of the GetProperty > method, hence calling Object.GetProperty(Module1, "Var1"), but i need > the first parameter to be dynamic, therefore being of a type different > than object > > I would like to know if there is a way to get an instance of an object > by knowing the class/module name, or if the GetProperty method can be > modified to accept a string as a parameter, same as the second > argument > > Thanks! > Hi, All that is non-sense for me. You can handle an object only through a reference on it (a.k.a. pointer in other languages). A class/module name is just its name. It won't tell you anything about its instances. Regards, -- Beno?t Minisini From support at ...2529... Thu Dec 29 03:20:31 2011 From: support at ...2529... (John Spikowski) Date: Wed, 28 Dec 2011 18:20:31 -0800 Subject: [Gambas-user] Getting an Object instance from a string In-Reply-To: References: Message-ID: <1325125231.2065.12.camel@...1833...> On Tue, 2011-12-27 at 22:03 -0300, Sebastian Kulesz wrote: > Hi! I am having some problems when using the Object.GetProperty method > when the object parameter to be used is stored in a string. The > structure of my project is as follows > > ============ > Module Module1{ > > public Var1 as string > > } > > > ============ > Module Main (Starting class){ > > public sub Main() > > DIM sModule as String > > sModule="Module1" > > Object.GetProperty(sModule, "Var1") > > END > > } > ============ > > The normal behavior is to know the first parameter of the GetProperty > method, hence calling Object.GetProperty(Module1, "Var1"), but i need > the first parameter to be dynamic, therefore being of a type different > than object > > I would like to know if there is a way to get an instance of an object > by knowing the class/module name, or if the GetProperty method can be > modified to accept a string as a parameter, same as the second > argument > > Thanks! > Beno?t has already responded on this but I'm currious, before using Gambas, were you using the IUP (Portable User Interface) GUI library? Your requests sounds very IUPish. ;-) From gambas at ...2524... Thu Dec 29 08:10:10 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 07:10:10 +0000 Subject: [Gambas-user] Issue 173 in gambas: Increasing tabstrip count from ide made Gambas3 crashing In-Reply-To: <1-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> <0-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2505086301328945327-gambas=googlecode.com@...2524...> Comment #2 on issue 173 by marcobra... at ...626...: Increasing tabstrip count from ide made Gambas3 crashing http://code.google.com/p/gambas/issues/detail?id=173 Confirmed fixed Thanks Benoit From sebikul at ...626... Thu Dec 29 08:17:09 2011 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 29 Dec 2011 04:17:09 -0300 Subject: [Gambas-user] Getting an Object instance from a string In-Reply-To: <1325125231.2065.12.camel@...1833...> References: <1325125231.2065.12.camel@...1833...> Message-ID: On Wed, Dec 28, 2011 at 11:20 PM, John Spikowski wrote: > On Tue, 2011-12-27 at 22:03 -0300, Sebastian Kulesz wrote: >> Hi! I am having some problems when using the Object.GetProperty method >> when the object parameter to be used is stored in a string. The >> structure of my project is as follows >> >> ============ >> Module Module1{ >> >> public Var1 as string >> >> } >> >> >> ============ >> Module Main (Starting class){ >> >> public sub Main() >> >> ? ? DIM sModule as String >> >> ? ? sModule="Module1" >> >> ? ? Object.GetProperty(sModule, "Var1") >> >> END >> >> } >> ============ >> >> The normal behavior is to know the first parameter ?of the GetProperty >> method, hence calling Object.GetProperty(Module1, "Var1"), but i need >> the first parameter to be dynamic, therefore being of a type different >> than object >> >> I would like to know if there is a way to get an instance of an object >> by knowing the class/module name, or if the GetProperty method can be >> modified to accept a string as a parameter, same as the second >> argument >> >> Thanks! >> > Beno?t has already responded on this but I'm currious, before using > Gambas, were you using the IUP (Portable User Interface) GUI library? > > Your requests sounds very IUPish. ;-) > > I understand that by looking this problem from the coding side, a pointer makes much sense. But my problem is this: I have a fixed set of modules. Each of them have the same properties and one method. By checking the user's system, a module may or may not be loaded and added into a treeview. Now, when the user clicks on a treeview item, I want to load the properties of the corresponding module. To do this, I can only know the selected module from the treeview key, which is a string that matches the module name. The problem would be here, as I cannot tell the Object.GetProperty to fetch a property from this string. I managed, though, to get around this problem. I just coded a huge select case function, which returns the object from a given string. But every time I add a module I have to add useless code that makes my app more error prone and less maintainable. Thanks! PD: I heard a few times about the IUP library, but I never actually used it ;) From nando_f at ...951... Thu Dec 29 08:42:40 2011 From: nando_f at ...951... (nando) Date: Thu, 29 Dec 2011 03:42:40 -0400 Subject: [Gambas-user] Getting an Object instance from a string In-Reply-To: References: <1325125231.2065.12.camel@...1833...> Message-ID: <20111229073505.M46919@...951...> ...If I understand properly, I had a similar issue years ago. You want to extend each class and override each with it's own personal .getproperty. Dynamic dispatching will call the correct SUB So, you want to wrap into a SUB the Object.GetProperty(sModule, "Var1") so that it gets dynamically dispatched. Although I know C++ doest this (which is how I solved my problem at that time) my question for Benoit is does GAMBAS also work this way too? -Fernando ---------- Original Message ----------- From: Sebastian Kulesz To: mailing list for gambas users Sent: Thu, 29 Dec 2011 04:17:09 -0300 Subject: Re: [Gambas-user] Getting an Object instance from a string > On Wed, Dec 28, 2011 at 11:20 PM, John Spikowski > wrote: > > On Tue, 2011-12-27 at 22:03 -0300, Sebastian Kulesz wrote: > >> Hi! I am having some problems when using the Object.GetProperty method > >> when the object parameter to be used is stored in a string. The > >> structure of my project is as follows > >> > >> ============ > >> Module Module1{ > >> > >> public Var1 as string > >> > >> } > >> > >> > >> ============ > >> Module Main (Starting class){ > >> > >> public sub Main() > >> > >> ? ? DIM sModule as String > >> > >> ? ? sModule="Module1" > >> > >> ? ? Object.GetProperty(sModule, "Var1") > >> > >> END > >> > >> } > >> ============ > >> > >> The normal behavior is to know the first parameter ?of the GetProperty > >> method, hence calling Object.GetProperty(Module1, "Var1"), but i need > >> the first parameter to be dynamic, therefore being of a type different > >> than object > >> > >> I would like to know if there is a way to get an instance of an object > >> by knowing the class/module name, or if the GetProperty method can be > >> modified to accept a string as a parameter, same as the second > >> argument > >> > >> Thanks! > >> > > Beno?t has already responded on this but I'm currious, before using > > Gambas, were you using the IUP (Portable User Interface) GUI library? > > > > Your requests sounds very IUPish. ;-) > > > > > > I understand that by looking this problem from the coding side, a > pointer makes much sense. But my problem is this: > I have a fixed set of modules. Each of them have the same properties > and one method. By checking the user's system, a module may or may not > be loaded and added into a treeview. Now, when the user clicks on a > treeview item, I want to load the properties of the corresponding > module. To do this, I can only know the selected module from the > treeview key, which is a string that matches the module name. > > The problem would be here, as I cannot tell the Object.GetProperty to > fetch a property from this string. > > I managed, though, to get around this problem. I just coded a huge > select case function, which returns the object from a given string. > But every time I add a module I have to add useless code that makes my > app more error prone and less maintainable. > > Thanks! > > PD: I heard a few times about the IUP library, but I never actually used it ;) > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...2524... Thu Dec 29 09:16:43 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 08:16:43 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <13-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Comment #14 on issue 153 by marcobra... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 Benoit pkg-config --modversion gnome-keyring-1 Package gnome-keyring was not found in the pkg-config search path. Perhaps you should add the directory containing `gnome-keyring.pc' to the PKG_CONFIG_PATH environment variable No package 'gnome-keyring' found # apt-file search gnome-keyring | grep -i gnome-keyring-1.pc libgnome-keyring-dev: /usr/lib/pkgconfig/gnome-keyring-1.pc # sudo apt-get --reinstall install libgnome-keyring-dev export PKG_CONFIG_PATH=/usr/lib/pkgconfig/ # pkg-config --modversion gnome-keyring-1 2.30.1 sudo ldconfig Then recompiling Gambas3 with... ./reconf-all; ./configure -C sudo make install Dress my issue Thanks From gambas at ...2524... Thu Dec 29 09:47:58 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 08:47:58 +0000 Subject: [Gambas-user] Issue 153 in gambas: gambas3 segfault creating new postgresql connection inside gambas ide In-Reply-To: <14-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> <0-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-4734385683204119295-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #15 on issue 153 by benoit.m... at ...626...: gambas3 segfault creating new postgresql connection inside gambas ide http://code.google.com/p/gambas/issues/detail?id=153 OK, I'm closing the issue! From gambas at ...2524... Thu Dec 29 09:52:01 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 08:52:01 +0000 Subject: [Gambas-user] Issue 174 in gambas: gb.desktop does not recognizes ~ as the home folder In-Reply-To: <0-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement Comment #1 on issue 174 by benoit.m... at ...626...: gb.desktop does not recognizes ~ as the home folder http://code.google.com/p/gambas/issues/detail?id=174 It's not actually Gambas, but the xdg-util script that does not interpret "~". Because the Desktop.Open() argument is not a file path, but an URL. But I could do the trick for it I think, so let's call this issue an enhancement! From gambas.fr at ...626... Thu Dec 29 09:54:37 2011 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 29 Dec 2011 09:54:37 +0100 Subject: [Gambas-user] gb.report Gambas 3 - I'm struggling In-Reply-To: References: <32951969.post@...1379...> <32954214.post@...1379...> <32954824.post@...1379...> <32956050.post@...1379...> <32965155.post@...1379...> Message-ID: 2011/12/29 Alfonso Contreras : > Hi Fabian, I just tried that but the orientation property is not available > in gambas3 neither in the ide. > > Thank you > > Alfonso > > -----Mensaje original----- > De: Fabien Bodard [mailto:gambas.fr at ...626...] > Enviado el: mi?rcoles, 28 de diciembre de 2011 05:45 p.m. > Para: mailing list for gambas users > Asunto: Re: [Gambas-user] gb.report Gambas 3 - I'm struggling > > or just change it in the ide (in the properties) > > ---------------------------------------------------------------------------- > -- > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user use at least the last RC and the better will be to use the svn until the 31/12/2011 -- Fabien Bodard From gambas at ...2524... Thu Dec 29 10:16:24 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 09:16:24 +0000 Subject: [Gambas-user] Issue 174 in gambas: gb.desktop does not recognizes ~ as the home folder In-Reply-To: <1-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> <0-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2332255651949630796-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 174 by benoit.m... at ...626...: gb.desktop does not recognizes ~ as the home folder http://code.google.com/p/gambas/issues/detail?id=174 Done in revision #4357. From gambas at ...2524... Thu Dec 29 16:52:25 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 15:52:25 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected Message-ID: <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 175 by emil.len... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 1) Describe the problem. The Array classes does not follow the inheritance rules. That leads to problems when using the Array Base class like this: 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK 3) Provide a little project that reproduces the bug or the crash. Dim a As Array Dim i As Integer For i = 1 To 2 If i = 1 Then a = New Integer[1] a[0] = 1 Else If i = 2 Then a = New String[1] a[0] = "2" End If Print a[0] + i 'Will print the address in memory for "2" + i the second time Next Prints: 2 13148466 gbx3: warning: 2 allocation(s) non freed. From gambas at ...2524... Thu Dec 29 17:14:31 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 16:14:31 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 175 by benoit.m... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 Well, that class coming from Gambas 1 should be virtual, because it wasn't intended to be used directly! Some methods do not work anymore because of an optimization in revision #4248. These are all methods returning an array element: _get (array accessor), _next (array enumeration), Pop. I have two solutions: removing these methods, or not sharing them with other specific array classes and writing specific versions of them. I have not decided yet. But I must be fast, the release is the day after tomorrow! From gambas at ...2524... Thu Dec 29 17:22:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 16:22:33 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <1-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Comment #2 on issue 175 by emil.len... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 I also first thought that this class was not to be used alone, but then I saw it being used like this in ReadArray() and WriteValue() in gb.settings... From gambas at ...2524... Thu Dec 29 17:34:40 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 16:34:40 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <2-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Comment #3 on issue 175 by benoit.m... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 AFAIK, this is the only place I use it, and I don't think I need it. By the way, I see you looking everywhere in the code, and I would like to thank you for all your bug tracking. I am curious: do you do that just for fun? Or do you have any specific project with Gambas? Answer me to gambas at ...52... From gambas at ...2524... Thu Dec 29 18:01:51 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 17:01:51 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <3-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 175 by benoit.m... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 It should be fixed in revision #4360. I chose the second solution. From gambas at ...2524... Thu Dec 29 18:17:00 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 17:17:00 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <4-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Comment #5 on issue 175 by emil.len... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 Print a.Pop() + i still does not work as expected, since the interpreter calls the inherited method, not the parent method ;) From gambas at ...2524... Thu Dec 29 18:26:05 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 17:26:05 +0000 Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() Message-ID: <0-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 176 by tommyl... at ...2525...: problems with SizeOf() http://code.google.com/p/gambas/issues/detail?id=176 1) Describe the problem. It seems like the SizeOf function expects integer as argument and causes erroro when I try to check anything that's not of integer type. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4360 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. dim f as float = 1.5 print sizeof(f) results in: "Type mismatch: wanted Integer, got Float instead" in gbx_class_info.c there is declaration of the function: GB_METHOD("SizeOf", "i", NULL, "(Type)i"), Should the "Type" be of "i"? Regards Tomek. From gambas at ...2524... Thu Dec 29 18:32:14 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 17:32:14 +0000 Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <0-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() http://code.google.com/p/gambas/issues/detail?id=176 Have you read the documentation of SizeOf? From tommyline at ...2340... Thu Dec 29 18:41:21 2011 From: tommyline at ...2340... (tommyline at ...2340...) Date: Thu, 29 Dec 2011 17:41:21 +0000 (GMT) Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <1-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Message-ID: <17025209.4964.1325180480991.JavaMail.root@...2632...> ----- Original Message ----- From: gambas at ...2524... To: gambas-user at lists.sourceforge.net Sent: Thursday, 29 December, 2011 5:32:14 PM Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() http://code.google.com/p/gambas/issues/detail?id=176 Have you read the documentation of SizeOf? Yes, it says that "Size = SizeOf ( Datatype ) - Returns the memory used for storing a specific datatype." and "Datatype can be any of the listed. So I assume that I can do with a as integer -> a=SizeOf(f as float) or a=SizeOf(s as string), and "a" should return the length of the datatype in bytes. Or am I wrong? Regards Tomek. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboe1 at ...20... Thu Dec 29 18:52:36 2011 From: tobiasboe1 at ...20... (tobias) Date: Thu, 29 Dec 2011 18:52:36 +0100 Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <17025209.4964.1325180480991.JavaMail.root@...2632...> References: <17025209.4964.1325180480991.JavaMail.root@...2632...> Message-ID: <4EFCA8E4.2090109@...20...> On 29.12.2011 18:41, tommyline at ...2340... wrote: > > ----- Original Message ----- > From: gambas at ...2524... > To: gambas-user at lists.sourceforge.net > Sent: Thursday, 29 December, 2011 5:32:14 PM > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > > Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() > http://code.google.com/p/gambas/issues/detail?id=176 > > Have you read the documentation of SizeOf? > > Yes, it says that > > "Size = SizeOf ( Datatype ) - Returns the memory used for storing a specific datatype." and "Datatype can be any of the listed. So I assume that I can do with a as integer -> a=SizeOf(f as float) or a=SizeOf(s as string), and "a" should return the length of the datatype in bytes. Or am I wrong? > > Regards > Tomek. > yes, you are. there are integer constants for those datatypes... so SizeOf(gb.Float) will return the desired value. the list lines up there? From girardhenri at ...67... Thu Dec 29 18:59:40 2011 From: girardhenri at ...67... (Girard Henri) Date: Thu, 29 Dec 2011 18:59:40 +0100 Subject: [Gambas-user] Best wishes for 2012 and thanks for gambas3 In-Reply-To: <4EFCA8E4.2090109@...20...> References: <17025209.4964.1325180480991.JavaMail.root@...2632...> <4EFCA8E4.2090109@...20...> Message-ID: Hello gambasors :) I just installed a fresh precise pangolin and compiled gambas3 which show me number 3.0 thanks all for your excellent work :) Henri From tommyline at ...2340... Thu Dec 29 19:00:45 2011 From: tommyline at ...2340... (tommyline at ...2340...) Date: Thu, 29 Dec 2011 18:00:45 +0000 (GMT) Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <4EFCA8E4.2090109@...20...> Message-ID: <16679455.5109.1325181645379.JavaMail.root@...2632...> ----- Original Message ----- From: "tobias" To: "mailing list for gambas users" Sent: Thursday, 29 December, 2011 5:52:36 PM Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() On 29.12.2011 18:41, tommyline at ...2340... wrote: > > ----- Original Message ----- > From: gambas at ...2524... > To: gambas-user at lists.sourceforge.net > Sent: Thursday, 29 December, 2011 5:32:14 PM > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > > Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() > http://code.google.com/p/gambas/issues/detail?id=176 > > Have you read the documentation of SizeOf? > > Yes, it says that > > "Size = SizeOf ( Datatype ) - Returns the memory used for storing a specific datatype." and "Datatype can be any of the listed. So I assume that I can do with a as integer -> a=SizeOf(f as float) or a=SizeOf(s as string), and "a" should return the length of the datatype in bytes. Or am I wrong? > > Regards > Tomek. > yes, you are. there are integer constants for those datatypes... so SizeOf(gb.Float) will return the desired value. the list lines up there? Thanks, I got it now, but in that case is there a way to check the size of the object or structure? I have to compare the size of two different objects that are function arguments. Tomek. From jussi.lahtinen at ...626... Thu Dec 29 19:03:33 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 29 Dec 2011 20:03:33 +0200 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <3-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <2-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <3-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: > By the way, I see you looking everywhere in the code, and I would like to > thank you for all your bug tracking. I am curious: do you do that just for > fun? Or do you have any specific project with Gambas? Answer me to > gambas at ...52... > Please forward the answer to me also! I'm interested to know how you find all these bugs! Jussi From jussi.lahtinen at ...626... Thu Dec 29 19:07:19 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 29 Dec 2011 20:07:19 +0200 Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <16679455.5109.1325181645379.JavaMail.root@...2632...> References: <4EFCA8E4.2090109@...20...> <16679455.5109.1325181645379.JavaMail.root@...2632...> Message-ID: Quickly thinking not sure about object or structure... but with floats, integers, etc native data types you can use this: Print SizeOf(TypeOf(VariableName)) Jussi On Thu, Dec 29, 2011 at 20:00, wrote: > > > ----- Original Message ----- > From: "tobias" > To: "mailing list for gambas users" > Sent: Thursday, 29 December, 2011 5:52:36 PM > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > On 29.12.2011 18:41, tommyline at ...2340... wrote: > > > > ----- Original Message ----- > > From: gambas at ...2524... > > To: gambas-user at lists.sourceforge.net > > Sent: Thursday, 29 December, 2011 5:32:14 PM > > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > > > > > Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() > > http://code.google.com/p/gambas/issues/detail?id=176 > > > > Have you read the documentation of SizeOf? > > > > Yes, it says that > > > > "Size = SizeOf ( Datatype ) - Returns the memory used for storing a > specific datatype." and "Datatype can be any of the listed. So I assume > that I can do with a as integer -> a=SizeOf(f as float) or a=SizeOf(s as > string), and "a" should return the length of the datatype in bytes. Or am I > wrong? > > > > Regards > > Tomek. > > > > yes, you are. there are integer constants for those datatypes... > so SizeOf(gb.Float) will return the desired value. > the list lines up there? > > > Thanks, I got it now, but in that case is there a way to check the size of > the object or structure? I have to compare the size of two different > objects that are function arguments. > > Tomek. > > > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tommyline at ...2340... Thu Dec 29 19:17:10 2011 From: tommyline at ...2340... (tommyline at ...2340...) Date: Thu, 29 Dec 2011 18:17:10 +0000 (GMT) Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: Message-ID: <15774926.5237.1325182630789.JavaMail.root@...2632...> ----- Original Message ----- From: "Jussi Lahtinen" To: "mailing list for gambas users" Sent: Thursday, 29 December, 2011 6:07:19 PM Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() Quickly thinking not sure about object or structure... but with floats, integers, etc native data types you can use this: Print SizeOf(TypeOf(VariableName)) Jussi Thanks Jussi, you are right, in case of object it returns the size of pointer to it - in my case (32 bit) - 4. Tomek On Thu, Dec 29, 2011 at 20:00, wrote: > > > ----- Original Message ----- > From: "tobias" > To: "mailing list for gambas users" > Sent: Thursday, 29 December, 2011 5:52:36 PM > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > On 29.12.2011 18:41, tommyline at ...2340... wrote: > > > > ----- Original Message ----- > > From: gambas at ...2524... > > To: gambas-user at lists.sourceforge.net > > Sent: Thursday, 29 December, 2011 5:32:14 PM > > Subject: Re: [Gambas-user] Issue 176 in gambas: problems with SizeOf() > > > > > > Comment #1 on issue 176 by benoit.m... at ...626...: problems with SizeOf() > > http://code.google.com/p/gambas/issues/detail?id=176 > > > > Have you read the documentation of SizeOf? > > > > Yes, it says that > > > > "Size = SizeOf ( Datatype ) - Returns the memory used for storing a > specific datatype." and "Datatype can be any of the listed. So I assume > that I can do with a as integer -> a=SizeOf(f as float) or a=SizeOf(s as > string), and "a" should return the length of the datatype in bytes. Or am I > wrong? > > > > Regards > > Tomek. > > > > yes, you are. there are integer constants for those datatypes... > so SizeOf(gb.Float) will return the desired value. > the list lines up there? > > > Thanks, I got it now, but in that case is there a way to check the size of > the object or structure? I have to compare the size of two different > objects that are function arguments. > > Tomek. > > > > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From tobiasboe1 at ...20... Thu Dec 29 22:31:44 2011 From: tobiasboe1 at ...20... (tobias) Date: Thu, 29 Dec 2011 22:31:44 +0100 Subject: [Gambas-user] gbx executables Message-ID: <4EFCDC40.10105@...20...> hi, we recently got confused about the gbx executable. i forward a specific question about gbx2: --- $ gbx2 /path/to/project/directory runs the program (using the compiled stuff in .gambas subdirectory?) $ /path/to/archive runs the compiled archive but is there a way to run a compiled archive with gbx2? --- i was curious, too, since i found that: $ gbx -x /path/to/archive gbx2: too many project files. now it seems to be important, so i ask. regards, tobi From gambas at ...1... Thu Dec 29 22:43:40 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 29 Dec 2011 22:43:40 +0100 Subject: [Gambas-user] gbx executables In-Reply-To: <4EFCDC40.10105@...20...> References: <4EFCDC40.10105@...20...> Message-ID: <4EFCDF0C.2080208@...1...> Le 29/12/2011 22:31, tobias a ?crit : > hi, > > we recently got confused about the gbx executable. i forward a specific > question about gbx2: > --- > $ gbx2 /path/to/project/directory > runs the program (using the compiled stuff in .gambas subdirectory?) > $ /path/to/archive > runs the compiled archive > but is there a way to run a compiled archive with gbx2? > --- > i was curious, too, since i found that: > $ gbx -x /path/to/archive > gbx2: too many project files. > > now it seems to be important, so i ask. > > regards, > tobi > It's a bug in the gbx2 help. To run a gambas executable file, use: gbr2 Regards, -- Beno?t Minisini From tobiasboe1 at ...20... Thu Dec 29 22:47:45 2011 From: tobiasboe1 at ...20... (tobias) Date: Thu, 29 Dec 2011 22:47:45 +0100 Subject: [Gambas-user] gbx executables In-Reply-To: <4EFCDF0C.2080208@...1...> References: <4EFCDC40.10105@...20...> <4EFCDF0C.2080208@...1...> Message-ID: <4EFCE001.7040906@...20...> On 29.12.2011 22:43, Beno?t Minisini wrote: > Le 29/12/2011 22:31, tobias a ?crit : >> hi, >> >> we recently got confused about the gbx executable. i forward a specific >> question about gbx2: >> --- >> $ gbx2 /path/to/project/directory >> runs the program (using the compiled stuff in .gambas subdirectory?) >> $ /path/to/archive >> runs the compiled archive >> but is there a way to run a compiled archive with gbx2? >> --- >> i was curious, too, since i found that: >> $ gbx -x /path/to/archive >> gbx2: too many project files. >> >> now it seems to be important, so i ask. >> >> regards, >> tobi >> > It's a bug in the gbx2 help. To run a gambas executable file, use: > > gbr2 > > Regards, o.k., thanks. well, but there it continues confusing: ls -l shows that gbr2 is a link to gbx2 and has different functionality? From gambas at ...2524... Thu Dec 29 22:49:00 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 21:49:00 +0000 Subject: [Gambas-user] Issue 139 in gambas: Incorrect window positioning In-Reply-To: <0-6813199134517018827-7200022912945582594-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7200022912945582594-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7200022912945582594-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version -GUI-Any Version-TRUNK GUI-GTK Comment #1 on issue 139 by benoit.m... at ...626...: Incorrect window positioning http://code.google.com/p/gambas/issues/detail?id=139 It should be fixed in revision #4361. From emil.lenngren at ...626... Thu Dec 29 22:50:45 2011 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 29 Dec 2011 22:50:45 +0100 Subject: [Gambas-user] gbx executables In-Reply-To: <4EFCE001.7040906@...20...> References: <4EFCDC40.10105@...20...> <4EFCDF0C.2080208@...1...> <4EFCE001.7040906@...20...> Message-ID: It is the same file. When gbx2 starts up, it checks whether the provided executable name (argv[0]) is "gbr2" or "gbx2", and choose what to do depending on that. 2011/12/29 tobias > On 29.12.2011 22:43, Beno?t Minisini wrote: > > Le 29/12/2011 22:31, tobias a ?crit : > >> hi, > >> > >> we recently got confused about the gbx executable. i forward a specific > >> question about gbx2: > >> --- > >> $ gbx2 /path/to/project/directory > >> runs the program (using the compiled stuff in .gambas subdirectory?) > >> $ /path/to/archive > >> runs the compiled archive > >> but is there a way to run a compiled archive with gbx2? > >> --- > >> i was curious, too, since i found that: > >> $ gbx -x /path/to/archive > >> gbx2: too many project files. > >> > >> now it seems to be important, so i ask. > >> > >> regards, > >> tobi > >> > > It's a bug in the gbx2 help. To run a gambas executable file, use: > > > > gbr2 > > > > Regards, > > o.k., thanks. > well, but there it continues confusing: ls -l shows that gbr2 is a link > to gbx2 and has different functionality? > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Dec 29 22:51:32 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 29 Dec 2011 22:51:32 +0100 Subject: [Gambas-user] gbx executables In-Reply-To: <4EFCE001.7040906@...20...> References: <4EFCDC40.10105@...20...> <4EFCDF0C.2080208@...1...> <4EFCE001.7040906@...20...> Message-ID: <4EFCE0E4.1040605@...1...> > > o.k., thanks. > well, but there it continues confusing: ls -l shows that gbr2 is a link > to gbx2 and has different functionality? > Yes, this is a common trick on Unix. Search for 'busybox' if you don't trust me. :-) -- Beno?t Minisini From gambas at ...2524... Thu Dec 29 22:55:07 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 21:55:07 +0000 Subject: [Gambas-user] Issue 176 in gambas: problems with SizeOf() In-Reply-To: <1-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> <0-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17116003695797236778-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-TRUNK Comment #2 on issue 176 by benoit.m... at ...626...: problems with SizeOf() http://code.google.com/p/gambas/issues/detail?id=176 OK, so maybe the documentation was not clear enough. And to get the size of a non-native type, use Object.SizeOf() on an object reference. It works with structures. From gambas at ...2524... Thu Dec 29 22:59:13 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 29 Dec 2011 21:59:13 +0000 Subject: [Gambas-user] Issue 175 in gambas: The Array Base class does not work as expected In-Reply-To: <5-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> <0-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-1349414474005314402-gambas=googlecode.com@...2524...> Comment #6 on issue 175 by benoit.m... at ...626...: The Array Base class does not work as expected http://code.google.com/p/gambas/issues/detail?id=175 OK, it should be really fixed in revision #4361! From tobiasboe1 at ...20... Thu Dec 29 23:05:44 2011 From: tobiasboe1 at ...20... (tobias) Date: Thu, 29 Dec 2011 23:05:44 +0100 Subject: [Gambas-user] gbx executables In-Reply-To: <4EFCE0E4.1040605@...1...> References: <4EFCDC40.10105@...20...> <4EFCDF0C.2080208@...1...> <4EFCE001.7040906@...20...> <4EFCE0E4.1040605@...1...> Message-ID: <4EFCE438.6040400@...20...> On 29.12.2011 22:51, Beno?t Minisini wrote: >> o.k., thanks. >> well, but there it continues confusing: ls -l shows that gbr2 is a link >> to gbx2 and has different functionality? >> > Yes, this is a common trick on Unix. Search for 'busybox' if you don't > trust me. :-) > i thought, it was a feature with softlinks on linux but emil pointed me to the right thing ;) From sotema at ...626... Fri Dec 30 08:36:37 2011 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 30 Dec 2011 08:36:37 +0100 Subject: [Gambas-user] Rev 4363 make error Message-ID: <1325230597.5803.2.camel@...2516...> gbx_local.c:945: error: ?MAX_FLOAT_DIGIT? undeclared (first use in this function) gbx_local.c:945: error: (Each undeclared identifier is reported only once gbx_local.c:945: error: for each function it appears in.) make[4]: *** [gbx3-gbx_local.o] Errore 1 Kernel=2.6.32-37-generic Architecture=x86_64 Memory=4059336 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.04.3 LTS" Desktop=Gnome Regards, Emanuele From gambas at ...2524... Fri Dec 30 09:27:48 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 08:27:48 +0000 Subject: [Gambas-user] Issue 177 in gambas: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 Message-ID: <0-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 177 by marcobra... at ...626...: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 http://code.google.com/p/gambas/issues/detail?id=177 1) Describe the problem. Doing mak install... gcc -DHAVE_CONFIG_H -I. -I.. -DGAMBAS_PATH="\"/usr/local/bin\"" -pipe -Wall -Wno-unused-value -fsigned-char -fvisibility=hidden -g -Os -I../share -D_REENTRANT -MT gbx3-gbx_local.o -MD -MP -MF .deps/gbx3-gbx_local.Tpo -c -o gbx3-gbx_local.o `test -f 'gbx_local.c' || echo './'`gbx_local.c gbx_local.c: In function ?LOCAL_format_number?: gbx_local.c:945: error: ?MAX_FLOAT_DIGIT? undeclared (first use in this function) gbx_local.c:945: error: (Each undeclared identifier is reported only once gbx_local.c:945: error: for each function it appears in.) make[2]: *** [gbx3-gbx_local.o] Errore 1 make[2]: uscita dalla directory "/home/ubuntu/src/gambas/trunk/main/gbx" make[1]: *** [install-recursive] Errore 1 make[1]: uscita dalla directory "/home/ubuntu/src/gambas/trunk/main" make: *** [install-recursive] Errore 1 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4363 Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome 5) Explain clearly how to reproduce the bug or the crash. Compililing and installing the sources... From gambas at ...1... Fri Dec 30 11:57:16 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 30 Dec 2011 11:57:16 +0100 Subject: [Gambas-user] Rev 4363 make error In-Reply-To: <1325230597.5803.2.camel@...2516...> References: <1325230597.5803.2.camel@...2516...> Message-ID: <4EFD990C.2040906@...1...> Le 30/12/2011 08:36, Emanuele Sottocorno a ?crit : > gbx_local.c:945: error: ?MAX_FLOAT_DIGIT? undeclared (first use in this > function) > gbx_local.c:945: error: (Each undeclared identifier is reported only > once > gbx_local.c:945: error: for each function it appears in.) > make[4]: *** [gbx3-gbx_local.o] Errore 1 > > > Kernel=2.6.32-37-generic > Architecture=x86_64 > Memory=4059336 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.04.3 LTS" > Desktop=Gnome > > Regards, > Emanuele > Fixed in revision #4364. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Dec 30 11:58:37 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 10:58:37 +0000 Subject: [Gambas-user] Issue 177 in gambas: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 In-Reply-To: <0-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 177 by benoit.m... at ...626...: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 http://code.google.com/p/gambas/issues/detail?id=177 Fixed in revision #4364. From gambas at ...2524... Fri Dec 30 12:32:46 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 11:32:46 +0000 Subject: [Gambas-user] Issue 177 in gambas: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 In-Reply-To: <1-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> <0-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10003229011268444971-gambas=googlecode.com@...2524...> Comment #2 on issue 177 by marcobra... at ...626...: gambas3 rev. 4363 install-recursive Error 1 on Ubuntu 10.04.3 http://code.google.com/p/gambas/issues/detail?id=177 Confirm fixed in rev. 4364 From gambas at ...2524... Fri Dec 30 12:59:00 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 11:59:00 +0000 Subject: [Gambas-user] Issue 165 in gambas: Arithmetic problem with float In-Reply-To: <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> <0-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-4794627170922651328-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #7 on issue 165 by benoit.m... at ...626...: Arithmetic problem with float http://code.google.com/p/gambas/issues/detail?id=165 In revision #4365: - I done the float to string conversion a bit differently. - I correctly detect the glibc mathematical functions. Consequently: - 2^23 correctly prints 8388608. - Log2(x) uses the glibc log2(x) function, not log(x)/log(2). So Log2(536870912) returns 29. - As for Frac(5.025), it can't be exact, as 0.025 has no exact binary representation. From gambas at ...2524... Fri Dec 30 21:00:59 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 20:00:59 +0000 Subject: [Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault. Message-ID: <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 178 by emil.len... at ...626...: Constants of type "Single" does not work in some cases. Segmentation fault. http://code.google.com/p/gambas/issues/detail?id=178 1) Describe the problem. Constants of type "Single" does not work in some cases. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r4368 3) Provide a little project that reproduces the bug or the crash. MMain: Public Const a As Single = 123.45 Public Sub Main Print MMain.a End 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. Create the Module MMain with the contents above. The interpreter crashes with a segmentation fault. One part of why it is going wrong is the code in gbx_class_load.c: if (TYPE_is_integer(desc->constant.type)) desc->constant.value._integer = cc->_integer.value; else if (desc->constant.type == T_FLOAT) desc->constant.value._float = cc->_float.value; else if (desc->constant.type == T_LONG) desc->constant.value._long = cc->_long.value; else { desc->constant.type = T_CSTRING; desc->constant.value._string = cc->_string.addr; desc->constant.translate = (cc->type == T_CSTRING); } The desc->constant.type is T_SINGLE, so the else part runs.. The actual crash is at VALUE_read(&SP[-1], (void *)&desc->constant.value, desc->constant.type); in gbx_exec_push.c, as it tries to read a string at a bad address instead... From gambas at ...2524... Fri Dec 30 21:51:15 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 20:51:15 +0000 Subject: [Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault. In-Reply-To: <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 178 by benoit.m... at ...626...: Constants of type "Single" does not work in some cases. Segmentation fault. http://code.google.com/p/gambas/issues/detail?id=178 It should be fixed in revision #4730. From gambas at ...2524... Fri Dec 30 21:59:17 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 20:59:17 +0000 Subject: [Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault. In-Reply-To: <1-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Comment #2 on issue 178 by emil.len... at ...626...: Constants of type "Single" does not work in some cases. Segmentation fault. http://code.google.com/p/gambas/issues/detail?id=178 The VALUE_class_constant_inline(_class, _value, _ind) in gbx_value.h should also be updated to properly read singles ;) otherwise this fails: Public Const a As Single = 123.45 Public Sub Main Print a End From gambas at ...2524... Fri Dec 30 22:25:26 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 21:25:26 +0000 Subject: [Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault. In-Reply-To: <2-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Comment #3 on issue 178 by emil.len... at ...626...: Constants of type "Single" does not work in some cases. Segmentation fault. http://code.google.com/p/gambas/issues/detail?id=178 The documentation at http://gambasdoc.org/help/cat/constdecl?v3 actually says that constants can only be "Boolean, Integer, Long, Float or String". But the compiler accepts Boolean, Byte, Short, Integer, Long, Single, Float and String... From gambas at ...2524... Fri Dec 30 22:42:33 2011 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 30 Dec 2011 21:42:33 +0000 Subject: [Gambas-user] Issue 178 in gambas: Constants of type "Single" does not work in some cases. Segmentation fault. In-Reply-To: <3-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> <0-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-11611491351277130359-gambas=googlecode.com@...2524...> Comment #4 on issue 178 by benoit.m... at ...626...: Constants of type "Single" does not work in some cases. Segmentation fault. http://code.google.com/p/gambas/issues/detail?id=178 OK, fixed in revision #4373. The documentation must be updated now. From gambas at ...1... Sat Dec 31 04:59:09 2011 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 31 Dec 2011 04:59:09 +0100 Subject: [Gambas-user] Gambas 3 is out! Message-ID: <4EFE888D.6080400@...1...> Ouf! Gambas 3 is finally out! As promised, it has been delivered during the 2011 year. :-) Again, many many bugs were fixed and last-minute features were implemented. A few noticeable points: * The special mathematical functions of glibc are correctly detected and used now. * Floating point numbers should be printed in a better way. * French, Czech and Catalan translations were updated. Two important security holes were also closed: * String hashing algorithm has been randomized. * In the IDE, you cannot get the project version by running a program (what a stupid idea!). Now you get it from a text file located in a parent directory of the project. See the Release Notes for the full ChangeLog. Everything is on the web site as usual And now sir? I think I will write a french article about the release for http://linuxfr.org. And then an english one for english news site. I wanted to ask my marketing department to deal with the communication, but I have no marketing department. So all my hopes are on you, dear Gambas users. :-) And tell me that is not a pretty present for 2012. :-) -- Beno?t Minisini From sebikul at ...626... Sat Dec 31 05:02:40 2011 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 31 Dec 2011 01:02:40 -0300 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE888D.6080400@...1...> References: <4EFE888D.6080400@...1...> Message-ID: 2011/12/31 Beno?t Minisini : > Ouf! Gambas 3 is finally out! > > As promised, it has been delivered during the 2011 year. :-) > > Again, many many bugs were fixed and last-minute features were implemented. > > A few noticeable points: > > * The special mathematical functions of glibc are correctly detected and > used now. > * Floating point numbers should be printed in a better way. > * French, Czech and Catalan translations were updated. > > Two important security holes were also closed: > > * String hashing algorithm has been randomized. > * In the IDE, you cannot get the project version by running a program > (what a stupid idea!). Now you get it from a text file located in a > parent directory of the project. > > See the Release Notes for the full ChangeLog. Everything is on the web > site as usual > > And now sir? > > I think I will write a french article about the release for > http://linuxfr.org. And then an english one for english news site. > > I wanted to ask my marketing department to deal with the communication, > but I have no marketing department. So all my hopes are on you, dear > Gambas users. :-) > > And tell me that is not a pretty present for 2012. :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user These are great news!! Thanks for all your work!! I'm sure the news will spread pretty fast ;) From willy at ...2734... Sat Dec 31 05:13:50 2011 From: willy at ...2734... (Willy Raets) Date: Sat, 31 Dec 2011 05:13:50 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE888D.6080400@...1...> References: <4EFE888D.6080400@...1...> Message-ID: <1325304830.5907.1.camel@...2735...> Thank you very much for all the effort..much appreciated and a great step forward for Gambas Enjoy the years ending and have a great new one... Take care.. Willy On za, 2011-12-31 at 04:59 +0100, Beno?t Minisini wrote: > Ouf! Gambas 3 is finally out! > > As promised, it has been delivered during the 2011 year. :-) > > Again, many many bugs were fixed and last-minute features were implemented. > > A few noticeable points: > > * The special mathematical functions of glibc are correctly detected and > used now. > * Floating point numbers should be printed in a better way. > * French, Czech and Catalan translations were updated. > > Two important security holes were also closed: > > * String hashing algorithm has been randomized. > * In the IDE, you cannot get the project version by running a program > (what a stupid idea!). Now you get it from a text file located in a > parent directory of the project. > > See the Release Notes for the full ChangeLog. Everything is on the web > site as usual > > And now sir? > > I think I will write a french article about the release for > http://linuxfr.org. And then an english one for english news site. > > I wanted to ask my marketing department to deal with the communication, > but I have no marketing department. So all my hopes are on you, dear > Gambas users. :-) > > And tell me that is not a pretty present for 2012. :-) > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From willy at ...2734... Sat Dec 31 05:23:05 2011 From: willy at ...2734... (Willy Raets) Date: Sat, 31 Dec 2011 05:23:05 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <1325304830.5907.1.camel@...2735...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> Message-ID: <1325305385.5907.4.camel@...2735...> On gambas website it says Gambas 3 on download button. Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is RC7 already on my system Someone overlooked something maybe? Willy On za, 2011-12-31 at 05:13 +0100, Willy Raets wrote: > Thank you very much for all the effort..much appreciated and a great > step forward for Gambas > Enjoy the years ending and have a great new one... > > Take care.. > Willy > > On za, 2011-12-31 at 04:59 +0100, Beno?t Minisini wrote: > > > Ouf! Gambas 3 is finally out! > > > > As promised, it has been delivered during the 2011 year. :-) > > > > Again, many many bugs were fixed and last-minute features were implemented. > > > > A few noticeable points: > > > > * The special mathematical functions of glibc are correctly detected and > > used now. > > * Floating point numbers should be printed in a better way. > > * French, Czech and Catalan translations were updated. > > > > Two important security holes were also closed: > > > > * String hashing algorithm has been randomized. > > * In the IDE, you cannot get the project version by running a program > > (what a stupid idea!). Now you get it from a text file located in a > > parent directory of the project. > > > > See the Release Notes for the full ChangeLog. Everything is on the web > > site as usual > > > > And now sir? > > > > I think I will write a french article about the release for > > http://linuxfr.org. And then an english one for english news site. > > > > I wanted to ask my marketing department to deal with the communication, > > but I have no marketing department. So all my hopes are on you, dear > > Gambas users. :-) > > > > And tell me that is not a pretty present for 2012. :-) > > > > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From gambas at ...1... Sat Dec 31 05:34:54 2011 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 31 Dec 2011 05:34:54 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <1325305385.5907.4.camel@...2735...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> Message-ID: <4EFE90EE.4020909@...1...> Le 31/12/2011 05:23, Willy Raets a ?crit : > On gambas website it says Gambas 3 on download button. > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is > RC7 already on my system > > Someone overlooked something maybe? > > Willy > Oops. I fix that and go to bed... -- Beno?t Minisini From nando_f at ...951... Sat Dec 31 05:45:06 2011 From: nando_f at ...951... (nando) Date: Sat, 31 Dec 2011 00:45:06 -0400 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE90EE.4020909@...1...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> <4EFE90EE.4020909@...1...> Message-ID: <20111231044215.M61234@...951...> Im using Centos 5.6 ./reconf-all failed aclocal doesn't have --install flag Suggestions? -Fernando [root at ...40... ~]# cd gambas3-3.0.0 [root at ...40... gambas3-3.0.0]# ./reconf-all libtoolize: unrecognized option `--nonrecursive' Try `libtoolize --help' for more information. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: subdirectory main to autoreconf autoreconf: Entering directory `main' autoreconf: running: aclocal -I m4 --install aclocal: unrecognized option -- `--install' Try `aclocal --help' for more information. autoreconf: aclocal failed with exit status: 1 [root at ...40... gambas3-3.0.0]# [root at ...40... gambas3-3.0.0]# aclocal --help Usage: aclocal [OPTIONS] ... Generate `aclocal.m4' by scanning `configure.ac' or `configure.in' --acdir=DIR directory holding config files --help print this help, then exit -I DIR add directory to search list for .m4 files --force always update output file --output=FILE put output in FILE (default aclocal.m4) --print-ac-dir print name of directory holding m4 files --verbose don't be silent --version print version number, then exit Report bugs to . ---------- Original Message ----------- From: Beno?t Minisini To: willy at ...2734..., mailing list for gambas users Sent: Sat, 31 Dec 2011 05:34:54 +0100 Subject: Re: [Gambas-user] Gambas 3 is out! > Le 31/12/2011 05:23, Willy Raets a ?crit : > > On gambas website it says Gambas 3 on download button. > > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is > > RC7 already on my system > > > > Someone overlooked something maybe? > > > > Willy > > > > Oops. I fix that and go to bed... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From willy at ...2734... Sat Dec 31 05:46:41 2011 From: willy at ...2734... (Willy Raets) Date: Sat, 31 Dec 2011 05:46:41 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <1325305385.5907.4.camel@...2735...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> Message-ID: <1325306801.5907.5.camel@...2735...> This seems to be the right link to download Gambas3: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.0.0.tar.bz2/download Enjoy... On za, 2011-12-31 at 05:23 +0100, Willy Raets wrote: > On gambas website it says Gambas 3 on download button. > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is > RC7 already on my system > > Someone overlooked something maybe? > > Willy > > > > On za, 2011-12-31 at 05:13 +0100, Willy Raets wrote: > > > Thank you very much for all the effort..much appreciated and a great > > step forward for Gambas > > Enjoy the years ending and have a great new one... > > > > Take care.. > > > > > Willy > > > > On za, 2011-12-31 at 04:59 +0100, Beno?t Minisini wrote: > > > > > Ouf! Gambas 3 is finally out! > > > > > > As promised, it has been delivered during the 2011 year. :-) > > > > > > Again, many many bugs were fixed and last-minute features were implemented. > > > > > > A few noticeable points: > > > > > > * The special mathematical functions of glibc are correctly detected and > > > used now. > > > * Floating point numbers should be printed in a better way. > > > * French, Czech and Catalan translations were updated. > > > > > > Two important security holes were also closed: > > > > > > * String hashing algorithm has been randomized. > > > * In the IDE, you cannot get the project version by running a program > > > (what a stupid idea!). Now you get it from a text file located in a > > > parent directory of the project. > > > > > > See the Release Notes for the full ChangeLog. Everything is on the web > > > site as usual > > > > > > And now sir? > > > > > > I think I will write a french article about the release for > > > http://linuxfr.org. And then an english one for english news site. > > > > > > I wanted to ask my marketing department to deal with the communication, > > > but I have no marketing department. So all my hopes are on you, dear > > > Gambas users. :-) > > > > > > And tell me that is not a pretty present for 2012. :-) > > > > > > > > > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From nando_f at ...951... Sat Dec 31 05:57:26 2011 From: nando_f at ...951... (nando) Date: Sat, 31 Dec 2011 00:57:26 -0400 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <20111231044215.M61234@...951...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> <4EFE90EE.4020909@...1...> <20111231044215.M61234@...951...> Message-ID: <20111231045432.M24728@...951...> Well, I realize CentOS is behind the times even though it is latest version. I'll stick with GAMBAS2 temporarily... So, which flavor of Linux should I migrate to? Your suggestions? This will be my new year resolutions. ---------- Original Message ----------- From: "nando" To: mailing list for gambas users Sent: Sat, 31 Dec 2011 00:45:06 -0400 Subject: Re: [Gambas-user] Gambas 3 is out! > Im using Centos 5.6 > ./reconf-all failed > aclocal doesn't have --install flag > Suggestions? > -Fernando > > [root at ...40... ~]# cd gambas3-3.0.0 > [root at ...40... gambas3-3.0.0]# ./reconf-all > libtoolize: unrecognized option `--nonrecursive' > Try `libtoolize --help' for more information. > autoreconf: Entering directory `.' > autoreconf: configure.ac: not using Gettext > autoreconf: running: aclocal > autoreconf: configure.ac: tracing > autoreconf: configure.ac: subdirectory main to autoreconf > autoreconf: Entering directory `main' > autoreconf: running: aclocal -I m4 --install > aclocal: unrecognized option -- `--install' > Try `aclocal --help' for more information. > autoreconf: aclocal failed with exit status: 1 > [root at ...40... gambas3-3.0.0]# > [root at ...40... gambas3-3.0.0]# aclocal --help > Usage: aclocal [OPTIONS] ... > > Generate `aclocal.m4' by scanning `configure.ac' or `configure.in' > > --acdir=DIR directory holding config files > --help print this help, then exit > -I DIR add directory to search list for .m4 files > --force always update output file > --output=FILE put output in FILE (default aclocal.m4) > --print-ac-dir print name of directory holding m4 files > --verbose don't be silent > --version print version number, then exit > > Report bugs to . > > ---------- Original Message ----------- > From: Beno?t Minisini > To: willy at ...2734..., mailing list for gambas users > > Sent: Sat, 31 Dec 2011 05:34:54 +0100 > Subject: Re: [Gambas-user] Gambas 3 is out! > > > Le 31/12/2011 05:23, Willy Raets a ?crit : > > > On gambas website it says Gambas 3 on download button. > > > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is > > > RC7 already on my system > > > > > > Someone overlooked something maybe? > > > > > > Willy > > > > > > > Oops. I fix that and go to bed... > > > > -- > > Beno?t Minisini > > > > ------------------------------------------------------------------------------ > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > > infrastructure or vast IT resources to deliver seamless, secure access to > > virtual desktops. With this all-in-one solution, easily deploy virtual > > desktops for less than the cost of PCs and save 60% on VDI infrastructure > > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From willy at ...2734... Sat Dec 31 06:13:24 2011 From: willy at ...2734... (Willy Raets) Date: Sat, 31 Dec 2011 06:13:24 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE90EE.4020909@...1...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> <4EFE90EE.4020909@...1...> Message-ID: <1325308404.5907.8.camel@...2735...> Successful installation of Gambas 3 on Ubuntu 10.10 [System] OperatingSystem=Linux Kernel=2.6.35-31-generic Architecture=i686 Memory=2051628 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 10.10" Desktop=Gnome [Gambas 2] Version=2.22.0 Path=/usr/bin/gbx2 [Gambas 3] Version=3.0.0 Path=/usr/local/bin/gbx3 Thanks again for all the good work..hope to find Gambas in the repositories of Ubuntu soon.. Willy On za, 2011-12-31 at 05:34 +0100, Beno?t Minisini wrote: > Le 31/12/2011 05:23, Willy Raets a ?crit : > > On gambas website it says Gambas 3 on download button. > > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this is > > RC7 already on my system > > > > Someone overlooked something maybe? > > > > Willy > > > > Oops. I fix that and go to bed... > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From mohareve at ...626... Sat Dec 31 10:22:17 2011 From: mohareve at ...626... (M. Cs.) Date: Sat, 31 Dec 2011 10:22:17 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <1325308404.5907.8.camel@...2735...> References: <4EFE888D.6080400@...1...> <1325304830.5907.1.camel@...2735...> <1325305385.5907.4.camel@...2735...> <4EFE90EE.4020909@...1...> <1325308404.5907.8.camel@...2735...> Message-ID: Congrats Benoit! I wish you a Gambastic new year! Csaba 2011/12/31, Willy Raets : > Successful installation of Gambas 3 on Ubuntu 10.10 > > [System] > OperatingSystem=Linux > Kernel=2.6.35-31-generic > Architecture=i686 > Memory=2051628 kB > DistributionVendor=Ubuntu > DistributionRelease="Ubuntu 10.10" > Desktop=Gnome > > [Gambas 2] > Version=2.22.0 > Path=/usr/bin/gbx2 > > [Gambas 3] > Version=3.0.0 > Path=/usr/local/bin/gbx3 > > Thanks again for all the good work..hope to find Gambas in the > repositories of Ubuntu soon.. > > Willy > > > > On za, 2011-12-31 at 05:34 +0100, Beno?t Minisini wrote: > >> Le 31/12/2011 05:23, Willy Raets a ?crit : >> > On gambas website it says Gambas 3 on download button. >> > Downloads gambas3-2.99.7.tar.bz2 -> this must be a mistake since this >> > is >> > RC7 already on my system >> > >> > Someone overlooked something maybe? >> > >> > Willy >> > >> >> Oops. I fix that and go to bed... >> > > > -- > Met vriendelijke groeten/ With kind regards, > > Willy Raets, > Voorzitter/chairman, > Earthship Belgium vzw. > > Nederlandse website: http://www.earthshipbelgium.be/nl.html > English Website: http://www.earthshipbelgium.be/en.html > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From linuxos at ...1896... Sat Dec 31 13:22:20 2011 From: linuxos at ...1896... (Olivier Cruilles) Date: Sat, 31 Dec 2011 13:22:20 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE888D.6080400@...1...> References: <4EFE888D.6080400@...1...> Message-ID: Thank you very much for all the effort.. Gambas is a very great software. Enjoy the years ending and have a great new one... All is ok on Fedora 14 with this new version of Gambas (v3) [System] OperatingSystem=Linux Kernel=2.6.35.14-106.fc14.i686 Architecture=i686 Memory=2060036 kB DistributionVendor=redhat DistributionRelease=Fedora release 14 (Laughlin) Desktop=Gnome [Gambas 2] Version=2.23.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.0.0 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.4 GTK+=libgtk-x11-2.0.so.0.2200.0 Olivier Cruilles Mail: linuxos at ...1896... Le 31 d?c. 2011 ? 04:59, Beno?t Minisini a ?crit : > Ouf! Gambas 3 is finally out! > > As promised, it has been delivered during the 2011 year. :-) > > Again, many many bugs were fixed and last-minute features were implemented. > > A few noticeable points: > > * The special mathematical functions of glibc are correctly detected and > used now. > * Floating point numbers should be printed in a better way. > * French, Czech and Catalan translations were updated. > > Two important security holes were also closed: > > * String hashing algorithm has been randomized. > * In the IDE, you cannot get the project version by running a program > (what a stupid idea!). Now you get it from a text file located in a > parent directory of the project. > > See the Release Notes for the full ChangeLog. Everything is on the web > site as usual > > And now sir? > > I think I will write a french article about the release for > http://linuxfr.org. And then an english one for english news site. > > I wanted to ask my marketing department to deal with the communication, > but I have no marketing department. So all my hopes are on you, dear > Gambas users. :-) > > And tell me that is not a pretty present for 2012. :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Sat Dec 31 13:44:19 2011 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 31 Dec 2011 14:44:19 +0200 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE888D.6080400@...1...> References: <4EFE888D.6080400@...1...> Message-ID: Big thanks and happy new year!!! I will do my part to spread the word! Jussi 2011/12/31 Beno?t Minisini > Ouf! Gambas 3 is finally out! > > As promised, it has been delivered during the 2011 year. :-) > > Again, many many bugs were fixed and last-minute features were implemented. > > A few noticeable points: > > * The special mathematical functions of glibc are correctly detected and > used now. > * Floating point numbers should be printed in a better way. > * French, Czech and Catalan translations were updated. > > Two important security holes were also closed: > > * String hashing algorithm has been randomized. > * In the IDE, you cannot get the project version by running a program > (what a stupid idea!). Now you get it from a text file located in a > parent directory of the project. > > See the Release Notes for the full ChangeLog. Everything is on the web > site as usual > > And now sir? > > I think I will write a french article about the release for > http://linuxfr.org. And then an english one for english news site. > > I wanted to ask my marketing department to deal with the communication, > but I have no marketing department. So all my hopes are on you, dear > Gambas users. :-) > > And tell me that is not a pretty present for 2012. :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From demosthenesk at ...626... Sat Dec 31 13:58:45 2011 From: demosthenesk at ...626... (Demosthenes Koptsis) Date: Sat, 31 Dec 2011 14:58:45 +0200 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: References: <4EFE888D.6080400@...1...> Message-ID: <1325336325.3304.14.camel@...2689...> Happy new Gambas years :) Keep going excellent work! On Sat, 2011-12-31 at 14:44 +0200, Jussi Lahtinen wrote: > Big thanks and happy new year!!! > I will do my part to spread the word! > > Jussi > > > > 2011/12/31 Beno?t Minisini > > > Ouf! Gambas 3 is finally out! > > > > As promised, it has been delivered during the 2011 year. :-) > > > > Again, many many bugs were fixed and last-minute features were implemented. > > > > A few noticeable points: > > > > * The special mathematical functions of glibc are correctly detected and > > used now. > > * Floating point numbers should be printed in a better way. > > * French, Czech and Catalan translations were updated. > > > > Two important security holes were also closed: > > > > * String hashing algorithm has been randomized. > > * In the IDE, you cannot get the project version by running a program > > (what a stupid idea!). Now you get it from a text file located in a > > parent directory of the project. > > > > See the Release Notes for the full ChangeLog. Everything is on the web > > site as usual > > > > And now sir? > > > > I think I will write a french article about the release for > > http://linuxfr.org. And then an english one for english news site. > > > > I wanted to ask my marketing department to deal with the communication, > > but I have no marketing department. So all my hopes are on you, dear > > Gambas users. :-) > > > > And tell me that is not a pretty present for 2012. :-) > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > > infrastructure or vast IT resources to deliver seamless, secure access to > > virtual desktops. With this all-in-one solution, easily deploy virtual > > desktops for less than the cost of PCs and save 60% on VDI infrastructure > > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From kevinfishburne at ...1887... Sat Dec 31 17:22:01 2011 From: kevinfishburne at ...1887... (kevinfishburne at ...1887...) Date: Sat, 31 Dec 2011 11:22:01 -0500 Subject: [Gambas-user] Gambas 3 is out! Message-ID: <6fd89bb458dffcd7d17276d8e2f81eee.squirrel@...2749...> Thanks for a great release! Now we must band together to promote it. I've submitted a Slashdot article here: http://slashdot.org/submission/1896270/open-source-ide-gambas-reaches-30 Please vote it up in the Firehose so they'll post it to the front page: http://slashdot.org/firehose Happy New Year everyone! From ea7dfh at ...2382... Sat Dec 31 19:11:28 2011 From: ea7dfh at ...2382... (Jesus) Date: Sat, 31 Dec 2011 19:11:28 +0100 Subject: [Gambas-user] Gambas 3 is out! In-Reply-To: <4EFE888D.6080400@...1...> References: <4EFE888D.6080400@...1...> Message-ID: <4EFF5050.6010704@...2382...> Many many thanks for the effort and Happy New Year. I hope you have now some time to sleep a bit, cheers! Jesus.