From gambas at ...1... Fri Nov 1 01:44:05 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 01:44:05 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5272E2EB.7090903@...2007...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> Message-ID: <5272F955.6000904@...1...> Hi, In revision #5924, the IDE generates meta-packages for QT4 and GTK+ support when a project uses the gb.gui component. There is no dependency on the non-existing gb.gui package anymore. Same thing for gb.gui.opengl. So, if the 'foo' project uses gb.gui, the packager will generate the three following packages: - 'foo', the full project will all its dependencies. - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies will be added to the 'foo-qt4' and 'foo-gtk' packages. At the moment, only Debian/Ubuntu has been implemented. Can you test it and tell me if it works for you? I will add the conditional dependency foo-gtk | foo-qt4, but I want to check if it possible with RPM, Arch, and Slackware packages first. Regards, P.S. I admire you and others making binary packages. Playing with debian packaging is like programming the Win32 API with the brainfuck language for me. It took me more than four hours to make these two metapackages without getting a cryptic error. -- Beno?t Minisini From bbruen at ...2308... Fri Nov 1 02:11:05 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 01 Nov 2013 11:41:05 +1030 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5272F955.6000904@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> Message-ID: <1383268265.30690.36.camel@...2688...> On Fri, 2013-11-01 at 01:44 +0100, Beno?t Minisini wrote: > Hi, > > In revision #5924, the IDE generates meta-packages for QT4 and GTK+ > support when a project uses the gb.gui component. There is no dependency > on the non-existing gb.gui package anymore. Same thing for gb.gui.opengl. > > So, if the 'foo' project uses gb.gui, the packager will generate the > three following packages: > - 'foo', the full project will all its dependencies. > - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. > - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. > > If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies will > be added to the 'foo-qt4' and 'foo-gtk' packages. > > At the moment, only Debian/Ubuntu has been implemented. > > Can you test it and tell me if it works for you? > > I will add the conditional dependency foo-gtk | foo-qt4, but I want to > check if it possible with RPM, Arch, and Slackware packages first. > > Regards, > > P.S. I admire you and others making binary packages. Playing with debian > packaging is like programming the Win32 API with the brainfuck language > for me. It took me more than four hours to make these two metapackages > without getting a cryptic error. > (Purely theoretical given this is all a bit too hard for me) a) where is gb.image going to live? b) if 'foo' uses one of the UI's directly then I presume you would only get (say) foo-gtk. Does that render the entire package unusable on a KDE environment? c) BTW I'll check again, but I seem to recall that the keyring is still there in gtk 3.... -- Bruce Paddys-Hill dot net From bbruen at ...2308... Fri Nov 1 02:48:09 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 01 Nov 2013 12:18:09 +1030 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <1383268265.30690.36.camel@...2688...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <1383268265.30690.36.camel@...2688...> Message-ID: <1383270489.31648.4.camel@...2688...> On Fri, 2013-11-01 at 11:41 +1030, Bruce wrote: > On Fri, 2013-11-01 at 01:44 +0100, Beno?t Minisini wrote: > > Hi, > > > > In revision #5924, the IDE generates meta-packages for QT4 and GTK+ > > support when a project uses the gb.gui component. There is no dependency > > on the non-existing gb.gui package anymore. Same thing for gb.gui.opengl. > > > > So, if the 'foo' project uses gb.gui, the packager will generate the > > three following packages: > > - 'foo', the full project will all its dependencies. > > - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. > > - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. > > > > If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies will > > be added to the 'foo-qt4' and 'foo-gtk' packages. > > > > At the moment, only Debian/Ubuntu has been implemented. > > > > Can you test it and tell me if it works for you? > > > > I will add the conditional dependency foo-gtk | foo-qt4, but I want to > > check if it possible with RPM, Arch, and Slackware packages first. > > > > Regards, > > > > P.S. I admire you and others making binary packages. Playing with debian > > packaging is like programming the Win32 API with the brainfuck language > > for me. It took me more than four hours to make these two metapackages > > without getting a cryptic error. > > > > (Purely theoretical given this is all a bit too hard for me) > > a) where is gb.image going to live? > b) if 'foo' uses one of the UI's directly then I presume you would only > get (say) foo-gtk. Does that render the entire package unusable on a KDE > environment? > c) BTW I'll check again, but I seem to recall that the keyring is still > there in gtk 3.... > Another thing just popped into my head. If 'foo' uses gb.qt4.webkit then even if it is explicitly using gb.gui then the gb.gtk component is redundant as the app will always start with gb.qt4 active. I attached a pic to show what I mean. So how far does/will the packager go to resolve that only gb.qt4 is required? (btw: I wish there was a gb.gtk.webkit!) -- Bruce Paddys-Hill dot net -------------- next part -------------- A non-text attachment was scrubbed... Name: third-level-deps.svg Type: image/svg+xml Size: 28531 bytes Desc: not available URL: From ihaywood3 at ...626... Fri Nov 1 04:27:05 2013 From: ihaywood3 at ...626... (Ian Haywood) Date: Fri, 01 Nov 2013 14:27:05 +1100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome In-Reply-To: <52720E6C.7070903@...1...> References: <52720E6C.7070903@...1...> Message-ID: <52731F89.60100@...626...> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 31/10/13 19:01, Beno?t Minisini wrote: > 3) When making a package of a project named 'foo' that depends on > gb.gui, the IDE wizard will generate 'foo.deb' (I omit the version > numbers for the example) and two more packages: 'foo-kde-support' > and 'foo-gnome-support'. 'foo-kde-support' will depend on 'foo' and > 'gambas3-kde-support'. 'foo-gnome-support'... well you can guess. > > 4) No explicit dependency on 'gb.gui', 'gb.gui.opengl' then. I don't think this is necessary. if gambas3-gb-gui depends on gambas3-gb-gtk OR gambas3-gb-qt4, apt-get will not pick one at random [which is what I think Krisztian was saying]: it will pick the one that can be installed according to their dependencies: gambas3-gb-gtk depends on the GTK libraries and gambas3-gb-qt4 depends on the Qt4 libraries. I will compile some packages with this and run some experiments to see if this does actually work. Ian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFScx+JKPy8UudQZS4RAnJKAJ9OyHBdMhEQ67AcPzC2b1qEkXs0ogCghGMq 9MWG69dRnrBvm0q0YCax2lI= =akLN -----END PGP SIGNATURE----- From mckaygerhard at ...626... Fri Nov 1 05:30:44 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 1 Nov 2013 00:00:44 -0430 Subject: [Gambas-user] WIP Debian packages Gambas license needs Message-ID: Theres the notes about how must be handle license file and problems, the copyright file ofr debian will be a mayor problem if those points are not hancled in mayority: ================================================ 1) PROBLEMS: ================================== */Makefile.* autoconf, automake files each file are GPLv2, and Copyright FSF examples//* none no "license" file, then: asume GPLv2? mus be specified in each file source, authors name and email, also year copyright, all of this are missing!!!! app/* GPLv2 ??? each prokect has no "license" file as gambas3 project does appt/src/doc.cgi/* none appt/src/gb.wiki/* none appt/src/gbs/* (same gbw) GPLv2 ??? none file found asumme benoit! comp/* GPLv2 ???? comp/src/* none each project here not have license file db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 Tavmjong Bah ???? this file has a restricted include file copy for redistribution, also (C) 2003 Bitstream Inc license gb.v4l/orig/video-capture-0.2.tar.gz sources included Copyright 2001 Nick Andrew ASK TO DEBIAN FOR THIS included compresed file if can be handle as it ================================================ 2) format copyright file for start point ===================== Files: * Copyright: 2002-2012, Benoit Minisini License: GPL-2+ Files: appt/src/gambas3/* (IDE) : Copyright: 2012 Beno?t Minisini, Fabien Bodard, Charlie Reinl, Jos? Luis Redrejo, Rober t Rowe <<<< emails must be specified here!!!! and its missing in files >>>> License: Dual GPL2+ and SIL open font license: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. The Gambas font is licensed under the SIL Open Font License, Version 1.1. You will find a copy of the license inside the IDE source code, and it is also available with a FAQ at: http://scripts.sil.org/OFL Files: main/* Copyrihgt: 2000-2012 Beno?t Minisini License: GPLv2 <<>>> Files: examples/* Copyright: GPLv2 autors citred but no licenses specified !!!! -------------------------------------------------------- For the rest of these files must make same: gb.*/* GPLv2 2000,2004,2012 Beno?t Minisini gb.dbus/src/gb.dbus/* ???? none no license file found, asumme Benoit misini from top gb.desktop/src/gb.desktop/* ???? none no license file found, asumme Benoit misini from top gb.desktop/src/gb.desktop/xdg* ???? what for this files here ??? Fathi Boudra ,Rex Dieter ,Kevin Krammer ,Jeremy White gb.cairo/* GPLv2 Copyright Beno?t Minisini gb.cryp/* GPLv2 Copyright Beno?t Minisini gb.db.*/* GPLv2 Copyright Beno?t Minisini gb.net.smtp/* GPLv2 Copyright 2000,2012 Beno?t Minisini gb.db.odbc/* GPLv2 Copyright Andrea Bortolan gb.db.postgres/* GPLv2 Copyright Bruce Bruen gb.db.sqlite*/* GPLv2 Copyright Ngel Gerrard,Daniel Campos Fernandez gb.gsl/* GPLv2 Copyright Randal Morgan gb.gtk/src/opengl/* GPLv2 Copyright Beno?t Minisini gb.image.*/* GPLv2 Copyright 2012 Beno?t Minisini gb.jit/* GPLv2 2012 Emil Lenngren gb.ncurses/* GPLv2 Copyright (C) 2012 Tobias Boege gb.compress.*/* GPLv2 Copyright Daniel Campos Fernandez gb.qt4/src/opengl/* GPLv2 Copyright 2006 Lauren Carlier gb.sdl*/* GPLv2 2006 Laurent Carlier gb.sdl.sound/? GPLv2 ???? Ahmad Kahmal ???? db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED C 2003 Bitstream Inc license gb.pre/* 2004 Rob Kudla pcre-component at ...94.../Benoit 2000-2012 gb.qt4/* GPLv2 Copyrights: 2012 Benoit gb.qt4/csvimage.* GPLv2 Copyrigh 2004-2006 Daniel Campos Fernandez ASK TO DEBIAN FOR THIS gb.v4l/gv4l2.c* GPL 2009 Gareth Bult gb.v4l/CConverters.c GPL 2012 Benoit Minisini gb.xml/* GPL Copyright 2012 Adrien Prokopowicz gb.xml/src/rpc/* ???? Daniel Campos Fernandez , GPL Copyright 2012 Adrien Prokopowicz gb.httpd/* GPLv2 Copyright 1995,2000 by Jef Poskanzer gb.httpd/main.c GPLv2 Copyright 2012 Beno?t Minisini gb.httpd/*thttpd.h restricted own Copyright 1995,2000 by Jef Poskanzer gb.httpd/version.h none header found, Copyright 1995,2000 by Jef Poskanzer gb.httpd/mime_*.h none header found, Copyright 1995,2000 by Jef Poskanzer Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. From gambas at ...2524... Fri Nov 1 08:12:03 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 07:12:03 +0000 Subject: [Gambas-user] Issue 474 in gambas: JSON Encode created wrong unicode for none-printable ascii characters Message-ID: <0-6813199134517018827-2390818179071159778-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 474 by uAle... at ...626...: JSON Encode created wrong unicode for none-printable ascii characters http://code.google.com/p/gambas/issues/detail?id=474 1) Describe the problem. When using none-printable ascii characters in a string or collection and convert them JSON.Encode, the conversion to unicode goes wrong (looks like invalid data). See the following JSON.Encode output: {"Hex-00": "\u00x0", "Hex-01": "\u00x0", "Hex-14": "\u00x1", "Hex-15": "\u00x1"} It converts hex-00 to "\u00x0", this should have been "\u0000". It converts hex-01 to "\u00x0", this should have been "\u0001". It converts hex-14 to "\u00x1", this should have been "\u000E". It converts hex-15 to "\u00x1", this should have been "\u000F". The JSON.Decode works correctly with "\u0001", "\u000E", etc. Only the "\u0000" gets lost during conversion with JSON.Decode, but i am not sure if that is as designed. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.4.2 & 3.5.0 tested (same result) Revision: r1234 (if you use a development version) Operating system: Linu Distribution: Ubuntu 13.04 Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. See attached project. 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! Attachments: Test.json.unicode.tar 20.0 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From nemh at ...2007... Fri Nov 1 08:57:50 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 08:57:50 +0100 Subject: [Gambas-user] Dependency Problems (I Think) - Kubuntu 12.04.3 (Precise) - Gambas 3.5 In-Reply-To: <1383251803807-44011.post@...3046...> References: <1383239489527-44003.post@...3046...> <1383251803807-44011.post@...3046...> Message-ID: <52735EFE.2030303@...2007...> 2013-10-31 21:36 keltez?ssel, 2aq9j93b7s ?rta: > How do I get going again without waiting for 3.5.1? older .deb somewhere? > rename one of my DejaVu fonts to something and place it somewhere? Anything? Please wait a few more hours, the Launchpad Build Farm is very busy. :-( From gambas.fr at ...626... Fri Nov 1 09:02:50 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 1 Nov 2013 09:02:50 +0100 Subject: [Gambas-user] Allocations non freed. In-Reply-To: <5272A099.7020808@...1887...> References: <20131028195047.GC540@...2774...> <526F0BD9.80709@...1887...> <20131029113358.GB594@...2774...> <5272A099.7020808@...1887...> Message-ID: It's available for all gambas objects. There is a reference counter in the interpreter. so when an object have no ref anywhere then it is destroyed. Be carefull with some widget that are referenced in theire container. 2013/10/31 Kevin Fishburne > On 10/31/2013 03:08 AM, Fabien Bodard wrote: > > 2013/10/29 Tobias Boege > > > >> On Mon, 28 Oct 2013, Kevin Fishburne wrote: > >>> On 10/28/2013 03:50 PM, Tobias Boege wrote: > >>>> On Mon, 28 Oct 2013, Jorge Carri?n wrote: > >>>>> I have a component who inherits from gridview. > >>>>> It's not a complicated thing, but when its included in a project > >> allways > >>>>> produced a warning in the console about allocations non freed like > >> this. > >>>>> gbx3: warning: 82 allocation(s) non freed. > >>>>> > >>>>> I have read that it references to variables who remains allocated in > >> ram > >>>>> after the end of the program but I don't any clue about how prevent > >> this. > >>>>> I've coded something like this in al close event of all parts of the > >>>>> component > >>>>> > >>>>> variableObjecA=null > >>>>> variableNumericB=0 > >>>>> variableStringC="" > >>>>> > >>>>> But the warning still remains. > >>>>> > >>>>> Someone knows a way to prevent or debug this? > >>>>> > >>>>> Thanks in advance. > >>>>> > >>>> I don't really know a good way to debug it. A solution might be to > >> send your > >>>> project to this list so we could have a look. > >>>> > >>>> BTW, 82 is an impressive number! I never came above 10. :-) > >>>> > >>>> Regards, > >>>> Tobi > >>> Mine have gotten in the 800's, possibly higher, so I'd like to know > >>> what's up with that as well. In my case I think it may have something > to > >>> do with arrays of structures where one of the structure properties is > an > >>> array of OpenGL textures. Here are some snippets: > >>> > >> Doesn't sound harmful what you describe. However, if you have any > circular > >> references in this hierarchy (strictly speaking, if you have, it is not > a > >> hierarchie anymore but let's be sloppy on this), Gambas will get > problems > >> automatically freeing your objects. But IIRC, in this case, Gambas will > >> detect that you have produced circular references and tell you so. > >> > >> Also, it can be that whatever component deals with OpenGL textures > (maybe > >> gb.opengl?) is buggy. Maybe it doesn't release all memory it > allocated...? > >> > >>> Public Struct Render_Texture > >>> Loaded As Boolean > >>> FileName As String > >>> ID As Integer[] > >>> SubID As Short > >>> Width As Short > >>> Height As Short > >>> Frames As Short > >>> LastUsed As Single > >>> End Struct > >>> > >>> Public tiPWO[32768] As Struct Render_Texture > >>> > >>> Public Sub Textures_PWO_Load() > >>> > >>> ' Load all PWO images into OpenGL textures. > >>> > >>> ' General declarations. > >>> Dim Counter1 As Short ' General Counter. > >>> Dim Counter2 As Short ' General Counter. > >>> > >>> ' Load PWO textures. > >>> For Counter1 = 0 To 32766 > >>> ' If PWO image files exist then load them into OpenGL textures. > >>> If Exist(BasePath & "/image/pwo/" & Counter1 & "_0.png") Then > >>> tiPWO[Counter1].ID = Gl.GenTextures(16) > >>> For Counter2 = 0 To 15 > >>> tTemp = Image.Load(BasePath & "/image/pwo/" & Counter1 & "_" > & > >>> Counter2 & ".png") > >>> tiPWO[Counter1].Loaded = True > >>> tiPWO[Counter1].Height = tTemp.Height > >>> tiPWO[Counter1].Width = tTemp.Width > >>> Gl.BindTexture(Gl.TEXTURE_2D, tiPWO[Counter1].ID[Counter2]) > >>> Gl.TexImage2D(tTemp) > >>> Glu.Build2DMipmaps(tTemp) > >>> Settings_MipMap(True) > >>> Settings_Wrap(False) > >>> Next > >>> Endif > >>> Next > >>> > >>> ' Clear temporary image. > >>> tTemp.Clear > >>> > >>> End > >>> > >> Doesn't look wrong in my eyes. But the OpenGL stuff is a black box to > me. > >> > >> Regards, > >> Tobi > >> > >> -- > >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > >> > >> > >> > ------------------------------------------------------------------------------ > >> Android is increasing in popularity, but the open development platform > that > >> developers love is also attractive to malware creators. Download this > white > >> paper to learn more about secure code signing practices that can help > keep > >> Android apps secure. > >> > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > tTemp=null to free the object But i'm not sure that solve all. You have > > tester your class as it ? > > tTemp is a publicly declared variable of datatype Image in the Render > module which is used to temporarily hold a texture loaded from disk > before it's fed to OpenGL to become an OpenGL texture, so it shouldn't > be creating "instances" or anything like that. Good to know just to > assign Null to an image to nuke it, though. > > Maybe I need to explicitly clear/destroy my OpenGL textures. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From nemh at ...2007... Fri Nov 1 09:15:25 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 09:15:25 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5272F955.6000904@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> Message-ID: <5273631D.7030008@...2007...> 2013-11-01 01:44 keltez?ssel, Beno?t Minisini ?rta: > Hi, > > In revision #5924, the IDE generates meta-packages for QT4 and GTK+ > support when a project uses the gb.gui component. There is no > dependency on the non-existing gb.gui package anymore. Same thing for > gb.gui.opengl. > > So, if the 'foo' project uses gb.gui, the packager will generate the > three following packages: > - 'foo', the full project will all its dependencies. > - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. > - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. > > If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies > will be added to the 'foo-qt4' and 'foo-gtk' packages. > > At the moment, only Debian/Ubuntu has been implemented. > > Can you test it and tell me if it works for you? > > I will add the conditional dependency foo-gtk | foo-qt4, but I want to > check if it possible with RPM, Arch, and Slackware packages first. Circular dependencies are not allowed. So if 'foo' depend on 'foo-gtk | foo-qt4', the 'foo-gtk' and 'foo-qt4' are not depend on 'foo'. And that would be good. Because 'foo' doesn't work without 'foo-gtk' or 'foo-qt4', but they are metapackages (that said, confusing to install anything). The other problem, 'foo' application doesn't work on KDE desktop with 'foo-gtk', and doesn't work on GNOME desktop with 'foo-qt4'. The selector component doesn't work well. > > P.S. I admire you and others making binary packages. Playing with > debian packaging is like programming the Win32 API with the brainfuck > language for me. It took me more than four hours to make these two > metapackages without getting a cryptic error. > :-) From nemh at ...2007... Fri Nov 1 09:37:35 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 09:37:35 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome In-Reply-To: <52731F89.60100@...626...> References: <52720E6C.7070903@...1...> <52731F89.60100@...626...> Message-ID: <5273684F.4010308@...2007...> 2013-11-01 04:27 keltez?ssel, Ian Haywood ?rta: > On 31/10/13 19:01, Beno?t Minisini wrote: > >> 3) When making a package of a project named 'foo' that depends on >> gb.gui, the IDE wizard will generate 'foo.deb' (I omit the version >> numbers for the example) and two more packages: 'foo-kde-support' >> and 'foo-gnome-support'. 'foo-kde-support' will depend on 'foo' and >> 'gambas3-kde-support'. 'foo-gnome-support'... well you can guess. >> >> 4) No explicit dependency on 'gb.gui', 'gb.gui.opengl' then. > I don't think this is necessary. > if gambas3-gb-gui depends on gambas3-gb-gtk OR gambas3-gb-qt4, apt-get > will not pick one at random [which is what I think Krisztian was > saying]: it will pick the one that can be installed according to their > dependencies: gambas3-gb-gtk depends on the GTK libraries and > gambas3-gb-qt4 depends on the Qt4 libraries. > > I will compile some packages with this and run some experiments to see > if this does actually work. > > Ian > Yeah, but 'gambas3-gb-gui' is a non-existing package. See in the packaging specifications. From gambas at ...1... Fri Nov 1 10:49:19 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 01 Nov 2013 10:49:19 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <1383268265.30690.36.camel@...2688...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <1383268265.30690.36.camel@...2688...> Message-ID: <5273791F.6060008@...1...> Le 01/11/2013 02:11, Bruce a ?crit : > > (Purely theoretical given this is all a bit too hard for me) > > a) where is gb.image going to live? What's the problem with gb.image? > b) if 'foo' uses one of the UI's directly then I presume you would only > get (say) foo-gtk. Does that render the entire package unusable on a KDE > environment? No: installing foo-gtk will install the gb.gtk component and GTK+ 2. But the program will work on KDE, exactly like any other GTK+ 2 program. > c) BTW I'll check again, but I seem to recall that the keyring is still > there in gtk 3.... > I'm almost sure that it has a new design. But the only important thing is having a command-line tool to deal with it. -- Beno?t Minisini From gambas at ...1... Fri Nov 1 10:51:22 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 10:51:22 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <1383270489.31648.4.camel@...2688...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <1383268265.30690.36.camel@...2688...> <1383270489.31648.4.camel@...2688...> Message-ID: <5273799A.3080801@...1...> Le 01/11/2013 02:48, Bruce a ?crit : > On Fri, 2013-11-01 at 11:41 +1030, Bruce wrote: >> On Fri, 2013-11-01 at 01:44 +0100, Beno?t Minisini wrote: >>> Hi, >>> >>> In revision #5924, the IDE generates meta-packages for QT4 and GTK+ >>> support when a project uses the gb.gui component. There is no dependency >>> on the non-existing gb.gui package anymore. Same thing for gb.gui.opengl. >>> >>> So, if the 'foo' project uses gb.gui, the packager will generate the >>> three following packages: >>> - 'foo', the full project will all its dependencies. >>> - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. >>> - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. >>> >>> If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies will >>> be added to the 'foo-qt4' and 'foo-gtk' packages. >>> >>> At the moment, only Debian/Ubuntu has been implemented. >>> >>> Can you test it and tell me if it works for you? >>> >>> I will add the conditional dependency foo-gtk | foo-qt4, but I want to >>> check if it possible with RPM, Arch, and Slackware packages first. >>> >>> Regards, >>> >>> P.S. I admire you and others making binary packages. Playing with debian >>> packaging is like programming the Win32 API with the brainfuck language >>> for me. It took me more than four hours to make these two metapackages >>> without getting a cryptic error. >>> >> >> (Purely theoretical given this is all a bit too hard for me) >> >> a) where is gb.image going to live? >> b) if 'foo' uses one of the UI's directly then I presume you would only >> get (say) foo-gtk. Does that render the entire package unusable on a KDE >> environment? >> c) BTW I'll check again, but I seem to recall that the keyring is still >> there in gtk 3.... >> > > Another thing just popped into my head. > > If 'foo' uses gb.qt4.webkit then even if it is explicitly using gb.gui > then the gb.gtk component is redundant as the app will always start with > gb.qt4 active. > > I attached a pic to show what I mean. > > So how far does/will the packager go to resolve that only gb.qt4 is > required? If 'foo' uses gb.qt4.webkit, it cannot use gb.gui. > > (btw: I wish there was a gb.gtk.webkit!) > Something to be done, but a big job, because the GTK+ webkit relies on other libraries to handle the network, whereas everything is under the hand with Qt4. -- Beno?t Minisini From gambas.fr at ...626... Fri Nov 1 11:15:18 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 1 Nov 2013 11:15:18 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. Message-ID: After long talk with many gambas developpers, after years of joy on the use of this language, I want to talk about its future... its persistance. Benoit for me is a little bit like our Linus. He have done something for itself and it's today one of the better tool ever see. (Umm ... ;-)) Now, for me one thing lock down Gambas... why can't it be more known ? Because it is close to Linux world. Theire is no possibility to use it natively on other system ... this problem what explicitely exposed by RMS in the past in a mail sended to us. Yes in his request he wanted us to make the interpreter generate a cil code for interpreter like java/.net or parrot. Well today we know java isn't a sure way, and we can do things too without. I have a request to Benoit, and i know it's time is precious and like mine rare. I want him to concentrate on make it's code portable... separate specific linux part to allow all our friend that want to help to port gambas to stars to make theire job. By doing this, most people can participate on compiler/interpreter code, by having Gambas on other system we can have more component maker/maintainer. At the end Benoit can take hollidays and come take a Cognac at home . :-) I know this is a huge job as he/we need to take the time to mark all part of the code that is hard linked on Linux system, and then choose a way to separate it to symplify the maintainment Same thing for the toolkits but it's at a first time not the subject of today. Now we have hands that can help... but it can't be done if the code is not structured for. So for the Undred time ... Benoit ... Please, let us helping you. To all, the gambas user/dev, this exchange is for you so even if it take thouthen of mail, please give us your impress and your ideas, your support. Please, don't look at the spelling fault, it will take to many time to you ;-) -- Fabien Bodard From nemh at ...2007... Fri Nov 1 11:19:51 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 11:19:51 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <52737A23.90203@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> <52737A23.90203@...1...> Message-ID: <52738047.7020809@...2007...> >> The other problem, 'foo' application doesn't work on KDE >> desktop with 'foo-gtk', and doesn't work on GNOME desktop with >> 'foo-qt4'. > > Of course they work. If you install 'foo-gtk' on KDE, you will just > run the 'foo' program using the GTK+ libraries. > >> The selector component doesn't work well. > > What are you talking about? > I don't see it. I created a Gambas project with 'gb.gui', and this not starting on GNOME desktop without 'gb.gtk' component. 'gb.qt4' is installed on system, but 'gb.gui' not selecting this. kendek at ...3104...:~$ locate gb.qt4 /usr/lib/gambas3/gb.qt4.component /usr/lib/gambas3/gb.qt4.so /usr/lib/gambas3/gb.qt4.so.0 /usr/lib/gambas3/gb.qt4.so.0.0.0 /usr/share/gambas3/info/gb.qt4.info /usr/share/gambas3/info/gb.qt4.list kendek at ...3104...:~$ '/home/alma/alma.gambas' gb.gui: unable to load 'gb.gtk' component ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: Cannot load class 'UserControl': Unable to load class file alma.desktop uses gb.image, gb.gui and gb.form components From nemh at ...2007... Fri Nov 1 11:24:37 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 11:24:37 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <52738047.7020809@...2007...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> <52737A23.90203@...1...> <52738047.7020809@...2007...> Message-ID: <52738165.5010107@...2007...> 2013-11-01 11:19 keltez?ssel, Kende Kriszti?n ?rta: >>> The other problem, 'foo' application doesn't work on KDE >>> desktop with 'foo-gtk', and doesn't work on GNOME desktop with >>> 'foo-qt4'. >> Of course they work. If you install 'foo-gtk' on KDE, you will just >> run the 'foo' program using the GTK+ libraries. >> >>> The selector component doesn't work well. >> What are you talking about? >> > I don't see it. I created a Gambas project with 'gb.gui', and this not > starting on GNOME desktop without 'gb.gtk' component. 'gb.qt4' is > installed on system, but 'gb.gui' not selecting this. > > kendek at ...3104...:~$ locate gb.qt4 > /usr/lib/gambas3/gb.qt4.component > /usr/lib/gambas3/gb.qt4.so > /usr/lib/gambas3/gb.qt4.so.0 > /usr/lib/gambas3/gb.qt4.so.0.0.0 > /usr/share/gambas3/info/gb.qt4.info > /usr/share/gambas3/info/gb.qt4.list > > kendek at ...3104...:~$ '/home/alma/alma.gambas' > gb.gui: unable to load 'gb.gtk' component > ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: > Cannot load class 'UserControl': Unable to load class file > > alma.desktop uses gb.image, gb.gui and gb.form components > > So, alma.gambas (example project) uses gb.image, gb.gui and gb.form components. :-) From gambas at ...1... Fri Nov 1 11:26:46 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 11:26:46 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome In-Reply-To: <52731F89.60100@...626...> References: <52720E6C.7070903@...1...> <52731F89.60100@...626...> Message-ID: <527381E6.7050806@...1...> Le 01/11/2013 04:27, Ian Haywood a ?crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 31/10/13 19:01, Beno?t Minisini wrote: > >> 3) When making a package of a project named 'foo' that depends on >> gb.gui, the IDE wizard will generate 'foo.deb' (I omit the version >> numbers for the example) and two more packages: 'foo-kde-support' >> and 'foo-gnome-support'. 'foo-kde-support' will depend on 'foo' and >> 'gambas3-kde-support'. 'foo-gnome-support'... well you can guess. >> >> 4) No explicit dependency on 'gb.gui', 'gb.gui.opengl' then. > I don't think this is necessary. > if gambas3-gb-gui depends on gambas3-gb-gtk OR gambas3-gb-qt4, apt-get > will not pick one at random [which is what I think Krisztian was > saying]: it will pick the one that can be installed according to their > dependencies: gambas3-gb-gtk depends on the GTK libraries and > gambas3-gb-qt4 depends on the Qt4 libraries. > > I will compile some packages with this and run some experiments to see > if this does actually work. > > Ian > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iD8DBQFScx+JKPy8UudQZS4RAnJKAJ9OyHBdMhEQ67AcPzC2b1qEkXs0ogCghGMq > 9MWG69dRnrBvm0q0YCax2lI= > =akLN > -----END PGP SIGNATURE----- > Mmm. This would be the intelligent behaviour, but I read nothing about that in the docs I could find. And I don't know for the other packaging systems. At the moment, the 'foo' + 'foo-gtk' + 'foo-qt4' is the "best" solution for me. -- Beno?t Minisini From gambas at ...1... Fri Nov 1 11:27:03 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 11:27:03 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5273631D.7030008@...2007...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> Message-ID: <527381F7.5070605@...1...> Le 01/11/2013 09:15, Kende Kriszti?n a ?crit : > 2013-11-01 01:44 keltez?ssel, Beno?t Minisini ?rta: >> Hi, >> >> In revision #5924, the IDE generates meta-packages for QT4 and GTK+ >> support when a project uses the gb.gui component. There is no >> dependency on the non-existing gb.gui package anymore. Same thing for >> gb.gui.opengl. >> >> So, if the 'foo' project uses gb.gui, the packager will generate the >> three following packages: >> - 'foo', the full project will all its dependencies. >> - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. >> - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. >> >> If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies >> will be added to the 'foo-qt4' and 'foo-gtk' packages. >> >> At the moment, only Debian/Ubuntu has been implemented. >> >> Can you test it and tell me if it works for you? >> >> I will add the conditional dependency foo-gtk | foo-qt4, but I want to >> check if it possible with RPM, Arch, and Slackware packages first. > > Circular dependencies are not allowed. So if 'foo' depend on 'foo-gtk | > foo-qt4', the 'foo-gtk' and 'foo-qt4' are not depend on 'foo'. And that > would be good. Because 'foo' doesn't work without 'foo-gtk' or > 'foo-qt4', but they are metapackages (that said, confusing to install > anything). Ha. ok. > The other problem, 'foo' application doesn't work on KDE > desktop with 'foo-gtk', and doesn't work on GNOME desktop with > 'foo-qt4'. Of course they work. If you install 'foo-gtk' on KDE, you will just run the 'foo' program using the GTK+ libraries. > The selector component doesn't work well. What are you talking about? -- Beno?t Minisini From basic.gambas at ...626... Fri Nov 1 11:33:04 2013 From: basic.gambas at ...626... (=?ISO-8859-1?Q?Fran=E7ois_Gallo?=) Date: Fri, 01 Nov 2013 11:33:04 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: References: Message-ID: <52738360.30706@...626...> Le 01/11/2013 11:15, Fabien Bodard a ?crit : > After long talk with many gambas developpers, after years of joy on the use > of this language, I want to talk about its future... its persistance. > > > Benoit for me is a little bit like our Linus. He have done something for > itself and it's today one of the better tool ever see. (Umm ... ;-)) > > Now, for me one thing lock down Gambas... why can't it be more known ? > Because it is close to Linux world. Theire is no possibility to use it > natively on other system ... this problem what explicitely exposed by RMS > in the past in a mail sended to us. Yes in his request he wanted us to make > the interpreter generate a cil code for interpreter like java/.net or > parrot. Well today we know java isn't a sure way, and we can do things too > without. > > I have a request to Benoit, and i know it's time is precious and like mine > rare. I want him to concentrate on make it's code portable... separate > specific linux part to allow all our friend that want to help to port > gambas to stars to make theire job. > > By doing this, most people can participate on compiler/interpreter code, by > having Gambas on other system we can have more component maker/maintainer. > At the end Benoit can take hollidays and come take a Cognac at home . :-) > > I know this is a huge job as he/we need to take the time to mark all part > of the code that is hard linked on Linux system, and then choose a way to > separate it to symplify the maintainment > > Same thing for the toolkits but it's at a first time not the subject of > today. > > Now we have hands that can help... but it can't be done if the code is not > structured for. > > So for the Undred time ... Benoit ... Please, let us helping you. > > > > > To all, the gambas user/dev, this exchange is for you so even if it take > thouthen of mail, please give us your impress and your ideas, your support. > > > > Please, don't look at the spelling fault, it will take to many time to you > ;-) > > > Fabien's right! i worked on gambas' portability (OS X and *BSD) and i can say we need a new structure of code to make a good portability but mainly a proper maintenance. Gambas is too linked to Linux. I can understand Benoit isn't interesting to spend time in the developing to port Gambas, but Benoit MUST review its code. At the moment, Gambas is not coded to port properly on others OS. a lot of routines is too linked to Linux (i say it again). Add new components and features is great, but it is preferable to focus time to make it better. i hope a work will be done in the gambas code to have a "modular code". Separate X11 in a single code is better for us, developers who wants to work on portability of Gambas! in this manner, each developer can works on a code for OS X, for Windows and so on ... X11 for OS X is ugly. X11 for Windows is ugly. Use translated X11 routines are ugly. Benoit, we don't ask you to port Gambas to OS X & Windows, just to re-structure code of Gambas so that we can works efficiently! While this change will not be applied, i would not be motivated to work on any Gambas port again... From gambas at ...1... Fri Nov 1 11:41:33 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 11:41:33 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <52738047.7020809@...2007...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> <52737A23.90203@...1...> <52738047.7020809@...2007...> Message-ID: <5273855D.6010009@...1...> Le 01/11/2013 11:19, Kende Kriszti?n a ?crit : > >>> The other problem, 'foo' application doesn't work on KDE >>> desktop with 'foo-gtk', and doesn't work on GNOME desktop with >>> 'foo-qt4'. >> >> Of course they work. If you install 'foo-gtk' on KDE, you will just >> run the 'foo' program using the GTK+ libraries. >> >>> The selector component doesn't work well. >> >> What are you talking about? >> > > I don't see it. I created a Gambas project with 'gb.gui', and this not > starting on GNOME desktop without 'gb.gtk' component. 'gb.qt4' is > installed on system, but 'gb.gui' not selecting this. > > kendek at ...3104...:~$ locate gb.qt4 > /usr/lib/gambas3/gb.qt4.component > /usr/lib/gambas3/gb.qt4.so > /usr/lib/gambas3/gb.qt4.so.0 > /usr/lib/gambas3/gb.qt4.so.0.0.0 > /usr/share/gambas3/info/gb.qt4.info > /usr/share/gambas3/info/gb.qt4.list > > kendek at ...3104...:~$ '/home/alma/alma.gambas' > gb.gui: unable to load 'gb.gtk' component > ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: > Cannot load class 'UserControl': Unable to load class file > > alma.desktop uses gb.image, gb.gui and gb.form components > OK, you want 'gb.gui' to use 'gb.qt4' if 'gb.gtk' is not present? This is possible, this is something to fix in the gb.gui source code. But this is not related to the packaging at all! -- Beno?t Minisini From bbruen at ...2308... Fri Nov 1 11:55:11 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 01 Nov 2013 21:25:11 +1030 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5273799A.3080801@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <1383268265.30690.36.camel@...2688...> <1383270489.31648.4.camel@...2688...> <5273799A.3080801@...1...> Message-ID: <1383303312.31648.41.camel@...2688...> On Fri, 2013-11-01 at 10:51 +0100, Beno?t Minisini wrote: > Le 01/11/2013 02:48, Bruce a ?crit : > > On Fri, 2013-11-01 at 11:41 +1030, Bruce wrote: > >> On Fri, 2013-11-01 at 01:44 +0100, Beno?t Minisini wrote: > >>> Hi, > >>> > >>> In revision #5924, the IDE generates meta-packages for QT4 and GTK+ > >>> support when a project uses the gb.gui component. There is no dependency > >>> on the non-existing gb.gui package anymore. Same thing for gb.gui.opengl. > >>> > >>> So, if the 'foo' project uses gb.gui, the packager will generate the > >>> three following packages: > >>> - 'foo', the full project will all its dependencies. > >>> - 'foo-qt4', a void package that depends on 'foo' and 'gb.qt4'. > >>> - 'foo-gtk', a void package that depends on 'foo' and 'gb.gtk'. > >>> > >>> If 'foo' uses gb.gui.opengl, the corresponding opengl dependencies will > >>> be added to the 'foo-qt4' and 'foo-gtk' packages. > >>> > >>> At the moment, only Debian/Ubuntu has been implemented. > >>> > >>> Can you test it and tell me if it works for you? > >>> > >>> I will add the conditional dependency foo-gtk | foo-qt4, but I want to > >>> check if it possible with RPM, Arch, and Slackware packages first. > >>> > >>> Regards, > >>> > >>> P.S. I admire you and others making binary packages. Playing with debian > >>> packaging is like programming the Win32 API with the brainfuck language > >>> for me. It took me more than four hours to make these two metapackages > >>> without getting a cryptic error. > >>> > >> > >> (Purely theoretical given this is all a bit too hard for me) > >> > >> a) where is gb.image going to live? > >> b) if 'foo' uses one of the UI's directly then I presume you would only > >> get (say) foo-gtk. Does that render the entire package unusable on a KDE > >> environment? > >> c) BTW I'll check again, but I seem to recall that the keyring is still > >> there in gtk 3.... > >> > > > > Another thing just popped into my head. > > > > If 'foo' uses gb.qt4.webkit then even if it is explicitly using gb.gui > > then the gb.gtk component is redundant as the app will always start with > > gb.qt4 active. > > > > I attached a pic to show what I mean. > > > > So how far does/will the packager go to resolve that only gb.qt4 is > > required? > > If 'foo' uses gb.qt4.webkit, it cannot use gb.gui. No, you missed the point. (I think)... :-) 'foo' is only designed to use gb.gui but it depends on 'ph.auction', which because it relies on gb.webkit must mean that: 1) the package must contain the gb.qt4 component so that the third party component will run 2) but on the other hand, if there is something provided by gb.gui that is internally dependant on the <> gb.gui say some theoretical thing called gb.gui.beaujolais then both gb.qt4 and gb.gui (and the dreaded beaujolais components must be included. At the moment this all works because the decision as to which gui is used is made by the runtime. So even though 'foo' is using gb.gui something else (ph.auction) it uses depends on and, as you implied, restricting the application to switch to gb.qt4 with no effort on behalf of the programmer or the user. To get a bit clearer, or perhaps even less clear, suppose programmer "Adelie" has no idea what gui will need to be used for 'foo2' and say for the sake of the argument that they want to use another 3rd party component that we distribute (ph.sales) which in turn is dependant on ph.auction. From the point of view of the IDE, all she needs to do is use gb.gui (and ph.sales) and bingo everything works. Mainly because the runtime resolves all this and decides that the whole project needs to be run using the gb.qt4 component. This is the crux. If you are talking about a packaging system that is only going to base its' decision on what UI component to include on the application level ('foo2'), then how do we resolve a dependency that is (now) two levels away? 'foo2'--> 'gb.gui' --> 'ph.sales' --> ph.auction --> gb.webkit --> gb.qt4 Adelie can't see, and indeed should not need to see, that dependency down the chain. So, how far does the packager need to go to decide whether or not to include/exclude a particular "desktop" (btw: I hate that word too, it's not a desktop it's a "UI" at best or a "window widget provider".) As I said, purely theoretical because we distribute everything as autotools installers not binaries. It just concerns me that somewhere down the track an assumption could be made that would render even the autotools packaging not-working. > > > > > (btw: I wish there was a gb.gtk.webkit!) > > > > Something to be done, but a big job, because the GTK+ webkit relies on > other libraries to handle the network, whereas everything is under the > hand with Qt4. > Yep, understood. But ... I can still "wish" can't I? :-) -- Bruce Paddys-Hill dot net From nemh at ...2007... Fri Nov 1 12:04:30 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 12:04:30 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5273855D.6010009@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> <52737A23.90203@...1...> <52738047.7020809@...2007...> <5273855D.6010009@...1...> Message-ID: <52738ABE.2060201@...2007...> 2013-11-01 11:41 keltez?ssel, Beno?t Minisini ?rta: > Le 01/11/2013 11:19, Kende Kriszti?n a ?crit : >>>> The other problem, 'foo' application doesn't work on KDE >>>> desktop with 'foo-gtk', and doesn't work on GNOME desktop with >>>> 'foo-qt4'. >>> Of course they work. If you install 'foo-gtk' on KDE, you will just >>> run the 'foo' program using the GTK+ libraries. >>> >>>> The selector component doesn't work well. >>> What are you talking about? >>> >> I don't see it. I created a Gambas project with 'gb.gui', and this not >> starting on GNOME desktop without 'gb.gtk' component. 'gb.qt4' is >> installed on system, but 'gb.gui' not selecting this. >> >> kendek at ...3104...:~$ locate gb.qt4 >> /usr/lib/gambas3/gb.qt4.component >> /usr/lib/gambas3/gb.qt4.so >> /usr/lib/gambas3/gb.qt4.so.0 >> /usr/lib/gambas3/gb.qt4.so.0.0.0 >> /usr/share/gambas3/info/gb.qt4.info >> /usr/share/gambas3/info/gb.qt4.list >> >> kendek at ...3104...:~$ '/home/alma/alma.gambas' >> gb.gui: unable to load 'gb.gtk' component >> ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: >> Cannot load class 'UserControl': Unable to load class file >> >> alma.gambas uses gb.image, gb.gui and gb.form components >> > OK, you want 'gb.gui' to use 'gb.qt4' if 'gb.gtk' is not present? > > This is possible, this is something to fix in the gb.gui source code. > > But this is not related to the packaging at all! > Yes, I want this. And vice versa. 'gb.gui' use 'gb.gtk' if 'gb.qt4' is not present. But yes, is related. Because users don't start the applications with the current packaging specifications. From gambas at ...1... Fri Nov 1 14:19:11 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 14:19:11 +0100 Subject: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome (2) In-Reply-To: <5273855D.6010009@...1...> References: <52720E6C.7070903@...1...> <527210A7.1090002@...1...> <5272CB53.6080104@...2007...> <5272D1CE.6060602@...1...> <5272D60F.5070107@...2007...> <5272D92C.4070909@...1...> <5272E2EB.7090903@...2007...> <5272F955.6000904@...1...> <5273631D.7030008@...2007...> <52737A23.90203@...1...> <52738047.7020809@...2007...> <5273855D.6010009@...1...> Message-ID: <5273AA4F.1000808@...1...> Le 01/11/2013 11:41, Beno?t Minisini a ?crit : > Le 01/11/2013 11:19, Kende Kriszti?n a ?crit : >> >>>> The other problem, 'foo' application doesn't work on KDE >>>> desktop with 'foo-gtk', and doesn't work on GNOME desktop with >>>> 'foo-qt4'. >>> >>> Of course they work. If you install 'foo-gtk' on KDE, you will just >>> run the 'foo' program using the GTK+ libraries. >>> >>>> The selector component doesn't work well. >>> >>> What are you talking about? >>> >> >> I don't see it. I created a Gambas project with 'gb.gui', and this not >> starting on GNOME desktop without 'gb.gtk' component. 'gb.qt4' is >> installed on system, but 'gb.gui' not selecting this. >> >> kendek at ...3104...:~$ locate gb.qt4 >> /usr/lib/gambas3/gb.qt4.component >> /usr/lib/gambas3/gb.qt4.so >> /usr/lib/gambas3/gb.qt4.so.0 >> /usr/lib/gambas3/gb.qt4.so.0.0.0 >> /usr/share/gambas3/info/gb.qt4.info >> /usr/share/gambas3/info/gb.qt4.list >> >> kendek at ...3104...:~$ '/home/alma/alma.gambas' >> gb.gui: unable to load 'gb.gtk' component >> ERROR: #2: Cannot load class 'ButtonBox': Cannot load parent class: >> Cannot load class 'UserControl': Unable to load class file >> >> alma.desktop uses gb.image, gb.gui and gb.form components >> > > OK, you want 'gb.gui' to use 'gb.qt4' if 'gb.gtk' is not present? > > This is possible, this is something to fix in the gb.gui source code. > > But this is not related to the packaging at all! > OK, this is done in revision #5925. Regards, -- Beno?t Minisini From gambas at ...2524... Fri Nov 1 14:25:55 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 13:25:55 +0000 Subject: [Gambas-user] Issue 419 in gambas: Expect: 100-continue XML-RPC returns HTTP 415 Unsupported Media Type In-Reply-To: <1-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> <0-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> Comment #2 on issue 419 by uAle... at ...626...: Expect: 100-continue XML-RPC returns HTTP 415 Unsupported Media Type http://code.google.com/p/gambas/issues/detail?id=419 I think this one can be closed, I fixed the "Except: 100-Continue" in 3.5.0. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 14:47:30 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 13:47:30 +0000 Subject: [Gambas-user] Issue 419 in gambas: Expect: 100-continue XML-RPC returns HTTP 415 Unsupported Media Type In-Reply-To: <2-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> <0-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-14504588094280898948-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 419 by benoit.m... at ...626...: Expect: 100-continue XML-RPC returns HTTP 415 Unsupported Media Type http://code.google.com/p/gambas/issues/detail?id=419 OK. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 14:49:20 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 13:49:20 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 473 by benoit.m... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 This is "as design", as in Gambas collections there is no difference between nothing, the NULL value, and the void string. I admit this is not fully compatible with JavaScript. Maybe I should add an option to use a dedicated object to represent the NULL value so that you don't lost the keys whose value is NULL or a void string? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 14:55:33 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 13:55:33 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <1-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #2 on issue 473 by uAle... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 If the dedicated object works similar to collections, with the understanding it can have null & empty strings, i am fully for it. I am happy to use to do a "collection.remove(key)" to remove the entries. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 16:49:37 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 15:49:37 +0000 Subject: [Gambas-user] Issue 475 in gambas: Menu Icons (menu editor) are only shown when running as root Message-ID: <0-6813199134517018827-13317294681078784533-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 475 by uAle... at ...626...: Menu Icons (menu editor) are only shown when running as root http://code.google.com/p/gambas/issues/detail?id=475 1) Describe the problem. In the Menu Editor you can configure picture/icon to shown before the menu item. I have tested it under Ubuntu 12.04 & 13.04 and it *only* shows the icons when you are running under "root". When running under none-root, NO icons are shown. See both screenshots to see the exact different. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.4.2 / 3.5.0 Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Ubuntu Architecture: x86 & x86_64 GUI component: QT4 / GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. See screenshots 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! Attachments: gambas-3.5.0-AS-USER.png 58.1 KB gambas-3.5.0-AS-ROOT.png 69.8 KB System-Information.png 78.1 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mckaygerhard at ...626... Fri Nov 1 17:19:37 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 1 Nov 2013 11:49:37 -0430 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. Message-ID: well, theres some point that end in a double-edged sword there's sense to ported to BSD, maebo, firefox-os,but if we make software for non-free systems, i see that most free projects in net the binaries for OSX or Guindows are more downloaded rather than the binaries for FOSS like linux, maebo, BSD, etc etc, so then this its a double-edged sword those that makes free software for non-free systems are hipocrit due made more relatiable these non-free systems think about it: oh i have gambas for guindows, so why installing complete os linux? nahhh then install "w2008R2 super dupper edition ultimate corporate with all stuff" and that's all .. no funny mens >> rare. I want him to concentrate on make it's code portable... separate >> specific linux part to allow all our friend that want to help to port >> gambas to stars to make theire job. I have no problem if code are ported to ONLY FREE OS's i can help ONLY IN THAT SCENARY >> At the end Benoit can take hollidays and come take a Cognac at home . take cognac in a chair sitting is the same as being a windoser giving only clicks on the Pad >> :-) >> separate it to symplify the maintainment YEs in this part u have rigth > i worked on gambas' portability (OS X and *BSD) and i can say OSX are a non-free OS > we need a new structure of code to make a good portability > but mainly a proper maintenance. Well yes have right > Gambas is too linked to Linux. I can understand Benoit isn't > interesting to spend time in the developing to port Gambas, oh god exits! ;-) > but Benoit MUST review its code. well u have right u_u > for OS X, for Windows and so on ... > X11 for OS X is ugly. > X11 for Windows is ugly. > Use translated X11 routines are ugly. u must use free software > While this change will not be applied, > i would not be motivated to work on any Gambas port again... well with this i already very motivated -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com guindo hater From kevinfishburne at ...1887... Fri Nov 1 17:32:51 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 01 Nov 2013 12:32:51 -0400 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: <52738360.30706@...626...> References: <52738360.30706@...626...> Message-ID: <5273D7B3.4000703@...1887...> On 11/01/2013 06:33 AM, Fran?ois Gallo wrote: > Le 01/11/2013 11:15, Fabien Bodard a ?crit : >> After long talk with many gambas developpers, after years of joy on the use >> of this language, I want to talk about its future... its persistance. >> >> >> Benoit for me is a little bit like our Linus. He have done something for >> itself and it's today one of the better tool ever see. (Umm ... ;-)) >> >> Now, for me one thing lock down Gambas... why can't it be more known ? >> Because it is close to Linux world. Theire is no possibility to use it >> natively on other system ... this problem what explicitely exposed by RMS >> in the past in a mail sended to us. Yes in his request he wanted us to make >> the interpreter generate a cil code for interpreter like java/.net or >> parrot. Well today we know java isn't a sure way, and we can do things too >> without. >> >> I have a request to Benoit, and i know it's time is precious and like mine >> rare. I want him to concentrate on make it's code portable... separate >> specific linux part to allow all our friend that want to help to port >> gambas to stars to make theire job. >> >> By doing this, most people can participate on compiler/interpreter code, by >> having Gambas on other system we can have more component maker/maintainer. >> At the end Benoit can take hollidays and come take a Cognac at home . :-) >> >> I know this is a huge job as he/we need to take the time to mark all part >> of the code that is hard linked on Linux system, and then choose a way to >> separate it to symplify the maintainment >> >> Same thing for the toolkits but it's at a first time not the subject of >> today. >> >> Now we have hands that can help... but it can't be done if the code is not >> structured for. >> >> So for the Undred time ... Benoit ... Please, let us helping you. >> >> >> >> >> To all, the gambas user/dev, this exchange is for you so even if it take >> thouthen of mail, please give us your impress and your ideas, your support. >> >> >> >> Please, don't look at the spelling fault, it will take to many time to you >> ;-) >> >> >> > Fabien's right! > > i worked on gambas' portability (OS X and *BSD) and i can say > we need a new structure of code to make a good portability > but mainly a proper maintenance. > > Gambas is too linked to Linux. I can understand Benoit isn't > interesting to spend time in the developing to port Gambas, > but Benoit MUST review its code. > > At the moment, Gambas is not coded to port properly on > others OS. > a lot of routines is too linked to Linux (i say it again). > > Add new components and features is great, but it is > preferable to focus time to make it better. > > i hope a work will be done in the gambas code to have > a "modular code". Separate X11 in a single code is > better for us, developers who wants to work on > portability of Gambas! > > in this manner, each developer can works on a code > for OS X, for Windows and so on ... > X11 for OS X is ugly. > X11 for Windows is ugly. > Use translated X11 routines are ugly. > > Benoit, we don't ask you to port Gambas to OS X & Windows, > just to re-structure code of Gambas so that we can works > efficiently! > > While this change will not be applied, > i would not be motivated to work on any Gambas port again... Just to throw in my two cents... I personally despise Windows, OSX and iOS. Microsoft and Apple can both die in a fire as far as I'm concerned. That being said, from a practical standpoint I think the lack of portability speaks of two weaknesses (or strengths not taken advantage of) of GAMBAS: 1) Developers have a significantly more limited target audience. The best program in the world, if developed in GAMBAS, won't be used by the vast majority of those potentially interested in using it. That hurts potential end users and the developers. 2) The more people using an open source application, the more people contribute to maintaining, improving, documenting, and evangelizing it, as well as testing and reporting bugs. Hypothetically, if one million people use GAMBAS and it runs on 1% of computers due to OS limitation, porting it to the other 99% will result in the user base increasing to 100 million. That is profound and could accelerate the development and stability of GAMBAS to unseen levels. So, despite wanting to stab Microsoft and Apple in both eyes with daggers, in the end I think it would benefit GAMBAS and us as developers. If it's a matter of getting all the component dependencies working in other OS's, couldn't build scripts be generated for all of them? You'd think a lot of them already have build scripts for Windows and OSX and it would be a matter of identifying the outliers and creating scripts for them. How many components actually can't currently be compiled on Windows/OSX? Maybe the start could just be the IDE and "default" components, then the other components could be tackled individually. Not my area of expertise. :/ -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Nov 1 17:42:23 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 01 Nov 2013 12:42:23 -0400 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: References: Message-ID: <5273D9EF.7090806@...1887...> On 11/01/2013 12:19 PM, PICCORO McKAY Lenz wrote: > well, theres some point that end in a double-edged sword > > there's sense to ported to BSD, maebo, firefox-os,but if we make > software for non-free > systems, i see that most free projects in net the binaries for OSX or > Guindows are more > downloaded rather than the binaries for FOSS like linux, maebo, BSD, > etc etc, so then this its > a double-edged sword > > those that makes free software for non-free systems are hipocrit due > made more relatiable these non-free systems > > think about it: oh i have gambas for guindows, so why installing > complete os linux? nahhh > then install "w2008R2 super dupper edition ultimate corporate with all stuff" > and that's all .. no funny mens > While that's true, it depends on your perspective, or, your intentions as a GAMBAS developer. Most developers, especially in the open source world, just want their application to be the best possible and to be accessible to and used by the most people possible. People like RMS on the other hand allow philosophy and politics to affect the landscape, sometimes to their own detriment. If you get too "religious" about a project you can end up shooting yourself in the face by accident. Most users aren't technically savvy enough to migrate their OS to Linux or set up a dual-boot scenario. They don't understand or care about the open source philosophy, and while it's important to me, I don't think it NEEDS to be important to other people. Everyone uses computers now; kids, grandmas, police, firemen, lumberjacks, whatever. I don't think they all need to be worried about changing OS's because a handful of programs they want to use only work on Linux. Linux will have its day on the desktop; it will have it's appropriate market share (33% to be fair at this point), but I don't think it will be from application platform exclusivity. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Fri Nov 1 18:19:21 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 17:19:21 +0000 Subject: [Gambas-user] Issue 475 in gambas: Menu Icons (menu editor) are only shown when running as root In-Reply-To: <0-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Comment #1 on issue 475 by krisztiankende: Menu Icons (menu editor) are only shown when running as root http://code.google.com/p/gambas/issues/detail?id=475 Hm, indeed. But the icons are shown on Ubuntu Saucy. See my screenshot. Attachments: Gambas_Saucy_icons.png 71.7 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Fri Nov 1 20:32:28 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 20:32:28 +0100 Subject: [Gambas-user] Need help for testing revision #5928 Message-ID: <527401CC.8050600@...1...> Hi, In revision #5928, the packager now can create GUI support metapackages for the ArchLinux distribution. But I can't really test the code, as the ArchLinux packaging tool (makepkg) does not exist on Ubuntu. Is there some ArchLinux user there that could test the revision and tell me if making a binary package for a project using the 'gb.gui' component correctly generate the GUI metapackages? Thanks in advance! -- Beno?t Minisini From mohareve at ...626... Fri Nov 1 20:38:12 2013 From: mohareve at ...626... (M. Cs.) Date: Fri, 1 Nov 2013 20:38:12 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: <5273D9EF.7090806@...1887...> References: <5273D9EF.7090806@...1887...> Message-ID: Why, at least if it would be possible to implement multi-threading... 2013/11/1 Kevin Fishburne > On 11/01/2013 12:19 PM, PICCORO McKAY Lenz wrote: > > well, theres some point that end in a double-edged sword > > > > there's sense to ported to BSD, maebo, firefox-os,but if we make > > software for non-free > > systems, i see that most free projects in net the binaries for OSX or > > Guindows are more > > downloaded rather than the binaries for FOSS like linux, maebo, BSD, > > etc etc, so then this its > > a double-edged sword > > > > those that makes free software for non-free systems are hipocrit due > > made more relatiable these non-free systems > > > > think about it: oh i have gambas for guindows, so why installing > > complete os linux? nahhh > > then install "w2008R2 super dupper edition ultimate corporate with all > stuff" > > and that's all .. no funny mens > > > > While that's true, it depends on your perspective, or, your intentions > as a GAMBAS developer. Most developers, especially in the open source > world, just want their application to be the best possible and to be > accessible to and used by the most people possible. People like RMS on > the other hand allow philosophy and politics to affect the landscape, > sometimes to their own detriment. If you get too "religious" about a > project you can end up shooting yourself in the face by accident. > > Most users aren't technically savvy enough to migrate their OS to Linux > or set up a dual-boot scenario. They don't understand or care about the > open source philosophy, and while it's important to me, I don't think it > NEEDS to be important to other people. Everyone uses computers now; > kids, grandmas, police, firemen, lumberjacks, whatever. I don't think > they all need to be worried about changing OS's because a handful of > programs they want to use only work on Linux. > > Linux will have its day on the desktop; it will have it's appropriate > market share (33% to be fair at this point), but I don't think it will > be from application platform exclusivity. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Nov 1 21:10:05 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Nov 2013 21:10:05 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: <52738360.30706@...626...> References: <52738360.30706@...626...> Message-ID: <52740A9D.9070902@...1...> Le 01/11/2013 11:33, Fran?ois Gallo a ?crit : > > Le 01/11/2013 11:15, Fabien Bodard a ?crit : >> After long talk with many gambas developpers, after years of joy on the use >> of this language, I want to talk about its future... its persistance. >> >> >> Benoit for me is a little bit like our Linus. He have done something for >> itself and it's today one of the better tool ever see. (Umm ... ;-)) >> >> Now, for me one thing lock down Gambas... why can't it be more known ? >> Because it is close to Linux world. Theire is no possibility to use it >> natively on other system ... this problem what explicitely exposed by RMS >> in the past in a mail sended to us. Yes in his request he wanted us to make >> the interpreter generate a cil code for interpreter like java/.net or >> parrot. Well today we know java isn't a sure way, and we can do things too >> without. >> >> I have a request to Benoit, and i know it's time is precious and like mine >> rare. I want him to concentrate on make it's code portable... separate >> specific linux part to allow all our friend that want to help to port >> gambas to stars to make theire job. >> >> By doing this, most people can participate on compiler/interpreter code, by >> having Gambas on other system we can have more component maker/maintainer. >> At the end Benoit can take hollidays and come take a Cognac at home . :-) >> >> I know this is a huge job as he/we need to take the time to mark all part >> of the code that is hard linked on Linux system, and then choose a way to >> separate it to symplify the maintainment >> >> Same thing for the toolkits but it's at a first time not the subject of >> today. >> >> Now we have hands that can help... but it can't be done if the code is not >> structured for. >> >> So for the Undred time ... Benoit ... Please, let us helping you. >> >> >> >> >> To all, the gambas user/dev, this exchange is for you so even if it take >> thouthen of mail, please give us your impress and your ideas, your support. >> >> >> >> Please, don't look at the spelling fault, it will take to many time to you >> ;-) >> >> >> > > Fabien's right! > > i worked on gambas' portability (OS X and *BSD) and i can say > we need a new structure of code to make a good portability > but mainly a proper maintenance. > > Gambas is too linked to Linux. I can understand Benoit isn't > interesting to spend time in the developing to port Gambas, > but Benoit MUST review its code. > > At the moment, Gambas is not coded to port properly on > others OS. > a lot of routines is too linked to Linux (i say it again). > > Add new components and features is great, but it is > preferable to focus time to make it better. > > i hope a work will be done in the gambas code to have > a "modular code". Separate X11 in a single code is > better for us, developers who wants to work on > portability of Gambas! > > in this manner, each developer can works on a code > for OS X, for Windows and so on ... > X11 for OS X is ugly. > X11 for Windows is ugly. > Use translated X11 routines are ugly. > > Benoit, we don't ask you to port Gambas to OS X & Windows, > just to re-structure code of Gambas so that we can works > efficiently! > > While this change will not be applied, > i would not be motivated to work on any Gambas port again... > To port Gambas on non-X11 systems, the problems are the following: 1) The interpreter relies on some kernel features that are not exactly implemented in the Windows kernel, especially the fork() system call. The Cygwin emulation layer is too slow. 2) I don't care about Windows. Doing the port is a big job. I started to did it on Windows XP + Cygwin years ago. It worked, but there was the fork() system call emulation that was slow. 3) There is X11 code in gb.gtk, gb.qt4 and gb.desktop. 4) For gb.gtk: as GTK+ 2 is deprecated, gb.gtk should be ported to GTK+ 3. This implies removing all the X11 specific code. 5) For gb.qt4: the X11 specific code is there to workaround some problems, but should not exist theoritically. 6) For gb.desktop: the desktop routines relies on the X11 window manager protocols and freedesktop.org standards. A lot of things cannot be ported, but some things can. 7) Many components are interfaces to libraries that do not necessarily exist on other systems. It could be a problem. I think there is not a lot of thing to do to port the interpreter, the compiler and the other tools, as I already did that on Windows. As for the X11 stuff, of course you're right. It must be encapsulated somewhere so that it can be easily replaced. I already planned to do that, but never had the time. At the moment, I'm busy with fixing Gambas packager as soon as possible, so that a Gambas 3.5.1 could be released. -- Beno?t Minisini From 2aq9j93b7s at ...2320... Fri Nov 1 21:23:12 2013 From: 2aq9j93b7s at ...2320... (2aq9j93b7s) Date: Fri, 1 Nov 2013 13:23:12 -0700 (PDT) Subject: [Gambas-user] Dependency Problems (I Think) - Kubuntu 12.04.3 (Precise) - Gambas 3.5 In-Reply-To: <1383239489527-44003.post@...3046...> References: <1383239489527-44003.post@...3046...> Message-ID: <1383337392467-44057.post@...3046...> hello Thank You Kendek I successfully download the new Gambas3 with no problema Thank You again. I am now back afloat -- View this message in context: http://gambas.8142.n7.nabble.com/Dependency-Problems-I-Think-Kubuntu-12-04-3-Precise-Gambas-3-5-tp44003p44057.html Sent from the gambas-user mailing list archive at Nabble.com. From nemh at ...2007... Fri Nov 1 21:55:57 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 21:55:57 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: <52740A9D.9070902@...1...> References: <52738360.30706@...626...> <52740A9D.9070902@...1...> Message-ID: <5274155D.5090306@...2007...> 2013-11-01 21:10 keltez?ssel, Beno?t Minisini ?rta: > Le 01/11/2013 11:33, Fran?ois Gallo a ?crit : >> Le 01/11/2013 11:15, Fabien Bodard a ?crit : >>> After long talk with many gambas developpers, after years of joy on the use >>> of this language, I want to talk about its future... its persistance. >>> >>> >>> Benoit for me is a little bit like our Linus. He have done something for >>> itself and it's today one of the better tool ever see. (Umm ... ;-)) >>> >>> Now, for me one thing lock down Gambas... why can't it be more known ? >>> Because it is close to Linux world. Theire is no possibility to use it >>> natively on other system ... this problem what explicitely exposed by RMS >>> in the past in a mail sended to us. Yes in his request he wanted us to make >>> the interpreter generate a cil code for interpreter like java/.net or >>> parrot. Well today we know java isn't a sure way, and we can do things too >>> without. >>> >>> I have a request to Benoit, and i know it's time is precious and like mine >>> rare. I want him to concentrate on make it's code portable... separate >>> specific linux part to allow all our friend that want to help to port >>> gambas to stars to make theire job. >>> >>> By doing this, most people can participate on compiler/interpreter code, by >>> having Gambas on other system we can have more component maker/maintainer. >>> At the end Benoit can take hollidays and come take a Cognac at home . :-) >>> >>> I know this is a huge job as he/we need to take the time to mark all part >>> of the code that is hard linked on Linux system, and then choose a way to >>> separate it to symplify the maintainment >>> >>> Same thing for the toolkits but it's at a first time not the subject of >>> today. >>> >>> Now we have hands that can help... but it can't be done if the code is not >>> structured for. >>> >>> So for the Undred time ... Benoit ... Please, let us helping you. >>> >>> >>> >>> >>> To all, the gambas user/dev, this exchange is for you so even if it take >>> thouthen of mail, please give us your impress and your ideas, your support. >>> >>> >>> >>> Please, don't look at the spelling fault, it will take to many time to you >>> ;-) >>> >>> >>> >> Fabien's right! >> >> i worked on gambas' portability (OS X and *BSD) and i can say >> we need a new structure of code to make a good portability >> but mainly a proper maintenance. >> >> Gambas is too linked to Linux. I can understand Benoit isn't >> interesting to spend time in the developing to port Gambas, >> but Benoit MUST review its code. >> >> At the moment, Gambas is not coded to port properly on >> others OS. >> a lot of routines is too linked to Linux (i say it again). >> >> Add new components and features is great, but it is >> preferable to focus time to make it better. >> >> i hope a work will be done in the gambas code to have >> a "modular code". Separate X11 in a single code is >> better for us, developers who wants to work on >> portability of Gambas! >> >> in this manner, each developer can works on a code >> for OS X, for Windows and so on ... >> X11 for OS X is ugly. >> X11 for Windows is ugly. >> Use translated X11 routines are ugly. >> >> Benoit, we don't ask you to port Gambas to OS X & Windows, >> just to re-structure code of Gambas so that we can works >> efficiently! >> >> While this change will not be applied, >> i would not be motivated to work on any Gambas port again... >> > To port Gambas on non-X11 systems, the problems are the following: > > 1) The interpreter relies on some kernel features that are not exactly > implemented in the Windows kernel, especially the fork() system call. > The Cygwin emulation layer is too slow. > > 2) I don't care about Windows. Doing the port is a big job. I started to > did it on Windows XP + Cygwin years ago. It worked, but there was the > fork() system call emulation that was slow. > > 3) There is X11 code in gb.gtk, gb.qt4 and gb.desktop. > > 4) For gb.gtk: as GTK+ 2 is deprecated, gb.gtk should be ported to GTK+ > 3. This implies removing all the X11 specific code. > > 5) For gb.qt4: the X11 specific code is there to workaround some > problems, but should not exist theoritically. > > 6) For gb.desktop: the desktop routines relies on the X11 window manager > protocols and freedesktop.org standards. A lot of things cannot be > ported, but some things can. > > 7) Many components are interfaces to libraries that do not necessarily > exist on other systems. It could be a problem. > > I think there is not a lot of thing to do to port the interpreter, the > compiler and the other tools, as I already did that on Windows. > > As for the X11 stuff, of course you're right. It must be encapsulated > somewhere so that it can be easily replaced. I already planned to do > that, but never had the time. > > At the moment, I'm busy with fixing Gambas packager as soon as possible, > so that a Gambas 3.5.1 could be released. > But you will support the native MIR and Wayland, right? And you will create a 'gb.qt5' component? I waiting the GTK+ 3. :-) From nigelverity at ...67... Fri Nov 1 22:04:59 2013 From: nigelverity at ...67... (Nigel Verity) Date: Fri, 1 Nov 2013 21:04:59 +0000 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want In-Reply-To: References: Message-ID: Hi I'm sure that we all acknowledge that Gambas plays much the same role on Linux that VB plays on Windows. I used to be a VB developer, but I'd far sooner work with Gambas any day, even if it could be run on Windows. That said, the fact is that VB does exist and, whatever we like to think, it is a good tool with a huge and enthusiastic user base. At best, fully migrating Gambas to Windows would put it in a similar position to GIMP on Windows. At a functional level GIMP stands up well against Photoshop for most users. Despite that people still pay good money for Photoshop because it is the "go to" image editor in most people's minds. In the same way, no matter how good Gambas is most people looking for a RAD tool on Windows would automatically opt for VB. I have played around with Lazarus, which is a visual development environment based on FreePascal and generates native executables. It's harder to use than Gambas, but still a lot easier than Visual C++. It already has the advantage that there are versions for Linux, Windows and OSX, so you can develop a project on one OS and just recompile it to run on the others. On that basis it beats every other development tool hands down for portability and should dominate the market. For all that, most developers regardless of their OS, have probably never heard of it. To my mind Gambas has been developed to satisfy a requirement on Linux and it does that brilliantly well. There's nothing that comes close in terms of functionality vs ease-of-use. My view is that just because something CAN be done doesn't mean that it MUST be done. The notion that Gambas, or any other FLOSS project, must strive for maximum market share is more than a nod towards the stance of commercial proprietary software which many of us strive to avoid. The one thing I would like to see for Gambas is not so much functionality as improved awareness of one of its many capabilities. By combining Gambas with SQLite you have more or less a complete analog for MS Access. When I first came to Linux I struggled to find anything close to an Access equivalent. LibreOffice Base is far too complicated and slow. I'm sure there are many Linux users who would dearly love to have a powerful desktop database tool but don't realise that a solution is so readily available. Regards Nige From 2aq9j93b7s at ...2320... Fri Nov 1 22:50:04 2013 From: 2aq9j93b7s at ...2320... (2aq9j93b7s) Date: Fri, 1 Nov 2013 14:50:04 -0700 (PDT) Subject: [Gambas-user] DEBUG not functioning Message-ID: <1383342604557-44060.post@...3046...> hello I downloaded latest Kubuntu package today and something strange is happening The DEBUG particulars such as " DEBUG "TL1.Text:", TextLabel1.Text " produces nothing in the konsole I put a breakpoint before and after DEBUG and the line was apparently ignored Anything new that I am unaware of? Anyone can help me? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/DEBUG-not-functioning-tp44060.html Sent from the gambas-user mailing list archive at Nabble.com. From nemh at ...2007... Fri Nov 1 23:01:40 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Fri, 01 Nov 2013 23:01:40 +0100 Subject: [Gambas-user] DEBUG not functioning In-Reply-To: <1383342604557-44060.post@...3046...> References: <1383342604557-44060.post@...3046...> Message-ID: <527424C4.2020308@...2007...> 2013-11-01 22:50 keltez?ssel, 2aq9j93b7s ?rta: > hello > > I downloaded latest Kubuntu package today and something strange is happening > > The DEBUG particulars such as " DEBUG "TL1.Text:", TextLabel1.Text " > produces nothing in the konsole > > I put a breakpoint before and after DEBUG and the line was apparently > ignored > > Anything new that I am unaware of? Anyone can help me? > > Thanks > > I tested it with same Gambas packages, and if compile a code with debug informations, 'Debug' is works. From gambas at ...2524... Fri Nov 1 23:05:43 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 22:05:43 +0000 Subject: [Gambas-user] Issue 474 in gambas: JSON Encode created wrong unicode for none-printable ascii characters In-Reply-To: <0-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 474 by benoit.m... at ...626...: JSON Encode created wrong unicode for none-printable ascii characters http://code.google.com/p/gambas/issues/detail?id=474 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 23:06:43 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 22:06:43 +0000 Subject: [Gambas-user] Issue 474 in gambas: JSON Encode created wrong unicode for none-printable ascii characters In-Reply-To: <1-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> <0-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2390818179071159778-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 474 by benoit.m... at ...626...: JSON Encode created wrong unicode for none-printable ascii characters http://code.google.com/p/gambas/issues/detail?id=474 Fixed in revision #5930. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Fri Nov 1 23:17:17 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Nov 2013 22:17:17 +0000 Subject: [Gambas-user] Issue 475 in gambas: Menu Icons (menu editor) are only shown when running as root In-Reply-To: <1-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> <0-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #2 on issue 475 by benoit.m... at ...626...: Menu Icons (menu editor) are only shown when running as root http://code.google.com/p/gambas/issues/detail?id=475 AFAIK, this is a bug in the QGtk widget theme. It seems to be fixed in recent releases of Ubuntu. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From markus.schatten at ...2005... Sat Nov 2 03:03:21 2013 From: markus.schatten at ...2005... (Markus Schatten) Date: Sat, 2 Nov 2013 03:03:21 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want In-Reply-To: References: Message-ID: Dear Nige and all, I'm working on something like MS Access in Gambas 3, but it's far from complete. For now it works with PostgreSQL, XSB, eXist, Flora-2 and ZODB, but SQLite and others like CouchDB are planned and should be done soon. You can take a look at it at: http://code.google.com/p/the-baze/ or for a binary at: http://tinyurl.com/skini-baze I hope that I get a working version soon. All the best, M. -- Markus Schatten, PhD Assistant professor and head of Artificial Intelligence Lab University of Zagreb Faculty of Organization and Informatics Pavlinska 2, 42000 Varazdin, Croatia http://www.foi.hr/nastavnici/schatten.markus/index.html http://www.researchgate.net/profile/Markus_Schatten1 http://ai.foi.hr On Fri, Nov 1, 2013 at 10:04 PM, Nigel Verity wrote: > Hi > > I'm sure that we all acknowledge that Gambas plays much the same role on Linux that VB plays on Windows. I used to be a VB developer, but I'd far sooner work with Gambas any day, even if it could be run on Windows. That said, the fact is that VB does exist and, whatever we like to think, it is a good tool with a huge and enthusiastic user base. At best, fully migrating Gambas to Windows would put it in a similar position to GIMP on Windows. At a functional level GIMP stands up well against Photoshop for most users. Despite that people still pay good money for Photoshop because it is the "go to" image editor in most people's minds. In the same way, no matter how good Gambas is most people looking for a RAD tool on Windows would automatically opt for VB. > > I have played around with Lazarus, which is a visual development environment based on FreePascal and generates native executables. It's harder to use than Gambas, but still a lot easier than Visual C++. It already has the advantage that there are versions for Linux, Windows and OSX, so you can develop a project on one OS and just recompile it to run on the others. On that basis it beats every other development tool hands down for portability and should dominate the market. For all that, most developers regardless of their OS, have probably never heard of it. > > To my mind Gambas has been developed to satisfy a requirement on Linux and it does that brilliantly well. There's nothing that comes close in terms of functionality vs ease-of-use. My view is that just because something CAN be done doesn't mean that it MUST be done. The notion that Gambas, or any other FLOSS project, must strive for maximum market share is more than a nod towards the stance of commercial proprietary software which many of us strive to avoid. > > The one thing I would like to see for Gambas is not so much functionality as improved awareness of one of its many capabilities. By combining Gambas with SQLite you have more or less a complete analog for MS Access. When I first came to Linux I struggled to find anything close to an Access equivalent. LibreOffice Base is far too complicated and slow. I'm sure there are many Linux users who would dearly love to have a powerful desktop database tool but don't realise that a solution is so readily available. > > Regards > > Nige > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Nov 2 07:10:09 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 02 Nov 2013 07:10:09 +0100 Subject: [Gambas-user] WIP Debian packages Gambas license needs In-Reply-To: References: Message-ID: <52749741.8050706@...1...> I'm not sure to understand all your mail, because your english is a bit...not english. So tell me if I wrong. Thanks! Le 01/11/2013 05:30, PICCORO McKAY Lenz a ?crit : > Theres the notes about how must be handle license file and problems, > the copyright file ofr debian will be a mayor problem if those points are > not hancled in mayority: > > ================================================ > 1) PROBLEMS: ================================== > > */Makefile.* autoconf, automake files each file are GPLv2, and Copyright FSF > > examples//* none no "license" file, then: asume GPLv2? mus be > specified in each file source, authors name and email, also year > copyright, all of this are missing!!!! > > app/* GPLv2 ??? each prokect has no "license" file as gambas3 project does > appt/src/doc.cgi/* none > appt/src/gb.wiki/* none > appt/src/gbs/* (same gbw) GPLv2 ??? none file found asumme benoit! > comp/* GPLv2 ???? > comp/src/* none each project here not have license file > You mean that each source file must be prefixed with a licence? What a nightmare! Wouldn't it be enough if I add just one LICENSE file for each Gambas project? > db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 > Tavmjong Bah ???? > this file has a restricted include file copy for redistribution, also > (C) 2003 Bitstream Inc license I didn't notice. So the file must be removed. I have to find a TTF file to replace it that respect the GPL. Do you know one? > > gb.v4l/orig/video-capture-0.2.tar.gz sources included Copyright 2001 > Nick Andrew ASK TO DEBIAN FOR THIS included > compresed file if can be handle as it What's the problem with that file? > > ================================================ > 2) format copyright file for start point ===================== > > Files: * > Copyright: 2002-2012, Benoit Minisini > License: GPL-2+ > > Files: appt/src/gambas3/* (IDE) : > Copyright: 2012 Beno?t Minisini, Fabien Bodard, Charlie Reinl, Jos? > Luis Redrejo, Rober > t Rowe <<<< emails must be specified here!!!! and its missing in files >>>> > License: Dual GPL2+ and SIL open font license: > This program is free software; you can redistribute it and/or > modify it under the terms of the GNU General Public License as > published by the Free Software Foundation; either version 2, or > (at your option) any later version. > > The Gambas font is licensed under the SIL Open Font License, > Version 1.1. You will find a copy of the license inside the > IDE source code, and it is also available with a FAQ at: > http://scripts.sil.org/OFL > > Files: main/* > Copyrihgt: 2000-2012 Beno?t Minisini > License: GPLv2 <<>>> > > > Files: examples/* > Copyright: GPLv2 autors citred but no licenses specified !!!! > > -------------------------------------------------------- > For the rest of these files must make same: I don't understand the sentence. Can you explain what you want to mean? > > gb.*/* GPLv2 2000,2004,2012 Beno?t Minisini > gb.dbus/src/gb.dbus/* ???? none no license file found, asumme Benoit > misini from top > gb.desktop/src/gb.desktop/* ???? none no license file found, asumme > Benoit misini from top > gb.desktop/src/gb.desktop/xdg* ???? what for this files here ??? Fathi > Boudra ,Rex Dieter > ,Kevin Krammer > ,Jeremy White > gb.cairo/* GPLv2 Copyright Beno?t Minisini > gb.cryp/* GPLv2 Copyright Beno?t Minisini > gb.db.*/* GPLv2 Copyright Beno?t Minisini > gb.net.smtp/* GPLv2 Copyright 2000,2012 Beno?t Minisini > > gb.db.odbc/* GPLv2 Copyright Andrea Bortolan > gb.db.postgres/* GPLv2 Copyright Bruce Bruen > gb.db.sqlite*/* GPLv2 Copyright Ngel Gerrard,Daniel Campos Fernandez > > gb.gsl/* GPLv2 Copyright Randal Morgan > gb.gtk/src/opengl/* GPLv2 Copyright Beno?t Minisini > > gb.image.*/* GPLv2 Copyright 2012 Beno?t Minisini > gb.jit/* GPLv2 2012 Emil Lenngren > gb.ncurses/* GPLv2 Copyright (C) 2012 Tobias Boege > > gb.compress.*/* GPLv2 Copyright Daniel Campos Fernandez > gb.gtk/* GPLv2 2005 Copyright Daniel Campos Fernandez > gb.net.*/* GPLv2 2003,2004,2005,2008 Copyright Daniel Campos Fernandez > gb.pdf/* GPLv2 Copyrighs: ???? Ian Haywood; 2005,2007 Copyright Daniel > Campos Fernandez > gb.opengl/* GPLv2 2005-2007 Laurent Carlier > gb.qt4/src/opengl/* GPLv2 Copyright 2006 Lauren Carlier > > > > gb.sdl*/* GPLv2 2006 Laurent Carlier > gb.sdl.sound/? GPLv2 ???? Ahmad Kahmal ???? > db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED C 2003 Bitstream > Inc license > > gb.pre/* 2004 Rob Kudla pcre-component at ...94.../Benoit 2000-2012 > > > gb.qt4/* GPLv2 Copyrights: 2012 Benoit > gb.qt4/csvimage.* GPLv2 Copyrigh 2004-2006 Daniel Campos Fernandez > gb.qt4/src/ext/* GPLv2 Copyright ???? Nigel Gerrard > > gb.v4l/* GPL 2005-2008 Daniel Campos Fernandez gb.v4l/orig/video-capture-0.2.tar.gz sources included Copyright 2001 > Nick Andrew ASK TO DEBIAN FOR THIS > gb.v4l/gv4l2.c* GPL 2009 Gareth Bult > gb.v4l/CConverters.c GPL 2012 Benoit Minisini > > gb.xml/* GPL Copyright 2012 Adrien Prokopowicz > gb.xml/src/rpc/* ???? Daniel Campos Fernandez gb.xml/src/xslt/* Copyrihgts: 2004 Daniel Campos Fernandez > , GPL Copyright 2012 Adrien Prokopowicz > > > > gb.httpd/* GPLv2 Copyright 1995,2000 by Jef Poskanzer > gb.httpd/main.c GPLv2 Copyright 2012 Beno?t Minisini > > gb.httpd/*thttpd.h restricted own Copyright 1995,2000 by Jef Poskanzer > > gb.httpd/version.h none header found, Copyright 1995,2000 by Jef > Poskanzer > gb.httpd/mime_*.h none header found, Copyright 1995,2000 by Jef > Poskanzer > Redistribution and use in source and binary forms, with or without > modification, are permitted provided that the following conditions > are met: > 1. Redistributions of source code must retain the above copyright > notice, this list of conditions and the following disclaimer. > 2. Redistributions in binary form must reproduce the above copyright > notice, this list of conditions and the following disclaimer in the > documentation and/or other materials provided with the distribution. > > THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND > ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE > IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE > ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE > FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL > DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS > OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) > HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT > LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY > OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF > SUCH DAMAGE. > -- Beno?t Minisini From gambas at ...2524... Sat Nov 2 08:02:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 02 Nov 2013 07:02:24 +0000 Subject: [Gambas-user] Issue 475 in gambas: Menu Icons (menu editor) are only shown when running as root In-Reply-To: <2-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> <0-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-13317294681078784533-gambas=googlecode.com@...2524...> Comment #3 on issue 475 by uAle... at ...626...: Menu Icons (menu editor) are only shown when running as root http://code.google.com/p/gambas/issues/detail?id=475 Ok, thanks for the confirmation ? The problems with widget theme is very common, is there an easy way for us to notice it ourselves? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From nemh at ...2007... Sat Nov 2 08:41:55 2013 From: nemh at ...2007... (=?UTF-8?B?S2VuZGUgS3Jpc3p0acOhbg==?=) Date: Sat, 02 Nov 2013 08:41:55 +0100 Subject: [Gambas-user] WIP Debian packages Gambas license needs In-Reply-To: <52749741.8050706@...1...> References: <52749741.8050706@...1...> Message-ID: <5274ACC3.60504@...2007...> 2013-11-02 07:10 keltez?ssel, Beno?t Minisini ?rta: >> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 >> Tavmjong Bah ???? >> this file has a restricted include file copy for redistribution, also >> (C) 2003 Bitstream Inc license > I didn't notice. So the file must be removed. I have to find a TTF file > to replace it that respect the GPL. Do you know one? > This file provided by fonts-dejavu-core (and ttf-dejavu-core). This file is completly missing from all Debian packages. /usr/share/gambas3/gb.sdl dir contains only a symlink. So I don't see what the problem is. From fernando at ...3175... Sat Nov 2 15:14:17 2013 From: fernando at ...3175... (Fernando Martins) Date: Sat, 02 Nov 2013 15:14:17 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want In-Reply-To: References: Message-ID: <527508B9.6070500@...3175...> On 11/02/2013 03:03 AM, Markus Schatten wrote: > Dear Nige and all, > > I'm working on something like MS Access in Gambas 3, but it's far from > complete. For now it works with PostgreSQL, XSB, eXist, Flora-2 and > ZODB, but SQLite and others like CouchDB are planned and should be > done soon. You can take a look at it at: > > http://code.google.com/p/the-baze/ > > or for a binary at: > > http://tinyurl.com/skini-baze > > I hope that I get a working version soon. > > while trying to create a sqllite db, after open dialog: This application has raised an unexpected error and must abort. [2] Cannot load class 'SQLiteDBInternal': Unable to load class file. FMain.handle_user_request.89 From gambas.fr at ...626... Sun Nov 3 13:04:49 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 3 Nov 2013 13:04:49 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: <5274155D.5090306@...2007...> References: <52738360.30706@...626...> <52740A9D.9070902@...1...> <5274155D.5090306@...2007...> Message-ID: MIR ? from wikipaedia : Also in June 2013 Julien Lavergne, of the Lubuntu project, indicated that Lubuntu would not be switching to Mir for at least the next two releases.[39][41] In August 2013, after evaluating Mir, the Xubuntu developers decided not to use Mir or XMir for Xubuntu 13.10.[42][43][44] Unofficial test versions of Xubuntu with Mir and XMir are available.[43][45] In September 2013, Intel management team decided to drop XMir support from their video driver, as they "do not condone or support Canonical in the course of action they have chosen, and will not carry XMir patches upstream".[46][47] it seem mir is near to be dead in the eggs if the constructor not follow them on theire driver ... even if maybe some dev do some support on the free drivers. 2013/11/1 Kende Kriszti?n > > 2013-11-01 21:10 keltez?ssel, Beno?t Minisini ?rta: > > Le 01/11/2013 11:33, Fran?ois Gallo a ?crit : > >> Le 01/11/2013 11:15, Fabien Bodard a ?crit : > >>> After long talk with many gambas developpers, after years of joy on > the use > >>> of this language, I want to talk about its future... its persistance. > >>> > >>> > >>> Benoit for me is a little bit like our Linus. He have done something > for > >>> itself and it's today one of the better tool ever see. (Umm ... ;-)) > >>> > >>> Now, for me one thing lock down Gambas... why can't it be more known ? > >>> Because it is close to Linux world. Theire is no possibility to use it > >>> natively on other system ... this problem what explicitely exposed by > RMS > >>> in the past in a mail sended to us. Yes in his request he wanted us to > make > >>> the interpreter generate a cil code for interpreter like java/.net or > >>> parrot. Well today we know java isn't a sure way, and we can do things > too > >>> without. > >>> > >>> I have a request to Benoit, and i know it's time is precious and like > mine > >>> rare. I want him to concentrate on make it's code portable... separate > >>> specific linux part to allow all our friend that want to help to port > >>> gambas to stars to make theire job. > >>> > >>> By doing this, most people can participate on compiler/interpreter > code, by > >>> having Gambas on other system we can have more component > maker/maintainer. > >>> At the end Benoit can take hollidays and come take a Cognac at home . > :-) > >>> > >>> I know this is a huge job as he/we need to take the time to mark all > part > >>> of the code that is hard linked on Linux system, and then choose a way > to > >>> separate it to symplify the maintainment > >>> > >>> Same thing for the toolkits but it's at a first time not the subject of > >>> today. > >>> > >>> Now we have hands that can help... but it can't be done if the code is > not > >>> structured for. > >>> > >>> So for the Undred time ... Benoit ... Please, let us helping you. > >>> > >>> > >>> > >>> > >>> To all, the gambas user/dev, this exchange is for you so even if it > take > >>> thouthen of mail, please give us your impress and your ideas, your > support. > >>> > >>> > >>> > >>> Please, don't look at the spelling fault, it will take to many time to > you > >>> ;-) > >>> > >>> > >>> > >> Fabien's right! > >> > >> i worked on gambas' portability (OS X and *BSD) and i can say > >> we need a new structure of code to make a good portability > >> but mainly a proper maintenance. > >> > >> Gambas is too linked to Linux. I can understand Benoit isn't > >> interesting to spend time in the developing to port Gambas, > >> but Benoit MUST review its code. > >> > >> At the moment, Gambas is not coded to port properly on > >> others OS. > >> a lot of routines is too linked to Linux (i say it again). > >> > >> Add new components and features is great, but it is > >> preferable to focus time to make it better. > >> > >> i hope a work will be done in the gambas code to have > >> a "modular code". Separate X11 in a single code is > >> better for us, developers who wants to work on > >> portability of Gambas! > >> > >> in this manner, each developer can works on a code > >> for OS X, for Windows and so on ... > >> X11 for OS X is ugly. > >> X11 for Windows is ugly. > >> Use translated X11 routines are ugly. > >> > >> Benoit, we don't ask you to port Gambas to OS X & Windows, > >> just to re-structure code of Gambas so that we can works > >> efficiently! > >> > >> While this change will not be applied, > >> i would not be motivated to work on any Gambas port again... > >> > > To port Gambas on non-X11 systems, the problems are the following: > > > > 1) The interpreter relies on some kernel features that are not exactly > > implemented in the Windows kernel, especially the fork() system call. > > The Cygwin emulation layer is too slow. > > > > 2) I don't care about Windows. Doing the port is a big job. I started to > > did it on Windows XP + Cygwin years ago. It worked, but there was the > > fork() system call emulation that was slow. > > > > 3) There is X11 code in gb.gtk, gb.qt4 and gb.desktop. > > > > 4) For gb.gtk: as GTK+ 2 is deprecated, gb.gtk should be ported to GTK+ > > 3. This implies removing all the X11 specific code. > > > > 5) For gb.qt4: the X11 specific code is there to workaround some > > problems, but should not exist theoritically. > > > > 6) For gb.desktop: the desktop routines relies on the X11 window manager > > protocols and freedesktop.org standards. A lot of things cannot be > > ported, but some things can. > > > > 7) Many components are interfaces to libraries that do not necessarily > > exist on other systems. It could be a problem. > > > > I think there is not a lot of thing to do to port the interpreter, the > > compiler and the other tools, as I already did that on Windows. > > > > As for the X11 stuff, of course you're right. It must be encapsulated > > somewhere so that it can be easily replaced. I already planned to do > > that, but never had the time. > > > > At the moment, I'm busy with fixing Gambas packager as soon as possible, > > so that a Gambas 3.5.1 could be released. > > > > But you will support the native MIR and Wayland, right? And you will > create a 'gb.qt5' component? I waiting the GTK+ 3. :-) > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From nemh at ...2007... Sun Nov 3 13:31:27 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sun, 03 Nov 2013 13:31:27 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want. In-Reply-To: References: <52738360.30706@...626...> <52740A9D.9070902@...1...> <5274155D.5090306@...2007...> Message-ID: <5276421F.8050900@...2007...> 2013-11-03 13:04 keltez?ssel, Fabien Bodard ?rta: > MIR ? > > from wikipaedia : > Also in June 2013 Julien Lavergne, of the Lubuntu project, indicated that > Lubuntu would not be switching to Mir for at least the next two > releases.[39][41] > In August 2013, after evaluating Mir, the Xubuntu developers decided not to > use Mir or XMir for Xubuntu 13.10.[42][43][44] Unofficial test versions of > Xubuntu with Mir and XMir are available.[43][45] > In September 2013, Intel management team decided to drop XMir support from > their video driver, as they "do not condone or support Canonical in the > course of action they have chosen, and will not carry XMir patches > upstream".[46][47] > > > it seem mir is near to be dead in the eggs if the constructor not follow > them on theire driver ... even if maybe some dev do some support on the > free drivers. > Mir is not used in Ubuntu 13.10, and XMir is not default with open source graphics drivers. But a few years later the situation changes. While it is true, the Gambas will work with XMir compatibility layer. From gambas at ...2524... Sun Nov 3 14:35:28 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 13:35:28 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <2-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 473 by benoit.m... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 It should be fixed in revision #5936. Now JSON.Decode() takes a new optional argument that tells if you don't want to loose 'null' values in JSON objects. This is based on a new JSONCollection class that inherits Collection, and allows NULL values to be stored. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 14:36:28 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 13:36:28 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <3-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #4 on issue 473 by uAle... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 Ok, i will test it today ? and JSONCollection "knows" the difference between empty string and NULL? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 14:37:28 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 13:37:28 +0000 Subject: [Gambas-user] Issue 421 in gambas: gb.xml.rpc doesn't work correctly with gb.libxml In-Reply-To: <3-6813199134517018827-2373110834659276770-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-2373110834659276770-gambas=googlecode.com@...2524...> <0-6813199134517018827-2373110834659276770-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-2373110834659276770-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #4 on issue 421 by benoit.m... at ...626...: gb.xml.rpc doesn't work correctly with gb.libxml http://code.google.com/p/gambas/issues/detail?id=421 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 14:59:51 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 13:59:51 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <4-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #5 on issue 473 by benoit.m... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 No. In Gambas NULL and empty strings are the same thing. So there is no point to try to make the difference after having decoding a JSON object. The JSONCollection just allows you to store NULL inside a collection. It is done by inheriting Collection, overriding some of its method, and internally using a special value (JSON.Null) to represent the NULL value. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 16:09:31 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 15:09:31 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <5-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #6 on issue 473 by uAle... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 Ok, this is helping me already a bit ? now i can store NULL values in JSON. I will leave my workaround for the empty strings in place in the code (not perfect, but i need empty strings) BTW: The code is working as you specified now. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 16:18:33 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 15:18:33 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <6-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #7 on issue 473 by benoit.m... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 I'm curious: why do you *need* empty strings to be different from NULL? I have never needed that since I wrote my first line of code! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Nov 3 16:19:33 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 15:19:33 +0000 Subject: [Gambas-user] Issue 455 in gambas: gb.report generates a report too bigger In-Reply-To: <0-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Updates: Owner: gambas... at ...626... Comment #1 on issue 455 by benoit.m... at ...626...: gb.report generates a report too bigger http://code.google.com/p/gambas/issues/detail?id=455 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Nov 3 16:20:59 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 03 Nov 2013 16:20:59 +0100 Subject: [Gambas-user] WIP Debian packages Gambas license needs In-Reply-To: <5274ACC3.60504@...2007...> References: <52749741.8050706@...1...> <5274ACC3.60504@...2007...> Message-ID: <527669DB.9020509@...1...> Le 02/11/2013 08:41, Kende Kriszti?n a ?crit : > 2013-11-02 07:10 keltez?ssel, Beno?t Minisini ?rta: >>> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 >>> Tavmjong Bah ???? >>> this file has a restricted include file copy for redistribution, also >>> (C) 2003 Bitstream Inc license >> I didn't notice. So the file must be removed. I have to find a TTF file >> to replace it that respect the GPL. Do you know one? >> > > This file provided by fonts-dejavu-core (and ttf-dejavu-core). This file > is completly missing from all Debian packages. /usr/share/gambas3/gb.sdl > dir contains only a symlink. So I don't see what the problem is. > So you added a dependency of the package installing that font? I have removed the DejavuSans font for Gambas 3.5.1. I have replaced it by the Gambas monospace font I made, updated the LICENSE file and put a README file with it. -- Beno?t Minisini From gambas at ...2524... Sun Nov 3 16:22:02 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 15:22:02 +0000 Subject: [Gambas-user] Issue 473 in gambas: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. In-Reply-To: <7-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> <0-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-9286501824248748951-gambas=googlecode.com@...2524...> Comment #8 on issue 473 by uAle... at ...626...: JSON Encode/Decode: JSONObject -> Collection drops relevant empty strings/null values from input request. http://code.google.com/p/gambas/issues/detail?id=473 I just wanted to follow the JSON-RPC 2.0 specs (not a rfc), where i can return "" as an empty string. But maybe you're right, i should respond with null instead of "" ? Need to check if the JSON-RPC clients in e.g. PHP can handle this too in a good way (not many good freeware json-rpc testing tools available at this moment :-(). So TBD :-) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Nov 3 16:22:18 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 03 Nov 2013 16:22:18 +0100 Subject: [Gambas-user] WIP Debian packages Gambas license needs In-Reply-To: <527669DB.9020509@...1...> References: <52749741.8050706@...1...> <5274ACC3.60504@...2007...> <527669DB.9020509@...1...> Message-ID: <52766A2A.8070102@...1...> Le 03/11/2013 16:20, Beno?t Minisini a ?crit : > Le 02/11/2013 08:41, Kende Kriszti?n a ?crit : >> 2013-11-02 07:10 keltez?ssel, Beno?t Minisini ?rta: >>>> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 >>>> Tavmjong Bah ???? >>>> this file has a restricted include file copy for redistribution, also >>>> (C) 2003 Bitstream Inc license >>> I didn't notice. So the file must be removed. I have to find a TTF file >>> to replace it that respect the GPL. Do you know one? >>> >> >> This file provided by fonts-dejavu-core (and ttf-dejavu-core). This file >> is completly missing from all Debian packages. /usr/share/gambas3/gb.sdl >> dir contains only a symlink. So I don't see what the problem is. >> > > So you added a dependency of the package installing that font? > > I have removed the DejavuSans font for Gambas 3.5.1. I have replaced it > by the Gambas monospace font I made, updated the LICENSE file and put a > README file with it. > By the way: do you know if I *must* add a LICENSE file in all components and projects? If I add a LICENSE file for all components and examples, will it be enough for Debian? -- Beno?t Minisini From gambas at ...2524... Sun Nov 3 17:00:58 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Nov 2013 16:00:58 +0000 Subject: [Gambas-user] Issue 455 in gambas: gb.report generates a report too bigger In-Reply-To: <1-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> <0-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 455 by gambas... at ...626...: gb.report generates a report too bigger http://code.google.com/p/gambas/issues/detail?id=455 I need an example to see what append what kind of tool you have used. If you have use many picture too. You can't reduce the resolution this is fixed by the printer. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Sun Nov 3 17:57:14 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Nov 2013 17:57:14 +0100 Subject: [Gambas-user] Wiki: File attribute instructions not "only 3.1"? Message-ID: <20131103165714.GD473@...2774...> Hi, Hans discovered yet three other oddities in the docs. ChMod, ChOwn and ChGrp are tagged "only 3.1" but I just tested them in a project. They get compiled and work. May I replace the "only" with a "since" then? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Nov 3 18:05:49 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 03 Nov 2013 18:05:49 +0100 Subject: [Gambas-user] Wiki: File attribute instructions not "only 3.1"? In-Reply-To: <20131103165714.GD473@...2774...> References: <20131103165714.GD473@...2774...> Message-ID: <5276826D.1080105@...1...> Le 03/11/2013 17:57, Tobias Boege a ?crit : > Hi, > > Hans discovered yet three other oddities in the docs. ChMod, ChOwn and ChGrp > are tagged "only 3.1" but I just tested them in a project. They get compiled > and work. May I replace the "only" with a "since" then? > > Regards, > Tobi > Yes. "since" did not exist when the 3.1 doc was written. -- Beno?t Minisini From nemh at ...2007... Sun Nov 3 18:05:41 2013 From: nemh at ...2007... (=?UTF-8?B?S2VuZGUgS3Jpc3p0acOhbg==?=) Date: Sun, 03 Nov 2013 18:05:41 +0100 Subject: [Gambas-user] WIP Debian packages Gambas license needs In-Reply-To: <52766A2A.8070102@...1...> References: <52749741.8050706@...1...> <5274ACC3.60504@...2007...> <527669DB.9020509@...1...> <52766A2A.8070102@...1...> Message-ID: <52768265.2040807@...2007...> 2013-11-03 16:22 keltez?ssel, Beno?t Minisini ?rta: > Le 03/11/2013 16:20, Beno?t Minisini a ?crit : >> Le 02/11/2013 08:41, Kende Kriszti?n a ?crit : >>> 2013-11-02 07:10 keltez?ssel, Beno?t Minisini ?rta: >>>>> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 >>>>> Tavmjong Bah ???? >>>>> this file has a restricted include file copy for redistribution, also >>>>> (C) 2003 Bitstream Inc license >>>> I didn't notice. So the file must be removed. I have to find a TTF file >>>> to replace it that respect the GPL. Do you know one? >>>> >>> This file provided by fonts-dejavu-core (and ttf-dejavu-core). This file >>> is completly missing from all Debian packages. /usr/share/gambas3/gb.sdl >>> dir contains only a symlink. So I don't see what the problem is. >>> >> So you added a dependency of the package installing that font? >> >> I have removed the DejavuSans font for Gambas 3.5.1. I have replaced it >> by the Gambas monospace font I made, updated the LICENSE file and put a >> README file with it. >> Yes, but I'll be watching the new font. > By the way: do you know if I *must* add a LICENSE file in all components > and projects? If I add a LICENSE file for all components and examples, > will it be enough for Debian? > I don't know exactly what they need. But I removed (before compile Gambas) the examples/examples/Games/GNUBoxWorld/License, examples/examples/Games/Puzzle1To8/Licence and examples/examples/Games/RobotFindsKitten/COPYING files. These extra license files, and I get lintian warnings about them. These licenses are to be included in the copyright file. Or I use lintian-overrides (not that otherwise would be significant). So, the Debian packages doesn't contain these license files. But if the source of the Gambas would include them, then that would be good. A little bit much the source files, but I will rewrite the copyright file. From wig at ...1809... Sun Nov 3 19:17:50 2013 From: wig at ...1809... (wig) Date: Sun, 3 Nov 2013 19:17:50 +0100 Subject: [Gambas-user] Integrating ChartsClass bar-line-pie for Gambas2 Message-ID: <475de331fca9563cf03696381a607f4c.squirrel@...3221...> I have the source code of a class to make charts that I want to use in my gambas 2 application. https://sourceforge.net/projects/chartsclass/ What is the best way to do that? Copy the files of Charts and subclasses: CChart + CChartBar + CChartLine + CChartPie in my project directory? (And then make executable). At least that works, but what with later updates of the chartsclass(es)? Does somebody know somewhere a description with example (for Gambas2)? (other than the normal gambas doc) How do you manage that in your projects? From markus.schatten at ...2005... Sun Nov 3 20:21:38 2013 From: markus.schatten at ...2005... (Markus Schatten) Date: Sun, 3 Nov 2013 20:21:38 +0100 Subject: [Gambas-user] Gambas Future or what kind of Gambas we want In-Reply-To: <527508B9.6070500@...3175...> References: <527508B9.6070500@...3175...> Message-ID: Dear Fernando, yes I know, I said SQLite support is planned ;-) It works well with PostgreSQL if you connect to an existing database. All the best, M. -- Markus Schatten, PhD Assistant professor and head of Artificial Intelligence Lab University of Zagreb Faculty of Organization and Informatics Pavlinska 2, 42000 Varazdin, Croatia http://www.foi.hr/nastavnici/schatten.markus/index.html http://www.researchgate.net/profile/Markus_Schatten1 http://ai.foi.hr On Sat, Nov 2, 2013 at 3:14 PM, Fernando Martins wrote: > On 11/02/2013 03:03 AM, Markus Schatten wrote: >> Dear Nige and all, >> >> I'm working on something like MS Access in Gambas 3, but it's far from >> complete. For now it works with PostgreSQL, XSB, eXist, Flora-2 and >> ZODB, but SQLite and others like CouchDB are planned and should be >> done soon. You can take a look at it at: >> >> http://code.google.com/p/the-baze/ >> >> or for a binary at: >> >> http://tinyurl.com/skini-baze >> >> I hope that I get a working version soon. >> >> > while trying to create a sqllite db, after open dialog: > > This application has raised an unexpected > error and must abort. > > [2] Cannot load class 'SQLiteDBInternal': Unable to load class file. > FMain.handle_user_request.89 > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Nov 3 20:48:53 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Nov 2013 20:48:53 +0100 Subject: [Gambas-user] Wiki: File attribute instructions not "only 3.1"? In-Reply-To: <5276826D.1080105@...1...> References: <20131103165714.GD473@...2774...> <5276826D.1080105@...1...> Message-ID: <20131103194853.GE473@...2774...> On Sun, 03 Nov 2013, Beno?t Minisini wrote: > Le 03/11/2013 17:57, Tobias Boege a ?crit : > > Hi, > > > > Hans discovered yet three other oddities in the docs. ChMod, ChOwn and ChGrp > > are tagged "only 3.1" but I just tested them in a project. They get compiled > > and work. May I replace the "only" with a "since" then? > > > > Regards, > > Tobi > > > > Yes. "since" did not exist when the 3.1 doc was written. > Fixed. From mckaygerhard at ...626... Sun Nov 3 21:30:08 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 3 Nov 2013 16:00:08 -0430 Subject: [Gambas-user] WIP Debian packages Gambas license needs Message-ID: From: Beno?t Minisini > I'm not sure to understand all your mail, because your english is a > bit...not english. So tell me if I wrong. yeah men, i hate english.. so far >> 1) PROBLEMS: ================================== >> */Makefile.* autoconf, automake files each file are GPLv2, and Copyright >> FSF means that files must ne be included in the debian copyright... its innecesary BUT each file must have an header (as u see, each file already have it) >> >> examples//* none no "license" file, then: asume GPLv2? mus be >> specified in each file source, authors name and email, also year >> copyright, all of this are missing!!!! This are missing, and its complety necesary at least an file per project with copyright >> appt/src/doc.cgi/* none >> appt/src/gb.wiki/* none >> appt/src/gbs/* (same gbw) GPLv2 ??? none file found asumme benoit! >> comp/src/* none each project here not have license file this files do not have any license file and each dir are a sub project!! > > You mean that each source file must be prefixed with a licence? What a > nightmare! yeah so then: > > Wouldn't it be enough if I add just one LICENSE file for each Gambas > project? THAT RIGHT! must be notified to debian mantainer and ask for > >> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 >> Tavmjong Bah ???? >> this file has a restricted include file copy for redistribution, also >> (C) 2003 Bitstream Inc license > > I didn't notice. So the file must be removed. I have to find a TTF file > to replace it that respect the GPL. Do you know one? NO! and YES!, i mean, if this font already exits in system must use the system, respect debian policy , and second, it there's a restriction (i dont understand the license text in that files) must be removed, please revise it > >> >> gb.v4l/orig/video-capture-0.2.tar.gz sources included Copyright 2001 >> Nick Andrew ASK TO DEBIAN FOR THIS included >> compresed file if can be handle as it > > What's the problem with that file? i dont know exactly, i write "ASK TO DEBIAN FOR THIS" due are a compresed file and could be interpreted as a binary file inside sources > >> >> ================================================ >> 2) format copyright file for start point ===================== >> >> Files: * >> Copyright: 2002-2012, Benoit Minisini >> License: GPL-2+ >> >> Files: appt/src/gambas3/* (IDE) : >> Copyright: 2012 Beno?t Minisini, Fabien Bodard, Charlie Reinl, Jos? >> Luis Redrejo, Rober >> t Rowe <<<< emails must be specified here!!!! and its missing in files >> >>>> >> License: Dual GPL2+ and SIL open font license: >> This program is free software; you can redistribute it and/or >> modify it under the terms of the GNU General Public License as >> published by the Free Software Foundation; either version 2, or >> (at your option) any later version. >> >> The Gambas font is licensed under the SIL Open Font License, >> Version 1.1. You will find a copy of the license inside the >> IDE source code, and it is also available with a FAQ at: >> http://scripts.sil.org/OFL >> >> Files: main/* >> Copyrihgt: 2000-2012 Beno?t Minisini >> License: GPLv2 <<> >>>> >> >> >> Files: examples/* >> Copyright: GPLv2 autors citred but no licenses specified !!!! >> >> -------------------------------------------------------- >> For the rest of these files must make same: > > I don't understand the sentence. Can you explain what you want to mean? the lines are a first lines how to do the "copyright" format in the debian packjage, these are for Kende not for u jeje From: Kende Kriszti?n > 2013-11-02 07:10 keltez?ssel, Beno?t Minisini ?rta: >>> db.sdl/data/DejaVuSans.ttf THIS FILE MUST BE REMOVED! (C) 2006 > > This file provided by fonts-dejavu-core (and ttf-dejavu-core). This file > is completly missing from all Debian packages. /usr/share/gambas3/gb.sdl > dir contains only a symlink. So I don't see what the problem is. that's right kende, this are the right, so that mean that theres no restriction, but do u read the file inside ? i note some restrictions , that cloud be a problem? > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Sun Nov 3 21:41:14 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 3 Nov 2013 16:11:14 -0430 Subject: [Gambas-user] WIP Debian packages Gambas license needs Message-ID: From: Kende Kriszti?n > I don't know exactly what they need. But I removed (before compile > Gambas) the examples/examples/Games/GNUBoxWorld/License, > examples/examples/Games/Puzzle1To8/Licence and > examples/examples/Games/RobotFindsKitten/COPYING files. These extra 1) these must be REMOVED ONLY AT INSTALL AND DEB GENERATION but IN SOURCES MUST BE PRESENT and cited autoring and permission compatible with GPL and DFSG policy from Debian > license files, and I get lintian warnings about them. yeah, of course, due the explication that i mentioned > These licenses are to be included in the copyright file. Must be cited and included JUST AS I WRITE IN FIRST MAIL Files: Copyright: License: kind of license applied that must be same as cited in EACH file> > So, the Debian packages doesn't contain these license files. But if the > source of the Gambas would include them, then that would be good. A > little bit much the source files, but I will rewrite the copyright file. That are the right way.. good TO BENOIT: each file must have a license header and copyright, this are a requeriment for FSF, but due the situation, for now, a license file per project must be the minimun note that for examples there's no license files that i find! and some subproject sources such like gbx and gbs -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bbruen at ...2308... Sun Nov 3 23:09:14 2013 From: bbruen at ...2308... (Bruce) Date: Mon, 04 Nov 2013 08:39:14 +1030 Subject: [Gambas-user] This d**** keyring thing Message-ID: <1383516554.13956.1.camel@...2688...> Totally unrelated to the packaging issue. Does anyone know of a way to remove a key and all its secrets from the dreaded gnome keyring? tia Bruce From bbruen at ...2308... Sun Nov 3 23:22:50 2013 From: bbruen at ...2308... (Bruce) Date: Mon, 04 Nov 2013 08:52:50 +1030 Subject: [Gambas-user] QT4, weird message and segfault Message-ID: <1383517370.13956.3.camel@...2688...> Suddenly I am getting the following cryptic console message and a segfault on_error_show_modal It is happening in a form button Click event handler when I issue an Error.Propogate in a Catch section of the handler. grepping the source gives [gambassrc]$ grep -r on_error_show_modal * gb.qt4/src/CWindow.cpp [1763]:void on_error_show_modal(MODAL_INFO *info) gb.qt4/src/CWindow.cpp [1765]: qDebug("on_error_show_modal"); gb.qt4/src/CWindow.cpp [1829]: handler.handler = (GB_CALLBACK)on_error_show_modal; gb.qt4/src/CWindow.h [246]: friend void on_error_show_modal(MODAL_INFO *info); So, the message comes from gb.qt4/src/CWindow.cpp [1765] i.e. in CWindow.on_error_show_modal(..), the only placed that is called is from gb.qt4/src/CWindow.cpp [1829] i.e. in MyMainWindow::showModal(void). What I can't work out is what it means and what to do about it. Any clues? (Rev 5934) tia Bruce From taboege at ...626... Sun Nov 3 23:36:46 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Nov 2013 23:36:46 +0100 Subject: [Gambas-user] Need help for testing revision #5928 In-Reply-To: <527401CC.8050600@...1...> References: <527401CC.8050600@...1...> Message-ID: <20131103223645.GF473@...2774...> On Fri, 01 Nov 2013, Beno?t Minisini wrote: > Hi, > > In revision #5928, the packager now can create GUI support metapackages > for the ArchLinux distribution. > > But I can't really test the code, as the ArchLinux packaging tool > (makepkg) does not exist on Ubuntu. > > Is there some ArchLinux user there that could test the revision and tell > me if making a binary package for a project using the 'gb.gui' component > correctly generate the GUI metapackages? > > Thanks in advance! > The project is called "arch-gb-gui" (confusing name now that I see the installation package naming scheme...). These files get created: --8<---------------- $ ls arch-gb-gui-* arch-gb-gui-0.0.1-1-any.pkg.tar.xz arch-gb-gui-gtk-0.0.1-1-any.pkg.tar.xz arch-gb-gui-qt4-0.0.1-1-any.pkg.tar.xz arch-gb-gui-0.0.1-1.src.tar.gz arch-gb-gui-gtk-0.0.1-1.src.tar.gz arch-gb-gui-qt4-0.0.1-1.src.tar.gz --8<---------------- The packages look like this: --8<---------------- $ pacman -Qip arch-gb-gui*.pkg.tar.xz Name : arch-gb-gui Version : 0.0.1-1 Description : a software done with Gambas3 Architecture : any URL : http://www.endoftheinternet.com/ Licences : custom Groups : None Provides : None Depends On : gambas3-gb-image>=3.4 gambas3-gb-image<=3.99.0 gambas3-gb-form>=3.4 gambas3-gb-form<=3.99.0 Optional Deps : None Conflicts With : None Replaces : None Compressed Size: 6.31 KiB Installed Size : 7.00 KiB Packager : Unknown Packager Build Date : Sun 03 Nov 2013 23:30:40 CET Install Script : No Validated By : None Signatures : None -------------------- Name : arch-gb-gui-gtk Version : 0.0.1-1 Description : This is the gtk support for arch-gb-gui Architecture : any URL : http://www.endoftheinternet.com/ Licences : custom Groups : None Provides : None Depends On : arch-gb-gui=0.0.1 gambas3-gb-gtk>=3.4 gambas3-gb-gtk<=3.99.0 Optional Deps : None Conflicts With : None Replaces : None Compressed Size: 0.86 KiB Installed Size : 1.00 KiB Packager : Unknown Packager Build Date : Sun 03 Nov 2013 23:30:41 CET Install Script : No Validated By : None Signatures : None -------------------- Name : arch-gb-gui-qt4 Version : 0.0.1-1 Description : This is the qt4 support for arch-gb-gui Architecture : any URL : http://www.endoftheinternet.com/ Licences : custom Groups : None Provides : None Depends On : arch-gb-gui=0.0.1 gambas3-gb-qt4>=3.4 gambas3-gb-qt4<=3.99.0 Optional Deps : None Conflicts With : None Replaces : None Compressed Size: 0.86 KiB Installed Size : 1.00 KiB Packager : Unknown Packager Build Date : Sun 03 Nov 2013 23:30:42 CET Install Script : No Validated By : None Signatures : None --8<---------------- Looks OK to me. Regards, Tobi From sebikul at ...626... Mon Nov 4 01:20:31 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 3 Nov 2013 22:20:31 -0200 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: <52702C80.3060309@...1...> References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> Message-ID: Sorry for my late step up, time has not been in my side. I just pushed the updated rules to the PPA. Note to Kendek: The testing of the new specifications should have been done in the Daily Builds PPA, that is it's purpose. Too many people *depend* on yours to be breaking it. I created a team in Launchpad so you too can have access to it (I still have to add you though). I will be moving the repositories and recipes over the coming hours. Once everything is moved i will create a new thread to let people know. The location will change, but packages will still be available under ppa:~sebikul/gambas-daily although outdated. I will delete them after a few weeks. The new URI of the PPA will be: ppa:gambas-team/gambas-daily And the URL of the team: launchpad.net/~gambas-team On Tue, Oct 29, 2013 at 6:45 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 29/10/2013 19:28, Kende Kriszti?n a ?crit : > > > > 2013-10-29 19:04 keltez?ssel, Tobias Boege ?rta: > >> On Tue, 29 Oct 2013, Kende Kriszti?n wrote: > >>> 2013-10-28 20:37 keltez?ssel, Beno?t Minisini ?rta: > >>>> Hi, > >>>> > >>>> The specifications of "how to package Gambas 3" have been updated > (list > >>>> of components, dependencies), thanks to all errors and misses detected > >>>> by Kende Kriszti?n. > >>>> > >>>> If anyone find any error in it, please tell! > >>>> > >>>> Regards, > >>>> > >>> I created a Debian installer package with Gambas IDE. I checked, and > >>> debian/control file contain this: > >>> > >>> Depends: gambas3-runtime (>= 3.0.90), gambas3-runtime (<< 3.99.0), > >>> gambas3-gb-image (>= 3.0.90), gambas3-gb-image (<< 3.99.0), > >>> gambas3-gb-gui (>= 3.0.90), gambas3-gb-gui (<< 3.99.0), gambas3-gb-form > >>> (>= 3.0.90), gambas3-gb-form (<< 3.99.0) > >>> > >>> But the correct dependencies are the following: > >>> > >>> Depends: gambas3-runtime (>= 3.5.0), gambas3-gb-image (>= 3.5.0), > >>> gambas3-gb-gtk (>= 3.5.0), gambas3-gb-qt4 (>= 3.5.0), gambas3-gb-form > >>> (>= 3.5.0) > >>> > >>> So this packager is completly useless on Debian and Ubuntu. Does not > >>> meet the specifications. > >>> This package is not work with Gambas 3.4 or older, and gambas3-gb-gui > >>> package is not exist. And if gambas3-gb-gtk and gambas3-gb-qt4 is not > >>> dependency, the application will not start. > >>> > >> We had a user at gambas-club.de reporting that he cannot install > packages > >> made by your PPA's 3.5.0 IDE. The problem was also about something with > >> gambas3-gb-gui not being found. I'm glad this problem found its way to > the > >> list without me having to mediate it (because I don't know anything > about > >> Debian/Ubuntu packaging). > >> > >> What should I tell him? > >> > >> Regards, > >> Tobi > >> > >> > > It's funny, because Beno?t said that if I not followed the packaging > > specifications, the integrated packager is completly useless. But now > > that I fully abide by the rules, does not work anymore. > > I'd say wait until this bug is corrected in Gambas IDE. > > > > You're right, I don't know what I have smoked. > > I have updated the minimum version requirements in revision #5920. Now > each components is ">= " and "<< 3.99.0". > > I will make a 3.5.1 as soon as we have fixed most of the problems. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nemh at ...2007... Mon Nov 4 08:29:38 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Mon, 04 Nov 2013 08:29:38 +0100 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> Message-ID: <52774CE2.4010109@...2007...> 2013-11-04 01:20 keltez?ssel, Sebastian Kulesz ?rta: > Sorry for my late step up, time has not been in my side. I just pushed the > updated rules to the PPA. > > Note to Kendek: The testing of the new specifications should have been done > in the Daily Builds PPA, that is it's purpose. Too many people *depend* on > yours to be breaking it. I created a team in Launchpad so you too can have > access to it (I still have to add you though). I will be moving the > repositories and recipes over the coming hours. Once everything is moved i > will create a new thread to let people know. The location will change, but > packages will still be available under ppa:~sebikul/gambas-daily although > outdated. I will delete them after a few weeks. > > The new URI of the PPA will be: ppa:gambas-team/gambas-daily > And the URL of the team: launchpad.net/~gambas-team > > On Tue, Oct 29, 2013 at 6:45 PM, Beno?t Minisini < > gambas at ...1...> wrote: > Failed to build on Raring: cp -a debian/patches/gambas3 app/src cp: cannot stat 'debian/patches/gambas3': No such file or directory You don't need this command. :-) The Gambas group was a good idea. But did you ask for armhf architecture permit? And you use the Bazaar, right? Since I have not used it. :-) From sebikul at ...626... Mon Nov 4 10:25:31 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 4 Nov 2013 07:25:31 -0200 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: <52774CE2.4010109@...2007...> References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> <52774CE2.4010109@...2007...> Message-ID: On Nov 4, 2013 4:31 AM, "Kende Kriszti?n" wrote: > > 2013-11-04 01:20 keltez?ssel, Sebastian Kulesz ?rta: > > Sorry for my late step up, time has not been in my side. I just pushed the > > updated rules to the PPA. > > > > Note to Kendek: The testing of the new specifications should have been done > > in the Daily Builds PPA, that is it's purpose. Too many people *depend* on > > yours to be breaking it. I created a team in Launchpad so you too can have > > access to it (I still have to add you though). I will be moving the > > repositories and recipes over the coming hours. Once everything is moved i > > will create a new thread to let people know. The location will change, but > > packages will still be available under ppa:~sebikul/gambas-daily although > > outdated. I will delete them after a few weeks. > > > > The new URI of the PPA will be: ppa:gambas-team/gambas-daily > > And the URL of the team: launchpad.net/~gambas-team > > > > On Tue, Oct 29, 2013 at 6:45 PM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > > Failed to build on Raring: > > cp -a debian/patches/gambas3 app/src > cp: cannot stat 'debian/patches/gambas3': No such file or directory > > You don't need this command. :-) Already fixed. Noticed when every build failed because of this. > > > The Gambas group was a good idea. But did you ask for armhf architecture > permit? Will do today. I will wait until it is granted to make the switch. > And you use the Bazaar, right? Since I have not used it. :-) Well, it's time to learn! No, really, it's easy! You have a gui available if you feel more comfortable. I use it from time to time. The structure I'm using for the repositories is simple. Common files go to the -common repository. Everything else is added only when the series needs it. Later the code is merged by the recipe. Simple, isn't it? > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From wig at ...1809... Mon Nov 4 11:12:05 2013 From: wig at ...1809... (wig) Date: Mon, 04 Nov 2013 11:12:05 +0100 Subject: [Gambas-user] Gambas Future: shift away from Linux? In-Reply-To: References: Message-ID: <1736040.cyYzc2FZpL@...3222...> I will be one of the first to use the possibility to let users run some gambas app on OSX (not to work on it myself). But if I really have to, I can run in a VM, so I wouldn't ask someone/B. to spent time on it at the cost of the own advances of Gambas on Linux. We have a nice platform: Linux. We have the best desktop, and we even have choice. And for some years, we have a great Development Environment: Gambas. Every minute has 60 seconds, so I prefer Benoit and all the rest of us to spent this time on improving these nice things that we have.* The License is clear. People that want to do so can do whatever they want if they follow the license. The 'lock down' is rather a 'lock open'. So just keep on doing the nice job as long as you can. I don't think Linus made the wrong choice, and I don't think either that he would try to be more ... (wathever else). Wim Geraets -- * have=create together. not: bought, not: get for free but loose our privacy, freedom, or whatever the free web-services cost us. On Friday 01 November 2013 11:15:18 Fabien Bodard wrote: > After long talk with many gambas developpers, after years of joy on the use > of this language, I want to talk about its future... its persistance. > > > Benoit for me is a little bit like our Linus. He have done something for > itself and it's today one of the better tool ever see. (Umm ... ;-)) > > Now, for me one thing lock down Gambas... why can't it be more known ? > Because it is close to Linux world. Theire is no possibility to use it > natively on other system ... this problem what explicitely exposed by RMS > in the past in a mail sended to us. Yes in his request he wanted us to make > the interpreter generate a cil code for interpreter like java/.net or > parrot. Well today we know java isn't a sure way, and we can do things too > without. > > I have a request to Benoit, and i know it's time is precious and like mine > rare. I want him to concentrate on make it's code portable... separate > specific linux part to allow all our friend that want to help to port > gambas to stars to make theire job. > > By doing this, most people can participate on compiler/interpreter code, by > having Gambas on other system we can have more component maker/maintainer. > At the end Benoit can take hollidays and come take a Cognac at home . :-) > > I know this is a huge job as he/we need to take the time to mark all part > of the code that is hard linked on Linux system, and then choose a way to > separate it to symplify the maintainment > > Same thing for the toolkits but it's at a first time not the subject of > today. > > Now we have hands that can help... but it can't be done if the code is not > structured for. > > So for the Undred time ... Benoit ... Please, let us helping you. > > > > > To all, the gambas user/dev, this exchange is for you so even if it take > thouthen of mail, please give us your impress and your ideas, your support. > > > > Please, don't look at the spelling fault, it will take to many time to you > ;-) From basic.gambas at ...626... Mon Nov 4 12:38:25 2013 From: basic.gambas at ...626... (=?ISO-8859-1?Q?Fran=E7ois_Gallo?=) Date: Mon, 04 Nov 2013 12:38:25 +0100 Subject: [Gambas-user] Gambas Future: shift away from Linux? In-Reply-To: <1736040.cyYzc2FZpL@...3222...> References: <1736040.cyYzc2FZpL@...3222...> Message-ID: <52778731.1090505@...626...> I agree with you but, if i want to see Gambas on others OS is because i've friends who would be to run my software without have to install any linux distributions. I don't care to have a lot of users from Windows or OS X who use Gambas :-) . This is not my goal. My goal is just to be able to run Gambas applications without imposing choices. furthermore, on OS X like Windows, there is no good BASIC programming language. either BASIC's are not free, or don't have good tools and a good logic into BASIC syntax as Gambas. Le 04/11/2013 11:12, wig a ?crit : > I will be one of the first to use the possibility to let users run some gambas > app on OSX (not to work on it myself). > > But if I really have to, I can run in a VM, so I wouldn't ask someone/B. to > spent time on it at the cost of the own advances of Gambas on Linux. > > We have a nice platform: Linux. > > We have the best desktop, and we even have choice. > > And for some years, we have a great Development Environment: Gambas. > > Every minute has 60 seconds, so I prefer Benoit and all the rest of us to > spent this time on improving these nice things that we have.* > > The License is clear. People that want to do so can do whatever they want if > they follow the license. > > The 'lock down' is rather a 'lock open'. > > So just keep on doing the nice job as long as you can. > > I don't think Linus made the wrong choice, and I don't think either that he > would try to be more ... (wathever else). > > > Wim Geraets > > -- > > * have=create together. not: bought, not: get for free but loose our privacy, > freedom, or whatever the free web-services cost us. > > > > On Friday 01 November 2013 11:15:18 Fabien Bodard wrote: >> After long talk with many gambas developpers, after years of joy on the use >> of this language, I want to talk about its future... its persistance. >> >> >> Benoit for me is a little bit like our Linus. He have done something for >> itself and it's today one of the better tool ever see. (Umm ... ;-)) >> >> Now, for me one thing lock down Gambas... why can't it be more known ? >> Because it is close to Linux world. Theire is no possibility to use it >> natively on other system ... this problem what explicitely exposed by RMS >> in the past in a mail sended to us. Yes in his request he wanted us to make >> the interpreter generate a cil code for interpreter like java/.net or >> parrot. Well today we know java isn't a sure way, and we can do things too >> without. >> >> I have a request to Benoit, and i know it's time is precious and like mine >> rare. I want him to concentrate on make it's code portable... separate >> specific linux part to allow all our friend that want to help to port >> gambas to stars to make theire job. >> >> By doing this, most people can participate on compiler/interpreter code, by >> having Gambas on other system we can have more component maker/maintainer. >> At the end Benoit can take hollidays and come take a Cognac at home . :-) >> >> I know this is a huge job as he/we need to take the time to mark all part >> of the code that is hard linked on Linux system, and then choose a way to >> separate it to symplify the maintainment >> >> Same thing for the toolkits but it's at a first time not the subject of >> today. >> >> Now we have hands that can help... but it can't be done if the code is not >> structured for. >> >> So for the Undred time ... Benoit ... Please, let us helping you. >> >> >> >> >> To all, the gambas user/dev, this exchange is for you so even if it take >> thouthen of mail, please give us your impress and your ideas, your support. >> >> >> >> Please, don't look at the spelling fault, it will take to many time to you >> ;-) > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fran?ois Gallo --- Ce courrier ?lectronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active. http://www.avast.com From bbruen at ...2308... Mon Nov 4 13:06:40 2013 From: bbruen at ...2308... (Bruce) Date: Mon, 04 Nov 2013 22:36:40 +1030 Subject: [Gambas-user] final error catch Message-ID: <1383566801.13956.9.camel@...2688...> Some where recently I read about something that could catch errors at the "top level" or something like that. I don't know if it was here or in the help pages or even in the commit logs. Does anyone know what I'm talking about and where I can "refind" the info? tia Bruce From bbruen at ...2308... Mon Nov 4 13:16:24 2013 From: bbruen at ...2308... (Bruce) Date: Mon, 04 Nov 2013 22:46:24 +1030 Subject: [Gambas-user] final error catch In-Reply-To: <1383566801.13956.9.camel@...2688...> References: <1383566801.13956.9.camel@...2688...> Message-ID: <1383567385.13956.11.camel@...2688...> On Mon, 2013-11-04 at 22:36 +1030, Bruce wrote: > Some where recently I read about something that could catch errors at > the "top level" or something like that. I don't know if it was here or > in the help pages or even in the commit logs. > > Does anyone know what I'm talking about and where I can "refind" the > info? > > tia > Bruce > > Forget it. I found it, it was "Global error handler support." in the release notes. Sorry for the noise. B From nigelverity at ...67... Mon Nov 4 15:37:25 2013 From: nigelverity at ...67... (Nigel Verity) Date: Mon, 4 Nov 2013 14:37:25 +0000 Subject: [Gambas-user] Future Of Gambas (Re: Baze Project) In-Reply-To: References: Message-ID: Hi Markus et al One of the big attractions of MS Access is that all the data, forms and queries can be delivered to the user in a single file. This is very attractive when it comes to distributing standalone databases to be run on the desktop. LibreOffice Base, at its simplest level, seeks to do the same thing, but it is seriously hampered by having such a rudimentary form designer, and its implemention of the Basic programming language is more difficult to use than VBA. When you add to that the default HSQL database engine, which is both slow and inefficient, you have a tool which I cannot believe is widely used for anything other than local "quick and dirty" databases, where performance and appearance are of little importance. Of course, both Access and Base can be used for far more sophisticated purposes. Through the use of ODBC Access can connect to a number of different types of database and, combined with the use of local tables, can extend the core dataset. Again, Base can do much the same, but it remains hampered by having such an unsophisticated form designer and the tedious programming language. With Gambas it is not possible to achieve the "single file" approach to database application delivery that you can with Access or Base (well, I've not found a way), but it is still very simple to deliver a Gambas executable (assuming the runtime environment has already been installed on the target) and an associated SQLite database in just 2 files. This makes distribution by email, subject to size constraints, a practical proposition in way that is not possible if the data is hosted in a server-based architecture. Developing a database front-end in Gambas is more like developing such an application in VB than Access, as you still need to create the links between the controls on the form and the database which, of course, is done for you automatically in Access. For all that, though, it is very easy whether you use the Gambas databound controls or prefer to write a few generic read/write procedures long-hand. >From the description of your Baze project in Google Code, rather than duplicating an existing application I believe that you will end up with a high performance tool which achieves the flexibility aspirations of Base combined with the ability to create a sophisticated, professional-looking user interface. By including support for NoSQL you will be ahead of the game. It's an ambitious goal, but I do think that as long as ease of use and implementation are always at the forefront of the design, then it will eventually find an enthusiastic user base. I wish you every success. Nige From sourceforge-raindog2 at ...94... Mon Nov 4 16:34:51 2013 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Mon, 04 Nov 2013 10:34:51 -0500 Subject: [Gambas-user] Gambas Future: shift away from Linux? In-Reply-To: <52778731.1090505@...626...> References: <1736040.cyYzc2FZpL@...3222...> <52778731.1090505@...626...> Message-ID: <5277BE9B.9090400@...94...> On 2013-11-04 06:38, Fran?ois Gallo wrote: > I don't care to have a lot of users from Windows or OS X who use Gambas > :-) . This is not my goal. My goal is just to be able to run Gambas > applications without imposing choices. Well, we can debate whether a given port should or shouldn't happen until we're blue in the face, but none of it matters until someone writes the code! Others have tried Windows ports before but never got very far. It's just not going to be a priority for those of us who have been running nothing but Linux for a decade or more. I was interested for a few years when I had clients with heterogenous desktop environments, but cross-platform desktop development has largely moved to the web. I'd be more interested in seeing an Android port, yet not interested enough to try it myself (so far). Rob From mckaygerhard at ...626... Mon Nov 4 22:30:50 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 4 Nov 2013 17:00:50 -0430 Subject: [Gambas-user] if-else vs try who are best faster in machine time? Message-ID: i have several I/O write and i wish to know what its the best choice: 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto or 2) Try Kill ruta_img_foto of course, maybe depends of how the if-else works respect the try logic! please, i need this info, i use low end machines like daruma's !!!! (512Mb ram, and 800MHz cpu) -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From jussi.lahtinen at ...626... Mon Nov 4 22:43:10 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 4 Nov 2013 23:43:10 +0200 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: Why not simply write benchmark? Jussi On Mon, Nov 4, 2013 at 11:30 PM, PICCORO McKAY Lenz wrote: > i have several I/O write and i wish to know what its the best choice: > > 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto > > or > > 2) Try Kill ruta_img_foto > > of course, maybe depends of how the if-else works respect the try logic! > > please, i need this info, i use low end machines like daruma's !!!! > (512Mb ram, and 800MHz cpu) > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nando_f at ...951... Mon Nov 4 23:24:13 2013 From: nando_f at ...951... (nando) Date: Mon, 4 Nov 2013 17:24:13 -0500 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: <20131104222348.M4227@...951...> I vote for (2) ---------- Original Message ----------- From: Jussi Lahtinen To: mailing list for gambas users Sent: Mon, 4 Nov 2013 23:43:10 +0200 Subject: Re: [Gambas-user] if-else vs try who are best faster in machine time? > Why not simply write benchmark? > > Jussi > > On Mon, Nov 4, 2013 at 11:30 PM, PICCORO McKAY Lenz > wrote: > > > i have several I/O write and i wish to know what its the best choice: > > > > 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto > > > > or > > > > 2) Try Kill ruta_img_foto > > > > of course, maybe depends of how the if-else works respect the try logic! > > > > please, i need this info, i use low end machines like daruma's !!!! > > (512Mb ram, and 800MHz cpu) > > > > -- > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > > ------------------------------------------------------------------------------ > > Android is increasing in popularity, but the open development platform that > > developers love is also attractive to malware creators. Download this white > > paper to learn more about secure code signing practices that can help keep > > Android apps secure. > > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From sebikul at ...626... Tue Nov 5 00:37:51 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 4 Nov 2013 21:37:51 -0200 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: On Mon, Nov 4, 2013 at 6:43 PM, Jussi Lahtinen wrote: > Why not simply write benchmark? > A benchmark wouldn't be accurate, as it will be IO bound, and being an old machine, better reduce disk IO than CPU usage (I'm guessing it uses IDE drives; which have low access time too). Besides, first option can fail if you don't have write access to the file, thus needing a third access to check for permission to delete. Better use Try and catch the Error; let me explain: If you want to analyze the access to disk, the Try/Catch will access n times the disk, n the amount of files. The will access the disk at least n and at most 2n. 3n at most if you check for write permissions. Anyway, that's my opinion ;) > > Jussi > > > On Mon, Nov 4, 2013 at 11:30 PM, PICCORO McKAY Lenz > wrote: > > > i have several I/O write and i wish to know what its the best choice: > > > > 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto > > > > or > > > > 2) Try Kill ruta_img_foto > > > > of course, maybe depends of how the if-else works respect the try logic! > > > > please, i need this info, i use low end machines like daruma's !!!! > > (512Mb ram, and 800MHz cpu) > > > > -- > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > > > > ------------------------------------------------------------------------------ > > Android is increasing in popularity, but the open development platform > that > > developers love is also attractive to malware creators. Download this > white > > paper to learn more about secure code signing practices that can help > keep > > Android apps secure. > > > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Nov 5 02:37:02 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 5 Nov 2013 03:37:02 +0200 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: > > Why not simply write benchmark? > > > > A benchmark wouldn't be accurate, as it will be IO bound, !? Just repeat the commands couple thousand times with either case (file exist and file doesn't exist) and take the mean time for comparison. If the accuracy isn't enough to see the difference in benchmark, then why there would be difference in practice? > Besides, first option can fail if > you don't have write access to the file, thus needing a third access to > check for permission to delete. I agree that would change the question, but so far it seem to be unfounded assumption. Jussi From 2aq9j93b7s at ...2320... Tue Nov 5 04:53:33 2013 From: 2aq9j93b7s at ...2320... (2aq9j93b7s) Date: Mon, 4 Nov 2013 19:53:33 -0800 (PST) Subject: [Gambas-user] Unexecuted Orphan Code or Something? Message-ID: <1383623613647-44111.post@...3046...> hello Note: In preview mode this looked like a mess with the html codes so I deleted them. It is a work in progress so I have been cutting, pasting and copying. Note the last line after the commented line - the orphan. The line above the commented code ends the return component. The last line neither displays nor generates an error. It appears to be an ignored orphan. Apparently I forgot to comment the last line out. CASE 2 Return "Today" & Format(Date(Year(Now), Month(Now), iTp1), "dddd") & ", the " & Format(Date(Year(Now), Month(Now), iTp1), "d") & fuFormatSuffix(iTp1) ' "Of" & Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") CASE 3 This looks like Today, Monday, the 15th on the screen (minus the html code.). I am sure that it is a bug but I don't know. My last upgrade caused me many problems with previously properly functioning code. Maybe this is something that the menu item /Clean/ did not catch. Anyone? -- View this message in context: http://gambas.8142.n7.nabble.com/Unexecuted-Orphan-Code-or-Something-tp44111.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Tue Nov 5 05:29:32 2013 From: bbruen at ...2308... (Bruce) Date: Tue, 05 Nov 2013 14:59:32 +1030 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383623613647-44111.post@...3046...> References: <1383623613647-44111.post@...3046...> Message-ID: <1383625773.19233.2.camel@...2688...> On Mon, 2013-11-04 at 19:53 -0800, 2aq9j93b7s wrote: > hello > > Note: In preview mode this looked like a mess with the html codes so I > deleted them. > > It is a work in progress so I have been cutting, pasting and copying. Note > the last line after the commented line - the orphan. The line above the > commented code ends the return component. The last line neither displays nor > generates an error. It appears to be an ignored orphan. Apparently I forgot > to comment the last line out. > > CASE 2 > Return "Today" & > Format(Date(Year(Now), Month(Now), iTp1), "dddd") & > ", the " & > Format(Date(Year(Now), Month(Now), iTp1), "d") & > fuFormatSuffix(iTp1) > ' "Of" & > Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") > CASE 3 > > This looks like > Today, > Monday, the 15th > on the screen (minus the html code.). > > I am sure that it is a bug but I don't know. My last upgrade caused me many > problems with previously properly functioning code. Maybe this is something > that the menu item /Clean/ did not catch. > > Anyone? > > Here's how gambas sees your code CASE 2 Return "Today" & Format(Date(Year(Now), Month(Now), iTp1), "dddd") &", the " & Format(Date(Year(Now), Month(Now), iTp1), "d") fuFormatSuffix(iTp1) ' "Of" & Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") Paste that in a text editor to see it all exactly. Now do you see why that last line is not executed. hth Bruce From rterry at ...1823... Tue Nov 5 07:03:26 2013 From: rterry at ...1823... (richard terry) Date: Tue, 05 Nov 2013 17:03:26 +1100 Subject: [Gambas-user] Destroying Forms Question Message-ID: <52788A2E.3000901@...1823...> Hi List, Simple question. If I have a form I've created an instance of attatched to say a tab strip on another form, but I want to destroy the form under some circumstances, what's the best way to do this. I've tried Form.close, doesn't work and Form = null which also doesn't work. Any help appreciated. richard From eilert-sprachen at ...221... Tue Nov 5 08:35:54 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 05 Nov 2013 08:35:54 +0100 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: <52789FDA.2070000@...221...> Am 04.11.2013 22:30, schrieb PICCORO McKAY Lenz: > i have several I/O write and i wish to know what its the best choice: > > 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto > > or > > 2) Try Kill ruta_img_foto > > of course, maybe depends of how the if-else works respect the try logic! > > please, i need this info, i use low end machines like daruma's !!!! > (512Mb ram, and 800MHz cpu) > If you can be 100 % sure that Kill ruta_img_foto won't fail because of access rights, I would prefer this. If not, you will have to use Try Kill and this will be the same as example 2, so you'd be better off with that one from scratch. But can't you avoid calling this again and again, just calling it once at the beginning, find out if it's there and then kill it or test its access right etc.? My experience with Linux is that file access is extremely efficient and fast, even on slower machines. (But it depends heavily on buffers, i. e. RAM.) Or is ruta_img_foto only one out of a large number of files? Or does it appear again and again? Then maybe it's wiser to kill it just when you leave the function which created it. So you could be sure it's not there, that would save you looking for it at all. (Sometimes some smart organizing is easier on slow machines than trying to find the fastest method to clean up - I have been programming since ZX 81 and 4 MHz PC...) Rolf From gambas.fr at ...626... Tue Nov 5 08:57:07 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 5 Nov 2013 08:57:07 +0100 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383625773.19233.2.camel@...2688...> References: <1383623613647-44111.post@...3046...> <1383625773.19233.2.camel@...2688...> Message-ID: The last format sentence is executed separately as there is no link between the previous line and this one (no comma or no &) Le 5 nov. 2013 05:30, "Bruce" a ?crit : > > On Mon, 2013-11-04 at 19:53 -0800, 2aq9j93b7s wrote: > > hello > > > > Note: In preview mode this looked like a mess with the html codes so I > > deleted them. > > > > It is a work in progress so I have been cutting, pasting and copying. Note > > the last line after the commented line - the orphan. The line above the > > commented code ends the return component. The last line neither displays nor > > generates an error. It appears to be an ignored orphan. Apparently I forgot > > to comment the last line out. > > > > CASE 2 > > Return "Today" & > > Format(Date(Year(Now), Month(Now), iTp1), "dddd") & > > ", the " & > > Format(Date(Year(Now), Month(Now), iTp1), "d") & > > fuFormatSuffix(iTp1) > > ' "Of" & > > Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") > > CASE 3 > > > > This looks like > > Today, > > Monday, the 15th > > on the screen (minus the html code.). > > > > I am sure that it is a bug but I don't know. My last upgrade caused me many > > problems with previously properly functioning code. Maybe this is something > > that the menu item /Clean/ did not catch. > > > > Anyone? > > > > > Here's how gambas sees your code > CASE 2 > Return "Today" & Format(Date(Year(Now), Month(Now), iTp1), "dddd") &", > the " & Format(Date(Year(Now), Month(Now), iTp1), "d") > fuFormatSuffix(iTp1) ' "Of" & > Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") > > Paste that in a text editor to see it all exactly. > > Now do you see why that last line is not executed. > > hth > Bruce > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bbruen at ...2308... Tue Nov 5 12:10:11 2013 From: bbruen at ...2308... (Bruce) Date: Tue, 05 Nov 2013 21:40:11 +1030 Subject: [Gambas-user] Using a class as a function Message-ID: <1383649811.4751.1.camel@...2688...> I saw an example of how to do this only yesterday. Do you think I can remember where? No. Any clues? Bruce From gambas.fr at ...626... Tue Nov 5 12:34:38 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 5 Nov 2013 12:34:38 +0100 Subject: [Gambas-user] Using a class as a function In-Reply-To: <1383649811.4751.1.camel@...2688...> References: <1383649811.4751.1.camel@...2688...> Message-ID: In your class : Public sub _Call(value as whatyouwant) as whatyouwant End With that you can do Print Myclass(value) Le 5 nov. 2013 12:10, "Bruce" a ?crit : > I saw an example of how to do this only yesterday. > Do you think I can remember where? No. > > Any clues? > Bruce > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bbruen at ...2308... Tue Nov 5 12:47:54 2013 From: bbruen at ...2308... (Bruce) Date: Tue, 05 Nov 2013 22:17:54 +1030 Subject: [Gambas-user] Using a class as a function In-Reply-To: References: <1383649811.4751.1.camel@...2688...> Message-ID: <1383652074.4751.3.camel@...2688...> On Tue, 2013-11-05 at 12:34 +0100, Fabien Bodard wrote: > In your class : > > Public sub _Call(value as whatyouwant) as whatyouwant > > End > > With that you can do > > Print Myclass(value) > Le 5 nov. 2013 12:10, "Bruce" a ?crit : > > > I saw an example of how to do this only yesterday. > > Do you think I can remember where? No. > > > > Any clues? > > Bruce > > > > > > Thanks Fabian, I obviously had too many "Australian sparkling white wines" this afternoon. Bruce (hic!) From gambas at ...1... Tue Nov 5 13:20:14 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 05 Nov 2013 13:20:14 +0100 Subject: [Gambas-user] Destroying Forms Question In-Reply-To: <52788A2E.3000901@...1823...> References: <52788A2E.3000901@...1823...> Message-ID: <5278E27E.4000306@...1...> Le 05/11/2013 07:03, richard terry a ?crit : > Hi List, > > Simple question. If I have a form I've created an instance of attatched > to say a tab strip on another form, but I want to destroy the form under > some circumstances, what's the best way to do this. > I've tried Form.close, doesn't work and Form = null which also doesn't work. > > Any help appreciated. > > richard > When a form is embedded into a container, it acts like a Control. So use the Delete method. -- Beno?t Minisini From 2aq9j93b7s at ...2320... Tue Nov 5 15:34:15 2013 From: 2aq9j93b7s at ...2320... (2aq9j93b7s) Date: Tue, 5 Nov 2013 06:34:15 -0800 (PST) Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383623613647-44111.post@...3046...> References: <1383623613647-44111.post@...3046...> Message-ID: <1383662055510-44120.post@...3046...> thank you for the replies I appreciate them Unfortunately you are missing the point of the post! I have an uncommeneted line of code that is not and cannot be executed bruce "Now do you see why that last line is not executed." My point exactly but when is it executed if at all? Fabien Bodard-4 "The last format sentence is executed separately" OK but when is it executed? It is strange to have uncommented code that is an orphan or else can you give me another example to change my mind. Maybe this is acceptable elsewhere. Thanks again -- View this message in context: http://gambas.8142.n7.nabble.com/Unexecuted-Orphan-Code-or-Something-tp44111p44120.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Nov 5 15:38:13 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 05 Nov 2013 15:38:13 +0100 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383662055510-44120.post@...3046...> References: <1383623613647-44111.post@...3046...> <1383662055510-44120.post@...3046...> Message-ID: <527902D5.1010407@...1...> Le 05/11/2013 15:34, 2aq9j93b7s a ?crit : > thank you for the replies I appreciate them > > Unfortunately you are missing the point of the post! I have an uncommeneted > line of code that is not and cannot be executed > > bruce > "Now do you see why that last line is not executed." > My point exactly but when is it executed if at all? > > > Fabien Bodard-4 > "The last format sentence is executed separately" > OK but when is it executed? > > It is strange to have uncommented code that is an orphan or else can you > give me another example to change my mind. Maybe this is acceptable > elsewhere. > > Thanks again > Maybe a compiler bug: can you send your project, or at least the source file of that piece of code? -- Beno?t Minisini From bbruen at ...2308... Tue Nov 5 15:53:38 2013 From: bbruen at ...2308... (Bruce) Date: Wed, 06 Nov 2013 01:23:38 +1030 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383662055510-44120.post@...3046...> References: <1383623613647-44111.post@...3046...> <1383662055510-44120.post@...3046...> Message-ID: <1383663218.4751.15.camel@...2688...> On Tue, 2013-11-05 at 06:34 -0800, 2aq9j93b7s wrote: > thank you for the replies I appreciate them > > Unfortunately you are missing the point of the post! I have an uncommeneted > line of code that is not and cannot be executed > > bruce > "Now do you see why that last line is not executed." > My point exactly but when is it executed if at all? > To put it plainly, it will never be executed because it is after the quite valid Return command. Private $aChar as String="a" Private Sub DoNothing() Dim bChar As String= "b" Return $aChar=bCar ' plus a whole bunch of further code that will ' never be executed because this Sub has ' already Returned, like Format(Now(),"yy-mm-dd") Now() ' etc End Public Sub Main() DoNothing Print $aChar End What you appear to have fallen for is the old putting a comment in the middle of a multiline command. As soon as you do that you have terminated the command and the "lines of code" after that are never executed because you have already got a valid Return command. Secondly, don't forget that all Gambas functions can be used as subs. So, the things that look like dangling functions in the code above aren't. They are functions used as subs. Bruce From mckaygerhard at ...626... Tue Nov 5 16:30:04 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 5 Nov 2013 11:00:04 -0430 Subject: [Gambas-user] if-else vs try who are best faster inmachine time? Message-ID: From: Sebastian Kulesz >> Why not simply write benchmark? how tipycally geek-like response, well Sebastian has the right response lest explaint more: >> > > A benchmark wouldn't be accurate, as it will be IO bound, and being an old of course, the benchmark software will run in same machine (the only case possible) for tests, so then this implice extra I/O and also extra CPU cycles.. jeje > Besides, first option can fail if you don't have write access to the file, > thus needing a third access to check for permission to delete. of course, but the code of if-else logic of gambas will improve the answer, if code of if-else combined with the disk write verify (a simple ls shell no complicated gambas focused function) has less cycles rather than the try-catch, then if-else are more faster .. of course, assuming the write access, if only interest the verification the if-else its so far the most faster.. but: > If you want to analyze the access to disk, the Try/Catch will access n > times the disk, n the amount of files. The that's the real true! > will access the disk at least n and at most 2n. 3n at most if you check for > write permissions. in any cae, i have some test, simple, 120 threath trying to do the same action, in bot cases, and the if-else are more faster, of course, assuming write-access enabled! the right usage are the try-catch, the faster are if-else From mckaygerhard at ...626... Tue Nov 5 16:48:04 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 5 Nov 2013 11:18:04 -0430 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: yes, thanks all, the write-acces change all the question.. While "if-else" is the faster (i see code logic of gambas process), no disk access care checks, so then i use the if-else, due the disk are biger and the OS+files only are 400Mb, also the verification only happen on the user home, so the write-access are sure... of course, the right its the try-catch! but not the faster, thanks a lot for all From gambas.fr at ...626... Tue Nov 5 17:00:56 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 5 Nov 2013 17:00:56 +0100 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383663218.4751.15.camel@...2688...> References: <1383623613647-44111.post@...3046...> <1383662055510-44120.post@...3046...> <1383663218.4751.15.camel@...2688...> Message-ID: this Return "Today" & Format(Date(Year(Now), Month(Now), iTp1), "dddd") & ", the " & Format(Date(Year(Now), Month(Now), iTp1), "d") & fuFormatSuffix(iTp1) ' "Of" & Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") can be rewritted this way to understanbd what happen : 1:/ Return Format(Date(Year(Now), Month(Now), iTp1), "dddd") & ", the " & Format(Date(Year(Now), Month(Now), iTp1), "d") & fuFormatSuffix(iTp1) 2:/ Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") The line 2 is not executed because the programme leave on line 1 I think this code is more easy to read : Dim hDate as Date hDate = Date(Year(Now), Month(Now), iTp1) Return subst("Today &1, the &1&2 &4", Format(hDate, "dddd") ,format(hDate,"d"), fuFormatSuffix(iTp1), Format(hDate, "mmmm, yyyy")) 2013/11/5 Bruce > On Tue, 2013-11-05 at 06:34 -0800, 2aq9j93b7s wrote: > > thank you for the replies I appreciate them > > > > Unfortunately you are missing the point of the post! I have an > uncommeneted > > line of code that is not and cannot be executed > > > > bruce > > "Now do you see why that last line is not executed." > > My point exactly but when is it executed if at all? > > > To put it plainly, it will never be executed because it is after the > quite valid Return command. > > > Private $aChar as String="a" > > Private Sub DoNothing() > > Dim bChar As String= "b" > > Return > > $aChar=bCar > > ' plus a whole bunch of further code that will > ' never be executed because this Sub has > ' already Returned, like > Format(Now(),"yy-mm-dd") > Now() > ' etc > > > End > > > Public Sub Main() > > DoNothing > > Print $aChar > > End > > > What you appear to have fallen for is the old > putting a comment in the middle of a multiline > command. As soon as you do that you have terminated the > command and the "lines of code" after that are never executed > because you have already got a valid Return command. > > Secondly, don't forget that all Gambas functions can be > used as subs. So, the things that look like dangling functions > in the code above aren't. They are functions used as subs. > > Bruce > > > > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From taboege at ...626... Tue Nov 5 19:21:50 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 5 Nov 2013 19:21:50 +0100 Subject: [Gambas-user] if-else vs try who are best faster in machine time? In-Reply-To: References: Message-ID: <20131105182150.GA590@...2774...> On Mon, 04 Nov 2013, Sebastian Kulesz wrote: > On Mon, Nov 4, 2013 at 6:43 PM, Jussi Lahtinen wrote: > > > Why not simply write benchmark? > > > > A benchmark wouldn't be accurate, as it will be IO bound, and being an old > machine, better reduce disk IO than CPU usage (I'm guessing it uses IDE > drives; which have low access time too). Besides, first option can fail if > you don't have write access to the file, thus needing a third access to > check for permission to delete. > Yeah, may I throw in some related thought? I know you asked for the most efficient way to do it but your program should also be safe from race conditions, right? When you do ' Check for existance If Exist(sPath) Then Kill sPath or even ' Check for existance and write access using short-circuit If Exist(sPath) And If Stat(sPath).Auth Like "?w*" Then Kill sPath there is the risk (race condition) that sPath gets unlinked just at the point Gambas is passing the "Then" keyword. So the program might think that it is safe to remove the file without error check but the file just doesn't exist anymore when the program is ready to delete it. If you don't have a CATCH block in/above your function (or a Static Public Application_Error()), the interpreter will notice the error from the kernel and abort your program! Try Kill is always the safe way because you get an atomic error check here. Let's also consider what most probably happens at least under Linux when you have Try Kill sPath in Gambas (note that I didn't consult the real sources here, just guessing how it would be done): the interpreter will call the unlink() syscall which deletes the file or delivers an error. The error is propagated but suppressed by Try. With Exist(sPath) Then Kill sPath, the interpreter likely executes something like access() which can equivalently well fail or succeed. If it succeeds you still have to do the same unlink() operation. So, the best case you can get is that Exist() is false. Then the running time is roughly access() vs. unlink(). In all other cases, the Try Kill approach seems to be faster and safer, too. You have to decide now: Do you expect sPath non-existing most of the time? Do you want to ignore race conditions in favour of performance? Then use the If Exist(...) Then Kill ... method. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sebikul at ...626... Tue Nov 5 21:28:56 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 5 Nov 2013 18:28:56 -0200 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> <52774CE2.4010109@...2007...> Message-ID: First builds are starting to appear :) I will wait for the armhf builds to finish to send a notice. If you want to touch the recipes in any way, please feel *free* to do so. I will receive a notification about any changes, so there is no need to announce them. On Nov 4, 2013 6:25 AM, "Sebastian Kulesz" wrote: > > On Nov 4, 2013 4:31 AM, "Kende Kriszti?n" wrote: > > > > 2013-11-04 01:20 keltez?ssel, Sebastian Kulesz ?rta: > > > Sorry for my late step up, time has not been in my side. I just pushed > the > > > updated rules to the PPA. > > > > > > Note to Kendek: The testing of the new specifications should have been > done > > > in the Daily Builds PPA, that is it's purpose. Too many people > *depend* on > > > yours to be breaking it. I created a team in Launchpad so you too can > have > > > access to it (I still have to add you though). I will be moving the > > > repositories and recipes over the coming hours. Once everything is > moved i > > > will create a new thread to let people know. The location will change, > but > > > packages will still be available under ppa:~sebikul/gambas-daily > although > > > outdated. I will delete them after a few weeks. > > > > > > The new URI of the PPA will be: ppa:gambas-team/gambas-daily > > > And the URL of the team: launchpad.net/~gambas-team > > > > > > On Tue, Oct 29, 2013 at 6:45 PM, Beno?t Minisini < > > > gambas at ...1...> wrote: > > > > > > > Failed to build on Raring: > > > > cp -a debian/patches/gambas3 app/src > > cp: cannot stat 'debian/patches/gambas3': No such file or directory > > > > You don't need this command. :-) > > Already fixed. Noticed when every build failed because of this. > > > > > > > The Gambas group was a good idea. But did you ask for armhf architecture > > permit? > Will do today. I will wait until it is granted to make the switch. > > > And you use the Bazaar, right? Since I have not used it. :-) > > Well, it's time to learn! > No, really, it's easy! You have a gui available if you feel more > comfortable. I use it from time to time. > > The structure I'm using for the repositories is simple. Common files go to > the -common repository. Everything else is added only when the series needs > it. > Later the code is merged by the recipe. Simple, isn't it? > > > > > > > ------------------------------------------------------------------------------ > > Android is increasing in popularity, but the open development platform > that > > developers love is also attractive to malware creators. Download this > white > > paper to learn more about secure code signing practices that can help > keep > > Android apps secure. > > > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Nov 5 21:46:20 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 5 Nov 2013 22:46:20 +0200 Subject: [Gambas-user] if-else vs try who are best faster inmachine time? In-Reply-To: References: Message-ID: > >> Why not simply write benchmark? > how tipycally geek-like response, well Sebastian has the right > response lest explaint more: > >> > > > > A benchmark wouldn't be accurate, as it will be IO bound, and being an > old > of course, the benchmark software will run in same machine (the only > case possible) for tests, so then this implice extra I/O and also > extra CPU cycles.. jeje > That doesn't make any sense. Firstly what "implice" means? Implies? If I understood what you mean... if benchmark gives result only specific to one machine, and thus the result is not usable in second machine, then it doesn't matter which one option you use. Because it wouldn't apply to yet another machine. In other words, if it depends on computer which option is faster, then you cannot chose only one option and use it on all computers. Instead you must do the benchmark on target computer. Jussi From nemh at ...2007... Tue Nov 5 22:00:25 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Tue, 05 Nov 2013 22:00:25 +0100 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> <52774CE2.4010109@...2007...> Message-ID: <52795C69.6080201@...2007...> 2013-11-05 21:28 keltez?ssel, Sebastian Kulesz ?rta: > First builds are starting to appear :) > I will wait for the armhf builds to finish to send a notice. > > If you want to touch the recipes in any way, please feel *free* to do so. I > will receive a notification about any changes, so there is no need to > announce them. > On Nov 4, 2013 6:25 AM, "Sebastian Kulesz" wrote: > Okey. But now I'm going to social training with company. So on weekends I can deal with it. :-) From bbruen at ...2308... Wed Nov 6 00:58:57 2013 From: bbruen at ...2308... (Bruce) Date: Wed, 06 Nov 2013 10:28:57 +1030 Subject: [Gambas-user] Segfault when freeing pointer used for Extern Message-ID: <1383695937.4751.24.camel@...2688...> Dear experts, Can anyone see what I'm doing wrong here. Source archive is attached, but here is the entire code: ---------------------------------------------------------------------- ' Gambas module file ' void uuid_generate(uuid_t out); Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec "uuid_generate" ' void uuid_unparse(uuid_t uu, char *out) Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In "libuuid:1" Exec "uuid_unparse" Public Sub Main() Dim OP As Pointer ' ptr to the uuid returned by uuid_generate Dim SP As Pointer ' ptr to the string returned by uuid_unparse Dim sOP As String ' our result (UUID as a string) Dim rtn As Integer ' int rtn code from extern funcs Dim sArch As String ' system architecture (selects pointer length) sArch = System.Architecture Error "Arch=" & sArch OP = Alloc(IIf(sArch = "x86", 4, 8)) SP = Alloc(IIf(sArch = "x86", 4, 8)) rtn = UUID_Gen(OP) Error "UUID_Gen=" & rtn rtn = UUID_ToStr(OP, SP) sOP = String@(SP) Error Subst("UUID_ToStr=&1\tUUID=&2", rtn, sOP) Error Free(OP) Free(SP) End '<- the problem happens here ---------------------------------------------------------------------- I get variously a SegFault(11) or an Aborted(6) here. The Segfault shows nothing, but the Abort produces an invalid pointer dump like the following: *** glibc detected *** demoUUID: munmap_chunk(): invalid pointer: 0x0899eba0 *** ======= Backtrace: ========= /lib/i686/libc.so.6(+0x72d32)[0xb75ffd32] demoUUID[0x8055232] demoUUID[0x806b872] demoUUID[0x804b3cd] /lib/i686/libc.so.6(__libc_start_main+0xf5)[0xb75a69e5] demoUUID[0x804b40d] ======= Memory map: ======== 08048000-08094000 r-xp 00000000 08:01 818112 /usr/bin/gbx3 08094000-08099000 rw-p 0004c000 08:01 818112 /usr/bin/gbx3 08099000-0809b000 rw-p 00000000 00:00 0 08996000-089b7000 rw-p 00000000 00:00 0 [heap] 417e7000-417ec000 r-xp 00000000 08:01 597595 /usr/lib/libffi.so.5.0.9 417ec000-417ed000 rw-p 00005000 08:01 597595 /usr/lib/libffi.so.5.0.9 b69d3000-b69d6000 r-xp 00000000 08:01 1112777 /lib/libuuid.so.1.3.0 b69d6000-b69d7000 rw-p 00002000 08:01 1112777 /lib/libuuid.so.1.3.0 b69ff000-b6a00000 rw-p 00000000 00:00 0 b6a00000-b6a07000 r--s 00000000 08:01 761994 /usr/lib/gconv/gconv-modules.cache b6a07000-b6a19000 r-xp 00000000 08:01 683710 /usr/lib/gambas3/gb.eval.so.0.0.0 b6a19000-b6a1c000 rw-p 00011000 08:01 683710 /usr/lib/gambas3/gb.eval.so.0.0.0 b6a1c000-b721c000 rw-p 00000000 00:00 0 b721c000-b738c000 r--p 00334000 08:01 738240 /usr/share/locale/locale-archive b738c000-b758c000 r--p 00000000 08:01 738240 /usr/share/locale/locale-archive b758c000-b758d000 rw-p 00000000 00:00 0 b758d000-b7734000 r-xp 00000000 08:01 1117283 /lib/i686/libc-2.16.so b7734000-b7735000 ---p 001a7000 08:01 1117283 /lib/i686/libc-2.16.so b7735000-b7737000 r--p 001a7000 08:01 1117283 /lib/i686/libc-2.16.so b7737000-b7738000 rw-p 001a9000 08:01 1117283 /lib/i686/libc-2.16.so b7738000-b773c000 rw-p 00000000 00:00 0 b773c000-b7752000 r-xp 00000000 08:01 1112626 /lib/i686/libpthread-2.16.so b7752000-b7753000 r--p 00015000 08:01 1112626 /lib/i686/libpthread-2.16.so b7753000-b7754000 rw-p 00016000 08:01 1112626 /lib/i686/libpthread-2.16.so b7754000-b7756000 rw-p 00000000 00:00 0 b7756000-b7759000 r-xp 00000000 08:01 1112764 /lib/libdl-2.16.so b7759000-b775a000 r--p 00002000 08:01 1112764 /lib/libdl-2.16.so b775a000-b775b000 rw-p 00003000 08:01 1112764 /lib/libdl-2.16.so b775b000-b7764000 r-xp 00000000 08:01 1112247 /lib/libintl.so.8.1.2 b7764000-b7765000 rw-p 00009000 08:01 1112247 /lib/libintl.so.8.1.2 b7765000-b77a3000 r-xp 00000000 08:01 1112624 /lib/i686/libm-2.16.so b77a3000-b77a4000 r--p 0003d000 08:01 1112624 /lib/i686/libm-2.16.so b77a4000-b77a5000 rw-p 0003e000 08:01 1112624 /lib/i686/libm-2.16.so b77a9000-b77c5000 r-xp 00000000 08:01 1117309 /lib/libgcc_s-4.7.2.so.1 b77c5000-b77c6000 rw-p 0001b000 08:01 1117309 /lib/libgcc_s-4.7.2.so.1 b77c6000-b77c8000 rw-p 00000000 00:00 0 b77c8000-b77cd000 r-xp 00000000 08:01 683612 /usr/lib/gambas3/gb.debug.so.0.0.0 b77cd000-b77ce000 rw-p 00004000 08:01 683612 /usr/lib/gambas3/gb.debug.so.0.0.0 b77ce000-b77cf000 rw-p 00000000 00:00 0 b77cf000-b77ed000 r-xp 00000000 08:01 1112632 /lib/ld-2.16.so b77ed000-b77ee000 r--p 0001d000 08:01 1112632 /lib/ld-2.16.so b77ee000-b77ef000 rw-p 0001e000 08:01 1112632 /lib/ld-2.16.so bff86000-bffa7000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] tia Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: demoUUID-0.0.1.tar.gz Type: application/x-compressed-tar Size: 4948 bytes Desc: not available URL: From gambas at ...1... Wed Nov 6 01:07:29 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 06 Nov 2013 01:07:29 +0100 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <1383695937.4751.24.camel@...2688...> References: <1383695937.4751.24.camel@...2688...> Message-ID: <52798841.5060204@...1...> Le 06/11/2013 00:58, Bruce a ?crit : > Dear experts, > > Can anyone see what I'm doing wrong here. Source archive is attached, > but here is the entire code: > > ---------------------------------------------------------------------- > ' Gambas module file > > ' void uuid_generate(uuid_t out); > Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec > "uuid_generate" > > ' void uuid_unparse(uuid_t uu, char *out) > Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In > "libuuid:1" Exec "uuid_unparse" > > Public Sub Main() > > Dim OP As Pointer ' ptr to the uuid returned by uuid_generate > Dim SP As Pointer ' ptr to the string returned by uuid_unparse > > Dim sOP As String ' our result (UUID as a string) > Dim rtn As Integer ' int rtn code from extern funcs > Dim sArch As String ' system architecture (selects pointer length) > > sArch = System.Architecture > Error "Arch=" & sArch > > OP = Alloc(IIf(sArch = "x86", 4, 8)) > SP = Alloc(IIf(sArch = "x86", 4, 8)) > > rtn = UUID_Gen(OP) > Error "UUID_Gen=" & rtn > > rtn = UUID_ToStr(OP, SP) > sOP = String@(SP) > Error Subst("UUID_ToStr=&1\tUUID=&2", rtn, sOP) > Error > > Free(OP) > Free(SP) > > End '<- the problem happens here > ---------------------------------------------------------------------- > > I get variously a SegFault(11) or an Aborted(6) here. The Segfault shows > nothing, but the Abort produces an invalid pointer dump like the > following: > What is the exact definition of 'uuid_t' ? Also, you can use valgrind to know when exactly the faulty memory access occurs. This will give better clues. Regards, -- Beno?t Minisini From bbruen at ...2308... Wed Nov 6 01:30:25 2013 From: bbruen at ...2308... (Bruce) Date: Wed, 06 Nov 2013 11:00:25 +1030 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <52798841.5060204@...1...> References: <1383695937.4751.24.camel@...2688...> <52798841.5060204@...1...> Message-ID: <1383697825.4751.31.camel@...2688...> On Wed, 2013-11-06 at 01:07 +0100, Beno?t Minisini wrote: > What is the exact definition of 'uuid_t' ? > >From http://linux.die.net/man/3/uuid_unparse The uuid_unparse function converts the supplied UUID uu from the binary representation into a 36-byte string (plus tailing '\0') of the form 1b4e28ba-2fa1-11d2-883f-0016d3cca427 and stores this value in the character string pointed to by out. The case of the hex digits returned by uuid_unparse may be upper or lower case, and is dependent on the system-dependent local default. i.e. it is the 16byte UUID returned by uuid_generate >From http://linux.die.net/man/3/uuid_generate The UUID is 16 bytes (128 bits) long, which gives approximately 3.4x10^38 unique values (there are approximately 10^80 elementary particles in the universe according to Carl Sagan's Cosmos). > Also, you can use valgrind to know when exactly the faulty memory access > occurs. This will give better clues. Could, if I knew how to... :-) The thing is, the extern calls work, it is only when the module exits that the Segfault occurs. So it even looks (to me) like the Free()s work. I have tried using the routine as a function and it works, the problem only happens when the Main() method exits. rgds Bruce From jussi.lahtinen at ...626... Wed Nov 6 01:49:04 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 6 Nov 2013 02:49:04 +0200 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <1383695937.4751.24.camel@...2688...> References: <1383695937.4751.24.camel@...2688...> Message-ID: Not sure what is going on... too tired to focus properly. I'll look it later more closely. Instead of "= Alloc(IIf(sArch = "x86", 4, 8))", just write "SizeOf(gb.Pointer)". These functions doesn't return anything, so: Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec "uuid_generate" ---> Extern UUID_Gen(op As Pointer) In "libuuid:1" Exec "uuid_generate" Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In "libuuid:1" Exec "uuid_unparse" ---> Extern UUID_ToStr(ip As Pointer, op As Pointer) In "libuuid:1" Exec "uuid_unparse" Jussi On Wed, Nov 6, 2013 at 1:58 AM, Bruce wrote: > Dear experts, > > Can anyone see what I'm doing wrong here. Source archive is attached, > but here is the entire code: > > ---------------------------------------------------------------------- > ' Gambas module file > > ' void uuid_generate(uuid_t out); > Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec > "uuid_generate" > > ' void uuid_unparse(uuid_t uu, char *out) > Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In > "libuuid:1" Exec "uuid_unparse" > > Public Sub Main() > > Dim OP As Pointer ' ptr to the uuid returned by uuid_generate > Dim SP As Pointer ' ptr to the string returned by uuid_unparse > > Dim sOP As String ' our result (UUID as a string) > Dim rtn As Integer ' int rtn code from extern funcs > Dim sArch As String ' system architecture (selects pointer length) > > sArch = System.Architecture > Error "Arch=" & sArch > > OP = Alloc(IIf(sArch = "x86", 4, 8)) > SP = Alloc(IIf(sArch = "x86", 4, 8)) > > rtn = UUID_Gen(OP) > Error "UUID_Gen=" & rtn > > rtn = UUID_ToStr(OP, SP) > sOP = String@(SP) > Error Subst("UUID_ToStr=&1\tUUID=&2", rtn, sOP) > Error > > Free(OP) > Free(SP) > > End '<- the problem happens here > ---------------------------------------------------------------------- > > I get variously a SegFault(11) or an Aborted(6) here. The Segfault shows > nothing, but the Abort produces an invalid pointer dump like the > following: > > *** glibc detected *** demoUUID: munmap_chunk(): invalid pointer: > 0x0899eba0 *** > ======= Backtrace: ========= > /lib/i686/libc.so.6(+0x72d32)[0xb75ffd32] > demoUUID[0x8055232] > demoUUID[0x806b872] > demoUUID[0x804b3cd] > /lib/i686/libc.so.6(__libc_start_main+0xf5)[0xb75a69e5] > demoUUID[0x804b40d] > ======= Memory map: ======== > 08048000-08094000 r-xp 00000000 08:01 818112 /usr/bin/gbx3 > 08094000-08099000 rw-p 0004c000 08:01 818112 /usr/bin/gbx3 > 08099000-0809b000 rw-p 00000000 00:00 0 > 08996000-089b7000 rw-p 00000000 00:00 0 [heap] > 417e7000-417ec000 r-xp 00000000 08:01 > 597595 /usr/lib/libffi.so.5.0.9 > 417ec000-417ed000 rw-p 00005000 08:01 > 597595 /usr/lib/libffi.so.5.0.9 > b69d3000-b69d6000 r-xp 00000000 08:01 1112777 /lib/libuuid.so.1.3.0 > b69d6000-b69d7000 rw-p 00002000 08:01 1112777 /lib/libuuid.so.1.3.0 > b69ff000-b6a00000 rw-p 00000000 00:00 0 > b6a00000-b6a07000 r--s 00000000 08:01 > 761994 /usr/lib/gconv/gconv-modules.cache > b6a07000-b6a19000 r-xp 00000000 08:01 > 683710 /usr/lib/gambas3/gb.eval.so.0.0.0 > b6a19000-b6a1c000 rw-p 00011000 08:01 > 683710 /usr/lib/gambas3/gb.eval.so.0.0.0 > b6a1c000-b721c000 rw-p 00000000 00:00 0 > b721c000-b738c000 r--p 00334000 08:01 > 738240 /usr/share/locale/locale-archive > b738c000-b758c000 r--p 00000000 08:01 > 738240 /usr/share/locale/locale-archive > b758c000-b758d000 rw-p 00000000 00:00 0 > b758d000-b7734000 r-xp 00000000 08:01 1117283 /lib/i686/libc-2.16.so > b7734000-b7735000 ---p 001a7000 08:01 1117283 /lib/i686/libc-2.16.so > b7735000-b7737000 r--p 001a7000 08:01 1117283 /lib/i686/libc-2.16.so > b7737000-b7738000 rw-p 001a9000 08:01 1117283 /lib/i686/libc-2.16.so > b7738000-b773c000 rw-p 00000000 00:00 0 > b773c000-b7752000 r-xp 00000000 08:01 > 1112626 /lib/i686/libpthread-2.16.so > b7752000-b7753000 r--p 00015000 08:01 > 1112626 /lib/i686/libpthread-2.16.so > b7753000-b7754000 rw-p 00016000 08:01 > 1112626 /lib/i686/libpthread-2.16.so > b7754000-b7756000 rw-p 00000000 00:00 0 > b7756000-b7759000 r-xp 00000000 08:01 1112764 /lib/libdl-2.16.so > b7759000-b775a000 r--p 00002000 08:01 1112764 /lib/libdl-2.16.so > b775a000-b775b000 rw-p 00003000 08:01 1112764 /lib/libdl-2.16.so > b775b000-b7764000 r-xp 00000000 08:01 1112247 /lib/libintl.so.8.1.2 > b7764000-b7765000 rw-p 00009000 08:01 1112247 /lib/libintl.so.8.1.2 > b7765000-b77a3000 r-xp 00000000 08:01 1112624 /lib/i686/libm-2.16.so > b77a3000-b77a4000 r--p 0003d000 08:01 1112624 /lib/i686/libm-2.16.so > b77a4000-b77a5000 rw-p 0003e000 08:01 1112624 /lib/i686/libm-2.16.so > b77a9000-b77c5000 r-xp 00000000 08:01 > 1117309 /lib/libgcc_s-4.7.2.so.1 > b77c5000-b77c6000 rw-p 0001b000 08:01 > 1117309 /lib/libgcc_s-4.7.2.so.1 > b77c6000-b77c8000 rw-p 00000000 00:00 0 > b77c8000-b77cd000 r-xp 00000000 08:01 > 683612 /usr/lib/gambas3/gb.debug.so.0.0.0 > b77cd000-b77ce000 rw-p 00004000 08:01 > 683612 /usr/lib/gambas3/gb.debug.so.0.0.0 > b77ce000-b77cf000 rw-p 00000000 00:00 0 > b77cf000-b77ed000 r-xp 00000000 08:01 1112632 /lib/ld-2.16.so > b77ed000-b77ee000 r--p 0001d000 08:01 1112632 /lib/ld-2.16.so > b77ee000-b77ef000 rw-p 0001e000 08:01 1112632 /lib/ld-2.16.so > bff86000-bffa7000 rw-p 00000000 00:00 0 [stack] > ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] > > > tia > Bruce > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Wed Nov 6 01:56:50 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 06 Nov 2013 01:56:50 +0100 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <52798841.5060204@...1...> References: <1383695937.4751.24.camel@...2688...> <52798841.5060204@...1...> Message-ID: <527993D2.9020202@...1...> Le 06/11/2013 01:07, Beno?t Minisini a ?crit : > > What is the exact definition of 'uuid_t' ? > > Also, you can use valgrind to know when exactly the faulty memory > access occurs. This will give better clues. > typedef unsigned char uuid_t[16]; You get it in the '/usr/include/uuid.h', that you must read before writing any external definition. So, 'uuid_t' is a pointer to 16 'unsigned char', i.e. 16 bytes. Now your code: ---------------------------------------------------------------------- ' Gambas module file ' void uuid_generate(uuid_t out); Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec "uuid_generate" ' void uuid_unparse(uuid_t uu, char *out) Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In "libuuid:1" Exec "uuid_unparse" Public Sub Main() Dim OP As Pointer ' ptr to the uuid returned by uuid_generate Dim SP As Pointer ' ptr to the string returned by uuid_unparse Dim sOP As String ' our result (UUID as a string) Dim rtn As Integer ' int rtn code from extern funcs Dim sArch As String ' system architecture (selects pointer length) sArch = System.Architecture Error "Arch=" & sArch OP = Alloc(IIf(sArch = "x86", 4, 8)) SP = Alloc(IIf(sArch = "x86", 4, 8)) ----> Don't do that, use the SizeOf() function. rtn = UUID_Gen(OP) ----> OP must points at a 16 bytes allocation. So you failed! The library will erase the memory past the allocation, making everything crash sooner or later. Error "UUID_Gen=" & rtn rtn = UUID_ToStr(OP, SP) ----> That function returns nothing. I don't know why you think Gambas will make it return something. Moreover, if you read the doc, it tells you that SP must point at a 37 bytes allocation. So you failed again, and the library will erase the memory randomly a second time. You really must know C and how a CPU works to deal with extern functions. Alas, Gambas can't help there! Or, at least, it does as much as he can. -- Beno?t Minisini From jussi.lahtinen at ...626... Wed Nov 6 02:03:09 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 6 Nov 2013 03:03:09 +0200 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <527993D2.9020202@...1...> References: <1383695937.4751.24.camel@...2688...> <52798841.5060204@...1...> <527993D2.9020202@...1...> Message-ID: Correct code: ' void uuid_generate(uuid_t out); Extern UUID_Gen(op As Pointer) In "libuuid:1" Exec "uuid_generate" ' void uuid_unparse(uuid_t uu, char *out) Extern UUID_ToStr(ip As Pointer, op As Pointer) In "libuuid:1" Exec "uuid_unparse" Public Sub Main() Dim OP As Pointer = Alloc(SizeOf(gb.Byte), 16) ' ptr to the uuid returned by uuid_generate Dim SP As Pointer = Alloc(SizeOf(gb.Byte), 37) ' ptr to the string returned by uuid_unparse Dim sOP As String ' our result (UUID as a string) UUID_Gen(OP) UUID_ToStr(OP, SP) sOP = String@(SP) Print sOP Free(OP) Free(SP) End Jussi On Wed, Nov 6, 2013 at 2:56 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 06/11/2013 01:07, Beno?t Minisini a ?crit : > > > > What is the exact definition of 'uuid_t' ? > > > > Also, you can use valgrind to know when exactly the faulty memory > > access occurs. This will give better clues. > > > > typedef unsigned char uuid_t[16]; > > You get it in the '/usr/include/uuid.h', that you must read before > writing any external definition. > > So, 'uuid_t' is a pointer to 16 'unsigned char', i.e. 16 bytes. > > Now your code: > > ---------------------------------------------------------------------- > ' Gambas module file > > ' void uuid_generate(uuid_t out); > Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec > "uuid_generate" > > ' void uuid_unparse(uuid_t uu, char *out) > Extern UUID_ToStr(ip As Pointer, op As Pointer) As Pointer In > "libuuid:1" Exec "uuid_unparse" > > Public Sub Main() > > Dim OP As Pointer ' ptr to the uuid returned by uuid_generate > Dim SP As Pointer ' ptr to the string returned by uuid_unparse > > Dim sOP As String ' our result (UUID as a string) > Dim rtn As Integer ' int rtn code from extern funcs > Dim sArch As String ' system architecture (selects pointer length) > > sArch = System.Architecture > Error "Arch=" & sArch > > OP = Alloc(IIf(sArch = "x86", 4, 8)) > SP = Alloc(IIf(sArch = "x86", 4, 8)) > > ----> Don't do that, use the SizeOf() function. > > rtn = UUID_Gen(OP) > > ----> OP must points at a 16 bytes allocation. So you failed! The > library will erase the memory past the allocation, making everything > crash sooner or later. > > Error "UUID_Gen=" & rtn > > rtn = UUID_ToStr(OP, SP) > > ----> That function returns nothing. I don't know why you think Gambas > will make it return something. Moreover, if you read the doc, it tells > you that SP must point at a 37 bytes allocation. So you failed again, > and the library will erase the memory randomly a second time. > > You really must know C and how a CPU works to deal with extern > functions. Alas, Gambas can't help there! Or, at least, it does as much > as he can. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Nov 6 02:49:55 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 06 Nov 2013 02:49:55 +0100 Subject: [Gambas-user] Gambas extern declarations `how to` Message-ID: <5279A043.4030801@...1...> Here is a documentation page about how to declare an extern function. http://gambasdoc.org/help/doc/extern?v3 This page tries to answer the question: if I have that C datatype, which Gambas datatype must be used, and how? Tell me if something is missing, or if you have C datatype you can't solve despite that documentation. Regards, -- Beno?t Minisini From bbruen at ...2308... Wed Nov 6 03:01:49 2013 From: bbruen at ...2308... (Bruce) Date: Wed, 06 Nov 2013 12:31:49 +1030 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: References: <1383695937.4751.24.camel@...2688...> <52798841.5060204@...1...> <527993D2.9020202@...1...> Message-ID: <1383703309.4751.47.camel@...2688...> > On Wed, Nov 6, 2013 at 2:56 AM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Now your code: > > > > ---------------------------------------------------------------------- > 8*< > > ----> OP must points at a 16 bytes allocation. So you failed! The > > library will erase the memory past the allocation, making everything > > crash sooner or later. OK! Now I understand. > > rtn = UUID_ToStr(OP, SP) > > > > ----> That function returns nothing. I don't know why you think Gambas > > will make it return something. Moreover, if you read the doc, it tells > > you that SP must point at a 37 bytes allocation. So you failed again, > > and the library will erase the memory randomly a second time. Ditto. (Probably didn't look at it closely enough to see the void in the declaration.) > > You really must know C and how a CPU works to deal with extern > > functions. Alas, Gambas can't help there! Or, at least, it does as much > > as he can. Ah there lies the problem! When I learnt programming back in 1972 we had to carve our cpu's out of a lump of granite with a cold chisel, K&R hadn't even written troff so I never did get the hang of this newfangled malloc and pointer and c stuff! Let alone c++ :-) On Wed, 2013-11-06 at 03:03 +0200, Jussi Lahtinen wrote: > Correct code: 8*< Works fine! Thanks Beno?t and Jussi, I was fairly sure I had it wrong, I just couldn't see why. Unfortunately since my colleague Keith Lawson passed away I have had to cope with this type of "low level" issue myself without an expert on tap. At least give me 2 points of credit for working out that the output parameters of the library calls were actually pointers to something. regards Bruce p.s. Just saw Beno?t's wiki update notice. Did that page exist before? I spent an hour this morning looking for something like that. From kevinfishburne at ...1887... Wed Nov 6 03:04:07 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 05 Nov 2013 21:04:07 -0500 Subject: [Gambas-user] extracting a fractional year from a date Message-ID: <5279A397.2030807@...1887...> If you have a Date, is there a reasonably simple way to extract which fraction of the year it is? For example a date of 12:00 am on January 1st would return zero and 11:49 pm on December 31st would return one. The stuff I'm trying now using the Month and Day functions seems...wrong. If there's no obvious way to do this I'll keep hacking at it. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Wed Nov 6 03:14:28 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 06 Nov 2013 03:14:28 +0100 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <1383703309.4751.47.camel@...2688...> References: <1383695937.4751.24.camel@...2688...> <52798841.5060204@...1...> <527993D2.9020202@...1...> <1383703309.4751.47.camel@...2688...> Message-ID: <5279A604.1030105@...1...> Le 06/11/2013 03:01, Bruce a ?crit : > p.s. Just saw Beno?t's wiki update notice. Did that page exist before? > I spent an hour this morning looking for something like that. > No, I just wrote it. I will complete it as new questions will have to be answered. -- Beno?t Minisini From gambas at ...1... Wed Nov 6 03:16:00 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 06 Nov 2013 03:16:00 +0100 Subject: [Gambas-user] extracting a fractional year from a date In-Reply-To: <5279A397.2030807@...1887...> References: <5279A397.2030807@...1887...> Message-ID: <5279A660.3010502@...1...> Le 06/11/2013 03:04, Kevin Fishburne a ?crit : > If you have a Date, is there a reasonably simple way to extract which > fraction of the year it is? For example a date of 12:00 am on January > 1st would return zero and 11:49 pm on December 31st would return one. > The stuff I'm trying now using the Month and Day functions > seems...wrong. If there's no obvious way to do this I'll keep hacking at it. > The problem is that a year can have 365 or 366 days. If you don't care, do: (MyDate - Date(Year(MyDate), 1, 1)) / (Date(Year(MyDate)+1,1,1) - Date(Year(MyDate), 1, 1)) -- Beno?t Minisini From kevinfishburne at ...1887... Wed Nov 6 03:34:02 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 05 Nov 2013 21:34:02 -0500 Subject: [Gambas-user] extracting a fractional year from a date In-Reply-To: <5279A660.3010502@...1...> References: <5279A397.2030807@...1887...> <5279A660.3010502@...1...> Message-ID: <5279AA9A.5090500@...1887...> On 11/05/2013 09:16 PM, Beno?t Minisini wrote: > Le 06/11/2013 03:04, Kevin Fishburne a ?crit : >> If you have a Date, is there a reasonably simple way to extract which >> fraction of the year it is? For example a date of 12:00 am on January >> 1st would return zero and 11:49 pm on December 31st would return one. >> The stuff I'm trying now using the Month and Day functions >> seems...wrong. If there's no obvious way to do this I'll keep hacking at it. >> > The problem is that a year can have 365 or 366 days. > > If you don't care, do: > > (MyDate - Date(Year(MyDate), 1, 1)) / > (Date(Year(MyDate)+1,1,1) - Date(Year(MyDate), 1, 1)) > What I'm doing now is this: Print (Month(DateCurrent - System.TimeZone / 86400) - 1) / 12 + (Day(DateCurrent - System.TimeZone / 86400) - 1) / 31 / 12 + (Hour(DateCurrent - System.TimeZone / 86400) - 0) / 24 / 31 / 12 I -think- it works, but seems inaccurate and generally ass-backward. Your code adapted for my project looks like this: Print ((DateCurrent - System.TimeZone / 86400) - Date(Year((DateCurrent - System.TimeZone / 86400)), 1, 1)) / (Date(Year((DateCurrent - System.TimeZone / 86400)) + 1, 1, 1) - Date(Year((DateCurrent - System.TimeZone / 86400)), 1, 1)) and also seems to work well, though with greater precision (my resolution stops at the hour). I don't need to be precise but the output needs to be smooth without jumping backward significantly or returning negative values. Other than DST (which I hope I negated by subtracting the client timezone) would your algorithm create any noticeable hiccups during leap years, etc.? The output of this calculation will be used to set the colors of tree foliage as leaves die in autumn as well as the low and high temperature ranges for any given day. I'll use your algorithm for the time being as it seems pretty slick. Thanks. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From nando_f at ...951... Wed Nov 6 05:40:05 2013 From: nando_f at ...951... (nando) Date: Tue, 5 Nov 2013 23:40:05 -0500 Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383623613647-44111.post@...3046...> References: <1383623613647-44111.post@...3046...> Message-ID: <20131106042947.M96009@...951...> I would like to point out, if you have not noticed, that the RETURN string uses NOW 4 or 6 times (6 if the concatenatation is fixed proper). Please note that NOW is a little different every one of those times. If the code executed a fraction of a moment before to after midnight you would see the oddest output. It would be worse if it executed at the moment before a new month started and even more so if it executed at the moment before a new year. In a multitasking computer, it is possible to slice out at the worst possible time. Time-sensitive calculations must not do this. -Nando ---------- Original Message ----------- From: 2aq9j93b7s <2aq9j93b7s at ...2320...> To: gambas-user at lists.sourceforge.net Sent: Mon, 4 Nov 2013 19:53:33 -0800 (PST) Subject: [Gambas-user] Unexecuted Orphan Code or Something? > hello > > Note: In preview mode this looked like a mess with the html codes so I > deleted them. > > It is a work in progress so I have been cutting, pasting and copying. Note > the last line after the commented line - the orphan. The line above the > commented code ends the return component. The last line neither displays nor > generates an error. It appears to be an ignored orphan. Apparently I forgot > to comment the last line out. > > CASE 2 > Return "Today" & > Format(Date(Year(Now), Month(Now), iTp1), "dddd") & > ", the " & > Format(Date(Year(Now), Month(Now), iTp1), "d") & > fuFormatSuffix(iTp1) > ' "Of" & > Format(Date(Year(Now), Month(Now), iTp1), "mmmm, yyyy") > CASE 3 > > This looks like > Today, > Monday, the 15th > on the screen (minus the html code.). > > I am sure that it is a bug but I don't know. My last upgrade caused me many > problems with previously properly functioning code. Maybe this is something > that the menu item /Clean/ did not catch. > > Anyone? > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Unexecuted-Orphan- > Code-or-Something-tp44111.html Sent from the gambas-user mailing list archive at > Nabble.com. > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas.fr at ...626... Wed Nov 6 08:10:39 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 6 Nov 2013 08:10:39 +0100 Subject: [Gambas-user] Gambas extern declarations `how to` In-Reply-To: <5279A043.4030801@...1...> References: <5279A043.4030801@...1...> Message-ID: It seem good ... have you take look to how to call my device structure via a READ as gbStruct ? 2013/11/6 Beno?t Minisini : > Here is a documentation page about how to declare an extern function. > > http://gambasdoc.org/help/doc/extern?v3 > > This page tries to answer the question: if I have that C datatype, which > Gambas datatype must be used, and how? > > Tell me if something is missing, or if you have C datatype you can't > solve despite that documentation. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Karl.Reinl at ...2345... Wed Nov 6 13:29:24 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 06 Nov 2013 13:29:24 +0100 Subject: [Gambas-user] Segfault when freeing pointer used for Extern In-Reply-To: <1383695937.4751.24.camel@...2688...> References: <1383695937.4751.24.camel@...2688...> Message-ID: <1383740964.2517.7.camel@...40...> Am Mittwoch, den 06.11.2013, 10:28 +1030 schrieb Bruce: > Dear experts, > > Can anyone see what I'm doing wrong here. Source archive is attached, > but here is the entire code: > > ---------------------------------------------------------------------- > ' Gambas module file > > ' void uuid_generate(uuid_t out); > Extern UUID_Gen(op As Pointer) As Pointer In "libuuid:1" Exec > "uuid_generate" Salut Bruce, I share my 9 years old uuidgen with you. It was made under gambas1, worked and work with gambas2 and now it works with gambas3. No changes only new compiled. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: uuidgen-0.3.13.tar.gz Type: application/x-compressed-tar Size: 6309 bytes Desc: not available URL: From mckaygerhard at ...626... Wed Nov 6 14:55:49 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 6 Nov 2013 09:25:49 -0430 Subject: [Gambas-user] if-else vs try who are best faster inmachine time? Message-ID: From: Tobias Boege > Yeah, may I throw in some related thought? > > I know you asked for the most efficient way to do it but your program > should > also be safe from race conditions, right? When you do > > ' Check for existance > If Exist(sPath) Then Kill sPath > > or even > > ' Check for existance and write access using short-circuit > If Exist(sPath) And If Stat(sPath).Auth Like "?w*" Then Kill sPath well the safe for race conditions at this point dont care to much, but u'r response are very interesting > Let's also consider what most probably happens at least under Linux when > you > have Try Kill sPath in Gambas (note that I didn't consult the real sources > here, just guessing how it would be done): the interpreter will call the > unlink() syscall which deletes the file or delivers an error. The error is > propagated but suppressed by Try. > > With Exist(sPath) Then Kill sPath, the interpreter likely executes > something > like access() which can equivalently well fail or succeed. If it succeeds > you still have to do the same unlink() operation. > > So, the best case you can get is that Exist() is false. Then the running > time is roughly access() vs. unlink(). In all other cases, the Try Kill > approach seems to be faster and safer, too. > > You have to decide now: Do you expect sPath non-existing most of the time? > Do you want to ignore race conditions in favour of performance? Then use > the > If Exist(...) Then Kill ... method. i like the way u defeat the try-cach.. umm but mi questio are due try-cach internals rutines have more code to compute the race conditions, rather than if-else, so due if-else do not compute the race contidions obviously are more faste, of course also more insegure! that's all.. i currently use if-else, due write disk i already check at start time and each day but as u done, recomended its to use try-catch > > Regards, > Tobi > > -- -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Nov 6 18:21:13 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 6 Nov 2013 12:51:13 -0430 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! Message-ID: I read now carefully the gambas specification and do not comply with some little debian specifications "gambas3-devel" said that must handle only the compilers.. and for debian the .so and .a files must be in "devel" packages, with headers and code.. on IDE theres a option to download source code of gambas, this must be packaged on debian and offer, not like a downloable option, such as lazarus and java packages does Benoit mention that .so .so.0.0 and .so.0.0.0 files are generated due autotools rules and gambas only used the crude .so files, what about .la and .a files etc etc? nothig of this are mentioned in this specifications also: some componentes are shared libs, while other are gambas projects!!!!! so this specification takes those cases as same, and made those packages as same (such modules, and nos all are same naturality) this lasted are very important -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Nov 6 18:40:23 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 6 Nov 2013 13:10:23 -0430 Subject: [Gambas-user] WIP Debian packages of Gambas In-Reply-To: References: Message-ID: examples files in specifications said that must depend on ide, and i note example files can be compiled and run without ide, ide are not need absolutelly, so in debian this gambas3-ide should be suggested only, also this i think do not follow debian specifications (an so if thas can be solve a wislist bug report will be) also: some componentes are shared libs, while other are gambas projects!!!!! so this specification takes those cases as same, and made those packages as same (such modules, and nos all are same naturality) this lasted are very important Benoit mention that .so .so.0.0 and .so.0.0.0 files are generated due autotools rules but gambas only used the crude .so files, what about .la and .a files etc etc repect litian and debian policy packages? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From 2aq9j93b7s at ...2320... Wed Nov 6 19:02:07 2013 From: 2aq9j93b7s at ...2320... (2aq9j93b7s) Date: Wed, 6 Nov 2013 10:02:07 -0800 (PST) Subject: [Gambas-user] Unexecuted Orphan Code or Something? In-Reply-To: <1383623613647-44111.post@...3046...> References: <1383623613647-44111.post@...3046...> Message-ID: <1383760927676-44148.post@...3046...> hello Thank You for the reply Benoit, merci Like the other code in this topic I created it solely as an example. It seems that my poor example is getting more mileage than the reason for the post. I again created the following code and tested it. Playing around with commented lines shows what is ignored and what is not. I also created an executable and with a hex editor located the ignored text in the code. Particularly, one executable gave me "This is . . . Before . . . After". The After part was ignored in the IDE. Neither line was commented out. Something is wrong. I apologise but I do not know enough to debug the problem (if any). I do realise that this would be an excellent place to insert malware. It is ignored valid code that may be included in the executable. Good Luck. Sorry to bother you if this is not a problem. Keep up the good work. Public Sub form_open() ' create Label1 on form Label1.Text = fuTemp() End Public Function fuTemp() As String Dim iLap As Integer iLap = 1 Select Case iLap Case 1 Return "This is " & ' "before" ' comment line ' Label1.Text = "This is " & ' "After" ' - cannot check this line debug and breakpoints not working ' Debug Label1.Text - ' debug ignored ' iLap = 100 ' this line is ignored - cannot check because debug and breakpoints ignored ' "This line is not ignored" ' breakpoints are ignored ' Format(Date(Year(Now), Month(Now), iLap), "mmmm, yyyy") ' this line is ignored consistently ' Return "This is " & ' "after" ' this ignored as 2nd return (As Expected - one Return only) ' acted upon when all above commented ' EXEC / SHELL [insert malware code here]' if a way to activate is found Case Else End Select End -- View this message in context: http://gambas.8142.n7.nabble.com/Unexecuted-Orphan-Code-or-Something-tp44111p44148.html Sent from the gambas-user mailing list archive at Nabble.com. From sebikul at ...626... Wed Nov 6 21:46:51 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 6 Nov 2013 18:46:51 -0200 Subject: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" Message-ID: tl;dr: If you are using the Daily Builds PPA, it has moved from the previous location, please read to keep Gambas updated. The Daily Builds PPA, previously located at has moved to . This is to avoid Kendek from performing untested changes to the Stable PPA, and avoiding potential issues. The quickest method to update is to execute: # add-apt-repository ppa:gambas-team/gambas-daily # apt-get update # apt-get upgrade This way the old PPA will still be active, but will be superseded by the new one. If you would like to remove it, search the following lines in your .sources files and comment them out or delete them: deb http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE main deb-src http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE main I will keep the packages there for 2 weeks to give you enough time to update. After that, executing apt-get update with the old PPA will fail with a 404 error. So eventually you *will* have to remove this lines. I will update the wiki now. If you are a member of a Gambas forum, please help me spread the word!! Thanks! :) From gambas at ...1... Wed Nov 6 22:48:08 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 06 Nov 2013 22:48:08 +0100 Subject: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" In-Reply-To: References: Message-ID: <527AB918.9070004@...1...> Le 06/11/2013 21:46, Sebastian Kulesz a ?crit : > tl;dr: If you are using the Daily Builds PPA, it has moved from the > previous location, please read to keep Gambas updated. > > The Daily Builds PPA, previously located at has > moved to . This is to avoid Kendek from > performing untested changes to the Stable PPA, and avoiding potential > issues. > > The quickest method to update is to execute: > # add-apt-repository ppa:gambas-team/gambas-daily > # apt-get update > # apt-get upgrade > > This way the old PPA will still be active, but will be superseded by the > new one. If you would like to remove it, search the following lines in your > .sources files and comment them out or delete them: > deb http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main deb-src > http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main > > I will keep the packages there for 2 weeks to give you enough time to > update. After that, executing apt-get update with the old PPA will fail > with a 404 error. So eventually you *will* have to remove this lines. > > I will update the wiki now. If you are a member of a Gambas forum, please > help me spread the word!! > > Thanks! :) I will post that new on the wiki so that it is visible on the web site. Moreover, I will release Gambas 3.5.1 soon, with the big packager fixes, some bug fixes, and (exceptionally) some new features related to the bug fixes. -- Beno?t Minisini From jussi.lahtinen at ...626... Thu Nov 7 01:21:18 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 7 Nov 2013 02:21:18 +0200 Subject: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" In-Reply-To: References: Message-ID: Alternatively remove old repository with: sudo apt-add-repository --remove ppa:gambas-team/gambas-daily Jussi On Wed, Nov 6, 2013 at 10:46 PM, Sebastian Kulesz wrote: > tl;dr: If you are using the Daily Builds PPA, it has moved from the > previous location, please read to keep Gambas updated. > > The Daily Builds PPA, previously located at has > moved to . This is to avoid Kendek from > performing untested changes to the Stable PPA, and avoiding potential > issues. > > The quickest method to update is to execute: > # add-apt-repository ppa:gambas-team/gambas-daily > # apt-get update > # apt-get upgrade > > This way the old PPA will still be active, but will be superseded by the > new one. If you would like to remove it, search the following lines in your > .sources files and comment them out or delete them: > deb > http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main deb-src > > http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main > > I will keep the packages there for 2 weeks to give you enough time to > update. After that, executing apt-get update with the old PPA will fail > with a 404 error. So eventually you *will* have to remove this lines. > > I will update the wiki now. If you are a member of a Gambas forum, please > help me spread the word!! > > Thanks! :) > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Nov 7 01:22:28 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 7 Nov 2013 02:22:28 +0200 Subject: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" In-Reply-To: References: Message-ID: Oh damn sorry of course: sudo apt-add-repository --remove ppa:sebikul/gambas-daily Jussi On Thu, Nov 7, 2013 at 2:21 AM, Jussi Lahtinen wrote: > Alternatively remove old repository with: > sudo apt-add-repository --remove ppa:gambas-team/gambas-daily > > Jussi > > > On Wed, Nov 6, 2013 at 10:46 PM, Sebastian Kulesz wrote: > >> tl;dr: If you are using the Daily Builds PPA, it has moved from the >> previous location, please read to keep Gambas updated. >> >> The Daily Builds PPA, previously located at has >> moved to . This is to avoid Kendek from >> performing untested changes to the Stable PPA, and avoiding potential >> issues. >> >> The quickest method to update is to execute: >> # add-apt-repository ppa:gambas-team/gambas-daily >> # apt-get update >> # apt-get upgrade >> >> This way the old PPA will still be active, but will be superseded by the >> new one. If you would like to remove it, search the following lines in >> your >> .sources files and comment them out or delete them: >> deb >> http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE >> main deb-src >> >> http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE >> main >> >> I will keep the packages there for 2 weeks to give you enough time to >> update. After that, executing apt-get update with the old PPA will fail >> with a 404 error. So eventually you *will* have to remove this lines. >> >> I will update the wiki now. If you are a member of a Gambas forum, please >> help me spread the word!! >> >> Thanks! :) >> >> ------------------------------------------------------------------------------ >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming models. >> Explore >> techniques for threading, error checking, porting, and tuning. Get the >> most >> from the latest Intel processors and coprocessors. See abstracts and >> register >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From willy at ...2734... Thu Nov 7 08:56:00 2013 From: willy at ...2734... (Willy Raets) Date: Thu, 07 Nov 2013 08:56:00 +0100 Subject: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" In-Reply-To: References: Message-ID: <1383810960.2368.0.camel@...3024...> On Wed, 2013-11-06 at 18:46 -0200, Sebastian Kulesz wrote: > tl;dr: If you are using the Daily Builds PPA, it has moved from the > previous location, please read to keep Gambas updated. > > The Daily Builds PPA, previously located at has > moved to . This is to avoid Kendek from > performing untested changes to the Stable PPA, and avoiding potential > issues. > > The quickest method to update is to execute: > # add-apt-repository ppa:gambas-team/gambas-daily > # apt-get update > # apt-get upgrade > > This way the old PPA will still be active, but will be superseded by the > new one. If you would like to remove it, search the following lines in your > .sources files and comment them out or delete them: > deb http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main deb-src > http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE > main > > I will keep the packages there for 2 weeks to give you enough time to > update. After that, executing apt-get update with the old PPA will fail > with a 404 error. So eventually you *will* have to remove this lines. > > I will update the wiki now. If you are a member of a Gambas forum, please > help me spread the word!! > Posted as news on the Gambas forum. > Thanks! :) Thank you :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From pretorius.riaan at ...626... Thu Nov 7 14:12:20 2013 From: pretorius.riaan at ...626... (Riaan Pretorius) Date: Thu, 07 Nov 2013 13:12:20 +0000 Subject: [Gambas-user] Language Add for Project Translation Message-ID: Good Day, Would it be possible to add another language to ../../comp/gb.form/dialog ? The language is: Afrikaans (South Africa) Information: [System] OperatingSystem=Linux Kernel=3.8.0-19-generic Architecture=x86_64 Memory=2051200 kB DistributionVendor=LinuxMint DistributionRelease="Linux Mint 15 Olivia" Desktop=Gnome [Gambas 3] Version=3.1.1 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.4 GTK+=libgtk-x11-2.0.so.0.2400.17 Riaan From mmcg29440 at ...3163... Thu Nov 7 14:44:10 2013 From: mmcg29440 at ...3163... (Marty McGlensey) Date: Thu, 7 Nov 2013 08:44:10 -0500 Subject: [Gambas-user] What is the correct PPA to use to ensure a stable release? Message-ID: Hello, >From past posts it appears that Kendek's PPA may not always contain a stable release. It was stated in a past post from Kendek that he published a pre-release version to facilitate wider testing. A later post stated that the daily updates/PPA from the Gambas Team had been moved to avoid Kendek's uploads to stable releases. Having installed Gambas from Kendek's PPA and have developed a large application using Gambas I'm concerned that I may be using the wrong PPA. I've been automatically updated to V 3.5 from Kendek's PPA several times now. From the last post it seems that I should delete this PPA and go with the Gambas Team's PPA. That raises two questions. Is the version I have now stable or can I expect problems? If I switch PPA's do I have to do a reinstall and if so haw should I do it? Regards, Marty From sebikul at ...626... Thu Nov 7 15:00:46 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 7 Nov 2013 12:00:46 -0200 Subject: [Gambas-user] What is the correct PPA to use to ensure a stable release? In-Reply-To: References: Message-ID: You are getting things wrong. I set up the gambas team ppa so that kendek could push changes to it, instead of using his own ppa, labeled as the stable one. So, the gambas-team/gambas-daily is unstable and only to be used by developers. The nemh/gambas3 is the stable one, maintained only by kendek. Note that neither of the ppa are "official", we are just contributors. That's up to Beno?t to decide. The name "gambas team" may sound like it is an official thing, but it is just a name I used to set up a Launchpad Team to allow others to access to the packaging recipes (rules used to build the daily packages), not just me. On Nov 7, 2013 10:45 AM, "Marty McGlensey" wrote: > Hello, > > > > >From past posts it appears that Kendek's PPA may not always contain a > stable > release. It was stated in a past post from Kendek that he published a > pre-release version to facilitate wider testing. A later post stated that > the daily updates/PPA from the Gambas Team had been moved to avoid Kendek's > uploads to stable releases. > > > > Having installed Gambas from Kendek's PPA and have developed a large > application using Gambas I'm concerned that I may be using the wrong PPA. > > > > I've been automatically updated to V 3.5 from Kendek's PPA several times > now. From the last post it seems that I should delete this PPA and go with > the Gambas Team's PPA. That raises two questions. Is the version I have now > stable or can I expect problems? If I switch PPA's do I have to do a > reinstall and if so haw should I do it? > > > > Regards, > > Marty > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Thu Nov 7 16:09:13 2013 From: mmcg29440 at ...3163... (Marty) Date: Thu, 07 Nov 2013 10:09:13 -0500 Subject: [Gambas-user] Stable PPA - Which one to use In-Reply-To: References: Message-ID: <527BAD19.6040102@...3163...> Thanks Sebastian. It's clear now. Kendek's PPA is the stable one. The other is for developers only. Apologies to Kendek for my misunderstanding. Gambas is a great product. I'd rather use it the VBA. Keep up the good work. Regards, Marty On 11/07/2013 09:00 AM, gambas-user-request at lists.sourceforge.net wrote: > 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: "[PSA] Gambas Daily Builds PPA has moved" (Beno?t Minisini) > 2. Re: "[PSA] Gambas Daily Builds PPA has moved" (Jussi Lahtinen) > 3. Re: "[PSA] Gambas Daily Builds PPA has moved" (Jussi Lahtinen) > 4. Re: "[PSA] Gambas Daily Builds PPA has moved" (Willy Raets) > 5. Language Add for Project Translation (Riaan Pretorius) > 6. What is the correct PPA to use to ensure a stable release? > (Marty McGlensey) > 7. Re: What is the correct PPA to use to ensure a stable > release? (Sebastian Kulesz) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 06 Nov 2013 22:48:08 +0100 > From: Beno?t Minisini > Subject: Re: [Gambas-user] "[PSA] Gambas Daily Builds PPA has moved" > To: mailing list for gambas users > Message-ID: <527AB918.9070004 at ...1...> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Le 06/11/2013 21:46, Sebastian Kulesz a ?crit : >> tl;dr: If you are using the Daily Builds PPA, it has moved from the >> previous location, please read to keep Gambas updated. >> >> The Daily Builds PPA, previously located at has >> moved to . This is to avoid Kendek from >> performing untested changes to the Stable PPA, and avoiding potential >> issues. >> >> The quickest method to update is to execute: >> # add-apt-repository ppa:gambas-team/gambas-daily >> # apt-get update >> # apt-get upgrade >> >> This way the old PPA will still be active, but will be superseded by the >> new one. If you would like to remove it, search the following lines in your >> .sources files and comment them out or delete them: >> deb http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE >> main deb-src >> http://ppa.launchpad.net/sebikul/gambas-daily/ubuntuYOUR_UBUNTU_VERSION_HERE >> main >> >> I will keep the packages there for 2 weeks to give you enough time to >> update. After that, executing apt-get update with the old PPA will fail >> with a 404 error. So eventually you *will* have to remove this lines. >> >> I will update the wiki now. If you are a member of a Gambas forum, please >> help me spread the word!! >> >> Thanks! :) > I will post that new on the wiki so that it is visible on the web site. > > Moreover, I will release Gambas 3.5.1 soon, with the big packager fixes, > some bug fixes, and (exceptionally) some new features related to the bug > fixes. > From mckaygerhard at ...626... Thu Nov 7 17:00:29 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 7 Nov 2013 11:30:29 -0430 Subject: [Gambas-user] how to make two calls and manage Message-ID: i have a main sub and here call an sub rutine how can i manage two sub rutines from the same main, as such like a daemon? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas.fr at ...626... Thu Nov 7 17:13:07 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Nov 2013 17:13:07 +0100 Subject: [Gambas-user] how to make two calls and manage In-Reply-To: References: Message-ID: I can maybe help you but you must to be more explicit on what you want to achieve 2013/11/7 PICCORO McKAY Lenz : > i have a main sub and here call an sub rutine > > how can i manage two sub rutines from the same main, as such like a daemon? > > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Thu Nov 7 19:16:19 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 07 Nov 2013 19:16:19 +0100 Subject: [Gambas-user] Language Add for Project Translation In-Reply-To: References: Message-ID: <527BD8F3.30202@...1...> Le 07/11/2013 14:12, Riaan Pretorius a ?crit : > Good Day, > > Would it be possible to add another language to > ../../comp/gb.form/dialog ? > > The language is: Afrikaans (South Africa) > Done in revision #5945. You will get in the 3.5.1 version. Regards, -- Beno?t Minisini From pretorius.riaan at ...626... Thu Nov 7 19:23:41 2013 From: pretorius.riaan at ...626... (Riaan Pretorius) Date: Thu, 7 Nov 2013 20:23:41 +0200 Subject: [Gambas-user] Language Add for Project Translation In-Reply-To: <527BD8F3.30202@...1...> References: <527BD8F3.30202@...1...> Message-ID: Thx! Regards, Riaan Pretorius > On 07 Nov 2013, at 20:16, Beno?t Minisini wrote: > > Le 07/11/2013 14:12, Riaan Pretorius a ?crit : >> Good Day, >> >> Would it be possible to add another language to >> ../../comp/gb.form/dialog ? >> >> The language is: Afrikaans (South Africa) > > Done in revision #5945. You will get in the 3.5.1 version. > > Regards, > > -- > Beno?t Minisini From seany at ...3224... Fri Nov 8 09:29:46 2013 From: seany at ...3224... (Sean) Date: Fri, 08 Nov 2013 09:29:46 +0100 Subject: [Gambas-user] gambas editor control and the highlight method In-Reply-To: References: Message-ID: want that my program, at a click of the button will do some highlighting in the text in an editor (a component of gambas that you can add to a form). So, in the form_open() method, i set : programEdit.Styles[Highlight.Normal].Color = Color.Red programEdit.Styles[Highlight.Keyword].Color = Color.DarkGreen (my editor component is called programEdit) then in the toolbutton1_click() method i set programEdit.Highlight = Highlight.Custom (should this not call the programEdit_highlight() method? ) In the programEdit_highlight, I set: Dim z_c As Integer Dim i As Integer Dim z As String Dim s As String z = programEdit.Text '(this picks up the text in the editor) z_c = String.Len(z) For i = 1 To z_c s = Mid(z, i, 1) 'pick up each character If s = "s" Then 'i want the "s" -s to be dark green 'Message("resetting highlight") Highlight.Add(Highlight.Keyword) 'according to the docs, this will set the highlight of a single character .. Highlight.State = Highlight.Keyword 'i dont know if i needed this, but even dropping it has no effect Else Highlight.Add(Highlight.Normal) Endif Next this should make the "s"- s dark green, and everything else red, but i am seeing everything simply red. where did i go wrong? From pretorius.riaan at ...626... Fri Nov 8 09:53:52 2013 From: pretorius.riaan at ...626... (Riaan Pretorius) Date: Fri, 08 Nov 2013 08:53:52 +0000 Subject: [Gambas-user] App.Major Version Message-ID: Good Day, I was wondering if the equivalent of App.Major (vb6) exists in Gambas? Example: ' Visual Basic 6.0 Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ & App.Revision Riaan From a.baudrez at ...626... Fri Nov 8 10:37:41 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Fri, 8 Nov 2013 10:37:41 +0100 Subject: [Gambas-user] App.Major Version In-Reply-To: References: Message-ID: Hoi, put those in a class ' Gambas class file : clsVerion ' Version Info ' ' Call as follows: ' DIM cVersion as new clsVersion ' ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # " & cVersion.Build ' Property Read Version ' Full version eg. 1.2.39 Property Read VersionMajor As String ' Major part eg. 1 Property Read VersionMinor As String ' Minor Part eg. 2 Property Read VersionSmall As String ' Major and Minor eg. 1.2 Property Read Build As String ' Revision eg. 39 Private Versie As String Public Sub _new() Versie = Application.Version End Private Function Version_Read() As String Return Versie End Private Function VersionMajor_Read() As String Return Left(Versie, InStr(Versie, ".") - 1) End Private Function VersionMinor_Read() As String Return Mid(versie, InStr(Versie, ".") + 1, RInStr(Versie, ".") - InStr(Versie, ".") - 1) End Private Function Build_Read() As String Return Right(Versie, RInStr(Versie, ".") - 2) End Private Function VersionSmall_Read() As String Return Left(Versie, RInStr(Versie, ".") - 1) End ' ============= End of Class ============= *Alain J. Baudrez* a.baudrez at ...626... Tel: +32(0)486485080 *Personal Homepage:* http://baudrez.be http://facebook.com/abaudrez - http://twitter.com/abaudrez - http://about.me/abaudrez Webmaster cibliga.be - dierenartsrogiest.be 2013/11/8 Riaan Pretorius > Good Day, > > I was wondering if the equivalent of App.Major (vb6) exists in Gambas? > > Example: > > ' Visual Basic 6.0 > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ > > & App.Revision > > > Riaan > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Nov 8 11:12:43 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 8 Nov 2013 11:12:43 +0100 Subject: [Gambas-user] gambas editor control and the highlight method In-Reply-To: References: Message-ID: <20131108101243.GA589@...2774...> On Fri, 08 Nov 2013, Sean wrote: > want that my program, at a click of the button will do > some highlighting in the text in an editor (a component of > gambas that you can add to a form). > > So, in the form_open() method, i set : > > programEdit.Styles[Highlight.Normal].Color = Color.Red > programEdit.Styles[Highlight.Keyword].Color = > Color.DarkGreen > > (my editor component is called programEdit) > > then in the toolbutton1_click() method i set > > programEdit.Highlight = Highlight.Custom > > (should this not call the programEdit_highlight() method? > ) > > In the programEdit_highlight, I set: > > Dim z_c As Integer > Dim i As Integer > Dim z As String > Dim s As String > > z = programEdit.Text '(this picks up the text in the > editor) > z_c = String.Len(z) > > For i = 1 To z_c > s = Mid(z, i, 1) 'pick up each character > If s = "s" Then 'i want the "s" -s to be dark green > 'Message("resetting highlight") > Highlight.Add(Highlight.Keyword) 'according to the > docs, this will set the highlight of a single character .. > Highlight.State = Highlight.Keyword 'i dont know if i > needed this, but even dropping it has no effect > Else > Highlight.Add(Highlight.Normal) > Endif > Next > > this should make the "s"- s dark green, and everything > else red, but i am seeing everything simply red. where did > i go wrong? > The Editor control will highlight a line at a time. The current line will be in Highlight.Text. If you always take the entire programEdit.Text, then you will highlight the wrong things. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From seany at ...3224... Fri Nov 8 13:01:49 2013 From: seany at ...3224... (Sean) Date: Fri, 08 Nov 2013 13:01:49 +0100 Subject: [Gambas-user] gambas editor control and the highlight method In-Reply-To: References: Message-ID: Hi Tobi, thanks for the Answer. Would it be too much if i request you do show me a Minimum Working Example of the correct syntax? The html-highlighter given in the Examples is too complex.. From taboege at ...626... Fri Nov 8 13:36:07 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 8 Nov 2013 13:36:07 +0100 Subject: [Gambas-user] gambas editor control and the highlight method In-Reply-To: References: Message-ID: <20131108123607.GA10047@...2774...> On Fri, 08 Nov 2013, Sean wrote: > > Hi Tobi, thanks for the Answer. > > Would it be too much if i request you do show me a Minimum > Working Example of the correct syntax? The > html-highlighter given in the Examples is too complex.. > I perfectly understand that. I once aimed at implementing a new interface for Editor-like controls, similar to how one defines syntaxes for the vim highlighting mechanism but with OOP. It will not make you write code but just explain the syntax to the engine with objects. But this will happen in the course of gb.ncurses and is not to happen soon. Anyways, a minimal example is attached. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: editor-highlight-s-0.0.1.tar.gz Type: application/octet-stream Size: 5455 bytes Desc: not available URL: From bbruen at ...2308... Fri Nov 8 14:04:52 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 08 Nov 2013 23:34:52 +1030 Subject: [Gambas-user] App.Major Version In-Reply-To: References: Message-ID: <1383915892.23492.44.camel@...2688...> On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: > Hoi, > > put those in a class > > ' Gambas class file : clsVerion > ' Version Info > ' > ' Call as follows: > ' DIM cVersion as new clsVersion > ' > ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # " & > cVersion.Build > ' > Property Read Version ' Full version eg. 1.2.39 > Property Read VersionMajor As String ' Major part eg. 1 > Property Read VersionMinor As String ' Minor Part eg. 2 > Property Read VersionSmall As String ' Major and Minor eg. 1.2 > Property Read Build As String ' Revision eg. 39 > > Private Versie As String > > Public Sub _new() > > Versie = Application.Version > > End > > Private Function Version_Read() As String > > Return Versie > > End > > Private Function VersionMajor_Read() As String > > Return Left(Versie, InStr(Versie, ".") - 1) > > End > > Private Function VersionMinor_Read() As String > > Return Mid(versie, InStr(Versie, ".") + 1, RInStr(Versie, ".") - > InStr(Versie, ".") - 1) > > End > > Private Function Build_Read() As String > > Return Right(Versie, RInStr(Versie, ".") - 2) > > End > > Private Function VersionSmall_Read() As String > > Return Left(Versie, RInStr(Versie, ".") - 1) > > End > ' ============= End of Class ============= > > > > > *Alain J. Baudrez* > a.baudrez at ...626... > Tel: +32(0)486485080 > > *Personal Homepage:* http://baudrez.be > http://facebook.com/abaudrez - http://twitter.com/abaudrez - > http://about.me/abaudrez > Webmaster cibliga.be - dierenartsrogiest.be > > > > 2013/11/8 Riaan Pretorius > > > Good Day, > > > > I was wondering if the equivalent of App.Major (vb6) exists in Gambas? > > > > Example: > > > > ' Visual Basic 6.0 > > > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ > > > > & App.Revision > > > > > > Riaan > > Ow Alain, my poor fingers! How about just Application.Version.Split(".")[0] ' for the major Application.Version.Split(".")[1] ' for the minor Application.Version.Split(".")[2] ' for the revision or for your OP's example Label1.Caption = "Version: " & Application.Version :-) Bruce From a.baudrez at ...626... Fri Nov 8 14:11:37 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Fri, 8 Nov 2013 14:11:37 +0100 Subject: [Gambas-user] App.Major Version In-Reply-To: <1383915892.23492.44.camel@...2688...> References: <1383915892.23492.44.camel@...2688...> Message-ID: 2013/11/8 Bruce > On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: > > Hoi, > > > > put those in a class > > > > ' Gambas class file : clsVerion > > ' Version Info > > ' > > ' Call as follows: > > ' DIM cVersion as new clsVersion > > ' > > ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " Build # > " & > > cVersion.Build > > ' > > Property Read Version ' Full version eg. 1.2.39 > > Property Read VersionMajor As String ' Major part eg. 1 > > Property Read VersionMinor As String ' Minor Part eg. 2 > > Property Read VersionSmall As String ' Major and Minor eg. 1.2 > > Property Read Build As String ' Revision eg. 39 > > > > Private Versie As String > > > > Public Sub _new() > > > > Versie = Application.Version > > > > End > > > > Private Function Version_Read() As String > > > > Return Versie > > > > End > > > > Private Function VersionMajor_Read() As String > > > > Return Left(Versie, InStr(Versie, ".") - 1) > > > > End > > > > Private Function VersionMinor_Read() As String > > > > Return Mid(versie, InStr(Versie, ".") + 1, RInStr(Versie, ".") - > > InStr(Versie, ".") - 1) > > > > End > > > > Private Function Build_Read() As String > > > > Return Right(Versie, RInStr(Versie, ".") - 2) > > > > End > > > > Private Function VersionSmall_Read() As String > > > > Return Left(Versie, RInStr(Versie, ".") - 1) > > > > End > > ' ============= End of Class ============= > > > > > > > > > > *Alain J. Baudrez* > > a.baudrez at ...626... > > Tel: +32(0)486485080 > > > > *Personal Homepage:* http://baudrez.be > > http://facebook.com/abaudrez - http://twitter.com/abaudrez - > > http://about.me/abaudrez > > Webmaster cibliga.be - dierenartsrogiest.be > > > > > > > > 2013/11/8 Riaan Pretorius > > > > > Good Day, > > > > > > I was wondering if the equivalent of App.Major (vb6) exists in Gambas? > > > > > > Example: > > > > > > ' Visual Basic 6.0 > > > > > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." _ > > > > > > & App.Revision > > > > > > > > > Riaan > > > > > > Ow Alain, my poor fingers! > > How about just > > Application.Version.Split(".")[0] ' for the major > Application.Version.Split(".")[1] ' for the minor > Application.Version.Split(".")[2] ' for the revision > > or for your OP's example > > Label1.Caption = "Version: " & Application.Version > > :-) > > Bruce Hey Bruce, I knew that somewhere someone with a much cleaner solution would pop up. Thanks for sharing. What about your poor fingers. Having programmed in COBOL, I find what I did, not to heavy on my fingers, but your solution is much sleeker of course ;) Alain From pretorius.riaan at ...626... Fri Nov 8 14:14:11 2013 From: pretorius.riaan at ...626... (Riaan Pretorius) Date: Fri, 08 Nov 2013 13:14:11 +0000 Subject: [Gambas-user] App.Major Version In-Reply-To: Message-ID: thx guys! exactly what i was looking for :) ------ Original Message ------ From: "Alain Baudrez" To: "mailing list for gambas users" Sent: 11/8/2013 3:11:37 PM Subject: Re: [Gambas-user] App.Major Version >2013/11/8 Bruce > >> On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: >> > Hoi, >> > >> > put those in a class >> > >> > ' Gambas class file : clsVerion >> > ' Version Info >> > ' >> > ' Call as follows: >> > ' DIM cVersion as new clsVersion >> > ' >> > ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " >>Build # >> " & >> > cVersion.Build >> > ' >> > Property Read Version ' Full version eg. 1.2.39 >> > Property Read VersionMajor As String ' Major part eg. 1 >> > Property Read VersionMinor As String ' Minor Part eg. 2 >> > Property Read VersionSmall As String ' Major and Minor eg. 1.2 >> > Property Read Build As String ' Revision eg. 39 >> > >> > Private Versie As String >> > >> > Public Sub _new() >> > >> > Versie = Application.Version >> > >> > End >> > >> > Private Function Version_Read() As String >> > >> > Return Versie >> > >> > End >> > >> > Private Function VersionMajor_Read() As String >> > >> > Return Left(Versie, InStr(Versie, ".") - 1) >> > >> > End >> > >> > Private Function VersionMinor_Read() As String >> > >> > Return Mid(versie, InStr(Versie, ".") + 1, RInStr(Versie, ".") - >> > InStr(Versie, ".") - 1) >> > >> > End >> > >> > Private Function Build_Read() As String >> > >> > Return Right(Versie, RInStr(Versie, ".") - 2) >> > >> > End >> > >> > Private Function VersionSmall_Read() As String >> > >> > Return Left(Versie, RInStr(Versie, ".") - 1) >> > >> > End >> > ' ============= End of Class ============= >> > >> > >> > >> > >> > *Alain J. Baudrez* >> > a.baudrez at ...626... >> > Tel: +32(0)486485080 >> > >> > *Personal Homepage:* http://baudrez.be >> > http://facebook.com/abaudrez - http://twitter.com/abaudrez - >> > http://about.me/abaudrez >> > Webmaster cibliga.be - dierenartsrogiest.be >> > >> > >> > >> > 2013/11/8 Riaan Pretorius >> > >> > > Good Day, >> > > >> > > I was wondering if the equivalent of App.Major (vb6) exists in >>Gambas? >> > > >> > > Example: >> > > >> > > ' Visual Basic 6.0 >> > > >> > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." >>_ >> > > >> > > & App.Revision >> > > >> > > >> > > Riaan >> > > >> >> >> Ow Alain, my poor fingers! >> >> How about just >> >> Application.Version.Split(".")[0] ' for the major >> Application.Version.Split(".")[1] ' for the minor >> Application.Version.Split(".")[2] ' for the revision >> >> or for your OP's example >> >> Label1.Caption = "Version: " & Application.Version >> >> :-) >> >> Bruce > > >Hey Bruce, > >I knew that somewhere someone with a much cleaner solution would pop >up. >Thanks for sharing. > >What about your poor fingers. Having programmed in COBOL, I find what I >did, not to heavy on my fingers, but your solution is much sleeker of >course ;) > >Alain >------------------------------------------------------------------------------ >November Webinars for C, C++, Fortran Developers >Accelerate application performance with scalable programming models. >Explore >techniques for threading, error checking, porting, and tuning. Get the >most >from the latest Intel processors and coprocessors. See abstracts and >register >http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Fri Nov 8 15:23:41 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 8 Nov 2013 15:23:41 +0100 Subject: [Gambas-user] App.Major Version In-Reply-To: References: Message-ID: My turn !! Dim aVersion as String[] = scan(sVersion,"*.*.*") Print aVersion[0] Work also with split. 2013/11/8 Riaan Pretorius : > thx guys! exactly what i was looking for :) > > ------ Original Message ------ > From: "Alain Baudrez" > To: "mailing list for gambas users" > Sent: 11/8/2013 3:11:37 PM > Subject: Re: [Gambas-user] App.Major Version >>2013/11/8 Bruce >> >>> On Fri, 2013-11-08 at 10:37 +0100, Alain Baudrez wrote: >>> > Hoi, >>> > >>> > put those in a class >>> > >>> > ' Gambas class file : clsVerion >>> > ' Version Info >>> > ' >>> > ' Call as follows: >>> > ' DIM cVersion as new clsVersion >>> > ' >>> > ' Print cVersion.VersionMajor & "." & cVersion.VersionMinor & " >>>Build # >>> " & >>> > cVersion.Build >>> > ' >>> > Property Read Version ' Full version eg. 1.2.39 >>> > Property Read VersionMajor As String ' Major part eg. 1 >>> > Property Read VersionMinor As String ' Minor Part eg. 2 >>> > Property Read VersionSmall As String ' Major and Minor eg. 1.2 >>> > Property Read Build As String ' Revision eg. 39 >>> > >>> > Private Versie As String >>> > >>> > Public Sub _new() >>> > >>> > Versie = Application.Version >>> > >>> > End >>> > >>> > Private Function Version_Read() As String >>> > >>> > Return Versie >>> > >>> > End >>> > >>> > Private Function VersionMajor_Read() As String >>> > >>> > Return Left(Versie, InStr(Versie, ".") - 1) >>> > >>> > End >>> > >>> > Private Function VersionMinor_Read() As String >>> > >>> > Return Mid(versie, InStr(Versie, ".") + 1, RInStr(Versie, ".") - >>> > InStr(Versie, ".") - 1) >>> > >>> > End >>> > >>> > Private Function Build_Read() As String >>> > >>> > Return Right(Versie, RInStr(Versie, ".") - 2) >>> > >>> > End >>> > >>> > Private Function VersionSmall_Read() As String >>> > >>> > Return Left(Versie, RInStr(Versie, ".") - 1) >>> > >>> > End >>> > ' ============= End of Class ============= >>> > >>> > >>> > >>> > >>> > *Alain J. Baudrez* >>> > a.baudrez at ...626... >>> > Tel: +32(0)486485080 >>> > >>> > *Personal Homepage:* http://baudrez.be >>> > http://facebook.com/abaudrez - http://twitter.com/abaudrez - >>> > http://about.me/abaudrez >>> > Webmaster cibliga.be - dierenartsrogiest.be >>> > >>> > >>> > >>> > 2013/11/8 Riaan Pretorius >>> > >>> > > Good Day, >>> > > >>> > > I was wondering if the equivalent of App.Major (vb6) exists in >>>Gambas? >>> > > >>> > > Example: >>> > > >>> > > ' Visual Basic 6.0 >>> > > >>> > > Label1.Caption = "Version: " & App.Major & "." & App.Minor & "." >>>_ >>> > > >>> > > & App.Revision >>> > > >>> > > >>> > > Riaan >>> > > >>> >>> >>> Ow Alain, my poor fingers! >>> >>> How about just >>> >>> Application.Version.Split(".")[0] ' for the major >>> Application.Version.Split(".")[1] ' for the minor >>> Application.Version.Split(".")[2] ' for the revision >>> >>> or for your OP's example >>> >>> Label1.Caption = "Version: " & Application.Version >>> >>> :-) >>> >>> Bruce >> >> >>Hey Bruce, >> >>I knew that somewhere someone with a much cleaner solution would pop >>up. >>Thanks for sharing. >> >>What about your poor fingers. Having programmed in COBOL, I find what I >>did, not to heavy on my fingers, but your solution is much sleeker of >>course ;) >> >>Alain >>------------------------------------------------------------------------------ >>November Webinars for C, C++, Fortran Developers >>Accelerate application performance with scalable programming models. >>Explore >>techniques for threading, error checking, porting, and tuning. Get the >>most >>from the latest Intel processors and coprocessors. See abstracts and >>register >>http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >>_______________________________________________ >>Gambas-user mailing list >>Gambas-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > 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 Nov 8 15:53:02 2013 From: bbruen at ...2308... (Bruce) Date: Sat, 09 Nov 2013 01:23:02 +1030 Subject: [Gambas-user] App.Major Version In-Reply-To: References: Message-ID: <1383922382.23492.46.camel@...2688...> On Fri, 2013-11-08 at 15:23 +0100, Fabien Bodard wrote: > My turn !! > > Dim aVersion as String[] = scan(sVersion,"*.*.*") > > Print aVersion[0] > > > Work also with split. > Ha! Dim aVersion As String[] = Scan(Application.Version, "*.*.*") Print aVersion[0] = 48 keystrokes Print Split(Application.Version, ".")[0] = 25 keystrokes :-) Bruce From gambas.fr at ...626... Fri Nov 8 16:17:03 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 8 Nov 2013 16:17:03 +0100 Subject: [Gambas-user] App.Major Version In-Reply-To: <1383922382.23492.46.camel@...2688...> References: <1383922382.23492.46.camel@...2688...> Message-ID: 2013/11/8 Bruce : > On Fri, 2013-11-08 at 15:23 +0100, Fabien Bodard wrote: >> My turn !! >> >> Dim aVersion as String[] = scan(sVersion,"*.*.*") >> >> Print aVersion[0] >> >> >> Work also with split. >> > Ha! > > > Dim aVersion As String[] = Scan(Application.Version, "*.*.*") > > Print aVersion[0] > = 48 keystrokes > > > Print Split(Application.Version, ".")[0] > = 25 keystrokes > Because i've used an intermediate var to reduce the calls. One day this can maybe be writed : Print Application.Version.Split(".")[0] lol One of my dreams ... Print "Hello World".Len Print MySTring.Replace("s","t").Replace("O","P") Print "Gambas".Mid(3,4) ----> mbas > :-) > Bruce > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Sat Nov 9 02:19:49 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Nov 2013 02:19:49 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 Message-ID: <527D8DB5.1020103@...1...> Hi, Here you can download a non-official pre-release of Gambas 3.5.1: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download This releases mainly tries to fix the packager, but there are some bug fixes and new features related to the bug fixes too. Here is a summary of the changes in the packager: - The packager now uses the current Gambas major & minor version as minimum version for component dependencies. - If a project uses gb.gui, then the packager will create two extra meta-packages: one for Qt4 support, the other for GTK+ support. The Qt4 meta-package depends on the application package and the gb.qt4 binary package. The GTK+ meta-package depends on the application package and the gb.gtk binary package. If OpenGL is used, the corresponding GUI opengl support packages (gb.qt4.opengl and gb.gtk.opengl) are added to the dependencies. - The Ubuntu package naming convention is respected: i.e. there is the "ubuntu" string in the package name. - The 'gb.desktop.gnome' component is now visible and explicitely checkable, so that it becomes an explicit dependency when creating a binary package with the packager. - You can specify the package version number: this must be used when you make and deliver several different packages of the same software release. Here are the new features: - Enum.Stopped is a new property that returns if the current enumeration has been stopped. - OPEN STRING is a new instruction that allows to use a string as a stream. Writing to it appends the written data to the end of the string at the moment. - Closing a string stream returns the data written to the stream as a new string. - WRITE behaves the same way as READ on a memory stream, when dealing with a string: it writes a null-terminated "C" string. - OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE instructions alone. - FileChooser now has support for uncompressing 'zip' files, provided that the 'zip' utility is installed on the system. - If 'gb.gui' cannot load a GUI component, it tries the other one. If nothing works, it aborts. - The default SDL font file is renamed as "_default.ttf" to prevent packaging conflicts. - JSON.Decode() now takes an extra optional argument indicating that keys having a null value are taken into account inside objects. - JSONCollection is a new class that represents a JSON object whose some keys are associated with a 'null' value. Please test it and report! Let's make 3.5.1 a quiet release. :-) Regards, -- Beno?t Minisini From gambas at ...1... Sat Nov 9 02:24:59 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Nov 2013 02:24:59 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <527D8DB5.1020103@...1...> References: <527D8DB5.1020103@...1...> Message-ID: <527D8EEB.5060103@...1...> Le 09/11/2013 02:19, Beno?t Minisini a ?crit : > Hi, > > Here you can download a non-official pre-release of Gambas 3.5.1: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download > > This releases mainly tries to fix the packager, but there are some bug > fixes and new features related to the bug fixes too. > > Here is a summary of the changes in the packager: > > - The packager now uses the current Gambas major & minor version as > minimum version for component dependencies. > > - If a project uses gb.gui, then the packager will create two extra > meta-packages: one for Qt4 support, the other for GTK+ support. > > The Qt4 meta-package depends on the application package and the gb.qt4 > binary package. The GTK+ meta-package depends on the application package > and the gb.gtk binary package. > > If OpenGL is used, the corresponding GUI opengl support packages > (gb.qt4.opengl and gb.gtk.opengl) are added to the dependencies. > > - The Ubuntu package naming convention is respected: i.e. there is the > "ubuntu" string in the package name. > > - The 'gb.desktop.gnome' component is now visible and explicitely > checkable, so that it becomes an explicit dependency when creating a > binary package with the packager. > > - You can specify the package version number: this must be used when you > make and deliver several different packages of the same software release. > > Here are the new features: > > - Enum.Stopped is a new property that returns if the current enumeration > has been stopped. > > - OPEN STRING is a new instruction that allows to use a string as a > stream. Writing to it appends the written data to the end of the string > at the moment. > > - Closing a string stream returns the data written to the stream as a > new string. > > - WRITE behaves the same way as READ on a memory stream, when dealing > with a string: it writes a null-terminated "C" string. > > - OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE > instructions alone. > > - FileChooser now has support for uncompressing 'zip' files, provided > that the 'zip' utility is installed on the system. > > - If 'gb.gui' cannot load a GUI component, it tries the other one. If > nothing works, it aborts. > > - The default SDL font file is renamed as "_default.ttf" to prevent > packaging conflicts. > > - JSON.Decode() now takes an extra optional argument indicating that > keys having a null value are taken into account inside objects. > > - JSONCollection is a new class that represents a JSON object whose some > keys are associated with a 'null' value. > > Please test it and report! Let's make 3.5.1 a quiet release. :-) > > Regards, > The full ChangeLog is in the wiki: http://gambasdoc.org/help/doc/release/3.5.1?v3 -- Beno?t Minisini From a.baudrez at ...626... Sat Nov 9 09:49:01 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Sat, 9 Nov 2013 09:49:01 +0100 Subject: [Gambas-user] Key code constant wrong? Message-ID: The value for the key.enter constant in the 3.5.0 on my box is given as 16777221 ? key.enter 16777221 But, the value returned by key.code in the program is 16777220 in the keyrelease or the keypress events which implies that I cannot check if the key pressed is the Enter/Return key using the constants. As a workaround I switched to checking for the number or the key.enter value as valid values, but I know that is not the way to go.... Bug? [System] OperatingSystem=Linux Kernel=3.8.0-33-generic Architecture=x86_64 Distribution=Ubuntu 12.04.3 LTS Desktop=GNOME Theme=QGtk Language=nl_NL.UTF-8 Memory=3686M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 From nemh at ...2007... Sat Nov 9 12:02:52 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sat, 09 Nov 2013 12:02:52 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <527D8DB5.1020103@...1...> References: <527D8DB5.1020103@...1...> Message-ID: <527E165C.2050404@...2007...> 2013-11-09 02:19 keltez?ssel, Beno?t Minisini ?rta: > Hi, > > Here you can download a non-official pre-release of Gambas 3.5.1: > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download > > This releases mainly tries to fix the packager, but there are some bug > fixes and new features related to the bug fixes too. > > Here is a summary of the changes in the packager: > > - The packager now uses the current Gambas major & minor version as > minimum version for component dependencies. > > - If a project uses gb.gui, then the packager will create two extra > meta-packages: one for Qt4 support, the other for GTK+ support. > > The Qt4 meta-package depends on the application package and the gb.qt4 > binary package. The GTK+ meta-package depends on the application package > and the gb.gtk binary package. > > If OpenGL is used, the corresponding GUI opengl support packages > (gb.qt4.opengl and gb.gtk.opengl) are added to the dependencies. > > - The Ubuntu package naming convention is respected: i.e. there is the > "ubuntu" string in the package name. > > - The 'gb.desktop.gnome' component is now visible and explicitely > checkable, so that it becomes an explicit dependency when creating a > binary package with the packager. > > - You can specify the package version number: this must be used when you > make and deliver several different packages of the same software release. > > Here are the new features: > > - Enum.Stopped is a new property that returns if the current enumeration > has been stopped. > > - OPEN STRING is a new instruction that allows to use a string as a > stream. Writing to it appends the written data to the end of the string > at the moment. > > - Closing a string stream returns the data written to the stream as a > new string. > > - WRITE behaves the same way as READ on a memory stream, when dealing > with a string: it writes a null-terminated "C" string. > > - OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE > instructions alone. > > - FileChooser now has support for uncompressing 'zip' files, provided > that the 'zip' utility is installed on the system. > > - If 'gb.gui' cannot load a GUI component, it tries the other one. If > nothing works, it aborts. > > - The default SDL font file is renamed as "_default.ttf" to prevent > packaging conflicts. > > - JSON.Decode() now takes an extra optional argument indicating that > keys having a null value are taken into account inside objects. > > - JSONCollection is a new class that represents a JSON object whose some > keys are associated with a 'null' value. > > Please test it and report! Let's make 3.5.1 a quiet release. :-) > > Regards, > Hm, new features... So, it's not backward compatible with 3.5.0 runtime? From a.baudrez at ...626... Sat Nov 9 13:10:41 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Sat, 9 Nov 2013 13:10:41 +0100 Subject: [Gambas-user] gb.media missing from Kendek PPA Message-ID: I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to be missing. *Alain J. Baudrez* From nemh at ...2007... Sat Nov 9 13:25:48 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sat, 09 Nov 2013 13:25:48 +0100 Subject: [Gambas-user] gb.media missing from Kendek PPA In-Reply-To: References: Message-ID: <527E29CC.1010403@...2007...> 2013-11-09 13:10 keltez?ssel, Alain Baudrez ?rta: > I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to be > missing. > > *Alain J. Baudrez* Missing (disabled) on Lucid and Precise, because this components are not compatible with them. Kendek From nemh at ...2007... Sat Nov 9 14:02:50 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sat, 09 Nov 2013 14:02:50 +0100 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: <52795C69.6080201@...2007...> References: <526EBCFB.5020009@...1...> <526FE12A.1020308@...2007...> <20131029180401.GH594@...2774...> <526FFE6B.6030201@...2007...> <52702C80.3060309@...1...> <52774CE2.4010109@...2007...> <52795C69.6080201@...2007...> Message-ID: <527E327A.4010101@...2007...> 2013-11-05 22:00 keltez?ssel, Kende Kriszti?n ?rta: > 2013-11-05 21:28 keltez?ssel, Sebastian Kulesz ?rta: >> First builds are starting to appear :) >> I will wait for the armhf builds to finish to send a notice. >> >> If you want to touch the recipes in any way, please feel *free* to do >> so. I >> will receive a notification about any changes, so there is no need to >> announce them. >> On Nov 4, 2013 6:25 AM, "Sebastian Kulesz" wrote: >> > > Okey. But now I'm going to social training with company. So on > weekends I can deal with it. :-) > I have not yet passed the beer effect, but I pushed some commits. :-) From gambas at ...1... Sat Nov 9 18:52:32 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Nov 2013 18:52:32 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <527E165C.2050404@...2007...> References: <527D8DB5.1020103@...1...> <527E165C.2050404@...2007...> Message-ID: <527E7660.3030506@...1...> Le 09/11/2013 12:02, Kende Kriszti?n a ?crit : > 2013-11-09 02:19 keltez?ssel, Beno?t Minisini ?rta: >> Hi, >> >> Here you can download a non-official pre-release of Gambas 3.5.1: >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download >> >> This releases mainly tries to fix the packager, but there are some bug >> fixes and new features related to the bug fixes too. >> >> Here is a summary of the changes in the packager: >> >> - The packager now uses the current Gambas major & minor version as >> minimum version for component dependencies. >> >> - If a project uses gb.gui, then the packager will create two extra >> meta-packages: one for Qt4 support, the other for GTK+ support. >> >> The Qt4 meta-package depends on the application package and the gb.qt4 >> binary package. The GTK+ meta-package depends on the application package >> and the gb.gtk binary package. >> >> If OpenGL is used, the corresponding GUI opengl support packages >> (gb.qt4.opengl and gb.gtk.opengl) are added to the dependencies. >> >> - The Ubuntu package naming convention is respected: i.e. there is the >> "ubuntu" string in the package name. >> >> - The 'gb.desktop.gnome' component is now visible and explicitely >> checkable, so that it becomes an explicit dependency when creating a >> binary package with the packager. >> >> - You can specify the package version number: this must be used when you >> make and deliver several different packages of the same software release. >> >> Here are the new features: >> >> - Enum.Stopped is a new property that returns if the current enumeration >> has been stopped. >> >> - OPEN STRING is a new instruction that allows to use a string as a >> stream. Writing to it appends the written data to the end of the string >> at the moment. >> >> - Closing a string stream returns the data written to the stream as a >> new string. >> >> - WRITE behaves the same way as READ on a memory stream, when dealing >> with a string: it writes a null-terminated "C" string. >> >> - OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE >> instructions alone. >> >> - FileChooser now has support for uncompressing 'zip' files, provided >> that the 'zip' utility is installed on the system. >> >> - If 'gb.gui' cannot load a GUI component, it tries the other one. If >> nothing works, it aborts. >> >> - The default SDL font file is renamed as "_default.ttf" to prevent >> packaging conflicts. >> >> - JSON.Decode() now takes an extra optional argument indicating that >> keys having a null value are taken into account inside objects. >> >> - JSONCollection is a new class that represents a JSON object whose some >> keys are associated with a 'null' value. >> >> Please test it and report! Let's make 3.5.1 a quiet release. :-) >> >> Regards, >> > > Hm, new features... So, it's not backward compatible with 3.5.0 runtime? > Yes. But that's not a big deal: - Gambas 3.5.0 should not be used because of packager issues. - OPEN STRING and the memory stream changes are actually language fixes. - Enum.Stopped was needed to fix the JSON.Decode() method. -- Beno?t Minisini From nemh at ...2007... Sat Nov 9 19:06:40 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sat, 09 Nov 2013 19:06:40 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <527E7660.3030506@...1...> References: <527D8DB5.1020103@...1...> <527E165C.2050404@...2007...> <527E7660.3030506@...1...> Message-ID: <527E79B0.50009@...2007...> 2013-11-09 18:52 keltez?ssel, Beno?t Minisini ?rta: > Le 09/11/2013 12:02, Kende Kriszti?n a ?crit : >> 2013-11-09 02:19 keltez?ssel, Beno?t Minisini ?rta: >>> Hi, >>> >>> Here you can download a non-official pre-release of Gambas 3.5.1: >>> >>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.5.1.tar.bz2/download >>> >>> This releases mainly tries to fix the packager, but there are some bug >>> fixes and new features related to the bug fixes too. >>> >>> Here is a summary of the changes in the packager: >>> >>> - The packager now uses the current Gambas major & minor version as >>> minimum version for component dependencies. >>> >>> - If a project uses gb.gui, then the packager will create two extra >>> meta-packages: one for Qt4 support, the other for GTK+ support. >>> >>> The Qt4 meta-package depends on the application package and the gb.qt4 >>> binary package. The GTK+ meta-package depends on the application package >>> and the gb.gtk binary package. >>> >>> If OpenGL is used, the corresponding GUI opengl support packages >>> (gb.qt4.opengl and gb.gtk.opengl) are added to the dependencies. >>> >>> - The Ubuntu package naming convention is respected: i.e. there is the >>> "ubuntu" string in the package name. >>> >>> - The 'gb.desktop.gnome' component is now visible and explicitely >>> checkable, so that it becomes an explicit dependency when creating a >>> binary package with the packager. >>> >>> - You can specify the package version number: this must be used when you >>> make and deliver several different packages of the same software release. >>> >>> Here are the new features: >>> >>> - Enum.Stopped is a new property that returns if the current enumeration >>> has been stopped. >>> >>> - OPEN STRING is a new instruction that allows to use a string as a >>> stream. Writing to it appends the written data to the end of the string >>> at the moment. >>> >>> - Closing a string stream returns the data written to the stream as a >>> new string. >>> >>> - WRITE behaves the same way as READ on a memory stream, when dealing >>> with a string: it writes a null-terminated "C" string. >>> >>> - OPEN MEMORY and OPEN PIPE are synonymous of the MEMORY and PIPE >>> instructions alone. >>> >>> - FileChooser now has support for uncompressing 'zip' files, provided >>> that the 'zip' utility is installed on the system. >>> >>> - If 'gb.gui' cannot load a GUI component, it tries the other one. If >>> nothing works, it aborts. >>> >>> - The default SDL font file is renamed as "_default.ttf" to prevent >>> packaging conflicts. >>> >>> - JSON.Decode() now takes an extra optional argument indicating that >>> keys having a null value are taken into account inside objects. >>> >>> - JSONCollection is a new class that represents a JSON object whose some >>> keys are associated with a 'null' value. >>> >>> Please test it and report! Let's make 3.5.1 a quiet release. :-) >>> >>> Regards, >>> >> Hm, new features... So, it's not backward compatible with 3.5.0 runtime? >> > Yes. But that's not a big deal: > > - Gambas 3.5.0 should not be used because of packager issues. > > - OPEN STRING and the memory stream changes are actually language fixes. > > - Enum.Stopped was needed to fix the JSON.Decode() method. > OK, I see. I uploaded this pre-release to nemh/gambas3 PPA, and some users already use updated packages. Wait for the bug reports. :-) From nicholso at ...2533... Sat Nov 9 22:07:25 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Sat, 9 Nov 2013 13:07:25 -0800 (PST) Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: Message-ID: <1384031245410-44183.post@...3046...> ...... Wamukota wrote > The value for the key.enter constant in the 3.5.0 on my box is given as > 16777221 > > ? key.enter > 16777221 > > But, the value returned by key.code in the program is 16777220 in the > keyrelease or the keypress events which implies that I cannot check if the > key pressed is the Enter/Return key using the constants. > As a workaround I switched to checking for the number or the key.enter > value as valid values, but I know that is not the way to go.... > > Bug? Alain -- The Enter key and the Return key are actually 2 different keys! In my blog post "http://beginnersguidetogambas.com/2013/02/12/some-useful-gambas-usages-and-examples/", I explain: Note that the ?Return? key is the ?enter? key near the center of a standard desktop PC keyboard, with the ?return? symbol. The ?Enter? key is the ?enter? key at the right side of a standard desktop PC keyboard, with the numeric keypad. The keys are equivalent in function, but each one returns a different key code. Here is how you use the constants: ..... If Key.Code = Key.Return Or Key.Code = Key.Enter Then ...... Endif -- View this message in context: http://gambas.8142.n7.nabble.com/Key-code-constant-wrong-tp44176p44183.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Sat Nov 9 22:41:59 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 9 Nov 2013 17:11:59 -0430 Subject: [Gambas-user] class vs module : usage property, behabior usage Message-ID: in development another manpower make factory connections to postgres database as module, and i use class instanciation for connections to database.. what its the behabior difference and implicit consecuences.. ? i mean, my partner call directly as static methods/functions the create?ion of conections, making tables etc, rather than me, that instanciates the class and then call functions or at least what its the difference if i use only modules event classes in a project? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Sat Nov 9 22:45:47 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 09 Nov 2013 22:45:47 +0100 Subject: [Gambas-user] Specifications for Gambas 3 packaging : updated! In-Reply-To: References: Message-ID: <527EAD0B.4090306@...1...> Le 06/11/2013 18:21, PICCORO McKAY Lenz a ?crit : > I read now carefully the gambas specification and do not comply with > some little debian specifications > > "gambas3-devel" said that must handle only the compilers.. and for > debian the .so and .a files must be in "devel" packages, with headers > and code.. > > on IDE theres a option to download source code of gambas, this must be > packaged on debian and offer, not like a downloable option, such as > lazarus and java packages does > > Benoit mention that .so .so.0.0 and .so.0.0.0 files are generated due > autotools rules and gambas only used the crude .so files, what about > .la and .a files etc etc? > > nothig of this are mentioned in this specifications > > also: some componentes are shared libs, while other are gambas > projects!!!!! so this specification takes those cases as same, and > made those packages as same (such modules, and nos all are same > naturality) > this lasted are very important > Gambas only uses the component *.so files. The other component library files (*.so.0, *.so.*, *.la, *.a) are actually useless. The debian policy for shared libraries is only for system shared libraries that any program can use. This is not the case for Gambas shared libraries. They are just extensions of the Gambas interpreter. No other program uses them. -- Beno?t Minisini From gambas.fr at ...626... Sat Nov 9 23:27:38 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 9 Nov 2013 23:27:38 +0100 Subject: [Gambas-user] class vs module : usage property, behabior usage In-Reply-To: References: Message-ID: A module is a static class. It's like using the static keyword on each procedure of a class... And a procedure is not instanciable so all other classe call the same instance in fact. 2013/11/9 PICCORO McKAY Lenz : > in development another manpower make factory connections > to postgres database as module, and i use class instanciation > for connections to database.. > > what its the behabior difference and implicit consecuences.. ? > i mean, my partner call directly as static methods/functions > the create?ion of conections, making tables etc, > rather than me, that instanciates the class and then call functions > > or at least what its the difference if i use only modules event > classes in a project? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From a.baudrez at ...626... Sun Nov 10 06:05:25 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Sun, 10 Nov 2013 06:05:25 +0100 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: <1384031245410-44183.post@...3046...> References: <1384031245410-44183.post@...3046...> Message-ID: 2013/11/9 MinnesotaJon > ...... > Wamukota wrote > > The value for the key.enter constant in the 3.5.0 on my box is given as > > 16777221 > > > > ? key.enter > > 16777221 > > > > But, the value returned by key.code in the program is 16777220 in the > > keyrelease or the keypress events which implies that I cannot check if > the > > key pressed is the Enter/Return key using the constants. > > As a workaround I switched to checking for the number or the key.enter > > value as valid values, but I know that is not the way to go.... > > > > Bug? > > Alain -- > > The Enter key and the Return key are actually 2 different keys! > > In my blog post > " > http://beginnersguidetogambas.com/2013/02/12/some-useful-gambas-usages-and-examples/ > ", > I explain: > > Note that the ?Return? key is the ?enter? key near the center of a standard > desktop PC keyboard, with the ?return? symbol. > The ?Enter? key is the ?enter? key at the right side of a standard desktop > PC keyboard, with the numeric keypad. > > The keys are equivalent in function, but each one returns a different key > code. Here is how you use the constants: > > ..... > If Key.Code = Key.Return Or Key.Code = Key.Enter Then > ...... > Endif > > > Hoi, txs for the info. Why is Enter printed on that key on my laptop ?? I would never have guessed to refer to Key.Return instead of key.Enter. Alain From gambas at ...1... Sun Nov 10 10:10:52 2013 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Nov 2013 10:10:52 +0100 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> Message-ID: <527F4D9C.6070502@...1...> Le 10/11/2013 06:05, Alain Baudrez a ?crit : > > Why is Enter printed on that key on my laptop ?? > > I would never have guessed to refer to Key.Return instead of key.Enter. > > Alain Good question: both are named "Enter" (in french) on my keyboard too, but they have always been two different keys internally. You must assume that two physicals different keys should always have different Key.Code values (even if this is not always the case!). -- Beno?t Minisini From a.baudrez at ...626... Sun Nov 10 15:16:46 2013 From: a.baudrez at ...626... (Alain Baudrez) Date: Sun, 10 Nov 2013 15:16:46 +0100 Subject: [Gambas-user] gb.media missing from Kendek PPA In-Reply-To: <527E29CC.1010403@...2007...> References: <527E29CC.1010403@...2007...> Message-ID: 2013/11/9 Kende Kriszti?n > 2013-11-09 13:10 keltez?ssel, Alain Baudrez ?rta: > > I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to > be > > missing. > > > > *Alain J. Baudrez* > > Missing (disabled) on Lucid and Precise, because this components are not > compatible with them. > Kendek, what happens if you develop WITH gb.media on Ubuntu 13.10 and roll-out on using a .deb-file a 12.04.x LTS ? Will the app crash ? From nemh at ...2007... Sun Nov 10 15:49:25 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sun, 10 Nov 2013 15:49:25 +0100 Subject: [Gambas-user] gb.media missing from Kendek PPA In-Reply-To: References: <527E29CC.1010403@...2007...> Message-ID: <527F9CF5.8080502@...2007...> 2013-11-10 15:16 keltez?ssel, Alain Baudrez ?rta: > 2013/11/9 Kende Kriszti?n > >> 2013-11-09 13:10 keltez?ssel, Alain Baudrez ?rta: >>> I just did an install of the 3.5 (3.5.0-6precise1) and gb.media seems to >> be >>> missing. >>> >>> *Alain J. Baudrez* >> Missing (disabled) on Lucid and Precise, because this components are not >> compatible with them. >> > Kendek, > > what happens if you develop WITH gb.media on Ubuntu 13.10 and roll-out on > using a .deb-file a 12.04.x LTS ? Will the app crash ? > No. The created Debian installation package can not be installed because of dependency errors. From mckaygerhard at ...626... Sun Nov 10 22:03:56 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 10 Nov 2013 16:33:56 -0430 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior Message-ID: i read the wiki and sleep its prefered, but sleep stop complete runtime, and wait i dont understand in my program, the main Form, i change wait , and use sleep and then some message before run process (shell executing) do not show either in the other program, only console, works ok! why? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From taboege at ...626... Sun Nov 10 22:14:45 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Nov 2013 22:14:45 +0100 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior In-Reply-To: References: Message-ID: <20131110211445.GG597@...2774...> On Sun, 10 Nov 2013, PICCORO McKAY Lenz wrote: > i read the wiki and sleep its prefered, but sleep stop complete > runtime, and wait i dont understand > > in my program, the main Form, i change wait , and use sleep and then > some message before run process (shell executing) do not show > > either in the other program, only console, works ok! why? > I don't completely understand your words but it's like that: Sleep puts the program to sleep - literally. It just waits for a given time to elapse and then resumes execution. Wait, OTOH, keeps the interpreter active by recursively calling the event loop. This way, events can fire, the GUI can be updated, etc.. So yes, if you use Sleep, the program will "freeze" for the given time while with Wait you can still have your forms redraw themselves and stuff. The thing with the console you mentioned maybe happens as follows (you didn't really provide details): you call an external program through Shell which is not affected by your program being asleep. If you don't catch the output from the Shell instruction (or redirect it), it will be shown in the IDE console, no matter if your program is Sleeping or whatever. Regards, Tobi From dosida at ...626... Mon Nov 11 02:10:06 2013 From: dosida at ...626... (Dimitris Anogiatis) Date: Sun, 10 Nov 2013 18:10:06 -0700 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: <527F4D9C.6070502@...1...> References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> Message-ID: Perhaps its a remnand from the typewriter days...where the separation between line feed and carriage return was more visible due to its mechanical nature. On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 10/11/2013 06:05, Alain Baudrez a ?crit : > > > > Why is Enter printed on that key on my laptop ?? > > > > I would never have guessed to refer to Key.Return instead of key.Enter. > > > > Alain > > Good question: both are named "Enter" (in french) on my keyboard too, > but they have always been two different keys internally. > > You must assume that two physicals different keys should always have > different Key.Code values (even if this is not always the case!). > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From rmorgan62 at ...626... Mon Nov 11 05:01:31 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Sun, 10 Nov 2013 20:01:31 -0800 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> Message-ID: This is an interesting thread.... If you look back at some of the early keyboards you will see that they did name the two keys differently. And this was a hold over from the use of Qwerty keyboards on teletypes and typewriters. The key on the text (main) keyboard is the return key. On teletypes the key causes the carriage to return to the beginning of the line. While the Enter key on the ten-key (numerical) keypad was taken from the mechanical adding machines of the day. The enter key caused the numerical value that was punch into numerical keys to be entered into the calculation. With the move away from these mechanical devices most people (except us old timers) have never seen or used a mechanical ten-key or Underwood typewriter. The effect of the two keys on computer systems today is pretty much the same. However I believe they remain separate for two reasons. First, the need to maintain compatibility with any software that does use them differently and second because the keys are laid out in a matrix fashion that causes each key to have a distinct value. But it would not surprise me if someday the keys are merged. Hope that shines some light on where the difference came from. My first PC was an Altair 8800 without a keyboard. Mice hadn't been invented and remember joy and sense of accomplishment we felt when my father and I got the 88 to draw a circle on the oscilloscope. My first key pad was radio shack's little red (the black ones were n.c. and the red n.o.) all tide together on a piece of paneling. All buffered with 7404 hex inverters and sent to a custom board plugged into the 88's back plane. Those were the days when you build what you programmed. A lot of fun and a lot of work! I sure wish I still had that old 88. It would be worth something now but it was lost in a fire. Ok, I'm done with the nostalgia thanks for letting me share. Hope I shed a bit of light on the key issue. On Sun, Nov 10, 2013 at 5:10 PM, Dimitris Anogiatis wrote: > Perhaps its a remnand from the typewriter days...where the separation > between line feed and carriage return was more visible due to its > mechanical nature. > > > > On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < > gambas at ...1...> wrote: > > > Le 10/11/2013 06:05, Alain Baudrez a ?crit : > > > > > > Why is Enter printed on that key on my laptop ?? > > > > > > I would never have guessed to refer to Key.Return instead of key.Enter. > > > > > > Alain > > > > Good question: both are named "Enter" (in french) on my keyboard too, > > but they have always been two different keys internally. > > > > You must assume that two physicals different keys should always have > > different Key.Code values (even if this is not always the case!). > > > > -- > > Beno?t Minisini > > > > > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. > > Explore > > techniques for threading, error checking, porting, and tuning. Get the > most > > from the latest Intel processors and coprocessors. See abstracts and > > register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > 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 ualex73 at ...626... Mon Nov 11 07:27:32 2013 From: ualex73 at ...626... (Alexie) Date: Mon, 11 Nov 2013 07:27:32 +0100 Subject: [Gambas-user] External library and calling functions? Message-ID: Hi All, Gambas is very capable of interfacing with external libraries, as documented in: http://gambasdoc.org/help/howto/extern?v3 I got it all working fine, i can call a function inside the library and i get a value back (if there is a return value in the function). Only I want something else now ... Within the library there is a watch/notifier thread running which captures data from the serialport. This data comes in independantly from the calls done to the library. Is it possible to define a hook in Gambas (or the library) that the library can initiate calls and push information to the main Gambas application? Thus without having to call a certain function to poll the data, i want to have it pushed from the library. Regards, Alex From jf.monteiro at ...43... Mon Nov 11 10:06:28 2013 From: jf.monteiro at ...43... (Jose Monteiro) Date: Mon, 11 Nov 2013 01:06:28 -0800 (PST) Subject: [Gambas-user] DataView: how to know data of a certain cell? Message-ID: <1384160788.11712.YahooMailNeo@...3213...> Using Gambas 3.4.2, I've put two DataView's on the same window, first one connected on a table. How can I grab the data of a certain cell, on a user selected roll?? I want to use this data to create a sql string and populate the second DataView. Regards Jos? Monteiro From gambas at ...1... Mon Nov 11 15:00:54 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 11 Nov 2013 15:00:54 +0100 Subject: [Gambas-user] External library and calling functions? In-Reply-To: References: Message-ID: <5280E316.3000801@...1...> Le 11/11/2013 07:27, Alexie a ?crit : > Hi All, > > Gambas is very capable of interfacing with external libraries, as > documented in: > http://gambasdoc.org/help/howto/extern?v3 > > I got it all working fine, i can call a function inside the library and i > get a value back (if there is a return value in the function). > > Only I want something else now ... Within the library there is a > watch/notifier thread running which captures data from the serialport. This > data comes in independantly from the calls done to the library. > > Is it possible to define a hook in Gambas (or the library) that the library > can initiate calls and push information to the main Gambas application? > Thus without having to call a certain function to poll the data, i want to > have it pushed from the library. > > Regards, > Alex You can use any gambas function as callback *provided that the callback is called in the main thread and not in another thread*. Regards, -- Beno?t Minisini From ualex73 at ...626... Mon Nov 11 16:21:02 2013 From: ualex73 at ...626... (Alexie) Date: Mon, 11 Nov 2013 16:21:02 +0100 Subject: [Gambas-user] External library and calling functions? In-Reply-To: <5280E316.3000801@...1...> References: <5280E316.3000801@...1...> Message-ID: Hi Benoit, That sounds very promsing, but do you have an example of such callback coded in Gambas? I can't really find it in the previous link for external libraries. Regards, Alex 2013/11/11 Beno?t Minisini > Le 11/11/2013 07:27, Alexie a ?crit : > > Hi All, > > > > Gambas is very capable of interfacing with external libraries, as > > documented in: > > http://gambasdoc.org/help/howto/extern?v3 > > > > I got it all working fine, i can call a function inside the library and i > > get a value back (if there is a return value in the function). > > > > Only I want something else now ... Within the library there is a > > watch/notifier thread running which captures data from the serialport. > This > > data comes in independantly from the calls done to the library. > > > > Is it possible to define a hook in Gambas (or the library) that the > library > > can initiate calls and push information to the main Gambas application? > > Thus without having to call a certain function to poll the data, i want > to > > have it pushed from the library. > > > > Regards, > > Alex > > You can use any gambas function as callback *provided that the callback > is called in the main thread and not in another thread*. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ualex73 at ...626... Mon Nov 11 16:22:59 2013 From: ualex73 at ...626... (Alexie) Date: Mon, 11 Nov 2013 16:22:59 +0100 Subject: [Gambas-user] External library and calling functions? In-Reply-To: References: <5280E316.3000801@...1...> Message-ID: Ok, found an example on the following link: http://www.gambasdoc.org/help/lang/extdecl?v3 Will try it out :) 2013/11/11 Alexie > Hi Benoit, > > That sounds very promsing, but do you have an example of such callback > coded in Gambas? I can't really find it in the previous link for external > libraries. > > Regards, > Alex > > > 2013/11/11 Beno?t Minisini > >> Le 11/11/2013 07:27, Alexie a ?crit : >> > Hi All, >> > >> > Gambas is very capable of interfacing with external libraries, as >> > documented in: >> > http://gambasdoc.org/help/howto/extern?v3 >> > >> > I got it all working fine, i can call a function inside the library and >> i >> > get a value back (if there is a return value in the function). >> > >> > Only I want something else now ... Within the library there is a >> > watch/notifier thread running which captures data from the serialport. >> This >> > data comes in independantly from the calls done to the library. >> > >> > Is it possible to define a hook in Gambas (or the library) that the >> library >> > can initiate calls and push information to the main Gambas application? >> > Thus without having to call a certain function to poll the data, i want >> to >> > have it pushed from the library. >> > >> > Regards, >> > Alex >> >> You can use any gambas function as callback *provided that the callback >> is called in the main thread and not in another thread*. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming models. >> Explore >> techniques for threading, error checking, porting, and tuning. Get the >> most >> from the latest Intel processors and coprocessors. See abstracts and >> register >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From nando_f at ...951... Mon Nov 11 17:26:19 2013 From: nando_f at ...951... (nando) Date: Mon, 11 Nov 2013 11:26:19 -0500 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> Message-ID: <20131111162404.M91946@...951...> Thank you for the nostalgia. I had an 8800b - lots of fun. and I do remember the black ones were NC. Early in the PC days, there was no keypad. I remember explicitly when the keypad came into use, the keypad ENTER was a different code. Caused me a headache, but allowed for using the keypad differently too. Good and bad. -Fernando ---------- Original Message ----------- From: Randall Morgan To: mailing list for gambas users Sent: Sun, 10 Nov 2013 20:01:31 -0800 Subject: Re: [Gambas-user] Key code constant wrong? > This is an interesting thread.... If you look back at some of the early > keyboards you will see that they did name the two keys differently. And > this was a hold over from the use of Qwerty keyboards on teletypes and > typewriters. The key on the text (main) keyboard is the return key. On > teletypes the key causes the carriage to return to the beginning of the > line. While the Enter key on the ten-key (numerical) keypad was taken from > the mechanical adding machines of the day. The enter key caused the > numerical value that was punch into numerical keys to be entered into the > calculation. > > With the move away from these mechanical devices most people (except us old > timers) have never seen or used a mechanical ten-key or Underwood > typewriter. The effect of the two keys on computer systems today is pretty > much the same. However I believe they remain separate for two reasons. > First, the need to maintain compatibility with any software that does use > them differently and second because the keys are laid out in a matrix > fashion that causes each key to have a distinct value. But it would not > surprise me if someday the keys are merged. > > Hope that shines some light on where the difference came from. My first PC > was an Altair 8800 without a keyboard. Mice hadn't been invented and > remember joy and sense of accomplishment we felt when my father and I got > the 88 to draw a circle on the oscilloscope. My first key pad was radio > shack's little red (the black ones were n.c. and the red n.o.) all tide > together on a piece of paneling. All buffered with 7404 hex inverters and > sent to a custom board plugged into the 88's back plane. Those were the > days when you build what you programmed. A lot of fun and a lot of work! I > sure wish I still had that old 88. It would be worth something now but it > was lost in a fire. > > Ok, I'm done with the nostalgia thanks for letting me share. Hope I shed a > bit of light on the key issue. > > On Sun, Nov 10, 2013 at 5:10 PM, Dimitris Anogiatis wrote: > > > Perhaps its a remnand from the typewriter days...where the separation > > between line feed and carriage return was more visible due to its > > mechanical nature. > > > > > > > > On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < > > gambas at ...1...> wrote: > > > > > Le 10/11/2013 06:05, Alain Baudrez a ?crit : > > > > > > > > Why is Enter printed on that key on my laptop ?? > > > > > > > > I would never have guessed to refer to Key.Return instead of key.Enter. > > > > > > > > Alain > > > > > > Good question: both are named "Enter" (in french) on my keyboard too, > > > but they have always been two different keys internally. > > > > > > You must assume that two physicals different keys should always have > > > different Key.Code values (even if this is not always the case!). > > > > > > -- > > > Beno?t Minisini > > > > > > > > > > > ------------------------------------------------------------------------------ > > > November Webinars for C, C++, Fortran Developers > > > Accelerate application performance with scalable programming models. > > > Explore > > > techniques for threading, error checking, porting, and tuning. Get the > > most > > > from the latest Intel processors and coprocessors. See abstracts and > > > register > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. > > Explore > > techniques for threading, error checking, porting, and tuning. Get the most > > from the latest Intel processors and coprocessors. See abstracts and > > register > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > 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? > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From mckaygerhard at ...626... Mon Nov 11 18:06:51 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 11 Nov 2013 12:36:51 -0430 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior Message-ID: From: Tobias Boege > Sleep puts the program to sleep - literally. It just waits for a given time > to elapse and then resumes execution. all programs inherint and parent? !! ok thnks for clarification! but some details more: > > Wait, OTOH, keeps the interpreter active by recursively calling the event > loop. This way, events can fire, the GUI can be updated, etc.. ok but if i used waith in console? i do not note the behabior?? that's why i made the question as u see > > The thing with the console you mentioned maybe happens as follows (you > didn't really provide details): you call an external program through Shell > which is not affected by your program being asleep. If you don't catch the > output from the Shell instruction (or redirect it), it will be shown in the > IDE console, no matter if your program is Sleeping or whatever. ok but i try also calling other things internally inside lopp and do not have same behabior as when use gui forms > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From taboege at ...626... Mon Nov 11 18:20:24 2013 From: taboege at ...626... (Tobias Boege) Date: Mon, 11 Nov 2013 18:20:24 +0100 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior In-Reply-To: References: Message-ID: <20131111172024.GF598@...2774...> On Mon, 11 Nov 2013, PICCORO McKAY Lenz wrote: > From: Tobias Boege > > Sleep puts the program to sleep - literally. It just waits for a given time > > to elapse and then resumes execution. > all programs inherint and parent? !! ok thnks for clarification! but > some details more: I didn't say anything about a parent or inheritance, did I? > > > > Wait, OTOH, keeps the interpreter active by recursively calling the event > > loop. This way, events can fire, the GUI can be updated, etc.. > ok but if i used waith in console? i do not note the behabior??? that's > why i made the question as u see What do you mean by "waith in console"? Assuming "waith" contains a typo, how would you use Wait in console? Do you mean: the Wait instruction in a Gambas program without GUI or do you mean the "wait" program in a shell? Or do you mean you start an external program in a shell from a Gambas program and then use Wait? And... what "behaviour" do you mean after all? In the paragraph you responded to above, I was talking about the event loop running when you use Wait. How could that possibly *not* happen in a console program using Wait? I'm not sure if I can really help you because I can't even guess what your words mean - unlike others, I noticed! > > > > The thing with the console you mentioned maybe happens as follows (you > > didn't really provide details): you call an external program through Shell > > which is not affected by your program being asleep. If you don't catch the > > output from the Shell instruction (or redirect it), it will be shown in the > > IDE console, no matter if your program is Sleeping or whatever. > ok but i try also calling other things internally inside lopp and do > not have same behabior as when use gui forms > > > It would be best if you send some code and try again to explain to me what you think is inconsistent or confuses you. Regards, Tobi From rmorgan62 at ...626... Mon Nov 11 19:30:18 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Mon, 11 Nov 2013 10:30:18 -0800 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: <20131111162404.M91946@...951...> References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> <20131111162404.M91946@...951...> Message-ID: BTW, Most Enter Keys on Qwerty keyboards still maintain the old line-feed/Carriage-Return Arrow. An arrow that goes down and then to the left. Does your laptop Enter key have that icon? If so, that is the icon for "Return". On Mon, Nov 11, 2013 at 8:26 AM, nando wrote: > Thank you for the nostalgia. > I had an 8800b - lots of fun. > and I do remember the black ones were NC. > > Early in the PC days, there was no keypad. > I remember explicitly when the keypad came into use, > the keypad ENTER was a different code. > Caused me a headache, but allowed for using the keypad differently too. > Good and bad. > > -Fernando > > > ---------- Original Message ----------- > From: Randall Morgan > To: mailing list for gambas users > Sent: Sun, 10 Nov 2013 20:01:31 -0800 > Subject: Re: [Gambas-user] Key code constant wrong? > > > This is an interesting thread.... If you look back at some of the early > > keyboards you will see that they did name the two keys differently. And > > this was a hold over from the use of Qwerty keyboards on teletypes and > > typewriters. The key on the text (main) keyboard is the return key. On > > teletypes the key causes the carriage to return to the beginning of the > > line. While the Enter key on the ten-key (numerical) keypad was taken > from > > the mechanical adding machines of the day. The enter key caused the > > numerical value that was punch into numerical keys to be entered into the > > calculation. > > > > With the move away from these mechanical devices most people (except us > old > > timers) have never seen or used a mechanical ten-key or Underwood > > typewriter. The effect of the two keys on computer systems today is > pretty > > much the same. However I believe they remain separate for two reasons. > > First, the need to maintain compatibility with any software that does use > > them differently and second because the keys are laid out in a matrix > > fashion that causes each key to have a distinct value. But it would not > > surprise me if someday the keys are merged. > > > > Hope that shines some light on where the difference came from. My first > PC > > was an Altair 8800 without a keyboard. Mice hadn't been invented and > > remember joy and sense of accomplishment we felt when my father and I got > > the 88 to draw a circle on the oscilloscope. My first key pad was radio > > shack's little red (the black ones were n.c. and the red n.o.) all tide > > together on a piece of paneling. All buffered with 7404 hex inverters and > > sent to a custom board plugged into the 88's back plane. Those were the > > days when you build what you programmed. A lot of fun and a lot of work! > I > > sure wish I still had that old 88. It would be worth something now but it > > was lost in a fire. > > > > Ok, I'm done with the nostalgia thanks for letting me share. Hope I shed > a > > bit of light on the key issue. > > > > On Sun, Nov 10, 2013 at 5:10 PM, Dimitris Anogiatis >wrote: > > > > > Perhaps its a remnand from the typewriter days...where the separation > > > between line feed and carriage return was more visible due to its > > > mechanical nature. > > > > > > > > > > > > On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < > > > gambas at ...1...> wrote: > > > > > > > Le 10/11/2013 06:05, Alain Baudrez a ?crit : > > > > > > > > > > Why is Enter printed on that key on my laptop ?? > > > > > > > > > > I would never have guessed to refer to Key.Return instead of > key.Enter. > > > > > > > > > > Alain > > > > > > > > Good question: both are named "Enter" (in french) on my keyboard too, > > > > but they have always been two different keys internally. > > > > > > > > You must assume that two physicals different keys should always have > > > > different Key.Code values (even if this is not always the case!). > > > > > > > > -- > > > > Beno?t Minisini > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > November Webinars for C, C++, Fortran Developers > > > > Accelerate application performance with scalable programming models. > > > > Explore > > > > techniques for threading, error checking, porting, and tuning. Get > the > > > most > > > > from the latest Intel processors and coprocessors. See abstracts and > > > > register > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > > November Webinars for C, C++, Fortran Developers > > > Accelerate application performance with scalable programming models. > > > Explore > > > techniques for threading, error checking, porting, and tuning. Get the > most > > > from the latest Intel processors and coprocessors. See abstracts and > > > register > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > 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? > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. > Explore > > techniques for threading, error checking, porting, and tuning. Get the > most > > from the latest Intel processors and coprocessors. See abstracts and > register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > 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 mckaygerhard at ...626... Mon Nov 11 19:31:28 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 11 Nov 2013 14:01:28 -0430 Subject: [Gambas-user] how to make threats Message-ID: mi previous question no have response , so i reformuled: how to i can make threatds? i mean i wish to make daemons in gambas... if i started a gui proyect its easy, but if i started a console project do not know how to made that! wiki its vage in this and there's no examples in source -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Mon Nov 11 19:53:51 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 11 Nov 2013 14:23:51 -0430 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior Message-ID: From: Tobias Boege > On Mon, 11 Nov 2013, PICCORO McKAY Lenz wrote: >> From: Tobias Boege >> > Sleep puts the program to sleep - literally. It just waits for a given >> > time >> > to elapse and then resumes execution. >> all programs inherint and parent? !! ok thnks for clarification! but >> some details more: > sorry for my very bad english Tobias, i hate that languaje, u clarify me very well the usage.. but in one simple question, its same for a gambas program console without gui? in gui projects, there's a main threat running, and wait do not stop that, but in console there's no main threath , u got it?! From taboege at ...626... Mon Nov 11 20:21:51 2013 From: taboege at ...626... (Tobias Boege) Date: Mon, 11 Nov 2013 20:21:51 +0100 Subject: [Gambas-user] wait vs sleep confusion, console works, graphically have strange behabior In-Reply-To: References: Message-ID: <20131111192151.GJ598@...2774...> On Mon, 11 Nov 2013, PICCORO McKAY Lenz wrote: > From: Tobias Boege > > On Mon, 11 Nov 2013, PICCORO McKAY Lenz wrote: > >> From: Tobias Boege > >> > Sleep puts the program to sleep - literally. It just waits for a given > >> > time > >> > to elapse and then resumes execution. > >> all programs inherint and parent? !! ok thnks for clarification! but > >> some details more: > > > sorry for my very bad english Tobias, i hate that languaje, u clarify > me very well the usage.. but in one simple question, its same for a > gambas program console without gui? > > in gui projects, there's a main threat running, and wait do not stop > that, but in console there's no main threath , u got it?! > Ahh. Actually, there is no "main thread" or something. Gambas is single- threaded throughout. In GUI programs, the so-called "event loop" kicks in automatically because you have windows open. See the docs[0]. You can also force the event loop to run by putting While True Wait 2 ^ 30 Wend before your Main() ends. This will call the event loop forever without being too busy in the loop. So your program will not terminate except when you use Quit or something. BTW: Gambas is a nice language. You cannot make threats with it :-) Threads are also not possible in Gambas currently. (You should look up the word "threat" in a dictionary.) The closest thing you can have is "Task" but I've no experience with this. Regards, Tobi [0] http://gambasdoc.org/help/cat/eventloop?v3 From bbruen at ...2308... Mon Nov 11 21:47:27 2013 From: bbruen at ...2308... (Bruce) Date: Tue, 12 Nov 2013 07:17:27 +1030 Subject: [Gambas-user] Semi-persistent pop-up form? Message-ID: <1384202847.443.17.camel@...2688...> Is there some way to make a popup form only close on a specific user action? In the attached picture, I have a popup form displaying some statistical guff about the data displayed in the main form. (I have pixelised the main form just to highlight the popup.) As per design, as soon as the user clicks on the main form, the popup disappears. In fact, as soon as the user clicks (anything) the popup disappears. What I would like to have happen is that the popup remain active until the user performs a specific action e.g. presses Alt+F, or whatever. (I have tried both the Show and ShowModal approaches, but they have other problems with things like positioning the popup correctly, multiple copies etc etc. ShowPopup seems to give the best operation so far.) Even getting to the point of only closing the popup if the click is within the main form window would help. Any ideas? tia Bruce -------------- next part -------------- A non-text attachment was scrubbed... Name: TODO manager (v3)_006.png Type: image/png Size: 118357 bytes Desc: not available URL: From gambas at ...1... Mon Nov 11 22:30:54 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 11 Nov 2013 22:30:54 +0100 Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: <1384202847.443.17.camel@...2688...> References: <1384202847.443.17.camel@...2688...> Message-ID: <52814C8E.80101@...1...> Le 11/11/2013 21:47, Bruce a ?crit : > Is there some way to make a popup form only close on a specific user > action? > > In the attached picture, I have a popup form displaying some statistical > guff about the data displayed in the main form. (I have pixelised the > main form just to highlight the popup.) > > As per design, as soon as the user clicks on the main form, the popup > disappears. In fact, as soon as the user clicks (anything) the popup > disappears. > > What I would like to have happen is that the popup remain active until > the user performs a specific action e.g. presses Alt+F, or whatever. > > (I have tried both the Show and ShowModal approaches, but they have > other problems with things like positioning the popup correctly, > multiple copies etc etc. ShowPopup seems to give the best operation so > far.) > > Even getting to the point of only closing the popup if the click is > within the main form window would help. > > Any ideas? > > tia > Bruce > Look at the Window.Utility property. Regards, -- Beno?t Minisini From nando_f at ...951... Mon Nov 11 23:31:56 2013 From: nando_f at ...951... (nando) Date: Mon, 11 Nov 2013 17:31:56 -0500 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: <20131111223034.M18671@...951...> one way is to make use rc.local file and place the name of the executable there with a & at the end to make it run in the background. ---------- Original Message ----------- From: PICCORO McKAY Lenz To: mailing list for gambas users Sent: Mon, 11 Nov 2013 14:01:28 -0430 Subject: [Gambas-user] how to make threats > mi previous question no have response , so i reformuled: > > how to i can make threatds? i mean i wish to make daemons in gambas... > > if i started a gui proyect its easy, but if i started a console > project do not know how to made that! wiki its vage in this and > there's no examples in source > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From bbruen at ...2308... Tue Nov 12 00:19:04 2013 From: bbruen at ...2308... (Bruce) Date: Tue, 12 Nov 2013 09:49:04 +1030 Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: <52814C8E.80101@...1...> References: <1384202847.443.17.camel@...2688...> <52814C8E.80101@...1...> Message-ID: <1384211944.443.22.camel@...2688...> On Mon, 2013-11-11 at 22:30 +0100, Beno?t Minisini wrote: > Le 11/11/2013 21:47, Bruce a ?crit : > > Is there some way to make a popup form only close on a specific user > > action? > > > > In the attached picture, I have a popup form displaying some statistical > > guff about the data displayed in the main form. (I have pixelised the > > main form just to highlight the popup.) > > > > As per design, as soon as the user clicks on the main form, the popup > > disappears. In fact, as soon as the user clicks (anything) the popup > > disappears. > > > > What I would like to have happen is that the popup remain active until > > the user performs a specific action e.g. presses Alt+F, or whatever. > > > > (I have tried both the Show and ShowModal approaches, but they have > > other problems with things like positioning the popup correctly, > > multiple copies etc etc. ShowPopup seems to give the best operation so > > far.) > > > > Even getting to the point of only closing the popup if the click is > > within the main form window would help. > > > > Any ideas? > > > > tia > > Bruce > > > > Look at the Window.Utility property. > > Regards, > Wonderful! Almost there. The only problem I have left (ha-ha!) is moving the main form to another virtual desktop. In LXDE I can drag the main form to the next or prior desktop (or use the window menu "Send to Desktop"), I presume that there are equivalent features on other desktops, I've just forgotten. When I do this with the "utility" window open it moves the main form correctly but leaves the utility on the original desktop. This may be an LXDE or OpenBox issue, but I thought maybe someone has got an idea. tia -- Bruce Paddys-Hill dot net From charles at ...1784... Tue Nov 12 08:09:38 2013 From: charles at ...1784... (charlesg) Date: Mon, 11 Nov 2013 23:09:38 -0800 (PST) Subject: [Gambas-user] How to open new examples in gambas, after finishing with one. In-Reply-To: <1384184244974-44200.post@...3046...> References: <1384184244974-44200.post@...3046...> Message-ID: <1384240178469-44212.post@...3046...> assuming you are using Gambas3: File, Open example -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-open-new-examples-in-gambas-after-finishing-with-one-tp44200p44212.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Tue Nov 12 09:52:46 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 12 Nov 2013 09:52:46 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: <20131111223034.M18671@...951...> References: <20131111223034.M18671@...951...> Message-ID: <5281EC5E.9050408@...221...> And how would you stop such a thread when you finish the main program (GUI)? Am 11.11.2013 23:31, schrieb nando: > one way is to make use rc.local file > and place the name of the executable there > with a & at the end to make it run in the background. > > > ---------- Original Message ----------- > From: PICCORO McKAY Lenz > To: mailing list for gambas users > Sent: Mon, 11 Nov 2013 14:01:28 -0430 > Subject: [Gambas-user] how to make threats > >> mi previous question no have response , so i reformuled: >> >> how to i can make threatds? i mean i wish to make daemons in gambas... >> >> if i started a gui proyect its easy, but if i started a console >> project do not know how to made that! wiki its vage in this and >> there's no examples in source >> >> -- >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ------------------------------------------------------------------------------ >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming models. Explore >> techniques for threading, error checking, porting, and tuning. Get the most >> from the latest Intel processors and coprocessors. See abstracts and register >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Nov 12 09:56:11 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 12 Nov 2013 09:56:11 +0100 Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: <1384211944.443.22.camel@...2688...> References: <1384202847.443.17.camel@...2688...> <52814C8E.80101@...1...> <1384211944.443.22.camel@...2688...> Message-ID: <5281ED2B.2010005@...221...> Am 12.11.2013 00:19, schrieb Bruce: > On Mon, 2013-11-11 at 22:30 +0100, Beno?t Minisini wrote: >> Le 11/11/2013 21:47, Bruce a ?crit : >>> Is there some way to make a popup form only close on a specific user >>> action? >>> >>> In the attached picture, I have a popup form displaying some statistical >>> guff about the data displayed in the main form. (I have pixelised the >>> main form just to highlight the popup.) >>> >>> As per design, as soon as the user clicks on the main form, the popup >>> disappears. In fact, as soon as the user clicks (anything) the popup >>> disappears. >>> >>> What I would like to have happen is that the popup remain active until >>> the user performs a specific action e.g. presses Alt+F, or whatever. >>> >>> (I have tried both the Show and ShowModal approaches, but they have >>> other problems with things like positioning the popup correctly, >>> multiple copies etc etc. ShowPopup seems to give the best operation so >>> far.) >>> >>> Even getting to the point of only closing the popup if the click is >>> within the main form window would help. >>> >>> Any ideas? >>> >>> tia >>> Bruce >>> >> >> Look at the Window.Utility property. >> >> Regards, >> > > Wonderful! Almost there. The only problem I have left (ha-ha!) is > moving the main form to another virtual desktop. In LXDE I can drag the > main form to the next or prior desktop (or use the window menu "Send to > Desktop"), I presume that there are equivalent features on other > desktops, I've just forgotten. > > When I do this with the "utility" window open it moves the main form > correctly but leaves the utility on the original desktop. > > This may be an LXDE or OpenBox issue, but I thought maybe someone has > got an idea. > > tia > The only idea that springs to my mind is: your program has to care about this. Your program will have to know whether or not the utility window is open and can close it and reopen it on the other screen. Is that a way? Rolf From jf.monteiro at ...43... Tue Nov 12 10:49:09 2013 From: jf.monteiro at ...43... (Jose Monteiro) Date: Tue, 12 Nov 2013 01:49:09 -0800 (PST) Subject: [Gambas-user] Feeding a DataView using data from another DataView Message-ID: <1384249749.534.YahooMailNeo@...3228...> Please guys, some help here. I'm at the middle of a program for controlling a process for a chemical company. 1 - There is a DataSource linked to a table and containing a Dataview. The DataView will show hundreds of rows. 2 - There is another DataSource, which will use a sql statement, containing another DataView. This one will show a few rows, based on the sql statement. The situation: When the user clicks on a certain row of the first DataView, I need to grab the value of the field "Contract_Number" so I can create the sql statement for the second DataSource. The question: How can I grab the field value? There is no click event and the mouse down event, even with track enabled on DataView control, does not work. Regards Jose Monteiro From nando_f at ...951... Tue Nov 12 12:00:38 2013 From: nando_f at ...951... (nando) Date: Tue, 12 Nov 2013 06:00:38 -0500 Subject: [Gambas-user] how to make threats In-Reply-To: <5281EC5E.9050408@...221...> References: <20131111223034.M18671@...951...> <5281EC5E.9050408@...221...> Message-ID: <20131112104942.M71393@...951...> There are many ways to accomplish this: Some examples are: 1. In a terminal, use the 'top' command. Notice the PID. Press k to kill it. 2. again, in a terminal, you can use commands such as ps -aux, kill, pkill achieve the same thing. 3. I have used this (simple) method on many occasions: the background program occasionally looks for the existance of a particular directory. I use a timer for this. When the directory is found existing, it is deleted and it terminates itself. I have used the directory idea in the opposite way too: the background program creates a file or folder. Anything can delete(rm or rmdir) it. Occasionally, the background program doesn't find it exists and terminates itself. -F ---------- Original Message ----------- From: Rolf-Werner Eilert To: gambas-user at lists.sourceforge.net Sent: Tue, 12 Nov 2013 09:52:46 +0100 Subject: Re: [Gambas-user] how to make threats > And how would you stop such a thread when you finish the main program (GUI)? > > Am 11.11.2013 23:31, schrieb nando: > > one way is to make use rc.local file > > and place the name of the executable there > > with a & at the end to make it run in the background. > > > > > > ---------- Original Message ----------- > > From: PICCORO McKAY Lenz > > To: mailing list for gambas users > > Sent: Mon, 11 Nov 2013 14:01:28 -0430 > > Subject: [Gambas-user] how to make threats > > > >> mi previous question no have response , so i reformuled: > >> > >> how to i can make threatds? i mean i wish to make daemons in gambas... > >> > >> if i started a gui proyect its easy, but if i started a console > >> project do not know how to made that! wiki its vage in this and > >> there's no examples in source > >> > >> -- > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> ------------------------------------------------------------------------------ > >> November Webinars for C, C++, Fortran Developers > >> Accelerate application performance with scalable programming models. Explore > >> techniques for threading, error checking, porting, and tuning. Get the most > >> from the latest Intel processors and coprocessors. See abstracts and register > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------- End of Original Message ------- > > > > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. Explore > > techniques for threading, error checking, porting, and tuning. Get the most > > from the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From vuott at ...325... Tue Nov 12 12:08:59 2013 From: vuott at ...325... (Ru Vuott) Date: Tue, 12 Nov 2013 11:08:59 +0000 (GMT) Subject: [Gambas-user] Questions about reading of a text file with "Read". Message-ID: <1384254539.98239.YahooMailBasic@...3070...> Hello, ...I would have specific questions about the reading of a text file with "Read". I intend to read a text file in string representation using the classic command "Open For ... READ" Dim s As String Read #fluxus, s Print s 1) Why don't I get the error "End of file", *only if* the file is composed of number (amount) of characters NOT less than 49 ? 2) Why, even if the file is made up of a quantity of more than 49 characters, are read *only* 48 characters ? 3) Why is not read the first character , but instead Read reads from the 2nd to the 49th character? Thanks vuotttt p.s.: [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.8.0-19-generic Architecture=x86_64 Distribution=Linux Mint 15 Olivia Desktop=GNOME Theme=QCleanlooks Language=it_IT.UTF-8 Memory=1246M From nando_f at ...951... Tue Nov 12 13:51:42 2013 From: nando_f at ...951... (nando) Date: Tue, 12 Nov 2013 07:51:42 -0500 Subject: [Gambas-user] Questions about reading of a text file with "Read". In-Reply-To: <1384254539.98239.YahooMailBasic@...3070...> References: <1384254539.98239.YahooMailBasic@...3070...> Message-ID: <20131112124550.M5894@...951...> Please read the help on READ. When you specify a string variable 's' with out a length then the string length byte is read first. So your string you are reading is probably 49 characters long and Im guessing the first is probably character 48 so it will only read 48 characters starting in the next position. -Fernando ---------- Original Message ----------- From: Ru Vuott To: gambas-user at lists.sourceforge.net Sent: Tue, 12 Nov 2013 11:08:59 +0000 (GMT) Subject: [Gambas-user] Questions about reading of a text file with "Read". > Hello, > > ...I would have specific questions about the reading of a text file with "Read". > > I intend to read a text file in string representation using the classic command > "Open For ... READ" > > Dim s As String > > Read #fluxus, s > Print s > > 1) Why don't I get the error "End of file", *only if* the file is composed of > number (amount) of characters NOT less than 49 ? > > 2) Why, even if the file is made up of a quantity of more than 49 characters, > are read *only* 48 characters ? > > 3) Why is not read the first character , but instead Read reads from the 2nd to > the 49th character? > > Thanks > vuotttt > > p.s.: [System] > Gambas=3.5.90 > OperatingSystem=Linux > Kernel=3.8.0-19-generic > Architecture=x86_64 > Distribution=Linux Mint 15 Olivia > Desktop=GNOME > Theme=QCleanlooks > Language=it_IT.UTF-8 > Memory=1246M > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From nando_f at ...951... Tue Nov 12 14:11:44 2013 From: nando_f at ...951... (nando) Date: Tue, 12 Nov 2013 08:11:44 -0500 Subject: [Gambas-user] Question READ WRITE in V3 Message-ID: <20131112130448.M85693@...951...> Benoit, I use (still) v1.17 and v2 and I use the READ and WRITE statements I have not ported to v3 yet. When I was replying to someone's issue about READ I came across the V3 help for READ Question: is it still true that WRITE #file, s,14 will write 14 bytes and NOT write the length first just as it did in other versions. Perhaps the help in V3 could reflect that. -Fernando From taboege at ...626... Tue Nov 12 14:22:25 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 12 Nov 2013 14:22:25 +0100 Subject: [Gambas-user] Edit specialised Forms in the IDE Message-ID: <20131112132225.GB497@...2774...> Hi, I have written a StatusbarForm.class which is a Form with a built-in Statusbar. Some people seem to like this sort of thing. My class hierarchy looks like this: - Statusbar.class (a Statusbar) - _StatusbarLabel.class (to manage the contents of a Statusbar) - Form -> StatusbarForm.class (Inherits Form and builds a Statusbar) -> FMain.class (Inherits StatusbarForm) FMain is an example of a StatusbarForm to run the project. First question: Is this a good way to specialise the Form class? Second question: How do I now edit FMain in the IDE Form editor? I believe this is possible, as the Report class can do it - I only can't find the right charm. Regards, Tobi From gambas at ...1... Tue Nov 12 14:25:16 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 12 Nov 2013 14:25:16 +0100 Subject: [Gambas-user] Question READ WRITE in V3 In-Reply-To: <20131112130448.M85693@...951...> References: <20131112130448.M85693@...951...> Message-ID: <52822C3C.4050309@...1...> Le 12/11/2013 14:11, nando a ?crit : > Benoit, > I use (still) v1.17 and v2 and I use the READ and WRITE statements > I have not ported to v3 yet. > > When I was replying to someone's issue about READ > I came across the V3 help for READ > > Question: is it still true that WRITE #file, s,14 > will write 14 bytes and NOT write the length first > just as it did in other versions. > > Perhaps the help in V3 could reflect that. > -Fernando > In the wiki you have a combo-box on the top of the screen that allows you to switch between v2 and v3 documentation. -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Nov 12 14:26:00 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 12 Nov 2013 15:26:00 +0200 Subject: [Gambas-user] how to make threats In-Reply-To: <20131112104942.M71393@...951...> References: <20131111223034.M18671@...951...> <5281EC5E.9050408@...221...> <20131112104942.M71393@...951...> Message-ID: Why not to start needed program with "exec", if you need it with GUI program? 'Start: hProcess = Exec ["gbr3", PathToProgram &/ "YourApp.gambas"] 'Kill: hProcess.Kill() Jussi On Tue, Nov 12, 2013 at 1:00 PM, nando wrote: > There are many ways to accomplish this: > Some examples are: > > 1. In a terminal, use the 'top' command. Notice the PID. Press k to kill > it. > 2. again, in a terminal, you can use commands such as ps -aux, kill, pkill > achieve the same thing. > 3. I have used this (simple) method on many occasions: > the background program occasionally looks for the existance of a > particular directory. I use a timer for this. > When the directory is found existing, it is deleted and it terminates > itself. > I have used the directory idea in the opposite way too: the background > program > creates a file or folder. Anything can delete(rm or rmdir) it. > Occasionally, the background program doesn't find it exists and > terminates itself. > -F > > > ---------- Original Message ----------- > From: Rolf-Werner Eilert > To: gambas-user at lists.sourceforge.net > Sent: Tue, 12 Nov 2013 09:52:46 +0100 > Subject: Re: [Gambas-user] how to make threats > > > And how would you stop such a thread when you finish the main program > (GUI)? > > > > Am 11.11.2013 23:31, schrieb nando: > > > one way is to make use rc.local file > > > and place the name of the executable there > > > with a & at the end to make it run in the background. > > > > > > > > > ---------- Original Message ----------- > > > From: PICCORO McKAY Lenz > > > To: mailing list for gambas users > > > Sent: Mon, 11 Nov 2013 14:01:28 -0430 > > > Subject: [Gambas-user] how to make threats > > > > > >> mi previous question no have response , so i reformuled: > > >> > > >> how to i can make threatds? i mean i wish to make daemons in gambas... > > >> > > >> if i started a gui proyect its easy, but if i started a console > > >> project do not know how to made that! wiki its vage in this and > > >> there's no examples in source > > >> > > >> -- > > >> Lenz McKAY Gerardo (PICCORO) > > >> http://qgqlochekone.blogspot.com > > >> > > >> > ------------------------------------------------------------------------------ > > >> November Webinars for C, C++, Fortran Developers > > >> Accelerate application performance with scalable programming models. > Explore > > >> techniques for threading, error checking, porting, and tuning. Get > the most > > >> from the latest Intel processors and coprocessors. See abstracts and > register > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > >> _______________________________________________ > > >> Gambas-user mailing list > > >> Gambas-user at lists.sourceforge.net > > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------- End of Original Message ------- > > > > > > > > > > ------------------------------------------------------------------------------ > > > November Webinars for C, C++, Fortran Developers > > > Accelerate application performance with scalable programming models. > Explore > > > techniques for threading, error checking, porting, and tuning. Get the > most > > > from the latest Intel processors and coprocessors. See abstracts and > register > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. > Explore > > techniques for threading, error checking, porting, and tuning. Get the > most > > from the latest Intel processors and coprocessors. See abstracts and > register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------- End of Original Message ------- > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. > Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and > register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Nov 12 14:28:21 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 12 Nov 2013 14:28:21 +0100 Subject: [Gambas-user] Edit specialised Forms in the IDE In-Reply-To: <20131112132225.GB497@...2774...> References: <20131112132225.GB497@...2774...> Message-ID: <52822CF5.3030006@...1...> Le 12/11/2013 14:22, Tobias Boege a ?crit : > Hi, > > I have written a StatusbarForm.class which is a Form with a built-in > Statusbar. Some people seem to like this sort of thing. > > My class hierarchy looks like this: > > - Statusbar.class (a Statusbar) > - _StatusbarLabel.class (to manage the contents of a Statusbar) > - Form > -> StatusbarForm.class (Inherits Form and builds a Statusbar) > -> FMain.class (Inherits StatusbarForm) > > FMain is an example of a StatusbarForm to run the project. > > First question: Is this a good way to specialise the Form class? > Second question: How do I now edit FMain in the IDE Form editor? > > I believe this is possible, as the Report class can do it - I only can't > find the right charm. > > Regards, > Tobi > You should make a StatusBar control instead, that behaves "the good way" when put inside a Form (or any other container). Imagine that someone else add a feature to the Form class the same way: you won't be able to use the two features at the same time. So inheritance is not the good method for adding new features to the Form class. Regards, -- Beno?t Minisini From gambas at ...1... Tue Nov 12 14:39:59 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 12 Nov 2013 14:39:59 +0100 Subject: [Gambas-user] Feeding a DataView using data from another DataView In-Reply-To: <1384249749.534.YahooMailNeo@...3228...> References: <1384249749.534.YahooMailNeo@...3228...> Message-ID: <52822FAF.2060508@...1...> Le 12/11/2013 10:49, Jose Monteiro a ?crit : > Please guys, some help here. I'm at the middle of a program for > controlling a process for a chemical company. > > 1 - There is a DataSource linked to a table and containing a > Dataview. The DataView will show hundreds of rows. > > 2 - There is another DataSource, which will use a sql statement, > containing another DataView. This one will show a few rows, based on > the sql statement. > > The situation: When the user clicks on a certain row of the first > DataView, I need to grab the value of the field "Contract_Number" so > I can create the sql statement for the second DataSource. > > The question: How can I grab the field value? There is no click event > and the mouse down event, even with track enabled on DataView > control, does not work. > > Regards Jose Monteiro The DataView emits an 'Activate' event each time its current record changes. The DataSource emits a 'Change' event when its current record changes too. The DataSource has methods and properties to get the contents of the current record. Look at the wiki documentation. Regards, -- Beno?t Minisini From nando_f at ...951... Tue Nov 12 14:44:19 2013 From: nando_f at ...951... (nando) Date: Tue, 12 Nov 2013 08:44:19 -0500 Subject: [Gambas-user] Question READ WRITE in V3 In-Reply-To: <52822C3C.4050309@...1...> References: <20131112130448.M85693@...951...> <52822C3C.4050309@...1...> Message-ID: <20131112134241.M12272@...951...> Thanks Benoit, but actually, my question wasn't about how to get help for V2, it was is it still true that WRITE #file, s, 14 will only write 14 bytes and NOT write the length first (as it did in other versions) ---------- Original Message ----------- From: Beno?t Minisini To: nando_f at ...951..., mailing list for gambas users Sent: Tue, 12 Nov 2013 14:25:16 +0100 Subject: Re: [Gambas-user] Question READ WRITE in V3 > Le 12/11/2013 14:11, nando a ?crit : > > Benoit, > > I use (still) v1.17 and v2 and I use the READ and WRITE statements > > I have not ported to v3 yet. > > > > When I was replying to someone's issue about READ > > I came across the V3 help for READ > > > > Question: is it still true that WRITE #file, s,14 > > will write 14 bytes and NOT write the length first > > just as it did in other versions. > > > > Perhaps the help in V3 could reflect that. > > -Fernando > > > > In the wiki you have a combo-box on the top of the screen that allows > you to switch between v2 and v3 documentation. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From gambas at ...1... Tue Nov 12 14:50:10 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 12 Nov 2013 14:50:10 +0100 Subject: [Gambas-user] Question READ WRITE in V3 In-Reply-To: <20131112134241.M12272@...951...> References: <20131112130448.M85693@...951...> <52822C3C.4050309@...1...> <20131112134241.M12272@...951...> Message-ID: <52823212.90600@...1...> Le 12/11/2013 14:44, nando a ?crit : > Thanks Benoit, but actually, my question wasn't about how to get help for V2, > it was > > is it still true that WRITE #file, s, 14 > will only write 14 bytes and NOT write the length first > (as it did in other versions) WRITE #hfile, s, 14 never wrote the string length first, neither in Gambas 2 or Gambas 3. If you specify the length, only the string contents is written. No length first. The change between Gambas 2 and Gambas 3 is that now, a specific syntax is used to write the binary representation of a data: WRITE #hFile, expr AS type So now, `WRITE #hFile, expr` will always write the contents of `expr` converted to a string. The Gambas 2 syntax was badly ambiguous, hence the new syntax. Regards, -- Beno?t Minisini From nicholso at ...2533... Tue Nov 12 15:30:00 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Tue, 12 Nov 2013 06:30:00 -0800 (PST) Subject: [Gambas-user] Feeding a DataView using data from another DataView In-Reply-To: <1384249749.534.YahooMailNeo@...3228...> References: <1384249749.534.YahooMailNeo@...3228...> Message-ID: <1384266600207-44228.post@...3046...> Jose -- Remember that there is a big difference between a MouseDown event on the DataView *control*, and an Activate event on a field containing information, inside that control. -- View this message in context: http://gambas.8142.n7.nabble.com/Feeding-a-DataView-using-data-from-another-DataView-tp44216p44228.html Sent from the gambas-user mailing list archive at Nabble.com. From nicholso at ...2533... Tue Nov 12 15:39:22 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Tue, 12 Nov 2013 06:39:22 -0800 (PST) Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: <1384202847.443.17.camel@...2688...> References: <1384202847.443.17.camel@...2688...> Message-ID: <1384267162509-44229.post@...3046...> Bruce -- You may want to try using the Desktop component, which allows you to easily switch active (top-level) windows. It seems that I can't attach a file here, on a "Reply", so I will e-mail you a small program showing how this component works. If you have two virtual desktops open, activating a window in the other desktop will bring it into the current desktop. (I'm using XFCE, it is probably the same for LDXE.) Regards -- View this message in context: http://gambas.8142.n7.nabble.com/Semi-persistent-pop-up-form-tp44208p44229.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Nov 12 16:12:59 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 12 Nov 2013 16:12:59 +0100 Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: <1384211944.443.22.camel@...2688...> References: <1384202847.443.17.camel@...2688...> <52814C8E.80101@...1...> <1384211944.443.22.camel@...2688...> Message-ID: <5282457B.3090504@...1...> Le 12/11/2013 00:19, Bruce a ?crit : > On Mon, 2013-11-11 at 22:30 +0100, Beno?t Minisini wrote: >> Le 11/11/2013 21:47, Bruce a ?crit : >>> Is there some way to make a popup form only close on a specific user >>> action? >>> >>> In the attached picture, I have a popup form displaying some statistical >>> guff about the data displayed in the main form. (I have pixelised the >>> main form just to highlight the popup.) >>> >>> As per design, as soon as the user clicks on the main form, the popup >>> disappears. In fact, as soon as the user clicks (anything) the popup >>> disappears. >>> >>> What I would like to have happen is that the popup remain active until >>> the user performs a specific action e.g. presses Alt+F, or whatever. >>> >>> (I have tried both the Show and ShowModal approaches, but they have >>> other problems with things like positioning the popup correctly, >>> multiple copies etc etc. ShowPopup seems to give the best operation so >>> far.) >>> >>> Even getting to the point of only closing the popup if the click is >>> within the main form window would help. >>> >>> Any ideas? >>> >>> tia >>> Bruce >>> >> >> Look at the Window.Utility property. >> >> Regards, >> > > Wonderful! Almost there. The only problem I have left (ha-ha!) is > moving the main form to another virtual desktop. In LXDE I can drag the > main form to the next or prior desktop (or use the window menu "Send to > Desktop"), I presume that there are equivalent features on other > desktops, I've just forgotten. > > When I do this with the "utility" window open it moves the main form > correctly but leaves the utility on the original desktop. > > This may be an LXDE or OpenBox issue, but I thought maybe someone has > got an idea. > > tia > This may be a window manager issue: on KDE, if you move the main window on another virtual desktop, the utility window follows. Check which gui component you actually use: gb.qt4 or gb.gtk. If you use gb.gui, define the GB_GUI environment variable to "gb.qt4" or "gb.gtk". The problem may come from that (i.e. the toolkit may not give enough information to the window manager to let him decide what to do with the utility window). On X11, the window manager job is... managing windows. The application must not deal with that. So if the window manager is not very clever, you have problems like that! -- Beno?t Minisini From gambas.fr at ...626... Tue Nov 12 17:14:58 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 12 Nov 2013 17:14:58 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: References: <20131111223034.M18671@...951...> <5281EC5E.9050408@...221...> <20131112104942.M71393@...951...> Message-ID: There is the TASK class too. http://gambasdoc.org/help/comp/gb/task?v3 2013/11/12 Jussi Lahtinen : > Why not to start needed program with "exec", if you need it with GUI > program? > > 'Start: > hProcess = Exec ["gbr3", PathToProgram &/ "YourApp.gambas"] > > 'Kill: > hProcess.Kill() > > > Jussi > > > > On Tue, Nov 12, 2013 at 1:00 PM, nando wrote: > >> There are many ways to accomplish this: >> Some examples are: >> >> 1. In a terminal, use the 'top' command. Notice the PID. Press k to kill >> it. >> 2. again, in a terminal, you can use commands such as ps -aux, kill, pkill >> achieve the same thing. >> 3. I have used this (simple) method on many occasions: >> the background program occasionally looks for the existance of a >> particular directory. I use a timer for this. >> When the directory is found existing, it is deleted and it terminates >> itself. >> I have used the directory idea in the opposite way too: the background >> program >> creates a file or folder. Anything can delete(rm or rmdir) it. >> Occasionally, the background program doesn't find it exists and >> terminates itself. >> -F >> >> >> ---------- Original Message ----------- >> From: Rolf-Werner Eilert >> To: gambas-user at lists.sourceforge.net >> Sent: Tue, 12 Nov 2013 09:52:46 +0100 >> Subject: Re: [Gambas-user] how to make threats >> >> > And how would you stop such a thread when you finish the main program >> (GUI)? >> > >> > Am 11.11.2013 23:31, schrieb nando: >> > > one way is to make use rc.local file >> > > and place the name of the executable there >> > > with a & at the end to make it run in the background. >> > > >> > > >> > > ---------- Original Message ----------- >> > > From: PICCORO McKAY Lenz >> > > To: mailing list for gambas users >> > > Sent: Mon, 11 Nov 2013 14:01:28 -0430 >> > > Subject: [Gambas-user] how to make threats >> > > >> > >> mi previous question no have response , so i reformuled: >> > >> >> > >> how to i can make threatds? i mean i wish to make daemons in gambas... >> > >> >> > >> if i started a gui proyect its easy, but if i started a console >> > >> project do not know how to made that! wiki its vage in this and >> > >> there's no examples in source >> > >> >> > >> -- >> > >> Lenz McKAY Gerardo (PICCORO) >> > >> http://qgqlochekone.blogspot.com >> > >> >> > >> >> ------------------------------------------------------------------------------ >> > >> November Webinars for C, C++, Fortran Developers >> > >> Accelerate application performance with scalable programming models. >> Explore >> > >> techniques for threading, error checking, porting, and tuning. Get >> the most >> > >> from the latest Intel processors and coprocessors. See abstracts and >> register >> > >> >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > >> _______________________________________________ >> > >> Gambas-user mailing list >> > >> Gambas-user at lists.sourceforge.net >> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------- End of Original Message ------- >> > > >> > > >> > > >> ------------------------------------------------------------------------------ >> > > November Webinars for C, C++, Fortran Developers >> > > Accelerate application performance with scalable programming models. >> Explore >> > > techniques for threading, error checking, porting, and tuning. Get the >> most >> > > from the latest Intel processors and coprocessors. See abstracts and >> register >> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > > _______________________________________________ >> > > Gambas-user mailing list >> > > Gambas-user at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > >> > >> > >> ------------------------------------------------------------------------------ >> > November Webinars for C, C++, Fortran Developers >> > Accelerate application performance with scalable programming models. >> Explore >> > techniques for threading, error checking, porting, and tuning. Get the >> most >> > from the latest Intel processors and coprocessors. See abstracts and >> register >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------- End of Original Message ------- >> >> >> >> ------------------------------------------------------------------------------ >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming models. >> Explore >> techniques for threading, error checking, porting, and tuning. Get the most >> from the latest Intel processors and coprocessors. See abstracts and >> register >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From paulwheeler at ...546... Tue Nov 12 20:45:00 2013 From: paulwheeler at ...546... (paulwheeler) Date: Tue, 12 Nov 2013 12:45:00 -0700 Subject: [Gambas-user] Semi-persistent pop-up form? In-Reply-To: References: Message-ID: <5282853C.1040206@...546...> Bruce, Unfortunately, I have no answer for your question, but wanted to say that your illustrations are SO COOL! If you don't mind my asking, how did you do them? paul On 11/11/2013 01:47 PM, Bruce wrote: > Is there some way to make a popup form only close on a specific user > action? > > In the attached picture, I have a popup form displaying some statistical > guff about the data displayed in the main form. (I have pixelised the > main form just to highlight the popup.) > > As per design, as soon as the user clicks on the main form, the popup > disappears. In fact, as soon as the user clicks (anything) the popup > disappears. > > What I would like to have happen is that the popup remain active until > the user performs a specific action e.g. presses Alt+F, or whatever. > > (I have tried both the Show and ShowModal approaches, but they have > other problems with things like positioning the popup correctly, > multiple copies etc etc. ShowPopup seems to give the best operation so > far.) > > Even getting to the point of only closing the popup if the click is > within the main form window would help. > > Any ideas? > > tia > Bruce > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nemh at ...2007... Wed Nov 13 18:16:45 2013 From: nemh at ...2007... (=?ISO-8859-2?Q?Kende_Kriszti=E1n?=) Date: Wed, 13 Nov 2013 18:16:45 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 Message-ID: <5283B3FD.4080309@...2007...> It seems that this was a very well done release. Gambas3-runtime was downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) Kendek From gambas at ...1... Wed Nov 13 18:46:08 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 13 Nov 2013 18:46:08 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <5283B3FD.4080309@...2007...> References: <5283B3FD.4080309@...2007...> Message-ID: <5283BAE0.3000704@...1...> Le 13/11/2013 18:16, Kende Kriszti?n a ?crit : > It seems that this was a very well done release. Gambas3-runtime was > downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) > > Kendek > 15000 times! OK, I will make it official.. -- Beno?t Minisini From mckaygerhard at ...626... Wed Nov 13 20:58:23 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 13 Nov 2013 15:28:23 -0430 Subject: [Gambas-user] How to use connections/resultsets from gb.web scripts? Message-ID: From: Jesus >> May be because he's not a "winbuntu" user... ;-) >yes u have right.. i never use it! I've noticed that those who use it >in my office, always need more resources, more ram, more cpu power, > and the justification always "updates, vesion raise", but their individual > performance results never "raised", interesting, whereas with what I use, my results > always evolve, without need to consume more resources than i already have it Jesus, so then continue reading: From: Beno?t Minisini >I think it's: USE "gb.db", with quotes. so then thanks benoit, was a mistake in the second mail as u can see note that u write : > 'USE gb.db' event the : > USE "gb.db" now thanks i can made now a little example, such its good to see my script are working, will solve many thinks (and off the php code) thanks so much Benoit, next step its module procesing comunicacions (how can use modules or start a web page made from project ide) NOW A EXAMPLE (one that works using more components) ------------------------------------------------------------------------------------------------- i already know its not the right usage due its a parse interpretation by gambas script interpreter, but for now its good example, so then Benoit provide one better (remenber that works also in gambas 3.4.0 this one i use): 1) made a gambas project, and when u made a gambas web page the extension will be "webpage" 2) made this extension interpreted by the cgi script ( i mean a simple interpretation) as such apache or lighttpd does with python or perl scrips, of couse if python process pl files gbw3 will process webpages files 3) so then expose the "webpage" file to http server (example sabe as xx.webpage and copy this file to /var/www/ html docs root), this are the code example to made a db connection, as u can see the firts line said that will be interpreted as script and procesed by cgi only the output results.. so next step its parse results between modules process #!/usr/bin/env gbw3 <% USE "gb.db" DIM print AS String Dim conps As Connection conps = New Connection 'creamos la instancia de la conexion conps.Type = "postgresql" conps.Name = "sys" ' 1) abrir conexcion con el usuario y clave conps.host = "localhost" conps.Port = 5432 conps.User = "sys" conps.Password = "1234" Try conps.Open %>

CGI script database connection example BY PICCORO Lenz McKAY

<% print = " VenenuX connection postgres abierta? " & conps.Opened %> <%= print %>
<% print = " host " & conps.Host & " base de datos " & conps.Name %> <%= print %>
The script its really similar as mocosft script's pages .. such gambas its similar as mocosotf basic languaje... gambas its great and easy to use.. this similitudes are something pain in my work je je je -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Nov 13 21:05:17 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 13 Nov 2013 15:35:17 -0430 Subject: [Gambas-user] how to make threats Message-ID: Tobias respond me this in another topic: From: Tobias Boege > Subject: Re: [Gambas-user] wait vs sleep confusion, console works, > > Ahh. Actually, there is no "main thread" or something. Gambas is single- > threaded throughout. In GUI programs, the so-called "event loop" kicks in > automatically because you have windows open. See the docs[0]. That its a bad notice for me.. i think about simulate that multithread by making separate projects and call each then complied as EXECT AS PROCESS etc etc.. this can work as expected? but i dont know how to manage multiple projects inside one in the ide! > You can also > force the event loop to run by putting > > While True > Wait 2 ^ 30 > Wend > yeah that's basic men, but my program its a daemon that must downloading several files parallel, so with this loop only acepts one event per loop (either if i use wget as process and manage such) > BTW: Gambas is a nice language. You cannot make threats with it :-) yeah i like very much gambas, not for easy, DUE ITS NOT PORTED TO GUINDOWS! > Threads are also not possible in Gambas currently. (You should look up the word > "threat" in a dictionary.) The closest thing you can have is "Task" but > I've > no experience with this. where i find examples about taks in gambas? > > Regards, > Tobi > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mckaygerhard at ...626... Wed Nov 13 21:14:30 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 13 Nov 2013 15:44:30 -0430 Subject: [Gambas-user] how to make threats Message-ID: From: Rolf-Werner Eilert >And how would you stop such a thread when you finish the main program (GUI)? >> one way is to make use rc.local file >> and place the name of the executable there >> with a & at the end to make it run in the background. i talking about making "threaths" not daemonization, that's so easy., using debian policy and the "sstart-stop-daemon" program provides with dpkg!!!! its not only made that program runs without stop! my god! the most important think its made thinks independent of another already executed the control when strat or stop are handle by u'r program logic ok! if u talk about a daemon, daemon do not stop until a STOP EVENT was received and CAPTURED.... as i said to Tobias Boege: i think about simulate that multithread by making separate projects and call each then complied as EXECT AS PROCESS etc etc.. this can work as expected? but i dont know how to manage multiple projects inside one in the ide! also Tobias talk about "Task", where i find examples about taks in gambas? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas.fr at ...626... Wed Nov 13 21:16:39 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 13 Nov 2013 21:16:39 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: 2013/11/13 PICCORO McKAY Lenz : > Tobias respond me this in another topic: > > From: Tobias Boege >> Subject: Re: [Gambas-user] wait vs sleep confusion, console works, >> >> Ahh. Actually, there is no "main thread" or something. Gambas is single- >> threaded throughout. In GUI programs, the so-called "event loop" kicks in >> automatically because you have windows open. See the docs[0]. > > That its a bad notice for me.. i think about simulate that multithread > by making separate projects and call each then complied as EXECT AS > PROCESS etc etc.. this can work as expected? but i dont know how to > manage multiple projects inside one in the ide! > >> You can also >> force the event loop to run by putting >> >> While True >> Wait 2 ^ 30 >> Wend >> > yeah that's basic men, but my program its a daemon that must > downloading several files parallel, so with this loop only acepts one > event per loop (either if i use wget as process and manage such) > >> BTW: Gambas is a nice language. You cannot make threats with it :-) > yeah i like very much gambas, not for easy, DUE ITS NOT PORTED TO GUINDOWS! > >> Threads are also not possible in Gambas currently. (You should look up the word >> "threat" in a dictionary.) The closest thing you can have is "Task" but >> I've >> no experience with this. > > where i find examples about taks in gambas? in the fractal example > >> >> Regards, >> Tobi >> > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From sebikul at ...626... Wed Nov 13 21:20:18 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 13 Nov 2013 18:20:18 -0200 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: I had the same problem, you can look at my solution here [0]. Basically, i used a pool of HttpClients with the async property set to True. The logic goes like this. I have an index files which tracks around 120 files stored online. Not going to get into how i update each file without downloading the rest, but suppose i want to download all files to build a local copy. By default, i create an array of 10 HttpClient instances. With DEFAULT_CLIENT_COUNT you can set it to be more. I then load each URL into a queue and start a timer which runs every 10 ms. In each run, the timer checks for a free HttpClient instance, if there is one it loads it with the popped URL and saves the file into a predefined folder with the same name as it was stored in the server. It runs until the queue count is 0. You could use tasks, but i found this to be better as it is easier to keep track of the progress. [0] http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Index.module On Wed, Nov 13, 2013 at 5:05 PM, PICCORO McKAY Lenz wrote: > Tobias respond me this in another topic: > > From: Tobias Boege > > Subject: Re: [Gambas-user] wait vs sleep confusion, console works, > > > > Ahh. Actually, there is no "main thread" or something. Gambas is single- > > threaded throughout. In GUI programs, the so-called "event loop" kicks in > > automatically because you have windows open. See the docs[0]. > > That its a bad notice for me.. i think about simulate that multithread > by making separate projects and call each then complied as EXECT AS > PROCESS etc etc.. this can work as expected? but i dont know how to > manage multiple projects inside one in the ide! > > > You can also > > force the event loop to run by putting > > > > While True > > Wait 2 ^ 30 > > Wend > > > yeah that's basic men, but my program its a daemon that must > downloading several files parallel, so with this loop only acepts one > event per loop (either if i use wget as process and manage such) > > > BTW: Gambas is a nice language. You cannot make threats with it :-) > yeah i like very much gambas, not for easy, DUE ITS NOT PORTED TO GUINDOWS! > > > Threads are also not possible in Gambas currently. (You should look up > the word > > "threat" in a dictionary.) The closest thing you can have is "Task" but > > I've > > no experience with this. > > where i find examples about taks in gambas? > > > > > Regards, > > Tobi > > > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Nov 13 21:29:28 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 13 Nov 2013 21:29:28 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: <20131113202928.GD507@...2774...> On Wed, 13 Nov 2013, Sebastian Kulesz wrote: > I had the same problem, you can look at my solution here [0]. Basically, i > used a pool of HttpClients with the async property set to True. > > The logic goes like this. I have an index files which tracks around 120 > files stored online. Not going to get into how i update each file without > downloading the rest, but suppose i want to download all files to build a > local copy. By default, i create an array of 10 HttpClient instances. With > DEFAULT_CLIENT_COUNT you can set it to be more. > I then load each URL into a queue and start a timer which runs every 10 ms. > In each run, the timer checks for a free HttpClient instance, if there is > one it loads it with the popped URL and saves the file into a predefined > folder with the same name as it was stored in the server. It runs until the > queue count is 0. > > You could use tasks, but i found this to be better as it is easier to keep > track of the progress. > > > > [0] > http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Index.module > Argh! There is a sweet little Queue class in gb.data. I even wrote documentation for it! And you keep using Private $aQueue As String[]? :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Wed Nov 13 21:35:01 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 13 Nov 2013 21:35:01 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: <5283E275.2030603@...1...> Le 13/11/2013 21:14, PICCORO McKAY Lenz a ?crit : > From: Rolf-Werner Eilert >> And how would you stop such a thread when you finish the main program (GUI)? >>> one way is to make use rc.local file >>> and place the name of the executable there >>> with a & at the end to make it run in the background. > i talking about making "threaths" not daemonization, that's so easy., > using debian policy and the "sstart-stop-daemon" program provides > with dpkg!!!! > its not only made that program runs without stop! my god! > > the most important think its made thinks independent of another already executed > > the control when strat or stop are handle by u'r program logic ok! if u > talk about a daemon, daemon do not stop until a STOP EVENT was received > and CAPTURED.... > > as i said to Tobias Boege: > > i think about simulate that multithread > by making separate projects and call each then complied as EXECT AS > PROCESS etc etc.. this can work as expected? but i dont know how to > manage multiple projects inside one in the ide! > > also Tobias talk about "Task", where i find examples about taks in gambas? > Look at the Mandelbrot example: it computes the Mandelbrot set by dividing the job among several tasks. Internally a task is a just the interpreter that has forked. See the fork() system call man page to get detail information about what happens behind the curtain. -- Beno?t Minisini From sebikul at ...626... Wed Nov 13 21:35:46 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 13 Nov 2013 18:35:46 -0200 Subject: [Gambas-user] how to make threats In-Reply-To: <20131113202928.GD507@...2774...> References: <20131113202928.GD507@...2774...> Message-ID: On Wed, Nov 13, 2013 at 5:29 PM, Tobias Boege wrote: > On Wed, 13 Nov 2013, Sebastian Kulesz wrote: > > I had the same problem, you can look at my solution here [0]. Basically, > i > > used a pool of HttpClients with the async property set to True. > > > > The logic goes like this. I have an index files which tracks around 120 > > files stored online. Not going to get into how i update each file without > > downloading the rest, but suppose i want to download all files to build a > > local copy. By default, i create an array of 10 HttpClient instances. > With > > DEFAULT_CLIENT_COUNT you can set it to be more. > > I then load each URL into a queue and start a timer which runs every 10 > ms. > > In each run, the timer checks for a free HttpClient instance, if there is > > one it loads it with the popped URL and saves the file into a predefined > > folder with the same name as it was stored in the server. It runs until > the > > queue count is 0. > > > > You could use tasks, but i found this to be better as it is easier to > keep > > track of the progress. > > > > > > > > [0] > > > http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Index.module > > > > Argh! There is a sweet little Queue class in gb.data. I even wrote > documentation for it! And you keep using Private $aQueue As String[]? :-) > I know, sorry!! Last commit to that module was December of last year. It was before the gb.data API was stable enough to use it. :P > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Nov 13 21:38:58 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 13 Nov 2013 21:38:58 +0100 Subject: [Gambas-user] how to make threats In-Reply-To: References: Message-ID: The loop i use for gb.map is defferent I have an array of 4 httpserver. Then i have an array of n files to download --> get a free client Private Sub GetClient() As HttpClient Dim i As Integer For i = 0 To $aClients.max If $aClients[i].Status = Net.Inactive Then Return $aClients[i] Next End Public Sub tmrGet_Timer() Dim sUrl As String Dim hClient As HttpClient Do if MyArray.Count = 0 then Return hClient = GetClient() if hClient = Null then Return sUrl = MyArray.Pop() hClient.Url = sUrl hClient.Get(Null, $sPath &/ File.Name(sUrl)) hClient.Tag = sUrl loop END Public Sub Client_Finished() $TmrGet.Trigger End To Launch the process : tmrGet.Trigger so with that until all the files in MyArray are not loaded the loop continue. A call to trigger fight the timer only time by event loop so it not freeze the app. if many call to timer is done at the same time only one is fight by event loop. I use that also to refresh the map during effect animation. 2013/11/13 Sebastian Kulesz : > I had the same problem, you can look at my solution here [0]. Basically, i > used a pool of HttpClients with the async property set to True. > > The logic goes like this. I have an index files which tracks around 120 > files stored online. Not going to get into how i update each file without > downloading the rest, but suppose i want to download all files to build a > local copy. By default, i create an array of 10 HttpClient instances. With > DEFAULT_CLIENT_COUNT you can set it to be more. > I then load each URL into a queue and start a timer which runs every 10 ms. > In each run, the timer checks for a free HttpClient instance, if there is > one it loads it with the popped URL and saves the file into a predefined > folder with the same name as it was stored in the server. It runs until the > queue count is 0. > > You could use tasks, but i found this to be better as it is easier to keep > track of the progress. > > > > [0] > http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Index.module > > > On Wed, Nov 13, 2013 at 5:05 PM, PICCORO McKAY Lenz > wrote: > >> Tobias respond me this in another topic: >> >> From: Tobias Boege >> > Subject: Re: [Gambas-user] wait vs sleep confusion, console works, >> > >> > Ahh. Actually, there is no "main thread" or something. Gambas is single- >> > threaded throughout. In GUI programs, the so-called "event loop" kicks in >> > automatically because you have windows open. See the docs[0]. >> >> That its a bad notice for me.. i think about simulate that multithread >> by making separate projects and call each then complied as EXECT AS >> PROCESS etc etc.. this can work as expected? but i dont know how to >> manage multiple projects inside one in the ide! >> >> > You can also >> > force the event loop to run by putting >> > >> > While True >> > Wait 2 ^ 30 >> > Wend >> > >> yeah that's basic men, but my program its a daemon that must >> downloading several files parallel, so with this loop only acepts one >> event per loop (either if i use wget as process and manage such) >> >> > BTW: Gambas is a nice language. You cannot make threats with it :-) >> yeah i like very much gambas, not for easy, DUE ITS NOT PORTED TO GUINDOWS! >> >> > Threads are also not possible in Gambas currently. (You should look up >> the word >> > "threat" in a dictionary.) The closest thing you can have is "Task" but >> > I've >> > no experience with this. >> >> where i find examples about taks in gambas? >> >> > >> > Regards, >> > Tobi >> > >> >> -- >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> >> ------------------------------------------------------------------------------ >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From kevinfishburne at ...1887... Thu Nov 14 06:13:31 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 14 Nov 2013 00:13:31 -0500 Subject: [Gambas-user] sge component and md2 file modeling software Message-ID: <52845BFB.6070204@...1887...> Using the example program as a reference I was able to successfully render one of its included md2 models. If anyone needs a very spartan starter tutorial, my basic code looks like this: ' Model array declared at beginning of Render module. Public Model[32768] As Md2Object ' Model loading procedure test (index 500 is arbitrary). Dim TempModel As Md2Model TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") Model[500] = New Md2Object(TempModel) ' Render command after OpenGL matrix has been set. Model[500].Draw I've been having a hell of a time finding decent modeling software that can export to the md2 format, as it is very old (though quite nice for my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 when it tries to execute the Draw method. Does anyone have any insight into what modeling applications exist that can export to md2 format? I'd love to learn Blender, but all the md2 export scripts I found failed. I think they were designed for older versions. Maybe I should look for an old Blender version...or contact the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge component, thank you. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From rmorgan62 at ...626... Thu Nov 14 11:13:14 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 14 Nov 2013 02:13:14 -0800 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <52845BFB.6070204@...1887...> References: <52845BFB.6070204@...1887...> Message-ID: Misfit, Fragmotion, and Quake 2 Model Editor (native support) Blender, Cenima 4D, and Studio Max (all with plugins) Marvelous Designer (for character clothing development) Checkout: https://dev.metaio.com/content-creation/3d-animation/format/md2/ GameDev ought to have some info as well.... On Wed, Nov 13, 2013 at 9:13 PM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > Using the example program as a reference I was able to successfully > render one of its included md2 models. If anyone needs a very spartan > starter tutorial, my basic code looks like this: > > ' Model array declared at beginning of Render module. > Public Model[32768] As Md2Object > > ' Model loading procedure test (index 500 is arbitrary). > Dim TempModel As Md2Model > TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") > TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") > Model[500] = New Md2Object(TempModel) > > ' Render command after OpenGL matrix has been set. > Model[500].Draw > > I've been having a hell of a time finding decent modeling software that > can export to the md2 format, as it is very old (though quite nice for > my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock > Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 > when it tries to execute the Draw method. > > Does anyone have any insight into what modeling applications exist that > can export to md2 format? I'd love to learn Blender, but all the md2 > export scripts I found failed. I think they were designed for older > versions. Maybe I should look for an old Blender version...or contact > the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge > component, thank you. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > 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... Thu Nov 14 11:21:24 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 14 Nov 2013 11:21:24 +0100 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <52845BFB.6070204@...1887...> References: <52845BFB.6070204@...1887...> Message-ID: <5284A424.7010508@...1...> Le 14/11/2013 06:13, Kevin Fishburne a ?crit : > Using the example program as a reference I was able to successfully > render one of its included md2 models. If anyone needs a very spartan > starter tutorial, my basic code looks like this: > > ' Model array declared at beginning of Render module. > Public Model[32768] As Md2Object You should really stop using all these embedded arrays, and use normal arrays instead ! :-) -- Beno?t Minisini From gambas.fr at ...626... Thu Nov 14 13:34:13 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 14 Nov 2013 13:34:13 +0100 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <52845BFB.6070204@...1887...> References: <52845BFB.6070204@...1887...> Message-ID: Le 14 nov. 2013 06:14, "Kevin Fishburne" a ?crit : > > Using the example program as a reference I was able to successfully > render one of its included md2 models. If anyone needs a very spartan > starter tutorial, my basic code looks like this: > > ' Model array declared at beginning of Render module. > Public Model[32768] As Md2Object > > ' Model loading procedure test (index 500 is arbitrary). > Dim TempModel As Md2Model > TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") > TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") > Model[500] = New Md2Object(TempModel) > > ' Render command after OpenGL matrix has been set. > Model[500].Draw > > I've been having a hell of a time finding decent modeling software that > can export to the md2 format, as it is very old (though quite nice for > my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock > Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 > when it tries to execute the Draw method. > > Does anyone have any insight into what modeling applications exist that > can export to md2 format? I'd love to learn Blender, but all the md2 > export scripts I found failed. I think they were designed for older > versions. Maybe I should look for an old Blender version...or contact > the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge > component, thank you. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > Maybe the best will be to add another format more accurate with the current technologies. > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From rmorgan62 at ...626... Thu Nov 14 13:41:39 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 14 Nov 2013 04:41:39 -0800 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: References: <52845BFB.6070204@...1887...> Message-ID: Yes, I do think adding support for newer model types would be good. Perhaps even add support for models done in solid works.... On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard wrote: > Le 14 nov. 2013 06:14, "Kevin Fishburne" > a ?crit : > > > > Using the example program as a reference I was able to successfully > > render one of its included md2 models. If anyone needs a very spartan > > starter tutorial, my basic code looks like this: > > > > ' Model array declared at beginning of Render module. > > Public Model[32768] As Md2Object > > > > ' Model loading procedure test (index 500 is arbitrary). > > Dim TempModel As Md2Model > > TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") > > TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") > > Model[500] = New Md2Object(TempModel) > > > > ' Render command after OpenGL matrix has been set. > > Model[500].Draw > > > > I've been having a hell of a time finding decent modeling software that > > can export to the md2 format, as it is very old (though quite nice for > > my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock > > Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 > > when it tries to execute the Draw method. > > > > Does anyone have any insight into what modeling applications exist that > > can export to md2 format? I'd love to learn Blender, but all the md2 > > export scripts I found failed. I think they were designed for older > > versions. Maybe I should look for an old Blender version...or contact > > the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge > > component, thank you. > > > > -- > > Kevin Fishburne > > Eight Virtues > > www: http://sales.eightvirtues.com > > e-mail: sales at ...1887... > > phone: (770) 853-6271 > > > > Maybe the best will be to add another format more accurate with the current > technologies. > > > > > > > ------------------------------------------------------------------------------ > > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > > Free app hosting. Or install the open source package on any LAMP server. > > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > > > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > 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 kevinfishburne at ...1887... Thu Nov 14 19:51:16 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 14 Nov 2013 13:51:16 -0500 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: References: <52845BFB.6070204@...1887...> Message-ID: <52851BA4.6000105@...1887...> On 11/14/2013 07:41 AM, Randall Morgan wrote: > Yes, I do think adding support for newer model types would be good. Perhaps > even add support for models done in solid works.... > > > On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard wrote: > >> Le 14 nov. 2013 06:14, "Kevin Fishburne" >> a ?crit : >>> Using the example program as a reference I was able to successfully >>> render one of its included md2 models. If anyone needs a very spartan >>> starter tutorial, my basic code looks like this: >>> >>> ' Model array declared at beginning of Render module. >>> Public Model[32768] As Md2Object >>> >>> ' Model loading procedure test (index 500 is arbitrary). >>> Dim TempModel As Md2Model >>> TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") >>> TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") >>> Model[500] = New Md2Object(TempModel) >>> >>> ' Render command after OpenGL matrix has been set. >>> Model[500].Draw >>> >>> I've been having a hell of a time finding decent modeling software that >>> can export to the md2 format, as it is very old (though quite nice for >>> my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock >>> Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 >>> when it tries to execute the Draw method. >>> >>> Does anyone have any insight into what modeling applications exist that >>> can export to md2 format? I'd love to learn Blender, but all the md2 >>> export scripts I found failed. I think they were designed for older >>> versions. Maybe I should look for an old Blender version...or contact >>> the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge >>> component, thank you. >>> >>> -- >>> Kevin Fishburne >>> Eight Virtues >>> www: http://sales.eightvirtues.com >>> e-mail: sales at ...1887... >>> phone: (770) 853-6271 >>> >> Maybe the best will be to add another format more accurate with the current >> technologies. Thanks everyone. I'll give the mentioned programs a try and keep investigating. I looked up Blender's stock export formats on Wikipedia and the only one that looks useful is X3D: http://en.wikipedia.org/wiki/X3D http://www.web3d.org/realtime-3d/x3d/what-x3d Seems geared toward rendering in a web browser, although I don't know why it couldn't be implemented outside of one. I searched the package names for x3d and couldn't find anything. Maybe there's a lib out there somewhere. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Fri Nov 15 04:39:32 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Thu, 14 Nov 2013 22:39:32 -0500 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <52851BA4.6000105@...1887...> References: <52845BFB.6070204@...1887...> <52851BA4.6000105@...1887...> Message-ID: <52859774.3080100@...1887...> On 11/14/2013 01:51 PM, Kevin Fishburne wrote: > On 11/14/2013 07:41 AM, Randall Morgan wrote: >> Yes, I do think adding support for newer model types would be good. Perhaps >> even add support for models done in solid works.... >> >> >> On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard wrote: >> >>> Le 14 nov. 2013 06:14, "Kevin Fishburne" >>> a ?crit : >>>> Using the example program as a reference I was able to successfully >>>> render one of its included md2 models. If anyone needs a very spartan >>>> starter tutorial, my basic code looks like this: >>>> >>>> ' Model array declared at beginning of Render module. >>>> Public Model[32768] As Md2Object >>>> >>>> ' Model loading procedure test (index 500 is arbitrary). >>>> Dim TempModel As Md2Model >>>> TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") >>>> TempModel.Texture = LoadTexture(BasePath & "/model/test/md2test.jpg") >>>> Model[500] = New Md2Object(TempModel) >>>> >>>> ' Render command after OpenGL matrix has been set. >>>> Model[500].Draw >>>> >>>> I've been having a hell of a time finding decent modeling software that >>>> can export to the md2 format, as it is very old (though quite nice for >>>> my needs). I created an untextured cube in Misfit Model 3D (1.3.7, stock >>>> Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 >>>> when it tries to execute the Draw method. >>>> >>>> Does anyone have any insight into what modeling applications exist that >>>> can export to md2 format? I'd love to learn Blender, but all the md2 >>>> export scripts I found failed. I think they were designed for older >>>> versions. Maybe I should look for an old Blender version...or contact >>>> the Nexuiz team. Any advice is appreciated, and to whoever wrote the sge >>>> component, thank you. >>>> >>>> -- >>>> Kevin Fishburne >>>> Eight Virtues >>>> www: http://sales.eightvirtues.com >>>> e-mail: sales at ...1887... >>>> phone: (770) 853-6271 >>>> >>> Maybe the best will be to add another format more accurate with the current >>> technologies. > Thanks everyone. I'll give the mentioned programs a try and keep > investigating. > > I looked up Blender's stock export formats on Wikipedia and the only one > that looks useful is X3D: > > http://en.wikipedia.org/wiki/X3D > http://www.web3d.org/realtime-3d/x3d/what-x3d > > Seems geared toward rendering in a web browser, although I don't know > why it couldn't be implemented outside of one. I searched the package > names for x3d and couldn't find anything. Maybe there's a lib out there > somewhere. > I finally got one of the md2 export scripts for Blender (2.66.1) working (attached). I modified the Md2Model example project to use my exported test md2 as a replacement for its "bauul.md2" data file so you could see it crash. I'm guessing it is because the test md2 has no textures, so I'll try that next. The modified project is here: http://eightvirtues.com/sanctimonia/misc/Md2Model.tar.gz It crashes when the Draw method is executed. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: works_md2_export_263.py Type: text/x-python Size: 26127 bytes Desc: not available URL: From willy at ...2734... Thu Nov 14 15:11:32 2013 From: willy at ...2734... (Willy Raets) Date: Thu, 14 Nov 2013 15:11:32 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <5283B3FD.4080309@...2007...> References: <5283B3FD.4080309@...2007...> Message-ID: <1384438292.2272.47.camel@...3024...> On Wed, 2013-11-13 at 18:16 +0100, Kende Kriszti?n wrote: > It seems that this was a very well done release. Gambas3-runtime was > downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) Here is what happens on my test system. It is a replication of Gambas applications running in a production environment, installed using .deb packages. I'll first give you some details on the situation. The system had Gambas 3.4.2 applications installed (no Gambas IDE as it is on end user sytems). The Gambas applications installed: App 1 -> depends on gb.args, gb.desktop, gb.form, gb.gui, gb.image, gb.net.curl, gb.net.smtp, gb.settings -> depends on a Gambas library depending on gb.gui, gb.image, gb.net, gb.net.curl, gb.net.smtp, gb.settings Apps 2 and 3 -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.settings -> depends on a Gambas library depending on gb.image, gb.net, gb.net.curl, gb.net.smtp, gb.qt4, gb.settings Apps 4 -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.qt4.webkit, gb.settings -> depends on a Gambas library depending on gb.image, gb.net, gb.net.curl, gb.net.smtp, gb.qt4, gb.settings App 5 -> depends on gb.args, gb.form, gb.image, gb.mime, gb.qt4, gb.settings When updating from 3.4.2 to 3.5.1 these parts get updated: gambas3-gb-cairo gambas3-gb-form gambas3-gb-gtk gambas3-gb-image gambas3-gb-net gambas3-gb-net-curl gambas3-gb-qt4 gambas3-gb-qt4-ext gambas3-gb-qt4-webkit All other parts stayed at 3.4.2 and where not updated. After this none of the applications would install!! So I upgraded gambas3-runtime (still at 3.4.2) to 3.5.1 This caused App 1 + Gambas library it needs to be removed This caused App 5 to be uninstalled App 2, 3 and 4 still run, although following components are still on 3.4.2 version: gambas3-gb-args gambas3-gb-desktop gambas3-gb-net-smtp I did upgrade them to 3.5.1 after testing the Apps. The Gambas library using gb.gui can not be reinstalled Dependency error = gambas3-gb-gui (>=3.0.90). Because of this App 1 can't be installed as it depends on above Gambas library. App 5 did reinstall and I still wonder why it got removed!! Could be an older version of the app using gb.gtk was still installed. The newest version used gb.qt4, at that seems to be okay. It seems that gb.gui apps will not install if there are other Gambas apps installed using gb.qt4. The system is a Lubuntu 12.04 LXDE, so gb.gui would prefer using gb.gtk. What has changed that Gambas apps using gb.gtk and gb.qt4 can't run on the same system? So seems I'll need to stick to 3.4.2 a bit longer in a production environment. @ Beno?t: Fact that gb.media will not run an a Ubuntu 12.04 is another of my concerns. In production and personal environment I always stick to the latest stable release (being 12.04 in buntu with a 5 year support cycle) and this advise I also give to friends that I got onto linux. Why does Gambas need to depend on stuff that doesn't run on the latest stable releases that are just 1 1/2 year out there and will be used for several years to come. Do we really need these hight dependencies when they only run on the latest unstable releases (releases I only run the in VMs for testing purposes and would never consider using in a production environment). I aim at running systems unchanged as long as possible, meaning a much lower cost of ownership. So if Ubuntu 12.05 comes with a 5 year service, it will run for at least 5 years in the production environment it is being used. Why change what works just fine? Just because there is some new fancy stuff out there? I am migrating a Windows production environment to Linux and all custom written apps from VB to Gambas. The apps are used 7 days a week, 365 days a year for 13 hours a day. For the migration to work I can't afford future components not being able to install because the OS running at work are 2 years old. I really need some clarity here, before continuing with the migration to Gambas as I don't want an upgrade to a higher version of Gambas break stuff that worked just fine, purely because of dependencies that can't be met. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From nemh at ...2007... Fri Nov 15 12:15:22 2013 From: nemh at ...2007... (=?UTF-8?B?S2VuZGUgS3Jpc3p0acOhbg==?=) Date: Fri, 15 Nov 2013 12:15:22 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <1384438292.2272.47.camel@...3024...> References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> Message-ID: <5286024A.9020008@...2007...> 2013-11-14 15:11 keltez?ssel, Willy Raets ?rta: > On Wed, 2013-11-13 at 18:16 +0100, Kende Kriszti?n wrote: >> It seems that this was a very well done release. Gambas3-runtime was >> downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) > > Here is what happens on my test system. > It is a replication of Gambas applications running in a production > environment, installed using .deb packages. > > I'll first give you some details on the situation. > > The system had Gambas 3.4.2 applications installed (no Gambas IDE as it > is on end user sytems). > The Gambas applications installed: > App 1 > -> depends on gb.args, gb.desktop, gb.form, gb.gui, gb.image, > gb.net.curl, gb.net.smtp, gb.settings > -> depends on a Gambas library depending on gb.gui, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.settings > > Apps 2 and 3 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > Apps 4 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.qt4.webkit, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > App 5 > -> depends on gb.args, gb.form, gb.image, gb.mime, gb.qt4, gb.settings > > When updating from 3.4.2 to 3.5.1 these parts get updated: > gambas3-gb-cairo > gambas3-gb-form > gambas3-gb-gtk > gambas3-gb-image > gambas3-gb-net > gambas3-gb-net-curl > gambas3-gb-qt4 > gambas3-gb-qt4-ext > gambas3-gb-qt4-webkit > > All other parts stayed at 3.4.2 and where not updated. > After this none of the applications would install!! > > So I upgraded gambas3-runtime (still at 3.4.2) to 3.5.1 > This caused App 1 + Gambas library it needs to be removed > This caused App 5 to be uninstalled > > App 2, 3 and 4 still run, although following components are still on > 3.4.2 version: > gambas3-gb-args > gambas3-gb-desktop > gambas3-gb-net-smtp > > I did upgrade them to 3.5.1 after testing the Apps. > > The Gambas library using gb.gui can not be reinstalled > Dependency error = gambas3-gb-gui (>=3.0.90). > Because of this App 1 can't be installed as it depends on above Gambas > library. > > App 5 did reinstall and I still wonder why it got removed!! > Could be an older version of the app using gb.gtk was still installed. > The newest version used gb.qt4, at that seems to be okay. > > It seems that gb.gui apps will not install if there are other Gambas > apps installed using gb.qt4. > > The system is a Lubuntu 12.04 LXDE, so gb.gui would prefer using gb.gtk. > What has changed that Gambas apps using gb.gtk and gb.qt4 can't run on > the same system? > > So seems I'll need to stick to 3.4.2 a bit longer in a production > environment. This is a fixed Gambas bug in the integrated packager. Please re-build the installation packages with Gambas 3.5.1 IDE. (I prefer the manual building.) > @ Beno?t: > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > concerns. In production and personal environment I always stick to the > latest stable release (being 12.04 in buntu with a 5 year support cycle) > and this advise I also give to friends that I got onto linux. > > Why does Gambas need to depend on stuff that doesn't run on the latest > stable releases that are just 1 1/2 year out there and will be used for > several years to come. > Do we really need these hight dependencies when they only run on the > latest unstable releases (releases I only run the in VMs for testing > purposes and would never consider using in a production environment). > > I aim at running systems unchanged as long as possible, meaning a much > lower cost of ownership. So if Ubuntu 12.05 comes with a 5 year service, > it will run for at least 5 years in the production environment it is > being used. Why change what works just fine? Just because there is some > new fancy stuff out there? > > I am migrating a Windows production environment to Linux and all custom > written apps from VB to Gambas. The apps are used 7 days a week, 365 > days a year for 13 hours a day. For the migration to work I can't afford > future components not being able to install because the OS running at > work are 2 years old. > > I really need some clarity here, before continuing with the migration to > Gambas as I don't want an upgrade to a higher version of Gambas break > stuff that worked just fine, purely because of dependencies that can't > be met. > If you want, I backport the new 'gb.media' component. Kendek From willy at ...2734... Fri Nov 15 12:58:03 2013 From: willy at ...2734... (Willy Raets) Date: Fri, 15 Nov 2013 12:58:03 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <5286024A.9020008@...2007...> References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> <5286024A.9020008@...2007...> Message-ID: <1384516683.2234.1.camel@...3024...> On Fri, 2013-11-15 at 12:15 +0100, Kende Kriszti?n wrote: > 2013-11-14 15:11 keltez?ssel, Willy Raets ?rta: > > On Wed, 2013-11-13 at 18:16 +0100, Kende Kriszti?n wrote: > >> It seems that this was a very well done release. Gambas3-runtime was > >> downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) > > > > Here is what happens on my test system. > > It is a replication of Gambas applications running in a production > > environment, installed using .deb packages. > > > > I'll first give you some details on the situation. > > > > The system had Gambas 3.4.2 applications installed (no Gambas IDE as it > > is on end user sytems). > > The Gambas applications installed: > > App 1 > > -> depends on gb.args, gb.desktop, gb.form, gb.gui, gb.image, > > gb.net.curl, gb.net.smtp, gb.settings > > -> depends on a Gambas library depending on gb.gui, gb.image, gb.net, > > gb.net.curl, gb.net.smtp, gb.settings > > > > Apps 2 and 3 > > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.settings > > -> depends on a Gambas library depending on gb.image, gb.net, > > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > > > Apps 4 > > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.qt4.webkit, gb.settings > > -> depends on a Gambas library depending on gb.image, gb.net, > > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > > > App 5 > > -> depends on gb.args, gb.form, gb.image, gb.mime, gb.qt4, gb.settings > > > > When updating from 3.4.2 to 3.5.1 these parts get updated: > > gambas3-gb-cairo > > gambas3-gb-form > > gambas3-gb-gtk > > gambas3-gb-image > > gambas3-gb-net > > gambas3-gb-net-curl > > gambas3-gb-qt4 > > gambas3-gb-qt4-ext > > gambas3-gb-qt4-webkit > > > > All other parts stayed at 3.4.2 and where not updated. > > After this none of the applications would install!! > > > > So I upgraded gambas3-runtime (still at 3.4.2) to 3.5.1 > > This caused App 1 + Gambas library it needs to be removed > > This caused App 5 to be uninstalled > > > > App 2, 3 and 4 still run, although following components are still on > > 3.4.2 version: > > gambas3-gb-args > > gambas3-gb-desktop > > gambas3-gb-net-smtp > > > > I did upgrade them to 3.5.1 after testing the Apps. > > > > The Gambas library using gb.gui can not be reinstalled > > Dependency error = gambas3-gb-gui (>=3.0.90). > > Because of this App 1 can't be installed as it depends on above Gambas > > library. > > > > App 5 did reinstall and I still wonder why it got removed!! > > Could be an older version of the app using gb.gtk was still installed. > > The newest version used gb.qt4, at that seems to be okay. > > > > It seems that gb.gui apps will not install if there are other Gambas > > apps installed using gb.qt4. > > > > The system is a Lubuntu 12.04 LXDE, so gb.gui would prefer using gb.gtk. > > What has changed that Gambas apps using gb.gtk and gb.qt4 can't run on > > the same system? > > > > So seems I'll need to stick to 3.4.2 a bit longer in a production > > environment. > > This is a fixed Gambas bug in the integrated packager. Please re-build > the installation packages with Gambas 3.5.1 IDE. > (I prefer the manual building.) So repackaging the applications in 3.5.1 IDE will solve the problem. Great, I'll have a go at it, thanks > > > @ Beno?t: > > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > > concerns. In production and personal environment I always stick to the > > latest stable release (being 12.04 in buntu with a 5 year support cycle) > > and this advise I also give to friends that I got onto linux. > > > > Why does Gambas need to depend on stuff that doesn't run on the latest > > stable releases that are just 1 1/2 year out there and will be used for > > several years to come. > > Do we really need these hight dependencies when they only run on the > > latest unstable releases (releases I only run the in VMs for testing > > purposes and would never consider using in a production environment). > > > > I aim at running systems unchanged as long as possible, meaning a much > > lower cost of ownership. So if Ubuntu 12.05 comes with a 5 year service, > > it will run for at least 5 years in the production environment it is > > being used. Why change what works just fine? Just because there is some > > new fancy stuff out there? > > > > I am migrating a Windows production environment to Linux and all custom > > written apps from VB to Gambas. The apps are used 7 days a week, 365 > > days a year for 13 hours a day. For the migration to work I can't afford > > future components not being able to install because the OS running at > > work are 2 years old. > > > > I really need some clarity here, before continuing with the migration to > > Gambas as I don't want an upgrade to a higher version of Gambas break > > stuff that worked just fine, purely because of dependencies that can't > > be met. > > > > If you want, I backport the new 'gb.media' component. Backport, I like that word :) Would be great, thanks. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas.fr at ...626... Fri Nov 15 13:34:35 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Nov 2013 13:34:35 +0100 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> <20131111162404.M91946@...951...> Message-ID: You are all so old ? 2013/11/11 Randall Morgan : > BTW, Most Enter Keys on Qwerty keyboards still maintain the old > line-feed/Carriage-Return Arrow. An arrow that goes down and then to the > left. Does your laptop Enter key have that icon? If so, that is the icon > for "Return". > > > On Mon, Nov 11, 2013 at 8:26 AM, nando wrote: > >> Thank you for the nostalgia. >> I had an 8800b - lots of fun. >> and I do remember the black ones were NC. >> >> Early in the PC days, there was no keypad. >> I remember explicitly when the keypad came into use, >> the keypad ENTER was a different code. >> Caused me a headache, but allowed for using the keypad differently too. >> Good and bad. >> >> -Fernando >> >> >> ---------- Original Message ----------- >> From: Randall Morgan >> To: mailing list for gambas users >> Sent: Sun, 10 Nov 2013 20:01:31 -0800 >> Subject: Re: [Gambas-user] Key code constant wrong? >> >> > This is an interesting thread.... If you look back at some of the early >> > keyboards you will see that they did name the two keys differently. And >> > this was a hold over from the use of Qwerty keyboards on teletypes and >> > typewriters. The key on the text (main) keyboard is the return key. On >> > teletypes the key causes the carriage to return to the beginning of the >> > line. While the Enter key on the ten-key (numerical) keypad was taken >> from >> > the mechanical adding machines of the day. The enter key caused the >> > numerical value that was punch into numerical keys to be entered into the >> > calculation. >> > >> > With the move away from these mechanical devices most people (except us >> old >> > timers) have never seen or used a mechanical ten-key or Underwood >> > typewriter. The effect of the two keys on computer systems today is >> pretty >> > much the same. However I believe they remain separate for two reasons. >> > First, the need to maintain compatibility with any software that does use >> > them differently and second because the keys are laid out in a matrix >> > fashion that causes each key to have a distinct value. But it would not >> > surprise me if someday the keys are merged. >> > >> > Hope that shines some light on where the difference came from. My first >> PC >> > was an Altair 8800 without a keyboard. Mice hadn't been invented and >> > remember joy and sense of accomplishment we felt when my father and I got >> > the 88 to draw a circle on the oscilloscope. My first key pad was radio >> > shack's little red (the black ones were n.c. and the red n.o.) all tide >> > together on a piece of paneling. All buffered with 7404 hex inverters and >> > sent to a custom board plugged into the 88's back plane. Those were the >> > days when you build what you programmed. A lot of fun and a lot of work! >> I >> > sure wish I still had that old 88. It would be worth something now but it >> > was lost in a fire. >> > >> > Ok, I'm done with the nostalgia thanks for letting me share. Hope I shed >> a >> > bit of light on the key issue. >> > >> > On Sun, Nov 10, 2013 at 5:10 PM, Dimitris Anogiatis > >wrote: >> > >> > > Perhaps its a remnand from the typewriter days...where the separation >> > > between line feed and carriage return was more visible due to its >> > > mechanical nature. >> > > >> > > >> > > >> > > On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < >> > > gambas at ...1...> wrote: >> > > >> > > > Le 10/11/2013 06:05, Alain Baudrez a ?crit : >> > > > > >> > > > > Why is Enter printed on that key on my laptop ?? >> > > > > >> > > > > I would never have guessed to refer to Key.Return instead of >> key.Enter. >> > > > > >> > > > > Alain >> > > > >> > > > Good question: both are named "Enter" (in french) on my keyboard too, >> > > > but they have always been two different keys internally. >> > > > >> > > > You must assume that two physicals different keys should always have >> > > > different Key.Code values (even if this is not always the case!). >> > > > >> > > > -- >> > > > Beno?t Minisini >> > > > >> > > > >> > > > >> > > >> ------------------------------------------------------------------------------ >> > > > November Webinars for C, C++, Fortran Developers >> > > > Accelerate application performance with scalable programming models. >> > > > Explore >> > > > techniques for threading, error checking, porting, and tuning. Get >> the >> > > most >> > > > from the latest Intel processors and coprocessors. See abstracts and >> > > > register >> > > > >> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > > > _______________________________________________ >> > > > Gambas-user mailing list >> > > > Gambas-user at lists.sourceforge.net >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > >> > > >> > > >> ------------------------------------------------------------------------------ >> > > November Webinars for C, C++, Fortran Developers >> > > Accelerate application performance with scalable programming models. >> > > Explore >> > > techniques for threading, error checking, porting, and tuning. Get the >> most >> > > from the latest Intel processors and coprocessors. See abstracts and >> > > register >> > > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > > _______________________________________________ >> > > 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? >> > >> ------------------------------------------------------------------------------ >> > November Webinars for C, C++, Fortran Developers >> > Accelerate application performance with scalable programming models. >> Explore >> > techniques for threading, error checking, porting, and tuning. Get the >> most >> > from the latest Intel processors and coprocessors. See abstracts and >> register >> > >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> ------- End of Original Message ------- >> >> >> >> ------------------------------------------------------------------------------ >> November Webinars for C, C++, Fortran Developers >> Accelerate application performance with scalable programming models. >> Explore >> techniques for threading, error checking, porting, and tuning. Get the most >> from the latest Intel processors and coprocessors. See abstracts and >> register >> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk >> _______________________________________________ >> 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? > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Fri Nov 15 14:13:44 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 15 Nov 2013 14:13:44 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <1384438292.2272.47.camel@...3024...> References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> Message-ID: <52861E08.5080100@...1...> Le 14/11/2013 15:11, Willy Raets a ?crit : > On Wed, 2013-11-13 at 18:16 +0100, Kende Kriszti?n wrote: >> It seems that this was a very well done release. Gambas3-runtime was >> downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. :-) > > > Here is what happens on my test system. > It is a replication of Gambas applications running in a production > environment, installed using .deb packages. > > I'll first give you some details on the situation. > > The system had Gambas 3.4.2 applications installed (no Gambas IDE as it > is on end user sytems). > The Gambas applications installed: > App 1 > -> depends on gb.args, gb.desktop, gb.form, gb.gui, gb.image, > gb.net.curl, gb.net.smtp, gb.settings > -> depends on a Gambas library depending on gb.gui, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.settings > > Apps 2 and 3 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > Apps 4 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.qt4.webkit, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > App 5 > -> depends on gb.args, gb.form, gb.image, gb.mime, gb.qt4, gb.settings > > When updating from 3.4.2 to 3.5.1 these parts get updated: > gambas3-gb-cairo > gambas3-gb-form > gambas3-gb-gtk > gambas3-gb-image > gambas3-gb-net > gambas3-gb-net-curl > gambas3-gb-qt4 > gambas3-gb-qt4-ext > gambas3-gb-qt4-webkit > > All other parts stayed at 3.4.2 and where not updated. > After this none of the applications would install!! > > So I upgraded gambas3-runtime (still at 3.4.2) to 3.5.1 > This caused App 1 + Gambas library it needs to be removed > This caused App 5 to be uninstalled > > App 2, 3 and 4 still run, although following components are still on > 3.4.2 version: > gambas3-gb-args > gambas3-gb-desktop > gambas3-gb-net-smtp > > I did upgrade them to 3.5.1 after testing the Apps. > > The Gambas library using gb.gui can not be reinstalled > Dependency error = gambas3-gb-gui (>=3.0.90). > Because of this App 1 can't be installed as it depends on above Gambas > library. > > App 5 did reinstall and I still wonder why it got removed!! > Could be an older version of the app using gb.gtk was still installed. > The newest version used gb.qt4, at that seems to be okay. > > It seems that gb.gui apps will not install if there are other Gambas > apps installed using gb.qt4. > > The system is a Lubuntu 12.04 LXDE, so gb.gui would prefer using gb.gtk. > What has changed that Gambas apps using gb.gtk and gb.qt4 can't run on > the same system? > > So seems I'll need to stick to 3.4.2 a bit longer in a production > environment. > > @ Beno?t: > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > concerns. In production and personal environment I always stick to the > latest stable release (being 12.04 in buntu with a 5 year support cycle) > and this advise I also give to friends that I got onto linux. > > Why does Gambas need to depend on stuff that doesn't run on the latest > stable releases that are just 1 1/2 year out there and will be used for > several years to come. > Do we really need these hight dependencies when they only run on the > latest unstable releases (releases I only run the in VMs for testing > purposes and would never consider using in a production environment). > > I aim at running systems unchanged as long as possible, meaning a much > lower cost of ownership. So if Ubuntu 12.05 comes with a 5 year service, > it will run for at least 5 years in the production environment it is > being used. Why change what works just fine? Just because there is some > new fancy stuff out there? > > I am migrating a Windows production environment to Linux and all custom > written apps from VB to Gambas. The apps are used 7 days a week, 365 > days a year for 13 hours a day. For the migration to work I can't afford > future components not being able to install because the OS running at > work are 2 years old. > > I really need some clarity here, before continuing with the migration to > Gambas as I don't want an upgrade to a higher version of Gambas break > stuff that worked just fine, purely because of dependencies that can't > be met. > gb.media was done with gstreamer-0.10. But gstreamer-0.10 is not finished, so to really finish the gb.media component, I had to switch to gstreamer-1.0. You should better ask Ubuntu why they don't backport gstreamer-1.0 on their LTS release instead of keeping a non-finished version of gstreamer. Note if you use OpenGL (just an example), you will get the same problem, but at driver's level: they are not finished. In another words: I won't make Gambas depend on Ubuntu decisions and organization. And if you want stability, look at the library you are using to see if they are really finished. If you don't know, ask before. -- Beno?t Minisini From rmorgan62 at ...626... Fri Nov 15 14:14:42 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Fri, 15 Nov 2013 05:14:42 -0800 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> <20131111162404.M91946@...951...> Message-ID: By hardware standards I'm a relic. By software standards, I've become vapor-ware, by human standards, I'm over the hill and enjoying the ride down ;-) I think most 88's were model Bs. The A was only ship a short time if I recall correctly. I moved from the Altair to a model 100 and then a Coco and then a C64, and then IBM PCs. At that time I was much more involved in hardware development and wrote code only out of need for tools I needed or testing hardware. Some how through the years I moved away from hardware and more into software. Right now I work for a small automotive parts company doing pretty much what ever they need. Everything from web scrapers to gather competitors data, to the occasional GCode or CAD/CAM for a complex part. But most of the time I'm working with internal software and databases. How about you? What do you do now and what is your background? On Fri, Nov 15, 2013 at 4:34 AM, Fabien Bodard wrote: > You are all so old ? > > 2013/11/11 Randall Morgan : > > BTW, Most Enter Keys on Qwerty keyboards still maintain the old > > line-feed/Carriage-Return Arrow. An arrow that goes down and then to the > > left. Does your laptop Enter key have that icon? If so, that is the icon > > for "Return". > > > > > > On Mon, Nov 11, 2013 at 8:26 AM, nando > wrote: > > > >> Thank you for the nostalgia. > >> I had an 8800b - lots of fun. > >> and I do remember the black ones were NC. > >> > >> Early in the PC days, there was no keypad. > >> I remember explicitly when the keypad came into use, > >> the keypad ENTER was a different code. > >> Caused me a headache, but allowed for using the keypad differently too. > >> Good and bad. > >> > >> -Fernando > >> > >> > >> ---------- Original Message ----------- > >> From: Randall Morgan > >> To: mailing list for gambas users > >> Sent: Sun, 10 Nov 2013 20:01:31 -0800 > >> Subject: Re: [Gambas-user] Key code constant wrong? > >> > >> > This is an interesting thread.... If you look back at some of the > early > >> > keyboards you will see that they did name the two keys differently. > And > >> > this was a hold over from the use of Qwerty keyboards on teletypes and > >> > typewriters. The key on the text (main) keyboard is the return key. On > >> > teletypes the key causes the carriage to return to the beginning of > the > >> > line. While the Enter key on the ten-key (numerical) keypad was taken > >> from > >> > the mechanical adding machines of the day. The enter key caused the > >> > numerical value that was punch into numerical keys to be entered into > the > >> > calculation. > >> > > >> > With the move away from these mechanical devices most people (except > us > >> old > >> > timers) have never seen or used a mechanical ten-key or Underwood > >> > typewriter. The effect of the two keys on computer systems today is > >> pretty > >> > much the same. However I believe they remain separate for two reasons. > >> > First, the need to maintain compatibility with any software that does > use > >> > them differently and second because the keys are laid out in a matrix > >> > fashion that causes each key to have a distinct value. But it would > not > >> > surprise me if someday the keys are merged. > >> > > >> > Hope that shines some light on where the difference came from. My > first > >> PC > >> > was an Altair 8800 without a keyboard. Mice hadn't been invented and > >> > remember joy and sense of accomplishment we felt when my father and I > got > >> > the 88 to draw a circle on the oscilloscope. My first key pad was > radio > >> > shack's little red (the black ones were n.c. and the red n.o.) all > tide > >> > together on a piece of paneling. All buffered with 7404 hex inverters > and > >> > sent to a custom board plugged into the 88's back plane. Those were > the > >> > days when you build what you programmed. A lot of fun and a lot of > work! > >> I > >> > sure wish I still had that old 88. It would be worth something now > but it > >> > was lost in a fire. > >> > > >> > Ok, I'm done with the nostalgia thanks for letting me share. Hope I > shed > >> a > >> > bit of light on the key issue. > >> > > >> > On Sun, Nov 10, 2013 at 5:10 PM, Dimitris Anogiatis >> >wrote: > >> > > >> > > Perhaps its a remnand from the typewriter days...where the > separation > >> > > between line feed and carriage return was more visible due to its > >> > > mechanical nature. > >> > > > >> > > > >> > > > >> > > On Sun, Nov 10, 2013 at 2:10 AM, Beno?t Minisini < > >> > > gambas at ...1...> wrote: > >> > > > >> > > > Le 10/11/2013 06:05, Alain Baudrez a ?crit : > >> > > > > > >> > > > > Why is Enter printed on that key on my laptop ?? > >> > > > > > >> > > > > I would never have guessed to refer to Key.Return instead of > >> key.Enter. > >> > > > > > >> > > > > Alain > >> > > > > >> > > > Good question: both are named "Enter" (in french) on my keyboard > too, > >> > > > but they have always been two different keys internally. > >> > > > > >> > > > You must assume that two physicals different keys should always > have > >> > > > different Key.Code values (even if this is not always the case!). > >> > > > > >> > > > -- > >> > > > Beno?t Minisini > >> > > > > >> > > > > >> > > > > >> > > > >> > ------------------------------------------------------------------------------ > >> > > > November Webinars for C, C++, Fortran Developers > >> > > > Accelerate application performance with scalable programming > models. > >> > > > Explore > >> > > > techniques for threading, error checking, porting, and tuning. Get > >> the > >> > > most > >> > > > from the latest Intel processors and coprocessors. See abstracts > and > >> > > > register > >> > > > > >> > > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > >> > > > _______________________________________________ > >> > > > Gambas-user mailing list > >> > > > Gambas-user at lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > >> > > > >> > > > >> > ------------------------------------------------------------------------------ > >> > > November Webinars for C, C++, Fortran Developers > >> > > Accelerate application performance with scalable programming models. > >> > > Explore > >> > > techniques for threading, error checking, porting, and tuning. Get > the > >> most > >> > > from the latest Intel processors and coprocessors. See abstracts and > >> > > register > >> > > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > >> > > _______________________________________________ > >> > > 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? > >> > > >> > ------------------------------------------------------------------------------ > >> > November Webinars for C, C++, Fortran Developers > >> > Accelerate application performance with scalable programming models. > >> Explore > >> > techniques for threading, error checking, porting, and tuning. Get the > >> most > >> > from the latest Intel processors and coprocessors. See abstracts and > >> register > >> > > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> ------- End of Original Message ------- > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> November Webinars for C, C++, Fortran Developers > >> Accelerate application performance with scalable programming models. > >> Explore > >> techniques for threading, error checking, porting, and tuning. Get the > most > >> from the latest Intel processors and coprocessors. See abstracts and > >> register > >> > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> 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? > > > ------------------------------------------------------------------------------ > > November Webinars for C, C++, Fortran Developers > > Accelerate application performance with scalable programming models. > Explore > > techniques for threading, error checking, porting, and tuning. Get the > most > > from the latest Intel processors and coprocessors. See abstracts and > register > > > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > 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 mckaygerhard at ...626... Fri Nov 15 14:49:36 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Nov 2013 09:19:36 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 Message-ID: From: Willy Raets > it will run for at least 5 years in the production environment it is > being used. Why change what works just fine? Just because there is some > new fancy stuff out there? i 'm running a payroll system in debian lenny, 24/7 at 365 days and ther's no reason to "upgrade" to winbuntu 10000 or debian "unstable" due are the "lasted" u have right men! that's stupid! why changes if works perfectly!!! > @ Beno?t: > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > concerns. In production and personal environment I always stick to the > latest stable release (being 12.04 in buntu with a 5 year support cycle) > and this advise I also give to friends that I got onto linux. This was cuase ddue benoit use "too moderm up-to-date ultimate release version" of gstreamer i'm tyred of the software always constant in "upgrades upgrades upgrades" of course, developer do not note that: constant movement for support constant globalization! more upgrades raises more requerimients so then more power to need so intel and amd sell more and more > Why does Gambas need to depend on stuff that doesn't run on the latest > stable releases that are just 1 1/2 year out there and will be used for > several years to come. > Do we really need these hight dependencies when they only run on the > latest unstable releases (releases I only run the in VMs for testing > purposes and would never consider using in a production environment).? > Another case are that the typically response "upgrade to lasted, its fixed there" so then stable releases are not fixed? To @Kende and @Benoit On Fri, 2013-11-15 at 12:15 +0100, Kende Kriszti?n wrote: >> If you want, I backport the new 'gb.media' component. i try to backport the gb.media component, but do not work, i backported for squeeze, for wheeze and for lenny inclusivelly the gstreamer 0.10.31 (all componentes, and packages) and compile with lasted ffmpeg, codecs etc, all repository have amount (including packages for that taks) 8Gb.. but gb.media do not compile and said requeriments for 3.4.X only need gstreamer 0.10.30 as minimun, i have instaled, correctly packages and backported base sgtremaer 0.10.31, and 0.10.19 bad plugins, etc etc and do not enable the compilation nobody care this due are focused in "lasted up to date moderm stuff" > -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From nemh at ...2007... Fri Nov 15 15:00:37 2013 From: nemh at ...2007... (=?UTF-8?B?S2VuZGUgS3Jpc3p0acOhbg==?=) Date: Fri, 15 Nov 2013 15:00:37 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: Message-ID: <52862905.60007@...2007...> 2013-11-15 14:49 keltez?ssel, PICCORO McKAY Lenz ?rta: >> To @Kende and @Benoit >> On Fri, 2013-11-15 at 12:15 +0100, Kende Kriszti?n wrote: >>> If you want, I backport the new 'gb.media' component. > i try to backport the gb.media component, but do not work, i > backported for squeeze, for wheeze and for lenny inclusivelly the > gstreamer 0.10.31 (all componentes, and packages) and compile with > lasted ffmpeg, codecs etc, all repository have amount (including > packages for that taks) 8Gb.. > > but gb.media do not compile and said requeriments for 3.4.X only need > gstreamer 0.10.30 as minimun, i have instaled, correctly packages and > backported base sgtremaer 0.10.31, and 0.10.19 bad plugins, etc etc > and do not enable the compilation > > nobody care this due are focused in "lasted up to date moderm stuff" I will backport the gstreamer1.0_1.0.1 from Quantal, and I will compile Gambas with this. It's works. Kendek From taboege at ...626... Fri Nov 15 15:28:55 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 15 Nov 2013 15:28:55 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: Message-ID: <20131115142855.GB499@...2774...> On Fri, 15 Nov 2013, PICCORO McKAY Lenz wrote: > From: Willy Raets > > it will run for at least 5 years in the production environment it is > > being used. Why change what works just fine? Just because there is some > > new fancy stuff out there? > i 'm running a payroll system in debian lenny, 24/7 at 365 days and > ther's no reason to "upgrade" to winbuntu 10000 or debian "unstable" > due are the "lasted" > u have right men! that's stupid! why changes if works perfectly!!! > > > @ Beno?t: > > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > > concerns. In production and personal environment I always stick to the > > latest stable release (being 12.04 in buntu with a 5 year support cycle) > > and this advise I also give to friends that I got onto linux. > This was cuase ddue benoit use "too moderm up-to-date ultimate release > version" of gstreamer > i'm tyred of the software always constant in "upgrades upgrades upgrades" > > of course, developer do not note that: > constant movement for support constant globalization! more upgrades > raises more requerimients so then more power to need so intel and amd > sell more and more > Yeah... Let's don't get political here. (I don't want to sound like a sophist but I have to note this:) English is not my native language but at least the normally used German word for "development" means something around progress, kind of evolution. If you don't want new packages to be used, then you effectively say that Gambas should not be developed anymore by software developers but just maintained by some bookkeeper. Then you will soon find people leaving the project. It would just not be interesting anymore. (Well, at least then, Gambas would be truly stable.) > > > Why does Gambas need to depend on stuff that doesn't run on the latest > > stable releases that are just 1 1/2 year out there and will be used for > > several years to come. > > Do we really need these hight dependencies when they only run on the > > latest unstable releases (releases I only run the in VMs for testing > > purposes and would never consider using in a production environment).?? > > > Another case are that the typically response "upgrade to lasted, its > fixed there" > so then stable releases are not fixed? > Let's suppose we have a bug. What should we do about it? The normal procedure is to fix it and then release a newer version. A newer version is p.d. a more advanced state of the project. You can't have a newer version of the project (with the bug fix) and at the same time decry newer versions! Of course I see that you mean two different things when you say "new" on the one hand and "new" on the other hand but you should make it clear to not get misunderstood. Maybe what you want is something like this: have someone maintain an old stable release of Gambas and just patch in bug fixes (like the Linux kernel does) to these releases. You can even have someone to only patch in bug fixes and interpreter enhancements and leaving alone gb.media at gstreamer-0.10. Why not? I tell you why not: you need people who volunteer (or someone who volunteers to hire someone ;-)) and there currently is nobody to do it. Will you? Regards, Tobi PS: I'm away over the weekend. I realise that I presented my views in a rather destructive manner and as if they were facts - on purpose. If this thread becomes a flame war about software development philosophies, sophists and globalisation I just want to say: he started it :-) And in case it matters: I use vim, not emacs ;-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From nicholso at ...2533... Fri Nov 15 17:07:30 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Fri, 15 Nov 2013 08:07:30 -0800 (PST) Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> <20131111162404.M91946@...951...> Message-ID: <1384531650724-44262.post@...3046...> Don't worry, Fabien -- we will all be dying soon! -- View this message in context: http://gambas.8142.n7.nabble.com/Key-code-constant-wrong-tp44176p44262.html Sent from the gambas-user mailing list archive at Nabble.com. From nigelverity at ...67... Fri Nov 15 18:00:05 2013 From: nigelverity at ...67... (Nigel Verity) Date: Fri, 15 Nov 2013 17:00:05 +0000 Subject: [Gambas-user] ColumnView Sorting Message-ID: Hi I am using a ColumnView control with 5 columns. Each column contains text (single-word strings) The control has a ".Sorted" property. I assume that this sorts the control according to the contents of the left-most column. Is there a way to sort the control by the contents of, say, Column 3 in the program code? Thanks Nige From gambas.fr at ...626... Fri Nov 15 20:46:44 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Nov 2013 20:46:44 +0100 Subject: [Gambas-user] Key code constant wrong? In-Reply-To: References: <1384031245410-44183.post@...3046...> <527F4D9C.6070502@...1...> <20131111162404.M91946@...951...> Message-ID: 2013/11/15 Randall Morgan : > By hardware standards I'm a relic. By software standards, I've become > vapor-ware, by human standards, I'm over the hill and enjoying the ride > down ;-) > > I think most 88's were model Bs. The A was only ship a short time if I > recall correctly. I moved from the Altair to a model 100 and then a Coco > and then a C64, and then IBM PCs. At that time I was much more involved in > hardware development and wrote code only out of need for tools I needed or > testing hardware. > > Some how through the years I moved away from hardware and more into > software. Right now I work for a small automotive parts company doing > pretty much what ever they need. Everything from web scrapers to gather > competitors data, to the occasional GCode or CAD/CAM for a complex part. > But most of the time I'm working with internal software and databases. > > How about you? What do you do now and what is your background? > > About who ? From gambas.fr at ...626... Fri Nov 15 22:34:55 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Nov 2013 22:34:55 +0100 Subject: [Gambas-user] Further Assistance with gb.report repeating section In-Reply-To: <52450EBA.90106@...2755...> References: <52450EBA.90106@...2755...> Message-ID: OKay ... it's on the way ... sorry for the long time. You can try the trunk version it will do what you need. I've corrected the indexing too 2013/9/27 Greg Raffaelle : > Fabien, > > New property for report sounds promising - can't wait to try it. > > Thanks, > Greg > > > > > > > > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Fri Nov 15 22:40:19 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 15 Nov 2013 22:40:19 +0100 Subject: [Gambas-user] Further Assistance with gb.report repeating section In-Reply-To: References: <52450EBA.90106@...2755...> Message-ID: <528694C3.1090506@...1...> Le 15/11/2013 22:34, Fabien Bodard a ?crit : > OKay ... it's on the way ... sorry for the long time. > > You can try the trunk version it will do what you need. > > I've corrected the indexing too > Check your commits : you must not put backup files in the subversion repository! -- Beno?t Minisini From gambas.fr at ...626... Fri Nov 15 22:42:35 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Nov 2013 22:42:35 +0100 Subject: [Gambas-user] Further Assistance with gb.report repeating section In-Reply-To: <528694C3.1090506@...1...> References: <52450EBA.90106@...2755...> <528694C3.1090506@...1...> Message-ID: Backup ? 2013/11/15 Beno?t Minisini : > Le 15/11/2013 22:34, Fabien Bodard a ?crit : >> OKay ... it's on the way ... sorry for the long time. >> >> You can try the trunk version it will do what you need. >> >> I've corrected the indexing too >> > > Check your commits : you must not put backup files in the subversion > repository! > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > 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... Fri Nov 15 22:43:23 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 15 Nov 2013 22:43:23 +0100 Subject: [Gambas-user] Further Assistance with gb.report repeating section In-Reply-To: References: <52450EBA.90106@...2755...> <528694C3.1090506@...1...> Message-ID: ok i see ... i correct it now 2013/11/15 Fabien Bodard : > Backup ? > > 2013/11/15 Beno?t Minisini : >> Le 15/11/2013 22:34, Fabien Bodard a ?crit : >>> OKay ... it's on the way ... sorry for the long time. >>> >>> You can try the trunk version it will do what you need. >>> >>> I've corrected the indexing too >>> >> >> Check your commits : you must not put backup files in the subversion >> repository! >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------------------------ >> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >> Free app hosting. Or install the open source package on any LAMP server. >> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From karl.reinl at ...9... Fri Nov 15 23:29:23 2013 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 15 Nov 2013 23:29:23 +0100 Subject: [Gambas-user] Source Code can't be reached Message-ID: <1384554563.2530.4.camel@...40...> Salut, from http://gambas.sourceforge.net/en/main.html, Source Code can't be reached. -- Amicalement Charlie From gambas at ...1... Sat Nov 16 00:12:40 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Nov 2013 00:12:40 +0100 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: <1384554563.2530.4.camel@...40...> References: <1384554563.2530.4.camel@...40...> Message-ID: <5286AA68.3020608@...1...> Le 15/11/2013 23:29, Karl Reinl a ?crit : > Salut, > > from http://gambas.sourceforge.net/en/main.html, Source Code can't be > reached. > > Yes, I have noticed that recently. No idea why. It is just a frame pointing at sourceforge.net. On firefox, if you right click on the void frame and choose 'display on a new tab', the sourceforge contents is displayed correctly. Do you have firefox and the NoScript extension like me ? -- Beno?t Minisini From iss_boss at ...770... Sat Nov 16 00:38:01 2013 From: iss_boss at ...770... (ISS Boss) Date: Fri, 15 Nov 2013 18:38:01 -0500 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: <5286AA68.3020608@...1...> References: <1384554563.2530.4.camel@...40...> <5286AA68.3020608@...1...> Message-ID: <5286B059.30806@...770...> There are also no scroll bars on the main page so you can not scroll down the instructions. Beno??t Minisini wrote, On 11/15/2013 18:12: Le 15/11/2013 23:29, Karl Reinl a ??crit : Salut, from [1]http://gambas.sourceforge.net/en/main.html, Source Code can't be reached. Yes, I have noticed that recently. No idea why. It is just a frame pointing at sourceforge.net. On firefox, if you right click on the void frame and choose 'display on a new tab', the sourceforge contents is displayed correctly. Do you have firefox and the NoScript extension like me ? References 1. http://gambas.sourceforge.net/en/main.html From mckaygerhard at ...626... Sat Nov 16 01:03:00 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 15 Nov 2013 19:33:00 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 Message-ID: From: Tobias Boege > Yeah... Let's don't get political here. > > PS: I'm away over the weekend. I realise that I presented my views in a > rather destructive manner and as if they were facts - on purpose. If this > thread becomes a flame war about software development philosophies, > sophists > and globalisation I just want to say: he started it :-) And in case it > matters: I use vim, not emacs ;-) dont worry, its just u'r opinion.. but logic said: it when something works and just "the environment" force to upgrade/change, this being illogical, if something works it is illogical to change for something that has not been tested yet! RIGHT? > (I don't want to sound like a sophist but I have to note this:) > English is not my native language but at least the normally used German > word > for "development" means something around progress, kind of evolution. If > you > don't want new packages to be used, then you effectively say that Gambas > should not be developed anymore by software developers but just maintained > by some bookkeeper. Then you will soon find people leaving the project. It > would just not be interesting anymore. (Well, at least then, Gambas would > be > truly stable.) well develoment its about progress, of course, today this meaning was "misrepresented/twisted" in very convenient terms je! i cited, its about progres TO A FINAL POINT! not to a constant undefined no-end "upgrading way of things" > Of course I see that you mean two different things when you say "new" on > the one hand and "new" on the other hand but you should make it clear > to not get misunderstood. > > Maybe what you want is something like this: have someone maintain an old > stable release of Gambas and just patch in bug fixes (like the Linux kernel > does) to these releases. You can even have someone to only patch in bug > fixes and interpreter enhancements and leaving alone gb.media at > gstreamer-0.10. Why not? > > I tell you why not: you need people who volunteer (or someone who > volunteers > to hire someone ;-)) and there currently is nobody to do it. Will you? i doit that, my gambas packages has backported 12 patcheds from 3.5.X release u'r opinion its a interesting point! of course > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > yeah .. ?_?u -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From paulwheeler at ...546... Sat Nov 16 03:19:41 2013 From: paulwheeler at ...546... (paulwheeler) Date: Fri, 15 Nov 2013 19:19:41 -0700 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: References: <1384554563.2530.4.camel@...40...> Message-ID: <5286D63D.2020709@...546...> I have confirmed that using Firefox 25.0 Ubuntu canonical - 1.0 with NO plug-ins or Add-ons, the link does NOT work. So, it appears to be a basic Firefox issue and not a plug-in or add-on problem. However, Konquerer 4.11.2 Works fine. paul On 11/15/2013 04:12 PM, Beno?t Minisini wrote: > Le 15/11/2013 23:29, Karl Reinl a ?crit : >> Salut, >> >> from http://gambas.sourceforge.net/en/main.html, Source Code can't be >> reached. >> >> > > Yes, I have noticed that recently. No idea why. It is just a frame > pointing at sourceforge.net. On firefox, if you right click on the void > frame and choose 'display on a new tab', the sourceforge contents is > displayed correctly. > > Do you have firefox and the NoScript extension like me ? > From gambas at ...1... Sat Nov 16 04:23:09 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Nov 2013 04:23:09 +0100 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: <5286D63D.2020709@...546...> References: <1384554563.2530.4.camel@...40...> <5286D63D.2020709@...546...> Message-ID: <5286E51D.5090407@...1...> Le 16/11/2013 03:19, paulwheeler a ?crit : > I have confirmed that using Firefox 25.0 Ubuntu canonical - 1.0 > with NO plug-ins or Add-ons, the link does NOT work. So, it appears to be a basic Firefox issue and not a plug-in or add-on problem. > > However, Konquerer 4.11.2 Works fine. > It does not work with Chromium too... Very strange... -- Beno?t Minisini From gambas at ...1... Sat Nov 16 04:24:26 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Nov 2013 04:24:26 +0100 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: <5286E51D.5090407@...1...> References: <1384554563.2530.4.camel@...40...> <5286D63D.2020709@...546...> <5286E51D.5090407@...1...> Message-ID: <5286E56A.8030506@...1...> Le 16/11/2013 04:23, Beno?t Minisini a ?crit : > Le 16/11/2013 03:19, paulwheeler a ?crit : >> I have confirmed that using Firefox 25.0 Ubuntu canonical - 1.0 >> with NO plug-ins or Add-ons, the link does NOT work. So, it appears to be a basic Firefox issue and not a plug-in or add-on problem. >> >> However, Konquerer 4.11.2 Works fine. >> > > It does not work with Chromium too... Very strange... > OK, I had an error message in the console: Refused to display 'http://sourceforge.net/p/gambas/code/HEAD/tree/' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. So this is sourceforge that added a flag in their page to prevent them from being displayed in a frame. -- Beno?t Minisini From gambas at ...1... Sat Nov 16 04:31:02 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Nov 2013 04:31:02 +0100 Subject: [Gambas-user] Source Code can't be reached In-Reply-To: <5286E56A.8030506@...1...> References: <1384554563.2530.4.camel@...40...> <5286D63D.2020709@...546...> <5286E51D.5090407@...1...> <5286E56A.8030506@...1...> Message-ID: <5286E6F6.3000605@...1...> Le 16/11/2013 04:24, Beno?t Minisini a ?crit : > Le 16/11/2013 04:23, Beno?t Minisini a ?crit : >> Le 16/11/2013 03:19, paulwheeler a ?crit : >>> I have confirmed that using Firefox 25.0 Ubuntu canonical - 1.0 >>> with NO plug-ins or Add-ons, the link does NOT work. So, it appears to be a basic Firefox issue and not a plug-in or add-on problem. >>> >>> However, Konquerer 4.11.2 Works fine. >>> >> >> It does not work with Chromium too... Very strange... >> > > OK, I had an error message in the console: > > Refused to display 'http://sourceforge.net/p/gambas/code/HEAD/tree/' in > a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'. > > So this is sourceforge that added a flag in their page to prevent them > from being displayed in a frame. > I fixed the link so that it always opens in a new tab (or window). -- Beno?t Minisini From nemh at ...2007... Sat Nov 16 14:30:34 2013 From: nemh at ...2007... (=?UTF-8?B?S2VuZGUgS3Jpc3p0acOhbg==?=) Date: Sat, 16 Nov 2013 14:30:34 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <1384516683.2234.1.camel@...3024...> References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> <5286024A.9020008@...2007...> <1384516683.2234.1.camel@...3024...> Message-ID: <5287737A.4030802@...2007...> >> If you want, I backport the new 'gb.media' component. > Backport, I like that word :) > Would be great, thanks. > > Now, 'gb.media' and 'gb.jit' (with llvm-3.2) components are successfully available on Ubuntu Precise. So, all of the components, nothing disabled. :-) Kendek From paulwheeler at ...546... Sat Nov 16 20:46:34 2013 From: paulwheeler at ...546... (paulwheeler) Date: Sat, 16 Nov 2013 12:46:34 -0700 Subject: [Gambas-user] How to use connections/resultsets from gb.web scripts? In-Reply-To: References: Message-ID: <5287CB9A.7030202@...546...> Piccoro, My name is Paul Wheeler, and I have noticed you having trouble communicating with the Gambas group. I would like to help you. What is your native language? If it is Spanish, then I could take your Spanish and translate it to English for sending to the Gambas group. Even if it is another language, I might be able to help you. I understand some programming, so that may not be a problem. If you are interested, send me an email. I live in Arizona, so depending on where you live, it might take a few hours for me to respond. paul On 11/13/2013 12:58 PM, PICCORO McKAY Lenz wrote: > From: Jesus >>> May be because he's not a "winbuntu" user... ;-) >> yes u have right.. i never use it! I've noticed that those who use it >> in my office, always need more resources, more ram, more cpu power, >> and the justification always "updates, vesion raise", but their individual >> performance results never "raised", interesting, whereas with what I use, my results >> always evolve, without need to consume more resources than i already have it > Jesus, so then continue reading: > > From: Beno?t Minisini >> I think it's: USE "gb.db", with quotes. > so then thanks benoit, was a mistake in the second mail as u can see > note that u write : >> 'USE gb.db' > event the : >> USE "gb.db" > now thanks i can made now a little example, such its good to see > my script are working, will solve many thinks (and off the php code) > > thanks so much Benoit, next step its module procesing comunicacions > (how can use modules or start a web page made from project ide) > > > NOW A EXAMPLE (one that works using more components) > ------------------------------------------------------------------------------------------------- > i already know its not the right usage due its a parse interpretation > by gambas script interpreter, but for now its good example, so then > Benoit provide one better (remenber that works also in gambas 3.4.0 > this one i use): > > 1) made a gambas project, and when u made a gambas web page the > extension will be "webpage" > > 2) made this extension interpreted by the cgi script ( i mean a simple > interpretation) as such apache or lighttpd does with python or perl > scrips, of couse if python process pl files gbw3 will process webpages > files > > 3) so then expose the "webpage" file to http server (example sabe as > xx.webpage and copy this file to /var/www/ html docs root), this are > the code example to made a db connection, as u can see the firts line > said that will be interpreted as script and procesed by cgi only the > output results.. so next step its parse results between modules > process > > #!/usr/bin/env gbw3 > <% > USE "gb.db" > > DIM print AS String > Dim conps As Connection > > conps = New Connection 'creamos la instancia de la conexion > conps.Type = "postgresql" > conps.Name = "sys" ' 1) abrir conexcion con el usuario y clave > conps.host = "localhost" > conps.Port = 5432 > conps.User = "sys" > conps.Password = "1234" > Try conps.Open > %> > >

CGI script database connection example BY PICCORO Lenz McKAY

> <% > print = " VenenuX connection postgres abierta? " & conps.Opened > %> > <%= print %>
> <% > print = " host " & conps.Host & " base de datos " & conps.Name > %> > <%= print %>
> > > The script its really similar as mocosft script's pages .. such gambas > its similar as mocosotf basic languaje... > > gambas its great and easy to use.. this similitudes are something pain > in my work je je je > > From nicholso at ...2533... Sun Nov 17 02:46:12 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Sat, 16 Nov 2013 17:46:12 -0800 (PST) Subject: [Gambas-user] ColumnView Sorting In-Reply-To: References: Message-ID: <1384652772626-44279.post@...3046...> Hi, Nigel -- I've never used the ColumnView (or other View) to sort the data -- I always sort the arrays where I keep data, and then re-fill the ColumnView or other View, if necessary. Your question raised a point that I've never explored, so I dug into it and found that you CAN sort data in a View, using the built-in capabilities of the View object. The documentation is on this page: http://gambasdoc.org/help/comp/gb.qt4/_columnview_columns?v3 Frankly, I sometimes find the Gambas online documentation to be a little cryptic, so (like usual) I wrote a simple program to explore and demonstrate sorting in a ColumnView. Here is the essential code block, especially note the inner/2nd "If-Endif" block: 'Note that when you change the sort of the ColumnView from one column to another, 'the sort column header will display a down-arrow symbol. Public Sub Button1_Click() If TextBox1.Text 'In other words, if TextBox1.Text is not NULL. If TextBox1.Text = "0" Or If TextBox1.Text = "1" Or If TextBox1.Text = "2" Then ColumnView1.Columns.Ascending = True ColumnView1.Columns.Sort = Val(TextBox1.Text) Else Message.Info("Type a Column ID: '0','1', or '2'", "OK") TextBox1.Text = "" Endif Else Message.Info("Type a Column ID: '0','1', or '2'", "OK") TextBox1.Text = "" Endif End My e-mail address is: nicholso at ...2533... If you send me your e-mail address, I'll send you a tar.gz file of the complete program, just so you can play with it and see how the sort works. Best regards, Jon Nicholson -- View this message in context: http://gambas.8142.n7.nabble.com/ColumnView-Sorting-tp44263p44279.html Sent from the gambas-user mailing list archive at Nabble.com. From wally at ...2037... Sun Nov 17 09:49:54 2013 From: wally at ...2037... (wally) Date: Sun, 17 Nov 2013 09:49:54 +0100 Subject: [Gambas-user] build JIT ? Message-ID: <3946903.WQLdA3RDQR@...3157...> Hello, do i need definetively to install the libLLVM SVN version ? Not possible to use a LLVM package from distro repo ? (OpenSuse 12.3 ) || || Unable to find file: libLLVM-3.3svn.so || gb.jit is disabled || wally From emil.lenngren at ...626... Sun Nov 17 10:16:12 2013 From: emil.lenngren at ...626... (Emil Lenngren) Date: Sun, 17 Nov 2013 10:16:12 +0100 Subject: [Gambas-user] build JIT ? In-Reply-To: <3946903.WQLdA3RDQR@...3157...> References: <3946903.WQLdA3RDQR@...3157...> Message-ID: Hi. It should be possible with a distro version. However, you might have to change the configuration file for gb.jit and run autoconf. If you look at the file list of the distro llvm package, you should be able to figure out where the library is located. Den 17 nov 2013 10:06 skrev "wally" : > Hello, > > do i need definetively to install the libLLVM SVN version ? > Not possible to use a LLVM package from distro repo ? > (OpenSuse 12.3 ) > > || > || Unable to find file: libLLVM-3.3svn.so > || gb.jit is disabled > || > > wally > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From derox_2 at ...3232... Sun Nov 17 14:35:23 2013 From: derox_2 at ...3232... (derox) Date: Sun, 17 Nov 2013 14:35:23 +0100 Subject: [Gambas-user] gb.pcre RegExp.Replace does not work in GUI mode Message-ID: Hi! I cannot get the RegExp.Replace function to work in a GUI application (works wery well with CLI programs though...) One example is a simple form with tree components TextEdit, TextBox and a Button, with the following code: Public Sub btnFind_Click() Try txtText.Text = RegExp.Replace(txtText.Text, "(" & EdtExp.Text & ")", "_&1_") If Error Then Message.Error(Error.Text) End No matter what expression I throw at it, I get this error: "unknown option bit(s) set" Seing it works in CLI mode, I guess there must be a bug? From taboege at ...626... Sun Nov 17 17:47:32 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Nov 2013 17:47:32 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: Message-ID: <20131117164732.GA501@...2774...> On Fri, 15 Nov 2013, PICCORO McKAY Lenz wrote: > From: Tobias Boege > > Yeah... Let's don't get political here. > > > > > PS: I'm away over the weekend. I realise that I presented my views in a > > rather destructive manner and as if they were facts - on purpose. If this > > thread becomes a flame war about software development philosophies, > > sophists > > and globalisation I just want to say: he started it :-) And in case it > > matters: I use vim, not emacs ;-) > > dont worry, its just u'r opinion.. > > but logic said: it when something works and just "the environment" > force to upgrade/change, this being illogical, > if something works it is illogical to change for something that > has not been tested yet! RIGHT? > Totally right. But you talk about your system. If you apply this statement to Gambas, you say that we should stop making new components or adding new features to existing ones. This is possible but some people out there want new features - and, as I said, things would get boring around Gambas if we didn't do new things with new libraries or newer versions of libraries. > > > (I don't want to sound like a sophist but I have to note this:) > > English is not my native language but at least the normally used German > > word > > for "development" means something around progress, kind of evolution. If > > you > > don't want new packages to be used, then you effectively say that Gambas > > should not be developed anymore by software developers but just maintained > > by some bookkeeper. Then you will soon find people leaving the project. It > > would just not be interesting anymore. (Well, at least then, Gambas would > > be > > truly stable.) > well develoment its about progress, of course, today this meaning was > "misrepresented/twisted" in very convenient terms je! > i cited, its about progres TO A FINAL POINT! > not to a constant undefined no-end "upgrading way of things" Well, I'm a child of "today" and I grew up with this "undefined upgrading" mentality, apparently. BTW, what would that "final point" be so we can work straight towards it? (I'm currently, as university leaves time left, working on a gb.inotify component. But I think this is OK since it doesn't need any library.) > > > Of course I see that you mean two different things when you say "new" on > > the one hand and "new" on the other hand but you should make it clear > > to not get misunderstood. > > > > Maybe what you want is something like this: have someone maintain an old > > stable release of Gambas and just patch in bug fixes (like the Linux kernel > > does) to these releases. You can even have someone to only patch in bug > > fixes and interpreter enhancements and leaving alone gb.media at > > gstreamer-0.10. Why not? > > > > I tell you why not: you need people who volunteer (or someone who > > volunteers > > to hire someone ;-)) and there currently is nobody to do it. Will you? > i doit that, my gambas packages has backported 12 patcheds from 3.5.X release > > u'r opinion its a interesting point! of course > > > > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > yeah .. ??_??u > In the end, man is a pragmatist, isn't he? :-) You know, Mr. Monk changed lots of things to please some higher need (to make things rectangular, for example). :-) I don't know how such things work with SVN but I'm sure you can have your own branch of Gambas on sourceforge to make your "only bugfixes" Gambas accessible to everyone else who doesn't want to depend on bleeding-edge new libraries. In the end it's you who decides what Gambas your computer runs. Regards, Tobi From taboege at ...626... Sun Nov 17 17:58:00 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Nov 2013 17:58:00 +0100 Subject: [Gambas-user] gb.pcre RegExp.Replace does not work in GUI mode In-Reply-To: References: Message-ID: <20131117165800.GB501@...2774...> On Sun, 17 Nov 2013, derox wrote: > Hi! > > I cannot get the RegExp.Replace function to work in a GUI application > (works wery well with CLI programs though...) > > One example is a simple form with tree components TextEdit, TextBox and a > Button, with the following code: > > Public Sub btnFind_Click() > > Try txtText.Text = RegExp.Replace(txtText.Text, "(" & EdtExp.Text & ")", > "_&1_") > If Error Then Message.Error(Error.Text) > > End > > No matter what expression I throw at it, I get this error: "unknown option > bit(s) set" > > Seing it works in CLI mode, I guess there must be a bug? (Hopefully) fixed in rev#5963. Regards, Tobi From mckaygerhard at ...626... Sun Nov 17 18:04:41 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Nov 2013 12:34:41 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 Message-ID: From: Tobias Boege > > Totally right. But you talk about your system. If you apply this statement > to Gambas, you say that we should stop making new components or adding new > features to existing ones. This is possible but some people out there want > new features - and, as I said, things would get boring around Gambas if we > didn't do new things with new libraries or newer versions of libraries. > yeah that's a pain constant for me and production environment... > > i cited, its about progres TO A FINAL POINT! > > not to a constant undefined no-end "upgrading way of things" > > Well, I'm a child of "today" and I grew up with this "undefined upgrading" > mentality, apparently. BTW, what would that "final point" be so we can work > straight towards it? (I'm currently, as university leaves time left, > working > on a gb.inotify component. But I think this is OK since it doesn't need any > library.) > that's good example... > > I don't know how such things work with SVN but I'm sure you can have your > own branch of Gambas on sourceforge to make your "only bugfixes" yeah! in my work i have own git clone of gambas from oficial, and we with other patched it for estability.. > Gambas > accessible to everyone else who doesn't want to depend on bleeding-edge new > libraries. In the end it's you who decides what Gambas your computer runs. > we was providing a repository for debian releases but today domian end ans i have no "dollars" for pay.. i swicht to lating hosting for pay in bolivares > > Regards, > Tobi > From nemh at ...2007... Sun Nov 17 19:19:45 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Sun, 17 Nov 2013 19:19:45 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: Message-ID: <528908C1.7090109@...2007...> 2013-11-17 18:04 keltez?ssel, PICCORO McKAY Lenz ?rta: > From: Tobias Boege > >> Totally right. But you talk about your system. If you apply this statement >> to Gambas, you say that we should stop making new components or adding new >> features to existing ones. This is possible but some people out there want >> new features - and, as I said, things would get boring around Gambas if we >> didn't do new things with new libraries or newer versions of libraries. >> > yeah that's a pain constant for me and production environment... > > For example, I using the new "GB_GUI" environment variable. It's really cool, I like this feature. And I like the exit codes (Quit N), this feature has landed in the version 3.4. Maybe some of the new features are needed in a production environment. Otherwise the development environment is unsuitable to perform the task. And the developer switches to something else. Kendek From mckaygerhard at ...626... Sun Nov 17 19:52:52 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 17 Nov 2013 14:22:52 -0430 Subject: [Gambas-user] Sistem asistance control 1.3 for those intereesting Message-ID: i have released the 1.3 older version of my port from job of asistence control system.. https://github.com/mckaygerhard/simplecontrolasistencia/releases/tag/1.3-1.0 can use g translator and see what.. its just a simple registrer module of id, its main featured its that use a dactilar scanner (finger print verification) and webcam in second ... also has a beta admin node for usage of reports, ip assosiations and others (beta) -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From rterry at ...1823... Sun Nov 17 22:56:11 2013 From: rterry at ...1823... (richard terry) Date: Mon, 18 Nov 2013 08:56:11 +1100 Subject: [Gambas-user] Headlines - RegEx submatch deprecation breaks office apps Message-ID: <52893B7B.50808@...1823...> Hi Benoit, List, I upgraded to what by accounts on the list was a stable package of version 3.5, this immediately broke our regex.submatches with the program crashing saying that this was 'deprecated'. Doing a global commit to the new syntax and an svn commit of our own code then left us in a dilemma. Now my 3.4.1 machines won't run the new code, which means users in other offices (read very busy general practices * 2 in NSW + 1 specialist office in Melbourne) are stuck. Any chance of leaving deprecated code in a bit longer until those of us who lag a little behind get a chance to find out and update - often not a trivial task. When one is running a busy office this is commercially dislocating to say the least. How does one find old packages e.g 3.4.1 to go back to in this sort of situation? It also means that any new improvements in our EasyGP program which we are working hard at to get to version 1.0 by early next year, can't be pushed out to users who are our beta testers. Like Gambas our effort is totally open source not designed for making money, just designed to give free/open medical software to the community. Hope this makes sense. Regards richard From gambas at ...1... Mon Nov 18 00:06:33 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 18 Nov 2013 00:06:33 +0100 Subject: [Gambas-user] Headlines - RegEx submatch deprecation breaks office apps In-Reply-To: <52893B7B.50808@...1823...> References: <52893B7B.50808@...1823...> Message-ID: <52894BF9.3070804@...1...> Le 17/11/2013 22:56, richard terry a ?crit : > Hi Benoit, List, > > I upgraded to what by accounts on the list was a stable package of > version 3.5, this immediately broke our regex.submatches with the > program crashing saying that this was 'deprecated'. > > Doing a global commit to the new syntax and an svn commit of our own > code then left us in a dilemma. > > Now my 3.4.1 machines won't run the new code, which means users in other > offices (read very busy general practices * 2 in NSW + 1 specialist > office in Melbourne) are stuck. > > Any chance of leaving deprecated code in a bit longer until those of us > who lag a little behind get a chance to find out and update - often not > a trivial task. > > When one is running a busy office this is commercially dislocating to > say the least. > > How does one find old packages e.g 3.4.1 to go back to in this sort of > situation? > > It also means that any new improvements in our EasyGP program which we > are working hard at to get to version 1.0 by early next year, can't be > pushed out to users who are our beta testers. Like Gambas our effort is > totally open source not designed for making money, just designed to give > free/open medical software to the community. > > Hope this makes sense. > > > Regards > > richard > The RegEx.Submatches property just print a warning message on the standard error output, so I don't understand how it could break your office apps. Can you explain me? Anyway, if this is really the case, overriding the RegExp class in your main project with another one that prevents the original SubMatches property from being called should solve the problem and will allow you to run your program with Gambas 3.5. Just explain me the first point, and I will do it for you. Regards, -- Beno?t Minisini From gambas at ...1... Mon Nov 18 01:57:51 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 18 Nov 2013 01:57:51 +0100 Subject: [Gambas-user] New experimental feature in revision #5964 Message-ID: <5289660F.1040500@...1...> Hi, In revision #5964, I added an experimental feature that may break your projects, so read carefully: As I found stupid to translate the strings "&Open file", "Open file", "Open file..." in menus, buttons and equivalent controls, now the IDE automatically remove the "..." and the "&" from the translated strings, so that only the "Open file" string has to be translated. Moreover, now, opening a popup menu automatically assigns underscore shortcuts to menu entries not having one, so you don't have to define them anymore. I have now about 7% less strings to translate in the IDE. I updated all the translations so that normally no translation has been lost. Of course, all that is based on little tricks: - A new Shortcut class defined in the gb.gui.base class that is used by the IDE to remove "underscore" shortcuts from the translated string, and add it back after the string has been translated (if possible!). - Some Gambas code called in the gb.gui.base components by the Menu class to automatically assign underscore shorcuts. - A new hidden _Text property in the Menu class to remember the original Text value so that automatically assigned shortcuts are not visible to the Gambas code. Of course, don't use that property for your own needs! I added a "Update all forms" entry in the "Tools" menu, so that you can update your project in one shot. If you use it, you will lose translations! But you can recover them by using the "Import" feature of the translation dialog that you will run on the original *.po files that you will find in the project backup you had carefully done. Did you? So, save your projects carefully, and tell me if you encounter problems with that new feature... Only the IDE and one example have been updated at the moment. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Nov 18 15:08:34 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 18 Nov 2013 15:08:34 +0100 Subject: [Gambas-user] New experimental feature in revision #5964 In-Reply-To: <5289660F.1040500@...1...> References: <5289660F.1040500@...1...> Message-ID: And if the traducer want to change the shortcut letter position ? 2013/11/18 Beno?t Minisini : > Hi, > > In revision #5964, I added an experimental feature that may break your > projects, so read carefully: > > As I found stupid to translate the strings "&Open file", "Open file", > "Open file..." in menus, buttons and equivalent controls, now the IDE > automatically remove the "..." and the "&" from the translated strings, > so that only the "Open file" string has to be translated. > > Moreover, now, opening a popup menu automatically assigns underscore > shortcuts to menu entries not having one, so you don't have to define > them anymore. > > I have now about 7% less strings to translate in the IDE. I updated all > the translations so that normally no translation has been lost. > > Of course, all that is based on little tricks: > > - A new Shortcut class defined in the gb.gui.base class that is used by > the IDE to remove "underscore" shortcuts from the translated string, and > add it back after the string has been translated (if possible!). > > - Some Gambas code called in the gb.gui.base components by the Menu > class to automatically assign underscore shorcuts. > > - A new hidden _Text property in the Menu class to remember the original > Text value so that automatically assigned shortcuts are not visible to > the Gambas code. Of course, don't use that property for your own needs! > > I added a "Update all forms" entry in the "Tools" menu, so that you can > update your project in one shot. If you use it, you will lose > translations! But you can recover them by using the "Import" feature of > the translation dialog that you will run on the original *.po files that > you will find in the project backup you had carefully done. Did you? > > So, save your projects carefully, and tell me if you encounter problems > with that new feature... > > Only the IDE and one example have been updated at the moment. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mckaygerhard at ...626... Mon Nov 18 15:29:16 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 18 Nov 2013 09:59:16 -0430 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: Message-ID: So then taking in considerations the newer features and changes so developers and newer users must be notified in wiki and web page about this, also notified about this in forums and related gambas how to's by example all projects compiled/packages with 3.4.X must be recompiled and re-packaged with newer 3.5.X revisions to work under 3.5.X and go i noted this changes between 3.1 to 3.4, and 3.4 to 3.5 -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From sebikul at ...626... Mon Nov 18 16:10:38 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 18 Nov 2013 13:10:38 -0200 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: <1384438292.2272.47.camel@...3024...> References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> Message-ID: I wanted to step in earlier but with finals coming closer i'm short of time. I believe you are mixing a few things here. Ubuntu 12.04 is not the latest stable release, 13.10 is, 12.04 is the latest release with LTS, which is a completely different thing, and i understand that you want to stick with it until it reaches EOL, but here is your problem: There is no LTS or EOL policy with Gambas, there are only stable, daily and old releases. We don't have the manpower to maintain an LTS release, and with the packages in the official repositories being old and corrupt, everyone is forced to use the Stable PPA. The thing is, keeping a package updated like a rolling release distribution, under a distro with LTS support will cause you a lot of trouble with dependencies. You are already experiencing this! There is no point to backport gstreamer-1.0, because that would mean recompiling every package that uses it, and thus breaking the stability you are mentioning that makes an LTS release. So, if you want to stick with Ubuntu 12.04, don't keep updating Gambas! Use the same policy Ubuntu uses. Choose a release that works, and stick with it! If Ubuntu does an Import Freeze, you should too. If you need the latest features available in Gambas, then you will also need the latest packages Ubuntu publishes. Summing up: you either update both, or none. Choosing one will also cause stability issues: If you install updated versions of packages already available in the repositories you are contradicting the reason you want to stick with LTS (which is sticking with versions known to be stable). If you really need gb.media to be updated, look for other options. You have a PPA available here [0] which will install gstreamer-1.0 along with the default gstreamer-0.10. Kendek: By backporting gb.media and gb.jit you are restricting me from asking an Ubuntu MOTU to sync the Gambas packages for older series with your PPA once the Debian repository is updated. They will not accept a package which has a dependency not available in the official repos. [0] https://launchpad.net/~gstreamer-developers/+archive/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=precise On Thu, Nov 14, 2013 at 11:11 AM, Willy Raets wrote: > On Wed, 2013-11-13 at 18:16 +0100, Kende Kriszti?n wrote: > > It seems that this was a very well done release. Gambas3-runtime was > > downloaded ~15.000 times from nemh/gambas3 PPA, so far, no bug reports. > :-) > > > Here is what happens on my test system. > It is a replication of Gambas applications running in a production > environment, installed using .deb packages. > > I'll first give you some details on the situation. > > The system had Gambas 3.4.2 applications installed (no Gambas IDE as it > is on end user sytems). > The Gambas applications installed: > App 1 > -> depends on gb.args, gb.desktop, gb.form, gb.gui, gb.image, > gb.net.curl, gb.net.smtp, gb.settings > -> depends on a Gambas library depending on gb.gui, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.settings > > Apps 2 and 3 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > Apps 4 > -> depends on gb.args, gb.cairo, gb.desktop, gb.form, gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.qt4.ext, gb.qt4.webkit, gb.settings > -> depends on a Gambas library depending on gb.image, gb.net, > gb.net.curl, gb.net.smtp, gb.qt4, gb.settings > > App 5 > -> depends on gb.args, gb.form, gb.image, gb.mime, gb.qt4, gb.settings > > When updating from 3.4.2 to 3.5.1 these parts get updated: > gambas3-gb-cairo > gambas3-gb-form > gambas3-gb-gtk > gambas3-gb-image > gambas3-gb-net > gambas3-gb-net-curl > gambas3-gb-qt4 > gambas3-gb-qt4-ext > gambas3-gb-qt4-webkit > > All other parts stayed at 3.4.2 and where not updated. > After this none of the applications would install!! > > So I upgraded gambas3-runtime (still at 3.4.2) to 3.5.1 > This caused App 1 + Gambas library it needs to be removed > This caused App 5 to be uninstalled > > App 2, 3 and 4 still run, although following components are still on > 3.4.2 version: > gambas3-gb-args > gambas3-gb-desktop > gambas3-gb-net-smtp > > I did upgrade them to 3.5.1 after testing the Apps. > > The Gambas library using gb.gui can not be reinstalled > Dependency error = gambas3-gb-gui (>=3.0.90). > Because of this App 1 can't be installed as it depends on above Gambas > library. > > App 5 did reinstall and I still wonder why it got removed!! > Could be an older version of the app using gb.gtk was still installed. > The newest version used gb.qt4, at that seems to be okay. > > It seems that gb.gui apps will not install if there are other Gambas > apps installed using gb.qt4. > > The system is a Lubuntu 12.04 LXDE, so gb.gui would prefer using gb.gtk. > What has changed that Gambas apps using gb.gtk and gb.qt4 can't run on > the same system? > > So seems I'll need to stick to 3.4.2 a bit longer in a production > environment. > > @ Beno?t: > Fact that gb.media will not run an a Ubuntu 12.04 is another of my > concerns. In production and personal environment I always stick to the > latest stable release (being 12.04 in buntu with a 5 year support cycle) > and this advise I also give to friends that I got onto linux. > > Why does Gambas need to depend on stuff that doesn't run on the latest > stable releases that are just 1 1/2 year out there and will be used for > several years to come. > Do we really need these hight dependencies when they only run on the > latest unstable releases (releases I only run the in VMs for testing > purposes and would never consider using in a production environment). > > I aim at running systems unchanged as long as possible, meaning a much > lower cost of ownership. So if Ubuntu 12.05 comes with a 5 year service, > it will run for at least 5 years in the production environment it is > being used. Why change what works just fine? Just because there is some > new fancy stuff out there? > > I am migrating a Windows production environment to Linux and all custom > written apps from VB to Gambas. The apps are used 7 days a week, 365 > days a year for 13 hours a day. For the migration to work I can't afford > future components not being able to install because the OS running at > work are 2 years old. > > I really need some clarity here, before continuing with the migration to > Gambas as I don't want an upgrade to a higher version of Gambas break > stuff that worked just fine, purely because of dependencies that can't > be met. > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From nemh at ...2007... Mon Nov 18 16:54:59 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Mon, 18 Nov 2013 16:54:59 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.5.1 In-Reply-To: References: <5283B3FD.4080309@...2007...> <1384438292.2272.47.camel@...3024...> Message-ID: <528A3853.8080008@...2007...> 2013-11-18 16:10 keltez?ssel, Sebastian Kulesz ?rta: > Kendek: By backporting gb.media and gb.jit you are restricting me from > asking an Ubuntu MOTU to sync the Gambas packages for older series with > your PPA once the Debian repository is updated. They will not accept a > package which has a dependency not available in the official repos. > > [0] > https://launchpad.net/~gstreamer-developers/+archive/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=precise > > It's unlikely. Ubuntu developers are not backporting Gambas packages in Ubuntu 12.04 official repository. But the llvm-3.2 has been backported (LP: #1177679), just armhf packages are not available (I created in the nemh/gambas3 PPA). In any case, the gstreamer can be ported back, it's completely separate, like llvm-3.2. Or they simply rewrite the source. The Ubuntu developers are talented programmers, they clearly understand the Python language (or not...). Kendek From gambas at ...1... Tue Nov 19 01:16:01 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 19 Nov 2013 01:16:01 +0100 Subject: [Gambas-user] Gambas fonts Message-ID: <528AADC1.4000903@...1...> Here are the last versions of the Gambas terminal fonts I made for those who didn't notice them. Two sizes (12 and 13 pixels), in normal and bold versions. Most of westerns alphabet and arabic are implemented, and some various symbols. Beware that the 13 pixels version is not finished yet. Install them from the KDE control panel (I don't know where you do that in other desktops) and enjoy them. And you can make remarks too! The font.allow file must be inserted in your /etc/fontconfig/fonts.conf or ~/.config/fontconfig/fonts.conf file (at least on Ubuntu), otherwise the Gambas font will not be allowed! But the simplest way to install the fonts locally in your ~/fonts directory is using the button in the IDE option dialog that does everything needed. Regards, -- Beno?t Minisini -------------- next part -------------- Gambas -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas fonts.tar.bz2 Type: application/x-bzip Size: 53587 bytes Desc: not available URL: From kevinfishburne at ...1887... Tue Nov 19 04:39:47 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Mon, 18 Nov 2013 22:39:47 -0500 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <52859774.3080100@...1887...> References: <52845BFB.6070204@...1887...> <52851BA4.6000105@...1887...> <52859774.3080100@...1887...> Message-ID: <528ADD83.3000509@...1887...> On 11/14/2013 10:39 PM, Kevin Fishburne wrote: > On 11/14/2013 01:51 PM, Kevin Fishburne wrote: >> On 11/14/2013 07:41 AM, Randall Morgan wrote: >>> Yes, I do think adding support for newer model types would be good. >>> Perhaps >>> even add support for models done in solid works.... >>> >>> >>> On Thu, Nov 14, 2013 at 4:34 AM, Fabien Bodard >>> wrote: >>> >>>> Le 14 nov. 2013 06:14, "Kevin Fishburne" >>>> >>>> a ?crit : >>>>> Using the example program as a reference I was able to successfully >>>>> render one of its included md2 models. If anyone needs a very spartan >>>>> starter tutorial, my basic code looks like this: >>>>> >>>>> ' Model array declared at beginning of Render module. >>>>> Public Model[32768] As Md2Object >>>>> >>>>> ' Model loading procedure test (index 500 is arbitrary). >>>>> Dim TempModel As Md2Model >>>>> TempModel = Md2Model.Load(BasePath & "/model/test/md2test.md2") >>>>> TempModel.Texture = LoadTexture(BasePath & >>>>> "/model/test/md2test.jpg") >>>>> Model[500] = New Md2Object(TempModel) >>>>> >>>>> ' Render command after OpenGL matrix has been set. >>>>> Model[500].Draw >>>>> >>>>> I've been having a hell of a time finding decent modeling software >>>>> that >>>>> can export to the md2 format, as it is very old (though quite nice >>>>> for >>>>> my needs). I created an untextured cube in Misfit Model 3D (1.3.7, >>>>> stock >>>>> Kubuntu 13.10 repo) and exported it to md2, but my code raises sig 11 >>>>> when it tries to execute the Draw method. >>>>> >>>>> Does anyone have any insight into what modeling applications exist >>>>> that >>>>> can export to md2 format? I'd love to learn Blender, but all the md2 >>>>> export scripts I found failed. I think they were designed for older >>>>> versions. Maybe I should look for an old Blender version...or contact >>>>> the Nexuiz team. Any advice is appreciated, and to whoever wrote >>>>> the sge >>>>> component, thank you. >>>>> >>>>> -- >>>>> Kevin Fishburne >>>>> Eight Virtues >>>>> www: http://sales.eightvirtues.com >>>>> e-mail: sales at ...1887... >>>>> phone: (770) 853-6271 >>>>> >>>> Maybe the best will be to add another format more accurate with the >>>> current >>>> technologies. >> Thanks everyone. I'll give the mentioned programs a try and keep >> investigating. >> >> I looked up Blender's stock export formats on Wikipedia and the only one >> that looks useful is X3D: >> >> http://en.wikipedia.org/wiki/X3D >> http://www.web3d.org/realtime-3d/x3d/what-x3d >> >> Seems geared toward rendering in a web browser, although I don't know >> why it couldn't be implemented outside of one. I searched the package >> names for x3d and couldn't find anything. Maybe there's a lib out there >> somewhere. >> > > I finally got one of the md2 export scripts for Blender (2.66.1) > working (attached). I modified the Md2Model example project to use my > exported test md2 as a replacement for its "bauul.md2" data file so > you could see it crash. I'm guessing it is because the test md2 has no > textures, so I'll try that next. The modified project is here: > > http://eightvirtues.com/sanctimonia/misc/Md2Model.tar.gz > > It crashes when the Draw method is executed. > Attached is an md2 model and texture exported from Blender. It loads properly into mm3d (Misfit Model 3D) and Quake Model Editor 0.91 (using Wine). It loads in GAMBAS and shows the same properties as a working md2 (bauul.md2), yet raises signal 11 when the Draw method is executed. I've looked through the code for the Draw method in the cmd2model.c file of the gb.opengl.sge component (I don't know C sadly) and it looks relatively straightforward, though I can't imagine which line it's crashing on. Obviously the code is expecting something in my md2 file which isn't there, or there's something in the md2 file that the code was not expecting. Ideas anyone? And Tommy, are you still alive? :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: sig11.tar.gz Type: application/gzip Size: 42499 bytes Desc: not available URL: From gambas at ...2524... Tue Nov 19 15:07:32 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 19 Nov 2013 14:07:32 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax Message-ID: <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.5.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 476 by isaf... at ...626...: Sqlite3 returns date in different format from similar syntax http://code.google.com/p/gambas/issues/detail?id=476 1) On retriving date value from sqlite3 using syntax "select fldtime as fldtime from tbltest" returns date in different format (e.g. 2013-11-19 18:11:45.529) 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: all 3.x Operating system: Linux Distribution: Ubuntu Architecture: x86 GUI component: GTK+ Desktop used: Gnome 3) I went through a lot of discussions on date problem in sqlite3. However I feel this problem can be sorted out easily. A date field is created in a table of sqlite3 database using gambas method (e.g. hTable.Fields.Add("fldtime", gb.Date)) and date value entered using gambas database-independent method. on executing syntax "select fldtime as fldtime from tbltest" returns date in standard date format used by gambas (e.g. 11/19/2013 18:11:45) However usins "AS" syntax i.e. "select fldtime as fldtime from tbltest" returns date in other string format (e.g. 2013-11-19 18:11:45.529) which is not recognized as date by gambas. 4) SQLite3 5) Step 3. 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! Attachments: sqlite_date.tar.gz 5.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mmcg29440 at ...3163... Tue Nov 19 15:25:49 2013 From: mmcg29440 at ...3163... (Marty McGlensey) Date: Tue, 19 Nov 2013 09:25:49 -0500 Subject: [Gambas-user] Upgrade to Ubuntu 13.10 from 12.04 To keep current with Gambas releases. Message-ID: <000001cee533$3f5d1240$be1736c0$@com> Sebastian, Just to be clear you are saying that to use Gambas V. 3.5.1 to its fullest I should be running Ubuntu 13.10? Gambas 3.5.1 has new features/coding that may not run properly under 12.04. Therefore running 3.5.1 on 12.04 may prove to be unstable. Therefore I should upgrade to Ubuntu 13.10. I understand that I should upgrade to 12.10 then 13.04 then 13.10. Is this correct? Should I follow the directions in the Ubuntu Upgrade pages? I'm a novice using Linux. I have used VBA for years so Gambas is a familiar environment. I just do not want to create problems with a system that seems to run well. That does not mean that I want to continue without upgrading if that will cause problems down the road. Thank you for your advice. Marty From nemh at ...2007... Tue Nov 19 16:02:43 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Tue, 19 Nov 2013 16:02:43 +0100 Subject: [Gambas-user] Upgrade to Ubuntu 13.10 from 12.04 To keep current with Gambas releases. In-Reply-To: <000001cee533$3f5d1240$be1736c0$@com> References: <000001cee533$3f5d1240$be1736c0$@com> Message-ID: <528B7D93.3080409@...2007...> 2013-11-19 15:25 keltez?ssel, Marty McGlensey ?rta: > Sebastian, > > > > Just to be clear you are saying that to use Gambas V. 3.5.1 to its fullest I > should be running Ubuntu 13.10? Gambas 3.5.1 has new features/coding that > may not run properly under 12.04. Therefore running 3.5.1 on 12.04 may prove > to be unstable. Therefore I should upgrade to Ubuntu 13.10. I understand > that I should upgrade to 12.10 then 13.04 then 13.10. Is this correct? > Should I follow the directions in the Ubuntu Upgrade pages? > > > > I'm a novice using Linux. I have used VBA for years so Gambas is a familiar > environment. I just do not want to create problems with a system that seems > to run well. That does not mean that I want to continue without upgrading if > that will cause problems down the road. > > > > Thank you for your advice. > > > > Marty > No, at the moment, Gambas is run with full functionality in Ubuntu 12.04 LTS from nemh/gambas3 (and daily) PPA. I enabled all components, just install the necessary packages. Kendek From rterry at ...1823... Tue Nov 19 22:14:49 2013 From: rterry at ...1823... (richard terry) Date: Wed, 20 Nov 2013 08:14:49 +1100 Subject: [Gambas-user] Workspace event question Message-ID: <528BD4C9.6080001@...1823...> Hi List, Think I posted this a week ago but got no reply, maybe I sent it from the wrong address. Anway, I've got a workspace which I use to place forms each on a new tab. I wondered if there was anyway to intercept the close event of the tab, so that one can action something on a form before it/the tab is removed, or cancel the close Thanks in anticipation richard From taboege at ...626... Tue Nov 19 22:49:31 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Nov 2013 22:49:31 +0100 Subject: [Gambas-user] Workspace event question In-Reply-To: <528BD4C9.6080001@...1823...> References: <528BD4C9.6080001@...1823...> Message-ID: <20131119214931.GK510@...2774...> On Wed, 20 Nov 2013, richard terry wrote: > Hi List, > > Think I posted this a week ago but got no reply, maybe I sent it from > the wrong address. > > Anway, I've got a workspace which I use to place forms each on a new tab. > > I wondered if there was anyway to intercept the close event of the tab, > so that one can action something on a form before it/the tab is removed, > or cancel the close > > Thanks in anticipation > > richard You can define the Form_Close() event handler in the Forms you want to embed into the Workspace. There you can react on the closing of the Form (which is triggered when closing the tab). Apparently, you can also use Stop Event to make the Workspace not close the tab. In my test project, it worked. Regards, Tobi From gambas at ...1... Tue Nov 19 22:52:07 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 19 Nov 2013 22:52:07 +0100 Subject: [Gambas-user] Workspace event question In-Reply-To: <528BD4C9.6080001@...1823...> References: <528BD4C9.6080001@...1823...> Message-ID: <528BDD87.4060103@...1...> Le 19/11/2013 22:14, richard terry a ?crit : > Hi List, > > Think I posted this a week ago but got no reply, maybe I sent it from > the wrong address. > > Anway, I've got a workspace which I use to place forms each on a new tab. > > I wondered if there was anyway to intercept the close event of the tab, > so that one can action something on a form before it/the tab is removed, > or cancel the close > > Thanks in anticipation > > richard > Handle the Form_Close event exactly as if your form was not inside a Workspace, it should work. Regards, -- Beno?t Minisini From rterry at ...1823... Tue Nov 19 23:03:01 2013 From: rterry at ...1823... (richard terry) Date: Wed, 20 Nov 2013 09:03:01 +1100 Subject: [Gambas-user] Workspace event question In-Reply-To: <20131119214931.GK510@...2774...> References: <528BD4C9.6080001@...1823...> <20131119214931.GK510@...2774...> Message-ID: <528BE015.1000909@...1823...> On 20/11/13 08:49, Tobias Boege wrote: > On Wed, 20 Nov 2013, richard terry wrote: >> Hi List, >> >> Think I posted this a week ago but got no reply, maybe I sent it from >> the wrong address. >> >> Anway, I've got a workspace which I use to place forms each on a new tab. >> >> I wondered if there was anyway to intercept the close event of the tab, >> so that one can action something on a form before it/the tab is removed, >> or cancel the close >> >> Thanks in anticipation >> >> richard > You can define the Form_Close() event handler in the Forms you want to embed > into the Workspace. There you can react on the closing of the Form (which is > triggered when closing the tab). Apparently, you can also use Stop Event to > make the Workspace not close the tab. In my test project, it worked. Maybe you could show me the code (mine which failed is below) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Thanks Benoit, Tobias, I did already try both these suggestions, maybe my code was wrong (enclosed - this didn't work), will retry and report back Public Sub Form_Close() ' If VBox_Letters.Padding Then 'letter content has changed ' If Message.Question("Do you wish to close the Referrals without saving your current letter?", "Yes", "No") = 2 Then ' Stop Event ' Return ' Else ' Save() ' Endif ' End If End richard From taboege at ...626... Tue Nov 19 23:10:27 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Nov 2013 23:10:27 +0100 Subject: [Gambas-user] Workspace event question In-Reply-To: <528BE015.1000909@...1823...> References: <528BD4C9.6080001@...1823...> <20131119214931.GK510@...2774...> <528BE015.1000909@...1823...> Message-ID: <20131119221027.GM510@...2774...> On Wed, 20 Nov 2013, richard terry wrote: > On 20/11/13 08:49, Tobias Boege wrote: > > On Wed, 20 Nov 2013, richard terry wrote: > >> Hi List, > >> > >> Think I posted this a week ago but got no reply, maybe I sent it from > >> the wrong address. > >> > >> Anway, I've got a workspace which I use to place forms each on a new tab. > >> > >> I wondered if there was anyway to intercept the close event of the tab, > >> so that one can action something on a form before it/the tab is removed, > >> or cancel the close > >> > >> Thanks in anticipation > >> > >> richard > > You can define the Form_Close() event handler in the Forms you want to embed > > into the Workspace. There you can react on the closing of the Form (which is > > triggered when closing the tab). Apparently, you can also use Stop Event to > > make the Workspace not close the tab. In my test project, it worked. > > Maybe you could show me the code (mine which failed is below) > > > > Regards, > > Tobi > > > > ------------------------------------------------------------------------------ > > Shape the Mobile Experience: Free Subscription > > Software experts and developers: Be at the forefront of tech innovation. > > Intel(R) Software Adrenaline delivers strategic insight and game-changing > > conversations that shape the rapidly evolving mobile landscape. Sign up now. > > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > Thanks Benoit, Tobias, I did already try both these suggestions, maybe > my code was wrong (enclosed - this didn't work), will retry and report back > > Public Sub Form_Close() > > ' If VBox_Letters.Padding Then 'letter content has changed > ' If Message.Question("Do you wish to close the Referrals without > saving your current letter?", "Yes", "No") = 2 Then > ' Stop Event > ' Return > ' Else > ' Save() > ' Endif > ' End If > > End > > > richard > Here you are. Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: workspace-form-0.0.1.tar.gz Type: application/octet-stream Size: 5102 bytes Desc: not available URL: From rterry at ...1823... Tue Nov 19 23:40:41 2013 From: rterry at ...1823... (richard terry) Date: Wed, 20 Nov 2013 09:40:41 +1100 Subject: [Gambas-user] Workspace event question In-Reply-To: <20131119221027.GM510@...2774...> References: <528BD4C9.6080001@...1823...> <20131119214931.GK510@...2774...> <528BE015.1000909@...1823...> <20131119221027.GM510@...2774...> Message-ID: <528BE8E9.4020606@...1823...> On 20/11/13 09:10, Tobias Boege wrote: Interesting, same code I use, I can even substitute my code into your close event and it works, yet on my form doesn't - just uncommented my code and what happens it the tab is removed from the workspace and then the message pops up!!!! will try and take a closer look why. That's why I wanted to be able to detect the close event on the workspace, rather than the close event on the form The project is too huge/complex to be able to post unfortunately. Regards richard > On Wed, 20 Nov 2013, richard terry wrote: >> On 20/11/13 08:49, Tobias Boege wrote: >>> On Wed, 20 Nov 2013, richard terry wrote: >>>> Hi List, >>>> >>>> Think I posted this a week ago but got no reply, maybe I sent it from >>>> the wrong address. >>>> >>>> Anway, I've got a workspace which I use to place forms each on a new tab. >>>> >>>> I wondered if there was anyway to intercept the close event of the tab, >>>> so that one can action something on a form before it/the tab is removed, >>>> or cancel the close >>>> >>>> Thanks in anticipation >>>> >>>> richard >>> You can define the Form_Close() event handler in the Forms you want to embed >>> into the Workspace. There you can react on the closing of the Form (which is >>> triggered when closing the tab). Apparently, you can also use Stop Event to >>> make the Workspace not close the tab. In my test project, it worked. >> Maybe you could show me the code (mine which failed is below) >>> Regards, >>> Tobi >>> >>> ------------------------------------------------------------------------------ >>> Shape the Mobile Experience: Free Subscription >>> Software experts and developers: Be at the forefront of tech innovation. >>> Intel(R) Software Adrenaline delivers strategic insight and game-changing >>> conversations that shape the rapidly evolving mobile landscape. Sign up now. >>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> Thanks Benoit, Tobias, I did already try both these suggestions, maybe >> my code was wrong (enclosed - this didn't work), will retry and report back >> >> Public Sub Form_Close() >> >> ' If VBox_Letters.Padding Then 'letter content has changed >> ' If Message.Question("Do you wish to close the Referrals without >> saving your current letter?", "Yes", "No") = 2 Then >> ' Stop Event >> ' Return >> ' Else >> ' Save() >> ' Endif >> ' End If >> >> End >> >> >> richard >> > Here you are. > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Nov 20 08:04:42 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 20 Nov 2013 07:04:42 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax In-Reply-To: <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Comment #1 on issue 476 by isaf... at ...626...: Sqlite3 returns date in different format from similar syntax http://code.google.com/p/gambas/issues/detail?id=476 A mistake in above issue. Please read it correctly as 3) .... on executing syntax "select fldtime from tbltest" returns date in standard date format used by gambas (e.g. 11/19/2013 18:11:45) However usins "AS" syntax i.e. "select fldtime as fldtime from tbltest" returns date in other string format (e.g. 2013-11-19 18:11:45.529) which is not recognized as date by gambas. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From mckaygerhard at ...626... Wed Nov 20 19:34:46 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 20 Nov 2013 14:04:46 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? Message-ID: hello, now i need how to manage parameters .. i mean imade a formulary in gambas and how i can grab the values from the web html form request? -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mkuyumcu at ...3233... Wed Nov 20 23:01:51 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Wed, 20 Nov 2013 14:01:51 -0800 (PST) Subject: [Gambas-user] Reading RGB(A) values of screen pixels Message-ID: <1384984910297-44309.post@...3046...> *Dear list members,* this is my first post, I am new to Gambas. I tried to find an answer to my question by searching the list archives first, but have not been able to find information that was to the point. There are my 2 questions: a) When I have loaded and displayed a picture, how can I access the color information of its individual pixels? I would like to read the red, green, blue, and alpha values of any pixel that I specify. b) Is this possible for any screen pixels, even for pixels outside my picture/my Gambas application? Thank you. * Regards,* ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html Sent from the gambas-user mailing list archive at Nabble.com. From shanep1967 at ...169... Thu Nov 21 08:15:14 2013 From: shanep1967 at ...169... (Shane) Date: Thu, 21 Nov 2013 18:15:14 +1100 Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: <1384984910297-44309.post@...3046...> References: <1384984910297-44309.post@...3046...> Message-ID: <528DB302.9090906@...169...> there is this for ver 2.0 http://gambasdoc.org/help/comp/gb.qt/image where you use image[x,y] On 21/11/13 09:01, ukimiku wrote: > *Dear list members,* > > this is my first post, I am new to Gambas. I tried to find an answer to my > question by searching the list archives first, but have not been able to > find information that was to the point. > > There are my 2 questions: > > a) When I have loaded and displayed a picture, how can I access the color > information of its individual pixels? I would like to read the red, green, > blue, and alpha values of any pixel that I specify. > > b) Is this possible for any screen pixels, even for pixels outside my > picture/my Gambas application? > > Thank you. > * > Regards,* > ukimiku > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From shanep1967 at ...169... Thu Nov 21 08:16:56 2013 From: shanep1967 at ...169... (Shane) Date: Thu, 21 Nov 2013 18:16:56 +1100 Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: <1384984910297-44309.post@...3046...> References: <1384984910297-44309.post@...3046...> Message-ID: <528DB368.1030502@...169...> and here http://gambasdoc.org/help/comp/gb.image/image?v3 On 21/11/13 09:01, ukimiku wrote: > *Dear list members,* > > this is my first post, I am new to Gambas. I tried to find an answer to my > question by searching the list archives first, but have not been able to > find information that was to the point. > > There are my 2 questions: > > a) When I have loaded and displayed a picture, how can I access the color > information of its individual pixels? I would like to read the red, green, > blue, and alpha values of any pixel that I specify. > > b) Is this possible for any screen pixels, even for pixels outside my > picture/my Gambas application? > > Thank you. > * > Regards,* > ukimiku > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From shanep1967 at ...169... Thu Nov 21 09:05:23 2013 From: shanep1967 at ...169... (Shane) Date: Thu, 21 Nov 2013 19:05:23 +1100 Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: <1384984910297-44309.post@...3046...> References: <1384984910297-44309.post@...3046...> Message-ID: <528DBEC3.9040504@...169...> Is this of any help On 21/11/13 09:01, ukimiku wrote: > *Dear list members,* > > this is my first post, I am new to Gambas. I tried to find an answer to my > question by searching the list archives first, but have not been able to > find information that was to the point. > > There are my 2 questions: > > a) When I have loaded and displayed a picture, how can I access the color > information of its individual pixels? I would like to read the red, green, > blue, and alpha values of any pixel that I specify. > > b) Is this possible for any screen pixels, even for pixels outside my > picture/my Gambas application? > > Thank you. > * > Regards,* > ukimiku > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- A non-text attachment was scrubbed... Name: pictest-0.0.1.tar.gz Type: application/gzip Size: 4852 bytes Desc: not available URL: From gambas.fr at ...626... Thu Nov 21 10:47:19 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 21 Nov 2013 10:47:19 +0100 Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: <528DBEC3.9040504@...169...> References: <1384984910297-44309.post@...3046...> <528DBEC3.9040504@...169...> Message-ID: you need that : http://gambasdoc.org/help/comp/gb.image/color/_get?v3 and that http://gambasdoc.org/help/comp/gb.image/colorinfo?v3 and that too http://gambasdoc.org/help/comp/gb.image/image/_get?v3 so MyRedPartValue = Color[MyImage[10,10]].Red 2013/11/21 Shane : > Is this of any help > > > On 21/11/13 09:01, ukimiku wrote: >> >> *Dear list members,* >> >> this is my first post, I am new to Gambas. I tried to find an answer to my >> question by searching the list archives first, but have not been able to >> find information that was to the point. >> >> There are my 2 questions: >> >> a) When I have loaded and displayed a picture, how can I access the color >> information of its individual pixels? I would like to read the red, green, >> blue, and alpha values of any pixel that I specify. >> >> b) Is this possible for any screen pixels, even for pixels outside my >> picture/my Gambas application? >> >> Thank you. >> * >> Regards,* >> ukimiku >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up >> now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From mkuyumcu at ...3233... Thu Nov 21 15:50:02 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 21 Nov 2013 06:50:02 -0800 (PST) Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: References: <1384984910297-44309.post@...3046...> <528DBEC3.9040504@...169...> Message-ID: <1385045401142-44315.post@...3046...> Fabien, thank you very much. Especially your the third link you provided explains what I need to know about the color values of individual pixels within an image. Regards, ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309p44315.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Thu Nov 21 15:51:48 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 21 Nov 2013 06:51:48 -0800 (PST) Subject: [Gambas-user] Reading RGB(A) values of screen pixels In-Reply-To: <528DB368.1030502@...169...> References: <1384984910297-44309.post@...3046...> <528DB368.1030502@...169...> Message-ID: <1385045508071-44316.post@...3046...> Shane, your info really helped me. Thank you. This is what I was after. Regards, ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Reading-RGB-A-values-of-screen-pixels-tp44309p44316.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Thu Nov 21 16:32:42 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 21 Nov 2013 11:02:42 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: References: Message-ID: i mean: with method GET of html forms i can use Request["nameoffield"] but if i use POST i dot nothing! why? (my previos post msg was very vage and generic, sorry) example i use, webpageform.webpage and webpagerequest.webage was: BEGIN OF FILE: webpageform.webpage #!/usr/bin/env gbw2 <% Print "Begin render request page" %> GSP example request/response</head><body> <FORM action="webpageresponse.webpage" method="POST"> input 1:<INPUT TYPE="text" NAME="nameinput"><BR> <INPUT type="submit" value="Enviar"> </FORM> </body> <% Print "Ending render request page" %> </html> END OF FILE: webpageform.webpage BEGIN OF FILE: webpageresponse.webpage #!/usr/bin/env gbw2 <% Dim myreqinput as String %> <html> <head><title>GSP example request/response</head> <body> <% myreqinput = Request["nameinput"] %> Response request input was:<%= myreqinput %> </body> <% Print "Ending render response page" %> </html> END OF FILE: webpageresponse.webpage -- Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas.fr at ...626... Fri Nov 22 12:00:50 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 22 Nov 2013 12:00:50 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FQSUtNOeqsQ44WcoJ8yBbeoi=Mi_SSvCKqNEDze-aNBMQ@...627...> References: <CALci+FSNv7JhbvnqUPhFgASpc7eviBeFCjs7MhVZsxSDd1GmXw@...627...> <CALci+FQSUtNOeqsQ44WcoJ8yBbeoi=Mi_SSvCKqNEDze-aNBMQ@...627...> Message-ID: <CAFkCsL7+pJOxVGh-5+aFAsCLuzfaCYcbgasM+Pief47Uef2Weg@...627...> what give you : myreqinput = Request.post["nameinput"] 2013/11/21 PICCORO McKAY Lenz <mckaygerhard at ...626...>: > i mean: with method GET of html forms i can use Request["nameoffield"] > but if i use POST i dot nothing! > > why? > > (my previos post msg was very vage and generic, sorry) > > example i use, webpageform.webpage and webpagerequest.webage was: > > > BEGIN OF FILE: webpageform.webpage > #!/usr/bin/env gbw2 > <% Print "Begin render request page" %> > <html> > <head><title>GSP example request/response</head><body> > <FORM action="webpageresponse.webpage" method="POST"> > input 1:<INPUT TYPE="text" NAME="nameinput"><BR> > <INPUT type="submit" value="Enviar"> > </FORM> > </body> > <% Print "Ending render request page" %> > </html> > END OF FILE: webpageform.webpage > > > BEGIN OF FILE: webpageresponse.webpage > #!/usr/bin/env gbw2 > <% > Dim myreqinput as String > %> > <html> > <head><title>GSP example request/response</head> > <body> > <% > myreqinput = Request["nameinput"] > %> > Response request input was:<%= myreqinput %> > </body> > <% Print "Ending render response page" %> > </html> > END OF FILE: webpageresponse.webpage > > > -- > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > 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... Fri Nov 22 12:02:34 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 22 Nov 2013 12:02:34 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CAFkCsL7+pJOxVGh-5+aFAsCLuzfaCYcbgasM+Pief47Uef2Weg@...627...> References: <CALci+FSNv7JhbvnqUPhFgASpc7eviBeFCjs7MhVZsxSDd1GmXw@...627...> <CALci+FQSUtNOeqsQ44WcoJ8yBbeoi=Mi_SSvCKqNEDze-aNBMQ@...627...> <CAFkCsL7+pJOxVGh-5+aFAsCLuzfaCYcbgasM+Pief47Uef2Weg@...627...> Message-ID: <CAFkCsL6Ryqn1KOwdZ32u0tB_yTCHZ5htP3SgZ6sSMZfFWHM1Dg@...627...> And why are you using gb2 for webpages ??? gb3 compile on all plateform even some old. you need only gb3 runtimes gb3 scripter db 2013/11/22 Fabien Bodard <gambas.fr at ...626...>: > what give you : > myreqinput = Request.post["nameinput"] > > > > 2013/11/21 PICCORO McKAY Lenz <mckaygerhard at ...626...>: >> i mean: with method GET of html forms i can use Request["nameoffield"] >> but if i use POST i dot nothing! >> >> why? >> >> (my previos post msg was very vage and generic, sorry) >> >> example i use, webpageform.webpage and webpagerequest.webage was: >> >> >> BEGIN OF FILE: webpageform.webpage >> #!/usr/bin/env gbw2 >> <% Print "Begin render request page" %> >> <html> >> <head><title>GSP example request/response</head><body> >> <FORM action="webpageresponse.webpage" method="POST"> >> input 1:<INPUT TYPE="text" NAME="nameinput"><BR> >> <INPUT type="submit" value="Enviar"> >> </FORM> >> </body> >> <% Print "Ending render request page" %> >> </html> >> END OF FILE: webpageform.webpage >> >> >> BEGIN OF FILE: webpageresponse.webpage >> #!/usr/bin/env gbw2 >> <% >> Dim myreqinput as String >> %> >> <html> >> <head><title>GSP example request/response</head> >> <body> >> <% >> myreqinput = Request["nameinput"] >> %> >> Response request input was:<%= myreqinput %> >> </body> >> <% Print "Ending render response page" %> >> </html> >> END OF FILE: webpageresponse.webpage >> >> >> -- >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From derox_2 at ...3232... Fri Nov 22 20:15:55 2013 From: derox_2 at ...3232... (derox) Date: Fri, 22 Nov 2013 20:15:55 +0100 Subject: [Gambas-user] Breaking logical check when coming to a true statement in a IF block Message-ID: <CAFCqzjT=FD36MfgcaGKLucE24H04F7p0rb6fVHnNj-jCEPLvkA@...627...> Hi! Though I have limited knowledge of C++, I do believe it has the following functionallity that also could be useful in Gambas: If you have an IF-block with several statements that are to be evaluated, in C++ it will jump out of that evalutaion proccess as soon as it encounters a true statement. That way you can put procedure-calls from the IF-block that would normally crash the program if the prior checks are TRUE, but otherwise would run successfully. Just a silly example If(itsWinterTime OR iceCreamWagonIsOpen) Then 'There are no Ice Wagons around in Winter, and the program will wonder what you are talking about and go crash sending out an Error message, but if it is summer time, there will be a ice wagon, but it is not neccessarily open :) ... End if From taboege at ...626... Fri Nov 22 20:56:00 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Nov 2013 20:56:00 +0100 Subject: [Gambas-user] Breaking logical check when coming to a true statement in a IF block In-Reply-To: <CAFCqzjT=FD36MfgcaGKLucE24H04F7p0rb6fVHnNj-jCEPLvkA@...627...> References: <CAFCqzjT=FD36MfgcaGKLucE24H04F7p0rb6fVHnNj-jCEPLvkA@...627...> Message-ID: <20131122195600.GC508@...2774...> On Fri, 22 Nov 2013, derox wrote: > Hi! > > Though I have limited knowledge of C++, I do believe it has the following > functionallity that also could be useful in Gambas: > > If you have an IF-block with several statements that are to be evaluated, > in C++ it will jump out of that evalutaion proccess as soon as it > encounters a true statement. That way you can put procedure-calls from the > IF-block that would normally crash the program if the prior checks are > TRUE, but otherwise would run successfully. > Well... I think you mean: jumps out of a chain of ORs when a TRUE statement is reached and jumps out of a chain of ANDs when a FALSE statement is reached? > Just a silly example > > If(itsWinterTime OR iceCreamWagonIsOpen) Then 'There are no Ice Wagons > around in Winter, and the program will wonder what you are talking about > and go crash sending out an Error message, but if it is summer time, there > will be a ice wagon, but it is not neccessarily open :) > ... > End if This is called short-circuit evaluation and Gambas has it. Look at... the documentation of If[0]. Regards, Tobi [0] http://gambasdoc.org/help/lang/if?v3 From derox_2 at ...3232... Fri Nov 22 21:23:00 2013 From: derox_2 at ...3232... (derox) Date: Fri, 22 Nov 2013 21:23:00 +0100 Subject: [Gambas-user] Breaking logical check when coming to a true statement in a IF block Message-ID: <CAFCqzjT-PzAy9Lk0yDgRiqC=rye06pb8yFkAWH97odXcWXbRDg@...627...> On Fri, 22 Nov 2013, derox wrote: > Hi! > > Though I have limited knowledge of C++, I do believe it has the following > functionallity that also could be useful in Gambas: > > If you have an IF-block with several statements that are to be evaluated, > in C++ it will jump out of that evalutaion proccess as soon as it > encounters a true statement. That way you can put procedure-calls from the > IF-block that would normally crash the program if the prior checks are > TRUE, but otherwise would run successfully. > Well... I think you mean: jumps out of a chain of ORs when a TRUE statement is reached and jumps out of a chain of ANDs when a FALSE statement is reached? > Just a silly example > > If(itsWinterTime OR iceCreamWagonIsOpen) Then 'There are no Ice Wagons > around in Winter, and the program will wonder what you are talking about > and go crash sending out an Error message, but if it is summer time, there > will be a ice wagon, but it is not neccessarily open :) > ... > End if This is called short-circuit evaluation and Gambas has it. Look at... the documentation of If[0]. Regards, Tobi Hehe, yes - this is what I meant, but I struggeled to find the right terms that you so well presented here. Life get's easier when you know the right words :p I though I found my code running after a TRUE statement was passed... that's why I made the suggestion, but I must have missed something :) Great to know that this exists already! From mckaygerhard at ...626... Fri Nov 22 21:42:33 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 22 Nov 2013 16:12:33 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? Message-ID: <CALci+FQ5V1dSDvciE0LYoHLn+j+6OXLZ7Due_HSXTu3DgCoNNA@...627...> From: Fabien Bodard <gambas.fr at ...626...> > > what give you : > myreqinput = Request.post["nameinput"] > try it now, and then..... surprise dont work !!! arrggggg > And why are you using gb2 for webpages ??? gb3 compile on all > plateform even some old. sorry Fabian, was misctake from me.. i made the example inline on my mail client... I read documentation, and said to difference the request mus use Request.Get["inputname"] or Request.Post["inputname"] 1) documentation are very rare linked between topics, i cannot found that info in normal logic way! 2) the method dont work, also i note from 3.4.X to 3.5.1 and trunk, theres many commit around the topic ... that request of post values not working currently? there's another way to taken the values using post? urgency!!!!!!!! From gambas at ...1... Fri Nov 22 21:53:44 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 22 Nov 2013 21:53:44 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FQ5V1dSDvciE0LYoHLn+j+6OXLZ7Due_HSXTu3DgCoNNA@...627...> References: <CALci+FQ5V1dSDvciE0LYoHLn+j+6OXLZ7Due_HSXTu3DgCoNNA@...627...> Message-ID: <528FC458.40204@...1...> Le 22/11/2013 21:42, PICCORO McKAY Lenz a ?crit : > From: Fabien Bodard <gambas.fr at ...626...> >> >> what give you : >> myreqinput = Request.post["nameinput"] >> > try it now, and then..... surprise dont work !!! arrggggg > >> And why are you using gb2 for webpages ??? gb3 compile on all >> plateform even some old. > > sorry Fabian, was misctake from me.. i made the example inline on my > mail client... > > I read documentation, > and said to difference > the request mus use Request.Get["inputname"] or Request.Post["inputname"] > > 1) documentation are very rare linked between topics, i cannot found > that info in normal logic way! > 2) the method dont work, also i note from 3.4.X to 3.5.1 and trunk, > theres many commit around the topic ... > > that request of post values not working currently? > there's another way to taken the values using post? > > urgency!!!!!!!! > Request[] works whatever the request type (GET or POST). I have no problem with that, so I guess your problem comes from something else. Can you do the following? - Use Gambas 3.5.1. - Set Request.Debug to True at the very beginning of your script. - Print Request.Contents that will print the first 4096 bytes of the POST request, and show me its value. Thanks. -- Beno?t Minisini From taboege at ...626... Fri Nov 22 22:06:41 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Nov 2013 22:06:41 +0100 Subject: [Gambas-user] Breaking logical check when coming to a true statement in a IF block In-Reply-To: <CAFCqzjT-PzAy9Lk0yDgRiqC=rye06pb8yFkAWH97odXcWXbRDg@...627...> References: <CAFCqzjT-PzAy9Lk0yDgRiqC=rye06pb8yFkAWH97odXcWXbRDg@...627...> Message-ID: <20131122210641.GD508@...2774...> On Fri, 22 Nov 2013, derox wrote: > On Fri, 22 Nov 2013, derox wrote: > > Hi! > > > > Though I have limited knowledge of C++, I do believe it has the following > > functionallity that also could be useful in Gambas: > > > > If you have an IF-block with several statements that are to be evaluated, > > in C++ it will jump out of that evalutaion proccess as soon as it > > encounters a true statement. That way you can put procedure-calls from the > > IF-block that would normally crash the program if the prior checks are > > TRUE, but otherwise would run successfully. > > > > Well... I think you mean: jumps out of a chain of ORs when a TRUE statement > is reached and jumps out of a chain of ANDs when a FALSE statement is > reached? > > > Just a silly example > > > > If(itsWinterTime OR iceCreamWagonIsOpen) Then 'There are no Ice Wagons > > around in Winter, and the program will wonder what you are talking about > > and go crash sending out an Error message, but if it is summer time, there > > will be a ice wagon, but it is not neccessarily open :) > > ... > > End if > > This is called short-circuit evaluation and Gambas has it. Look at... the > documentation of If[0]. > > Regards, > Tobi > > Hehe, yes - this is what I meant, but I struggeled to find the right terms > that you so well presented here. Life get's easier when you know the right > words :p > > I though I found my code running after a TRUE statement was passed... > that's why I made the suggestion, but I must have missed something :) > Yeah, Gambas uses a slightly different syntax: If bExpr And bExpr2 Then ' ... Endif is normal non-short circuit. But if you use the And If operator: If bExpr And If bExpr2 Then ' ... Endif then you get what you want. Regards, Tobi From derox_2 at ...3232... Fri Nov 22 22:46:26 2013 From: derox_2 at ...3232... (derox) Date: Fri, 22 Nov 2013 22:46:26 +0100 Subject: [Gambas-user] Breaking logical check when coming to a true statement in a IF block Message-ID: <CAFCqzjSkeqc3N-DzEO9Gkiy2JF9D25=N4zYiLnpTAg3KJwENGg@...627...> On Fri, 22 Nov 2013, derox wrote: > On Fri, 22 Nov 2013, derox wrote: > > Hi! > > > > Though I have limited knowledge of C++, I do believe it has the following > > functionallity that also could be useful in Gambas: > > > > If you have an IF-block with several statements that are to be evaluated, > > in C++ it will jump out of that evalutaion proccess as soon as it > > encounters a true statement. That way you can put procedure-calls from the > > IF-block that would normally crash the program if the prior checks are > > TRUE, but otherwise would run successfully. > > > > Well... I think you mean: jumps out of a chain of ORs when a TRUE statement > is reached and jumps out of a chain of ANDs when a FALSE statement is > reached? > > > Just a silly example > > > > If(itsWinterTime OR iceCreamWagonIsOpen) Then 'There are no Ice Wagons > > around in Winter, and the program will wonder what you are talking about > > and go crash sending out an Error message, but if it is summer time, there > > will be a ice wagon, but it is not neccessarily open :) > > ... > > End if > > This is called short-circuit evaluation and Gambas has it. Look at... the > documentation of If[0]. > > Regards, > Tobi > > Hehe, yes - this is what I meant, but I struggeled to find the right terms > that you so well presented here. Life get's easier when you know the right > words :p > > I though I found my code running after a TRUE statement was passed... > that's why I made the suggestion, but I must have missed something :) > Yeah, Gambas uses a slightly different syntax: If bExpr And bExpr2 Then ' ... Endif is normal non-short circuit. But if you use the And If operator: If bExpr And If bExpr2 Then ' ... Endif then you get what you want. Regards, Tobi Wow, OK! Then I get it! Best wishes! From gambas at ...1... Sat Nov 23 00:14:42 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Nov 2013 00:14:42 +0100 Subject: [Gambas-user] sge component and md2 file modeling software In-Reply-To: <528ADD83.3000509@...1887...> References: <52845BFB.6070204@...1887...> <CAFkCsL71iqn=6RuN9cFjvispJPtwuN5MrcFzF2zu6ABVG-XEUw@...627...> <CAGwqEL7DQ8T7BPphjAn_RxW6-pFdRR7K8s4P=7OhEQYC+Gf5wQ@...627...> <52851BA4.6000105@...1887...> <52859774.3080100@...1887...> <528ADD83.3000509@...1887...> Message-ID: <528FE562.6010302@...1...> Le 19/11/2013 04:39, Kevin Fishburne a ?crit : > > Attached is an md2 model and texture exported from Blender. It loads > properly into mm3d (Misfit Model 3D) and Quake Model Editor 0.91 (using > Wine). It loads in GAMBAS and shows the same properties as a working md2 > (bauul.md2), yet raises signal 11 when the Draw method is executed. > > I've looked through the code for the Draw method in the cmd2model.c file > of the gb.opengl.sge component (I don't know C sadly) and it looks > relatively straightforward, though I can't imagine which line it's > crashing on. Obviously the code is expecting something in my md2 file > which isn't there, or there's something in the md2 file that the code > was not expecting. > > Ideas anyone? And Tommy, are you still alive? :) > gb.opengl.sge was crashing because your model has only one frame. I fixed the component in revision #5967 so that it does not crash, but just draws the unique frame. Now I don't have the crash anymore, but I don't see anything on the screen... Can you try to make a model with two frames? -- Beno?t Minisini From gambas at ...2524... Sat Nov 23 01:44:13 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 00:44:13 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax In-Reply-To: <1-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 476 by benoit.m... at ...626...: Sqlite3 returns date in different format from similar syntax http://code.google.com/p/gambas/issues/detail?id=476 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 01:45:13 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 00:45:13 +0000 Subject: [Gambas-user] Issue 471 in gambas: when a form is loaded in workspace then tableview cell doesn't show combobox like behavior when a cell is edited using an array. In-Reply-To: <1-6813199134517018827-13870875687526577786-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13870875687526577786-gambas=googlecode.com@...2524...> <0-6813199134517018827-13870875687526577786-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13870875687526577786-gambas=googlecode.com@...2524...> Updates: Labels: -GUI-Any GUI-GTK Comment #2 on issue 471 by benoit.m... at ...626...: when a form is loaded in workspace then tableview cell doesn't show combobox like behavior when a cell is edited using an array. http://code.google.com/p/gambas/issues/detail?id=471 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 01:47:25 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 00:47:25 +0000 Subject: [Gambas-user] Issue 14 in gambas: Draw.Drawing does not work -- Signal #11 error In-Reply-To: <6-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> <0-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-13140061639659794138-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #7 on issue 14 by benoit.m... at ...626...: Draw.Drawing does not work -- Signal #11 error http://code.google.com/p/gambas/issues/detail?id=14 Closing the issue, as it depends on the Qt library. Use Gambas 3! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 01:58:20 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 00:58:20 +0000 Subject: [Gambas-user] Issue 71 in gambas: Signal #11 In-Reply-To: <10-6813199134517018827-9968318793198893820-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-9968318793198893820-gambas=googlecode.com@...2524...> <0-6813199134517018827-9968318793198893820-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-9968318793198893820-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #11 on issue 71 by benoit.m... at ...626...: Signal #11 http://code.google.com/p/gambas/issues/detail?id=71 No news from more than one year, closing the issue! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 01:59:20 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 00:59:20 +0000 Subject: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8 In-Reply-To: <3-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> <0-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-5738561686451462798-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #4 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 No news from more than one year, closing the issue! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 02:01:10 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 01:01:10 +0000 Subject: [Gambas-user] Issue 284 in gambas: WebView crashes on some sites In-Reply-To: <5-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> <0-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> Comment #6 on issue 284 by benoit.m... at ...626...: WebView crashes on some sites http://code.google.com/p/gambas/issues/detail?id=284 Do you have any news about your problem? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 02:48:29 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 01:48:29 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax In-Reply-To: <2-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #3 on issue 476 by benoit.m... at ...626...: Sqlite3 returns date in different format from similar syntax http://code.google.com/p/gambas/issues/detail?id=476 Is it better with revision #5968? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Nov 23 03:08:16 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 02:08:16 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax In-Reply-To: <3-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Comment #4 on issue 476 by benoit.m... at ...626...: Sqlite3 returns date in different format from similar syntax http://code.google.com/p/gambas/issues/detail?id=476 Try revision #5969 instead... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From paulwheeler at ...546... Sat Nov 23 19:25:15 2013 From: paulwheeler at ...546... (paulwheeler) Date: Sat, 23 Nov 2013 11:25:15 -0700 Subject: [Gambas-user] How do I get the names of fields with unknown names? Message-ID: <5290F30B.602@...546...> I am trying to get a list of the tables in a SQLite database. According to SQLite.org the table called "sqlite_master" lists all the tables and indices in the DB[1]. I have a SQlite browser tool that seems to confirm that, because it returns table names from the target DB, when this is executed: SELECT 'tables' from SQLITE_MASTER My problem is getting the table names and the fields in each of the tables of a Database with an unknown structure. For this project, I do not know the name of the fields, because I am looking at DB's created by someone else. That means that the example included in the definition of "For Each" will not work. [0] Using Gambas, I connect to the SQlite database, then do a query: Public Sub DisplayDbInfo() Dim strDbTablesQuery As String ' The string that is the select statement Dim rsDbTableInfo As Result strDbTablesQuery = "Select name From sqlite_master WHERE type = 'table' ORDER BY name" rsDbTableInfo = $hConn.Exec(strDbTablesQuery) ' For debugging: Print "Num of Tables = " & rsDbTableInfo.Count ' 9 Tables Print "rsDbTableInfo.max = " & rsDbTableInfo.Max ' 8 Print "Num of Fields returned = " & rsDbTableInfo.Fields.Count For intCount = 0 To rsDbTableInfo.Fields.Count - 1 ' Number of Fields found Print "rsDbTableInfo.Fields[i] = " & Str(rsDbTableInfo.Fields[intCount]) Next However, all I get from the previous lines is this: (ResultField 0x1aa6718). I tried using 'Result', 'ResultField', 'Result.Felds' and other things, but I cannot get field names. How do I get the actual name of the field? paul From gambas at ...2524... Sat Nov 23 20:46:11 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Nov 2013 19:46:11 +0000 Subject: [Gambas-user] Issue 477 in gambas: String.InStr with an empty pattern, causes a signal 11 Message-ID: <0-6813199134517018827-4318250813695274488-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 477 by uAle... at ...626...: String.InStr with an empty pattern, causes a signal 11 http://code.google.com/p/gambas/issues/detail?id=477 1) Describe the problem. Gambas stops with a signal 11, if the pattern in string.instr function is empty. Example code: Print String.InStr("Test", "") 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5971 & 3.5.1 Operating system: Linux Distribution: Ubuntu Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. Just execute: Print String.InStr("Test", "") 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! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Sat Nov 23 20:57:25 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 23 Nov 2013 20:57:25 +0100 Subject: [Gambas-user] How do I get the names of fields with unknown names? In-Reply-To: <5290F30B.602@...546...> References: <5290F30B.602@...546...> Message-ID: <1385236645.2630.5.camel@...40...> Am Samstag, den 23.11.2013, 11:25 -0700 schrieb paulwheeler: > I am trying to get a list of the tables in a SQLite database. > > According to SQLite.org the table called "sqlite_master" lists all the tables and indices in the DB[1]. I have a SQlite browser tool that seems to confirm that, because it returns table names from the target DB, when this is executed: SELECT 'tables' from SQLITE_MASTER > > My problem is getting the table names and the fields in each of the tables of a Database with an unknown structure. For this project, I do not know the name of the fields, because I am looking at DB's created by someone else. That means that the example included in the definition of "For Each" will not work. [0] > > Using Gambas, I connect to the SQlite database, then do a query: > > Public Sub DisplayDbInfo() > > Dim strDbTablesQuery As String ' The string that is the select statement > Dim rsDbTableInfo As Result > > strDbTablesQuery = "Select name From sqlite_master WHERE type = 'table' ORDER BY name" > > rsDbTableInfo = $hConn.Exec(strDbTablesQuery) > ' For debugging: > Print "Num of Tables = " & rsDbTableInfo.Count ' 9 Tables > Print "rsDbTableInfo.max = " & rsDbTableInfo.Max ' 8 > Print "Num of Fields returned = " & rsDbTableInfo.Fields.Count > > For intCount = 0 To rsDbTableInfo.Fields.Count - 1 ' Number of Fields found > Print "rsDbTableInfo.Fields[i] = " & Str(rsDbTableInfo.Fields[intCount]) > Next > > > However, all I get from the previous lines is this: (ResultField 0x1aa6718). > > > I tried using 'Result', 'ResultField', 'Result.Felds' and other things, but I cannot get field names. > > > How do I get the actual name of the field? > > paul > Salut Paul, this is out from DB-diff3 (you can get the whole code from here : http://dashboard68.users.sourceforge.net/ ) Private Function fill_Fields(tbl As Table) As Collection Dim fld As Field Dim sKeyPraefix As String = tbl.Name & sSep & "FIELDS" & sSep Dim colFields As New Collection Dim clsFld As ClsFields Dim sPKey As String For Each fld In tbl.Fields sPKey = Upper(sKeyPraefix & fld.Name) clsFld = New ClsFields clsFld.Key = sPKey clsFld.fldDefault = fld.Default clsFld.fldLength = fld.Length clsFld.fldName = fld.Name clsFld.fldTable = fld.Table clsFld.fldType = fld.Type colFields.Add(clsFld, sPKey) Next Return colFields End -- Amicalement Charlie From mckaygerhard at ...626... Sat Nov 23 23:37:50 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 23 Nov 2013 18:07:50 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? Message-ID: <CALci+FTaNAVsJG1fu-qBm1G+KaY+X1T_x4Y5pBBCTYCGrq583w@...627...> > Request[] works whatever the request type (GET or POST). I have no i suspect that, ... > problem with that, so I guess your problem comes from something else. > > Can you do the following? > > - Use Gambas 3.5.1. why? www.gambasforge.org/index.html was build uder gambas 3.4 and below and works > - Set Request.Debug to True at the very beginning of your script. ok roger that! > - Print Request.Contents that will print the first 4096 bytes of the > POST request, and show me its value. rogher that! > > Thanks. setting and then when call the second file of the example (do u see the example in second mail?) i got a "Internal server error: 500" i used lighttpd and debian squeeze, i also test under debian lenny and wheeze also, same error i used gambas 3.4.2 ther's some misc with 3.4 release around gb.web..? i see some time ago that www.gambasforge.org/index.html was running and gambas in that time are in 3.3 ... From gambas.fr at ...626... Sun Nov 24 09:51:38 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 09:51:38 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FTaNAVsJG1fu-qBm1G+KaY+X1T_x4Y5pBBCTYCGrq583w@...627...> References: <CALci+FTaNAVsJG1fu-qBm1G+KaY+X1T_x4Y5pBBCTYCGrq583w@...627...> Message-ID: <CAFkCsL7ZVFLsyyKANO1WLB+dnQFRg-YtJerAaDABNgGs6d1W-Q@...627...> 2013/11/23 PICCORO McKAY Lenz <mckaygerhard at ...626...>: >> Request[] works whatever the request type (GET or POST). I have no > i suspect that, ... >> problem with that, so I guess your problem comes from something else. >> >> Can you do the following? >> >> - Use Gambas 3.5.1. > why? www.gambasforge.org/index.html was build uder gambas 3.4 and > below and works >> - Set Request.Debug to True at the very beginning of your script. > ok roger that! >> - Print Request.Contents that will print the first 4096 bytes of the >> POST request, and show me its value. > rogher that! >> >> Thanks. > setting and then when call the second file of the example > (do u see the example in second mail?) > i got a "Internal server error: 500" > i used lighttpd and debian squeeze, i also test under debian lenny and > wheeze also, same error > i used gambas 3.4.2 > ther's some misc with 3.4 release around gb.web..? i see some time ago > that www.gambasforge.org/index.html was running and gambas in that > time are in 3.3 ... well ... in fact it's an svn version. but true i've just update it two day ago. now my server is a wheezy (lenny was so far too old) that is the current stable version of debian. Nevertheless, you problem don't come from gambas... as it work well for us. So it's a problem with your form declaration i think. Try to put Id = and name= in all your fields properties <div id="espaceMembres"> <form method="post" action="connexion.html" id="formConnexion"> <label for="pseudo">Pseudonyme :<br> <input type="text" id="pseudo" name="pseudo"> </label> <label for="pass">Mot de passe :<br> <input type="password" id="pass" name="pass"> </label> <label for="remember">Se souvenir<br> <input type="checkbox" id="remember" name="remember"> </label><br> <input type="submit" value="Se connecter"> <a id="inscription" href="inscription.html" rel="nofollow">Pas de compte ? Incription</a> </form> </div> > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mkuyumcu at ...3233... Sun Nov 24 13:28:20 2013 From: mkuyumcu at ...3233... (Michael Kuyumcu) Date: Sun, 24 Nov 2013 13:28:20 +0100 Subject: [Gambas-user] Paint an image Message-ID: <5291F0E4.9000609@...3233...> Dear list members, in my program I seemingly cannot get an image to be painted. I have a DrawingArea called "fr". In memory I keep an image named "img". In my form code, I declare public img as image In the Form_Open handler, I instantiate "img" with img = New Image(fr.Width, fr.Height) In some other code that is then run, I fill the x/y pixels of "img" with integer values img[x,y] = < some integer > Then I issue a "fr.Refresh" command, hoping "fr" would display > Public Sub fr_Draw() > Paint.Begin(fr) > fr.Cached = True > fr.Background = Color.RGB(100, 140, 180) > > Paint.Image(img, 0, 0) ??? > > paint.End > > End In the line containing the "???", I have tried many variations of code to make "img" appear in the "fr" DrawingArea, all without success. The background color, however, is displayed correctly. What do I have to write in place of "???" to make "img" display? Thank you. Regards, ukimiku From gambas.fr at ...626... Sun Nov 24 13:55:40 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 13:55:40 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <5291F0E4.9000609@...3233...> References: <5291F0E4.9000609@...3233...> Message-ID: <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> > Public Sub fr_Draw() > Paint.Begin(fr) > fr.Background = Color.RGB(100, 140, 180) > > Paint.Image(img, 0, 0) > > paint.End > > End cached must be false and never set this property in the draw event ... but before... then if you put the cached property to true, the draw event is not fired. 2013/11/24 Michael Kuyumcu <mkuyumcu at ...3233...>: > Dear list members, > > in my program I seemingly cannot get an image to be painted. > > I have a DrawingArea called "fr". > In memory I keep an image named "img". > > > In my form code, I declare > public img as image > > In the Form_Open handler, I instantiate "img" with > img = New Image(fr.Width, fr.Height) > > In some other code that is then run, I fill the x/y pixels of "img" with > integer values > img[x,y] = < some integer > > > > Then I issue a "fr.Refresh" command, hoping "fr" would display > > >> Public Sub fr_Draw() >> Paint.Begin(fr) >> fr.Cached = True >> fr.Background = Color.RGB(100, 140, 180) >> >> Paint.Image(img, 0, 0) ??? >> >> paint.End >> >> End > > > In the line containing the "???", I have tried many variations of code > to make "img" appear in the "fr" DrawingArea, all without success. > The background color, however, is displayed correctly. > > What do I have to write in place of "???" to make "img" display? > > Thank you. > > Regards, > ukimiku > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mkuyumcu at ...3233... Sun Nov 24 15:21:59 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 06:21:59 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> Message-ID: <1385302919038-44345.post@...3046...> Hi Fabien, thank you for your prompt reply. I must be missing something, I guess. It still does not display the image. In the Form_open event, I set fr.cached = false I see the effect when I drag the window with the mouse. It is slow and a bit jerky as, I guess, the redrawing is taking place quite often. Still, the image does not appear. I have checked that the pixel values contain reasonable color components, but not a single pixel of "img" is being painted. So far, my dr.Draw() event reads like this: Public Sub fr_Draw() Paint.Begin(fr) fr.Background = Color.RGB(100, 140, 180) Paint.Image(img, 0, 0) paint.End End What am I missing? Is "Paint.Image" the right command? Thank you. Regards, ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44345.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Sun Nov 24 16:01:34 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Nov 2013 16:01:34 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <1385302919038-44345.post@...3046...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> Message-ID: <20131124150134.GD25175@...2774...> On Sun, 24 Nov 2013, ukimiku wrote: > Hi Fabien, > > thank you for your prompt reply. I must be missing something, I guess. It > still does not display the image. > > In the Form_open event, I set > fr.cached = false > > I see the effect when I drag the window with the mouse. It is slow and a bit > jerky as, I guess, the redrawing is taking place quite often. > > Still, the image does not appear. I have checked that the pixel values > contain reasonable color components, but not a single pixel of "img" is > being painted. > > So far, my dr.Draw() event reads like this: > Public Sub fr_Draw() > Paint.Begin(fr) > fr.Background = Color.RGB(100, 140, 180) > Paint.Image(img, 0, 0) > paint.End > End > > What am I missing? Is "Paint.Image" the right command? > > Thank you. > Oops. I should have seen this earlier... Your suspicion is justified. Paint.Image() only creates a brush from the image. I think you can imagine this brush as a "stamp" of your image. You can then paint and fill a rectangle or something to see your picture like: Public Sub fr_Draw() Paint.Brush = Paint.Image(img) Paint.Rectangle(0, 0, img.W, img.H) Paint.Fill() End but things get complicated if you want the image to be painted on coordinates which are non-multiples of img.W and img.H - you may try it out! The easier and more flexible method of painting a standalone image (not an image pattern which is what Paint.Image() seems to be there for) is Paint.DrawImage(): Public Sub fr_Draw() Paint.DrawImage(img, 0, 0) End You can safely vary the coordinates with this method and immediately see the Image. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mkuyumcu at ...3233... Sun Nov 24 16:51:48 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 07:51:48 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <20131124150134.GD25175@...2774...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> Message-ID: <1385308308069-44347.post@...3046...> Hi Tobias, thanks for looking into this: In the fr.Draw() event handler, when I plot my image pixel by pixel, using this code: For y = 0 To img.Height - 1 For x = 0 To img.Width - 1 Draw.Foreground = img[x, y] Draw.Point(x, y) Next Next the image appears. But this method is slow. When I use your Paint.DrawImage(img, 0, 0) the image does not appear. I understand the logic. Oh, thank you for your explanations on the Brush methods. Nice! Regards, ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44347.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Sun Nov 24 17:04:14 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 08:04:14 -0800 (PST) Subject: [Gambas-user] Reproducible problem with Image.Clear Message-ID: <1385309054804-44348.post@...3046...> My program ran fine until I inserted the line "img.Clear" "img" is of type Image and properly instantiated. In the project, I already used "img" to store integers as color values for the pixels. The line crashed the first time Gambas tried to execute it. I can reproduce it as often as I like. I had to remove the line and erase the contents of "img" manually. In the console, the following text appeared when Gambas tried to execute it: > (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion > 'GDK_IS_PIXBUF (pixbuf)' failed > > (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion > 'GDK_IS_PIXBUF (pixbuf)' failed > > (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion > 'GDK_IS_PIXBUF (pixbuf)' failed > > (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion > 'GDK_IS_PIXBUF (pixbuf)' failed > > (Fr:6701): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion > 'GDK_IS_PIXBUF (pixbuf)' failed Hope someone can make sense of all of this. *IDE system info:* [System] Gambas=3.5.1 OperatingSystem=Linux Kernel=3.11.0-12-generic Architecture=x86_64 Distribution=Ubuntu 13.10 Desktop=GNOME Theme=QGtk Language=de_DE.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.200.0 GTK+=libgtk-x11-2.0.so.0.2400.20 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Qt4=libQtCore.so.4.8.4 SDL=libSDL-1.2.so.0.11.4 So far, I have not been able to create a demo project that also shows this behavior, but might add it to this post should I succeed. Regards, ukimiku -- View this message in context: http://gambas.8142.n7.nabble.com/Reproducible-problem-with-Image-Clear-tp44348.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Sun Nov 24 17:32:35 2013 From: vuott at ...325... (Ru Vuott) Date: Sun, 24 Nov 2013 16:32:35 +0000 (GMT) Subject: [Gambas-user] How Stream.ByteOrder ? Message-ID: <1385310755.84012.YahooMailBasic@...3065...> Hello, I would like to see an simple, but complete example about "Stream.ByteOrder " property. Thanks vuott From gambas.fr at ...626... Sun Nov 24 19:01:14 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 19:01:14 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <1385308308069-44347.post@...3046...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> Message-ID: <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> set cached to false !! 2013/11/24 ukimiku <mkuyumcu at ...3233...>: > Hi Tobias, > > thanks for looking into this: > > In the fr.Draw() event handler, when I plot my image pixel by pixel, using > this code: > > For y = 0 To img.Height - 1 > For x = 0 To img.Width - 1 > Draw.Foreground = img[x, y] > Draw.Point(x, y) > Next > Next > > the image appears. But this method is slow. > > When I use your > Paint.DrawImage(img, 0, 0) > > the image does not appear. I understand the logic. > > Oh, thank you for your explanations on the Brush methods. Nice! > > Regards, > ukimiku > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44347.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > 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... Sun Nov 24 19:02:23 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 19:02:23 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> Message-ID: <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> are you calling the refresh in the mousemove event ? 2013/11/24 Fabien Bodard <gambas.fr at ...626...>: > set cached to false !! > > > 2013/11/24 ukimiku <mkuyumcu at ...3233...>: >> Hi Tobias, >> >> thanks for looking into this: >> >> In the fr.Draw() event handler, when I plot my image pixel by pixel, using >> this code: >> >> For y = 0 To img.Height - 1 >> For x = 0 To img.Width - 1 >> Draw.Foreground = img[x, y] >> Draw.Point(x, y) >> Next >> Next >> >> the image appears. But this method is slow. >> >> When I use your >> Paint.DrawImage(img, 0, 0) >> >> the image does not appear. I understand the logic. >> >> Oh, thank you for your explanations on the Brush methods. Nice! >> >> Regards, >> ukimiku >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44347.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From mkuyumcu at ...3233... Sun Nov 24 19:14:49 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 10:14:49 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> Message-ID: <1385316889371-44352.post@...3046...> No, I am not calling "Refresh" in the mousemove event, only once after the image data has been read in. I set "cached" to "False". Still, the image does not appear with "DrawImage". But with painted brushes, it works. I can live with that. I just wished I understood the logic behind why some of these methods work with the same settings and why "DrawImage" does not. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44352.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Nov 24 19:29:29 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 24 Nov 2013 19:29:29 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <1385316889371-44352.post@...3046...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> Message-ID: <52924589.6010006@...1...> Le 24/11/2013 19:14, ukimiku a ?crit : > No, I am not calling "Refresh" in the mousemove event, only once after the > image data has been read in. > > I set "cached" to "False". Still, the image does not appear with > "DrawImage". But with painted brushes, it works. I can live with that. I > just wished I understood the logic behind why some of these methods work > with the same settings and why "DrawImage" does not. > > Regards, > ukimiku > Please provide a little project that reproduces your bug (Paint.DrawImage not working). -- Beno?t Minisini From taboege at ...626... Sun Nov 24 19:41:11 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Nov 2013 19:41:11 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <1385316889371-44352.post@...3046...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> Message-ID: <20131124183219.GI25175@...2774...> On Sun, 24 Nov 2013, ukimiku wrote: > No, I am not calling "Refresh" in the mousemove event, only once after the > image data has been read in. > > I set "cached" to "False". Still, the image does not appear with > "DrawImage". But with painted brushes, it works. I can live with that. I > just wished I understood the logic behind why some of these methods work > with the same settings and why "DrawImage" does not. > I think at this point it is best to give you a known-working project to play with. The attached project is working on my system. If it doesn't work on yours, we've got a problem. If it works, then try to understand why. > ----- > Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. > -- :-D Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: paint-image-0.0.1.tar.gz Type: application/octet-stream Size: 5192 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20131124/5542b8b3/attachment.obj> From mkuyumcu at ...3233... Sun Nov 24 20:10:09 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 11:10:09 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <52924589.6010006@...1...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <52924589.6010006@...1...> Message-ID: <1385320209573-44355.post@...3046...> Monsieur, here is a demo project I uploaded: Link: https://www.dropbox.com/s/aztacpsshfo3h4i/Fr002DrawImage.zip Basically, click on "Load", and you are prompted for a binary PPM or PGM file. The picture is then displayed. If you click on "Save", you can select a new filename and save the picture in binary PPM format (a tremendous waste of space for several reasons, but I am getting to know Gambas, and this is my first project). *The problem appears to be in* Public Sub fr_Draw() Paint.Begin(fr) fr.Clear Paint.brush = Paint.Image(img) Paint.Rectangle(0, 0, img.Width, img.Height) Paint.fill 'Paint.DrawImage(img, 0, 0) ' This does not work, for whatever reason (bug?) fr.Cached = False paint.End End When you un-comment "'Paint.DrawImage(img,0,0)" (img is a class-global image) and comment the three lines above it (Paint.brush....), The image is not drawn. Thank you for looking into this. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44355.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Sun Nov 24 20:13:58 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 24 Nov 2013 20:13:58 +0100 Subject: [Gambas-user] How Stream.ByteOrder ? In-Reply-To: <1385310755.84012.YahooMailBasic@...3065...> References: <1385310755.84012.YahooMailBasic@...3065...> Message-ID: <52924FF6.9010802@...1...> Le 24/11/2013 17:32, Ru Vuott a ?crit : > Hello, > > I would like to see an simple, but complete example about "Stream.ByteOrder " property. > > Thanks > > vuott > The stream ByteOrder property defines the byte order (little endian or big endian) used by the READ and WRITE instructions when using that stream. By default, the ByteOrder is the CPU's one. What is not clear exactly in the previous definitions? -- Beno?t Minisini From mkuyumcu at ...3233... Sun Nov 24 20:17:15 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 11:17:15 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <20131124183219.GI25175@...2774...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> Message-ID: <1385320635949-44357.post@...3046...> Hi Tobi, this is very kind of you. Your sample project works like a charm: I see the pixels update and change color randomly. The problem with my project is: After I fill my image with color data, it gets displayed correctly. Then I fill in new color data, and it is not being updated anymore. While with the Paint.brush method, the image is being updated as expected. This is irritatingly inconsistent to me. But then again, I am a complete Gambas newbie... :) How do you manage to append attachments to your posts here on the mailing list? Thanks. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44357.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Sun Nov 24 20:23:14 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Nov 2013 20:23:14 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <1385320635949-44357.post@...3046...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> Message-ID: <20131124192314.GK25175@...2774...> On Sun, 24 Nov 2013, ukimiku wrote: > Hi Tobi, > > this is very kind of you. Your sample project works like a charm: I see the > pixels update and change color randomly. > > The problem with my project is: After I fill my image with color data, it > gets displayed correctly. Then I fill in new color data, and it is not being > updated anymore. While with the Paint.brush method, the image is being > updated as expected. This is irritatingly inconsistent to me. But then > again, I am a complete Gambas newbie... :) > Well, you have a working project now which uses Paint.DrawImage(). Try to find out what your project lacks. > How do you manage to append attachments to your posts here on the mailing > list? Thanks. > I see you use nabble.com... If you want to send attachments, you have to subscribe to this mailing list at sourceforge[0]. Regards, Tobi [0] https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Nov 24 20:29:05 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 24 Nov 2013 20:29:05 +0100 Subject: [Gambas-user] How Stream.ByteOrder ? In-Reply-To: <1385310755.84012.YahooMailBasic@...3065...> References: <1385310755.84012.YahooMailBasic@...3065...> Message-ID: <20131124192905.GL25175@...2774...> On Sun, 24 Nov 2013, Ru Vuott wrote: > Hello, > > I would like to see an simple, but complete example about "Stream.ByteOrder " property. > > Thanks > > vuott Well, I won't give you a complete project because I also have work to do but here you have an idea: try to parse a .bmp file with Gambas. Its format is reasonably simple (at least I can't think of a simpler "real" file format out of the blue) and can be looked up at Wikipedia. The BMP format uses little endian. So you explicitly have to set Stream.ByteOrder to little endian to get the same result on all machines. Regards, Tobi From gambas.fr at ...626... Sun Nov 24 20:30:39 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 20:30:39 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <20131124192314.GK25175@...2774...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> <20131124192314.GK25175@...2774...> Message-ID: <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> remove all the occurence on fr.cached... this is not needed at all (there is some with = true) remove fr.clear (this is slow and uneeded in the _draw event) 2013/11/24 Tobias Boege <taboege at ...626...>: > On Sun, 24 Nov 2013, ukimiku wrote: >> Hi Tobi, >> >> this is very kind of you. Your sample project works like a charm: I see the >> pixels update and change color randomly. >> >> The problem with my project is: After I fill my image with color data, it >> gets displayed correctly. Then I fill in new color data, and it is not being >> updated anymore. While with the Paint.brush method, the image is being >> updated as expected. This is irritatingly inconsistent to me. But then >> again, I am a complete Gambas newbie... :) >> > > Well, you have a working project now which uses Paint.DrawImage(). Try to > find out what your project lacks. > >> How do you manage to append attachments to your posts here on the mailing >> list? Thanks. >> > > I see you use nabble.com... If you want to send attachments, you have to > subscribe to this mailing list at sourceforge[0]. > > Regards, > Tobi > > [0] https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > 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... Sun Nov 24 20:30:48 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 24 Nov 2013 20:30:48 +0100 Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> References: <5291F0E4.9000609@...3233...> <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> <20131124192314.GK25175@...2774...> <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> Message-ID: <CAFkCsL6DnO4kQkcZvG3OBpm5ZW75uBg_UOAS3Jv_93nxfAanEg@...627...> work fine here 2013/11/24 Fabien Bodard <gambas.fr at ...626...>: > remove all the occurence on fr.cached... this is not needed at all > (there is some with = true) > > remove fr.clear (this is slow and uneeded in the _draw event) > > 2013/11/24 Tobias Boege <taboege at ...626...>: >> On Sun, 24 Nov 2013, ukimiku wrote: >>> Hi Tobi, >>> >>> this is very kind of you. Your sample project works like a charm: I see the >>> pixels update and change color randomly. >>> >>> The problem with my project is: After I fill my image with color data, it >>> gets displayed correctly. Then I fill in new color data, and it is not being >>> updated anymore. While with the Paint.brush method, the image is being >>> updated as expected. This is irritatingly inconsistent to me. But then >>> again, I am a complete Gambas newbie... :) >>> >> >> Well, you have a working project now which uses Paint.DrawImage(). Try to >> find out what your project lacks. >> >>> How do you manage to append attachments to your posts here on the mailing >>> list? Thanks. >>> >> >> I see you use nabble.com... If you want to send attachments, you have to >> subscribe to this mailing list at sourceforge[0]. >> >> Regards, >> Tobi >> >> [0] https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From mkuyumcu at ...3233... Sun Nov 24 20:41:52 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 11:41:52 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL6DnO4kQkcZvG3OBpm5ZW75uBg_UOAS3Jv_93nxfAanEg@...627...> References: <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> <20131124192314.GK25175@...2774...> <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> <CAFkCsL6DnO4kQkcZvG3OBpm5ZW75uBg_UOAS3Jv_93nxfAanEg@...627...> Message-ID: <1385322112466-44362.post@...3046...> works fine? I suspect that on the first run, you see some sort of blue-ish stripes, and what happens after "Load" and selecting a PPM image? On my system, nothing happens if I use "Paint.DrawImage". Only if use the Paint.brush method, it works, and the loaded image is displayed. ?? Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44362.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Sun Nov 24 20:43:22 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 11:43:22 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <20131124192314.GK25175@...2774...> References: <CAFkCsL4SmpXnJh8S+MxzPsJfGYRKPCqiJ1tqPwtXNM5OiSMWCw@...627...> <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> <20131124192314.GK25175@...2774...> Message-ID: <1385322202981-44363.post@...3046...> Thanks for the link to sourceforge. ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44363.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Sun Nov 24 20:46:32 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Sun, 24 Nov 2013 11:46:32 -0800 (PST) Subject: [Gambas-user] Paint an image In-Reply-To: <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> References: <1385302919038-44345.post@...3046...> <20131124150134.GD25175@...2774...> <1385308308069-44347.post@...3046...> <CAFkCsL4x0MNT6vRBP69tkXTL43B1RWqmVSQegV689d0t+tB6iA@...627...> <CAFkCsL7WT01rcgJ9PyQn78BOqVZA2UVb6GFEtH38OYDBfNz=Ug@...627...> <1385316889371-44352.post@...3046...> <20131124183219.GI25175@...2774...> <1385320635949-44357.post@...3046...> <20131124192314.GK25175@...2774...> <CAFkCsL5Hz-KwFeN-nTdGhYG=nxSmnfu9vVKYQr_opDBFp5_3DQ@...627...> Message-ID: <1385322392625-44364.post@...3046...> Fabien, thank you for your tips. I cannot remove fr.cached = True before the file open dialog comes up: Dialog.Title = "Save image file..." ... If I do remove the line, the file dialog comes to halt, taking minutes to display a single file entry. Maybe may Gambas application is refreshing if "cached" is set to "false"? Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/Paint-an-image-tp44343p44364.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Mon Nov 25 15:21:01 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 25 Nov 2013 09:51:01 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? Message-ID: <CALci+FQ3wSGuJwQszQr1v5puL-FCHO=Xe9wtHoHS3FURN5NC0w@...627...> From: Fabien Bodard <gambas.fr at ...626...> >well ... in fact it's an svn version. >but true i've just update it two day ago. i cannot update, squeeze has more efficient services for rather than wheeze, in performance test with jabber clusterized nodes.. wheeze fails so far.. , in same server run a payroll system with gambas 3.4.0 >Nevertheless, you problem don't come from gambas... as it work well >for us. So it's a problem with your form declaration i think. Try to >put Id = and name= in all your fields properties i must put the label, the id and div for complete form? there's many changes between gambas 3.4.0 and 3.4.2 around gb.web and Request objects-.. > <label for="pseudo">Pseudonyme :<br> > <input type="text" id="pseudo" name="pseudo"> > </label> Benoit put Request.Debug and cause a http 500 error.. so anyone can send me a example project? (and the link due in this list nobod, iy can receibe files directly) some mails ago any talk about "features" and "evolution", "progress" but seem nobody want to progress in gb.web module, and for sure the response will be "upgrade to lasted", so smart response. ther's no good documentation and i'm the only one interesting? the only example using another modules and cnecting to DB in all internet are the provide by me! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From taboege at ...626... Mon Nov 25 17:24:24 2013 From: taboege at ...626... (Tobias Boege) Date: Mon, 25 Nov 2013 17:24:24 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FQ3wSGuJwQszQr1v5puL-FCHO=Xe9wtHoHS3FURN5NC0w@...627...> References: <CALci+FQ3wSGuJwQszQr1v5puL-FCHO=Xe9wtHoHS3FURN5NC0w@...627...> Message-ID: <20131125162424.GB720@...2774...> On Mon, 25 Nov 2013, PICCORO McKAY Lenz wrote: > From: Fabien Bodard <gambas.fr at ...626...> > > >well ... in fact it's an svn version. > >but true i've just update it two day ago. > i cannot update, squeeze has more efficient services for rather than > wheeze, in performance test with jabber clusterized nodes.. wheeze > fails so far.. , in same server run a payroll system with gambas 3.4.0 > > >Nevertheless, you problem don't come from gambas... as it work well > >for us. So it's a problem with your form declaration i think. Try to > >put Id = and name= in all your fields properties > > i must put the label, the id and div for complete form? > there's many changes between gambas 3.4.0 and 3.4.2 around gb.web and > Request objects-.. > > <label for="pseudo">Pseudonyme :<br> > > <input type="text" id="pseudo" name="pseudo"> > > </label> > > Benoit put Request.Debug and cause a http 500 error.. so anyone can > send me a example project? (and the link due in this list nobod, iy > can receibe files directly) > > some mails ago any talk about "features" and "evolution", "progress" > but seem nobody want to progress in gb.web module, and for sure the > response will be "upgrade to lasted", so smart response. > > ther's no good documentation and i'm the only one interesting? the > only example using another modules and cnecting to DB in all internet > are the provide by me! Hmm. I attached a project that _is working_ on my system (with Gambas post-3.5.1). Let's see... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: webpage-get-post-0.0.1.tar.gz Type: application/octet-stream Size: 4986 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20131125/907673bb/attachment.obj> From mckaygerhard at ...626... Mon Nov 25 18:06:01 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 25 Nov 2013 12:36:01 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? Message-ID: <CALci+FS5rc1JRcKY7H2_11uYrJR8eghM+PenmGGThgg15RzpWA@...627...> From: Tobias Boege <taboege at ...626...> >>> send me a example project? (and the link due in this list nobod, iy >> can receibe files directly) >> > Hmm. I attached a project that _is working_ on my system (with Gambas > post-3.5.1). Let's see... > > Regards, > Tobi Thanks Tobias, but how can i download this file.. i received only the text part in daily mails, see following: > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: webpage-get-post-0.0.1.tar.gz > Type: application/octet-stream > Size: 4986 bytes > Desc: not available > > ------------------------------ some url please.. for download that file.. > From taboege at ...626... Mon Nov 25 18:12:12 2013 From: taboege at ...626... (Tobias Boege) Date: Mon, 25 Nov 2013 18:12:12 +0100 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FS5rc1JRcKY7H2_11uYrJR8eghM+PenmGGThgg15RzpWA@...627...> References: <CALci+FS5rc1JRcKY7H2_11uYrJR8eghM+PenmGGThgg15RzpWA@...627...> Message-ID: <20131125171212.GC720@...2774...> On Mon, 25 Nov 2013, PICCORO McKAY Lenz wrote: > From: Tobias Boege <taboege at ...626...> > >>> send me a example project? (and the link due in this list nobod, iy > >> can receibe files directly) > >> > > Hmm. I attached a project that _is working_ on my system (with Gambas > > post-3.5.1). Let's see... > > > > Regards, > > Tobi > Thanks Tobias, but how can i download this file.. i received only the > text part in daily mails, see following: > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: webpage-get-post-0.0.1.tar.gz > > Type: application/octet-stream > > Size: 4986 bytes > > Desc: not available > > > > ------------------------------ > some url please.. for download that file.. > > You can always dig out the mails from the gambas-user archive on sourceforge. My previous mail is here[0]. There you find a link to my attachment[1]. Regards, Tobi [0] http://sourceforge.net/mailarchive/forum.php?thread_name=20131125162424.GB720%40aurora&forum_name=gambas-user [1] http://sourceforge.net/mailarchive/attachment.php?list_name=gambas-user&message_id=20131125162424.GB720%40aurora&counter=1 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Mon Nov 25 18:40:19 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 25 Nov 2013 13:10:19 -0430 Subject: [Gambas-user] gb.web how to grab using post and get? In-Reply-To: <CALci+FS5rc1JRcKY7H2_11uYrJR8eghM+PenmGGThgg15RzpWA@...627...> References: <CALci+FS5rc1JRcKY7H2_11uYrJR8eghM+PenmGGThgg15RzpWA@...627...> Message-ID: <CALci+FQr4W59iAi5jjQF4iOr2Eb1Wv-+M1J2_zmovdLJ=ZU9VA@...627...> > From: Tobias Boege <taboege at ...626...> > Thanks Tobias, but how can i download this file.. i received only the Thnks tobias. i download the code using archive mail list, and: i added to my example the < enctype="text/plain" > at final of <form> tag, so i'll never grap tyhe data by post way very insteresting and very thanks for this help... i have curiosity for what king of ctype encription must be here... From mckaygerhard at ...626... Mon Nov 25 18:50:35 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 25 Nov 2013 13:20:35 -0430 Subject: [Gambas-user] gb.web how to using class file of webpage files? Message-ID: <CALci+FRCXd5Lj1bpDn7-EFT0tMHoAfvhqMK_GfrpWd-Jg8ox-A@...627...> yes me again! more gb.web questions!!! what! headache! where! hey dont run! hey!.... i want to know how to put code in the .class file generated from the .webpage files.. Dcumentation said that .sebpage files are forms also, but focused on html and scripting.. each form have .class counterpart for overriding code.. how can i override code in the .class file.. can i use sub rutines or functions in .sebpage forms? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Mon Nov 25 20:09:22 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 25 Nov 2013 20:09:22 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <5293A062.1080608@...1...> http://www.phoronix.com/scan.php?page=news_item&px=MTUyNTM -- Beno?t Minisini From nemh at ...2007... Mon Nov 25 20:31:24 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Mon, 25 Nov 2013 20:31:24 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5293A062.1080608@...1...> References: <5293A062.1080608@...1...> Message-ID: <5293A58C.8030302@...2007...> 2013-11-25 20:09 keltez?ssel, Beno?t Minisini ?rta: > http://www.phoronix.com/scan.php?page=news_item&px=MTUyNTM > Just don't read the comments. :-) Kendek From sebikul at ...626... Mon Nov 25 21:05:29 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 25 Nov 2013 18:05:29 -0200 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5293A58C.8030302@...2007...> References: <5293A062.1080608@...1...> <5293A58C.8030302@...2007...> Message-ID: <CAAkQKUYcd0ByovPXSXLJNcQ8vahkogNVMGw7-1ttmX86Qxi5yA@...627...> Why not? They are hilarious! On Nov 25, 2013 4:32 PM, "Kende Kriszti?n" <nemh at ...2007...> wrote: > 2013-11-25 20:09 keltez?ssel, Beno?t Minisini ?rta: > > http://www.phoronix.com/scan.php?page=news_item&px=MTUyNTM > > > > Just don't read the comments. :-) > > Kendek > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mkuyumcu at ...3233... Mon Nov 25 21:23:05 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Mon, 25 Nov 2013 12:23:05 -0800 (PST) Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5293A062.1080608@...1...> References: <5293A062.1080608@...1...> Message-ID: <1385410985368-44374.post@...3046...> Monsieur, thanks for sharing. Over the last days, after my switch from Windows to Linux, I have gotten to know some of the basics of Gambas and am very pleased with the general ease with which I can productively write GUI-based software in Gambas. Even the speed is quite good for an interpreted language, I think. Thank you for making Gambas available and for keeping developing it! I met a couple of friendly, helpful people on the forum/mailing list, which is very nice, too. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/A-little-article-on-Gambas-on-Phoronix-tp44369p44374.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Mon Nov 25 22:59:54 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 25 Nov 2013 22:59:54 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <1385410985368-44374.post@...3046...> References: <5293A062.1080608@...1...> <1385410985368-44374.post@...3046...> Message-ID: <CAFkCsL7GmEO7Zwpi-ahgHLWdKKzcn3zE7QQGFfj-GvKhOZ9zAA@...627...> The same problem remain... some people don't know Gambas and don't want to know it because it's a BASIC. But the Gambas syntaxe is now a modern Basic far more modern even than VB. Long life to us :-) 2013/11/25 ukimiku <mkuyumcu at ...3233...>: > Monsieur, > > thanks for sharing. > > Over the last days, after my switch from Windows to Linux, I have gotten to > know some of the basics of Gambas and am very pleased with the general ease > with which I can productively write GUI-based software in Gambas. Even the > speed is quite good for an interpreted language, I think. > > Thank you for making Gambas available and for keeping developing it! > > I met a couple of friendly, helpful people on the forum/mailing list, which > is very nice, too. > > Regards, > ukimiku > > > > ----- > Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. > -- > View this message in context: http://gambas.8142.n7.nabble.com/A-little-article-on-Gambas-on-Phoronix-tp44369p44374.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From vuott at ...325... Tue Nov 26 01:51:32 2013 From: vuott at ...325... (Ru Vuott) Date: Tue, 26 Nov 2013 00:51:32 +0000 (GMT) Subject: [Gambas-user] R: A little article on Gambas on Phoronix In-Reply-To: <5293A062.1080608@...1...> Message-ID: <1385427092.62541.YahooMailBasic@...3065...> Hello Beno?t I communicated this your message to italian Gambas forum. Bye vuott -------------------------------------------- Lun 25/11/13, Beno?t Minisini <gambas at ...1...> ha scritto: Oggetto: [Gambas-user] A little article on Gambas on Phoronix A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net> Data: Luned? 25 novembre 2013, 20:09 http://www.phoronix.com/scan.php?page=news_item&px=MTUyNTM -- Beno?t Minisini ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Tue Nov 26 08:13:05 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 26 Nov 2013 07:13:05 +0000 Subject: [Gambas-user] Issue 478 in gambas: Right-to-left language support Message-ID: <0-6813199134517018827-7144166956085109315-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.1.0 Type-Bug Priority-Low OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 478 by arif_rah... at ...2488...: Right-to-left language support http://code.google.com/p/gambas/issues/detail?id=478 For better RTL-program-appearance, a lot of components (Slider, TextArea, TreeView, GridView) should be drawn right-to-left. Attachments: miftah3.jpg 87.4 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From eilert-sprachen at ...221... Tue Nov 26 10:02:55 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 26 Nov 2013 10:02:55 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5293A58C.8030302@...2007...> References: <5293A062.1080608@...1...> <5293A58C.8030302@...2007...> Message-ID: <529463BF.5070301@...221...> Am 25.11.2013 20:31, schrieb Kende Kriszti?n: > 2013-11-25 20:09 keltez?ssel, Beno?t Minisini ?rta: >> http://www.phoronix.com/scan.php?page=news_item&px=MTUyNTM >> > > Just don't read the comments. :-) > > Kendek > Well, there's a troll in every such discussion, and there are always some folks who try to cry him down... which can be very refreshing if you manage to fade out the troll's comments and concentrate on the points the others bring forward. Rolf From mckaygerhard at ...626... Tue Nov 26 14:07:16 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 26 Nov 2013 08:37:16 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From: Fabien Bodard <gambas.fr at ...626...> > The same problem remain... some people don't know Gambas and don't > want to know it because it's a BASIC. But the Gambas syntaxe is now a > modern Basic far more modern even than VB. due there's no critically apps on production environment, there's no enterprise that uses gambas to any critical application , and i the only one here that already have that! also none of the principal modern linux distributions or meta-distributions use gambas for most used applications, like media player (such XT-player) or file manager... VenenuX 0.8 was the firts linux that build ship gambas (dvd) and comes with some important applications (partition grafical automontaer carontes-fs as example) Now i pretend in next comming event of cnsl and frisol in Venezuela in 2014 to make presentations about some of high end production applications and also (of course) a VenenuX Gambas iso for development (like GambOS) two of the developments are web cgi based applications, due its more easy to develop rathen than the stup?d pytnon or php .... (and if something have dissagree with laste make a new threath about python vs gambas), gambas its so far the most easy to lear and develop RAD on linux. AH! AND STOP TO COMPARES TO VISUAL BASIC, how do u think gambas will be knwoed!? begind the shadows of Mocosoft-Basic? please guys! From mkuyumcu at ...3233... Tue Nov 26 14:32:12 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Tue, 26 Nov 2013 05:32:12 -0800 (PST) Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAFkCsL7GmEO7Zwpi-ahgHLWdKKzcn3zE7QQGFfj-GvKhOZ9zAA@...627...> References: <5293A062.1080608@...1...> <1385410985368-44374.post@...3046...> <CAFkCsL7GmEO7Zwpi-ahgHLWdKKzcn3zE7QQGFfj-GvKhOZ9zAA@...627...> Message-ID: <1385472732294-44380.post@...3046...> Yes, you are right. Do you know/remember "RealBasic"? The company has recently changed its name to "Xojo". They explicitly write on their website that they wanted to rid themselves of the "BASIC" image. I quite enjoyed programming in RealBasic a couple of years ago, though. But we should not concern ourselves too much with what other programmers think about our programming environment, should we? As long as we support each other sufficiently, I don't care how many people actually use Gambas. Sure, if more people use it, chances are that they start programming useful components, but I personally intend to use Gambas for recreational purposes (mathematics) as well as, a bit, for professional tasks. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/A-little-article-on-Gambas-on-Phoronix-tp44369p44380.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Nov 26 14:48:26 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 26 Nov 2013 14:48:26 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> Message-ID: <5294A6AA.1070804@...1...> Le 26/11/2013 14:07, PICCORO McKAY Lenz a ?crit : > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > due there's no critically apps on production environment, there's no > enterprise that uses gambas to any critical application , and i the > only one here that already have that! > I earn my life with a web application made with Gambas: I have currently twenty servers running it Gambas 24 hours a day. Many problems encountered of course, but no Gambas-related problem for a long time... Here is what these applications do: - Tracking cars, trucks, phone devices... displayed on a map. - Managing tag cleaning of Paris. - Managing most of road signs of Paris. - Call center. - ...and many other things I can't translate in english! -- Beno?t Minisini From gambas at ...1... Tue Nov 26 14:52:32 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 26 Nov 2013 14:52:32 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5294A6AA.1070804@...1...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> Message-ID: <5294A7A0.4030306@...1...> Le 26/11/2013 14:48, Beno?t Minisini a ?crit : > Le 26/11/2013 14:07, PICCORO McKAY Lenz a ?crit : >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> due there's no critically apps on production environment, there's no >> enterprise that uses gambas to any critical application , and i the >> only one here that already have that! >> > > I earn my life with a web application made with Gambas: I have currently > twenty servers running it Gambas 24 hours a day. Many problems . /|\ | | Oops, one Gambas word too much! -- Beno?t Minisini From taboege at ...626... Tue Nov 26 14:52:58 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Nov 2013 14:52:58 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5294A6AA.1070804@...1...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> Message-ID: <20131126135257.GA513@...2774...> On Tue, 26 Nov 2013, Beno??t Minisini wrote: > Le 26/11/2013 14:07, PICCORO McKAY Lenz a ??crit : > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > > > due there's no critically apps on production environment, there's no > > enterprise that uses gambas to any critical application , and i the > > only one here that already have that! > > > > I earn my life with a web application made with Gambas: I have currently > twenty servers running it Gambas 24 hours a day. Many problems > encountered of course, but no Gambas-related problem for a long time... > > Here is what these applications do: > - Tracking cars, trucks, phone devices... displayed on a map. > - Managing tag cleaning of Paris. > - Managing most of road signs of Paris. > - Call center. > - ...and many other things I can't translate in english! > I remember you mentioned that once but I didn't remember that it was _that_ impressive! Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Tue Nov 26 15:34:52 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 26 Nov 2013 10:04:52 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FSBMEi4TyXGsX7pHT6qcTLL0GnN06pqU+PjtaFkcUDUQQ@...627...> WOW!! how quickly response to my lasted mail about that topic! well its clarelly that most linux users do not know already about that' facts! so then the need its more stability, less "evolution" (ok ok, but that's enough) gambas are really powerfully but litlle people already know it! a example of power of gambas its www.gambasforge.org/index.html but its only in french (i have now studing french oh men! god daemon! due in that site theres a lot of resources of gambas, more rather than here ok) due its only in french a lof of people loss relationship and code interchange! another problem its the documentation, has two defects: 1) its only online 2) its vage on newer features and "evolutive" things such gb.web, gb.v4l, gb.jit without good documentation, people dont want to use ... and loss interest now i'll respond all the mails (thats was the most quickly response of my mail history wow) From: ukimiku <mkuyumcu at ...3233...> > Yes, you are right. Do you know/remember "RealBasic"? The company has > recently changed its name to "Xojo". They explicitly write on their website > that they wanted to rid themselves of the "BASIC" image. I quite enjoyed > programming in RealBasic a couple of years ago, though. That's i was taking about > > But we should not concern ourselves too much with what other programmers > think about our programming environment, should we? As long as we support > each other sufficiently, I don't care how many people actually use Gambas. well gambas its so far a sufficient comunity to mantain alive the project, but the time will consume that, and benoit will be alone if comunity dont expant, benoit has familly and responsabilities to attent, not only gambas! so? > Sure, if more people use it, chances are that they start programming useful > components, but I personally intend to use Gambas for recreational purposes > (mathematics) as well as, a bit, for professional tasks. do u note that u said that "gambas its only for u'r creational purposes", and for production critical env? a Manager never will test a product that never has proved! From: Beno?t Minisini <gambas at ...1...> > I earn my life with a web application made with Gambas: I have currently > twenty servers running it Gambas 24 hours a day. Many problems > encountered of course, but no Gambas-related problem for a long time... like me, i never have a gambas problem! i really thank to u men! i have only 1 linux server Dell R710 16 cores, 32Gb ram with a SAN manager enought powerfully for 10 years; 3 linux servers for intranet, networking WAN DNS and development repository; i have a PAYROLL runnig ok! the assistence sistem its the only free app that i made > > Here is what these applications do: > - Tracking cars, trucks, phone devices... displayed on a map. > - Managing tag cleaning of Paris. > - Managing most of road signs of Paris. > - Call center. > - ...and many other things I can't translate in english! Benoit, lke me, u are a little comunity inside a worldwide too big.. due no-one of that apps are used outside of u'r needs >> twenty servers running it Gambas 24 hours a day. Many problems > Oops, one Gambas word too much! I have a PAYROLL systemn RUNNIG if this project got 2014 with good status, i got 87 high-end servers migrated with a node of my application Benoit i not taking about wich have more apps runnig, i taking about that gambas must be knowed more rather than a comunity of gambas-programing hobbies! From: Tobias Boege <taboege at ...626...> > I remember you mentioned that once but I didn't remember that it was _that_ > impressive! well yes... but only fit their need's, that its the reason of the comments on phoronix there's no examples of high end well used apps made on gambas in enterprices! the only linux distributions that ship with gambas its GambOS today From mckaygerhard at ...626... Tue Nov 26 15:36:21 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 26 Nov 2013 10:06:21 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> WOW!! how quickly response to my lasted mail about that topic! well its clarelly that most linux users do not know already about that' facts! so then the need its more stability, less "evolution" (ok ok, but that's enough) gambas are really powerfully but litlle people already know it! a example of power of gambas its www.gambasforge.org/index.html but its only in french (i have now studing french oh men! god daemon! due in that site theres a lot of resources of gambas, more rather than here ok) due its only in french a lof of people loss relationship and code interchange! another problem its the documentation, has two defects: 1) its only online 2) its vage on newer features and "evolutive" things such gb.web, gb.v4l, gb.jit without good documentation, people dont want to use ... and loss interest now i'll respond all the mails (thats was the most quickly response of my mail history wow) From: ukimiku <mkuyumcu at ...3233...> > Yes, you are right. Do you know/remember "RealBasic"? The company has > recently changed its name to "Xojo". They explicitly write on their website > that they wanted to rid themselves of the "BASIC" image. I quite enjoyed > programming in RealBasic a couple of years ago, though. That's i was taking about > > But we should not concern ourselves too much with what other programmers > think about our programming environment, should we? As long as we support > each other sufficiently, I don't care how many people actually use Gambas. well gambas its so far a sufficient comunity to mantain alive the project, but the time will consume that, and benoit will be alone if comunity dont expant, benoit has familly and responsabilities to attent, not only gambas! so? > Sure, if more people use it, chances are that they start programming useful > components, but I personally intend to use Gambas for recreational purposes > (mathematics) as well as, a bit, for professional tasks. do u note that u said that "gambas its only for u'r creational purposes", and for production critical env? a Manager never will test a product that never has proved! From: Beno?t Minisini <gambas at ...1...> > I earn my life with a web application made with Gambas: I have currently > twenty servers running it Gambas 24 hours a day. Many problems > encountered of course, but no Gambas-related problem for a long time... like me, i never have a gambas problem! i really thank to u men! i have only 1 linux server Dell R710 16 cores, 32Gb ram with a SAN manager enought powerfully for 10 years; 3 linux servers for intranet, networking WAN DNS and development repository; i have a PAYROLL runnig ok! the assistence sistem its the only free app that i made > > Here is what these applications do: > - Tracking cars, trucks, phone devices... displayed on a map. > - Managing tag cleaning of Paris. > - Managing most of road signs of Paris. > - Call center. > - ...and many other things I can't translate in english! Benoit, lke me, u are a little comunity inside a worldwide too big.. due no-one of that apps are used outside of u'r needs >> twenty servers running it Gambas 24 hours a day. Many problems > Oops, one Gambas word too much! I have a PAYROLL systemn RUNNIG if this project got 2014 with good status, i got 87 high-end servers migrated with a node of my application Benoit i not taking about wich have more apps runnig, i taking about that gambas must be knowed more rather than a comunity of gambas-programing hobbies! From: Tobias Boege <taboege at ...626...> > I remember you mentioned that once but I didn't remember that it was _that_ > impressive! well yes... but only fit their need's, that its the reason of the comments on phoronix there's no examples of high end well used apps made on gambas in enterprices! From vuott at ...325... Tue Nov 26 16:39:01 2013 From: vuott at ...325... (Ru Vuott) Date: Tue, 26 Nov 2013 15:39:01 +0000 (GMT) Subject: [Gambas-user] article on Gambas... Message-ID: <1385480341.69638.YahooMailBasic@...3063...> > a example of power of gambas its www.gambasforge.org/index.html Hi, yes, but we must add also: - http://www.gambas-es.org/ - http://www.gambas-it.org/smf/ - http://www.gambas-club.de/ Plurality is a treasure, but I think it would also need some kind of connection and interrelation between the forum. bye vuott From gambas at ...1... Tue Nov 26 17:03:34 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 26 Nov 2013 17:03:34 +0100 Subject: [Gambas-user] Warning! Incompatible change in revision #5975 Message-ID: <5294C656.1070003@...1...> Hi, In revision #5975, I fixed the gb.web Response class so that now buffered responses use the "Windows" end-of-line by default (CR+LF) and not the "Unix" end-of-line (LF). The unbuffered responses still use the "Windows" end-of-line by default. This fix is not backward-compatible, as now if you do nothing (i.e. if you don't use the new Response.EndOfLine property), your buffered responses will send CR+LF instead of just LF at each end-of-line. So, be careful! -- Beno?t Minisini From taboege at ...626... Tue Nov 26 17:29:11 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Nov 2013 17:29:11 +0100 Subject: [Gambas-user] article on Gambas... In-Reply-To: <1385480341.69638.YahooMailBasic@...3063...> References: <1385480341.69638.YahooMailBasic@...3063...> Message-ID: <20131126162911.GB513@...2774...> On Tue, 26 Nov 2013, Ru Vuott wrote: > > a example of power of gambas its www.gambasforge.org/index.html > > Hi, > > yes, but we must add also: > - http://www.gambas-es.org/ > - http://www.gambas-it.org/smf/ > - http://www.gambas-club.de/ > I think he meant that gambasforge.org is written in Gambas. I don't think, the other forums are. At least gambas-club.de is driven by phpBB. > Plurality is a treasure, but I think it would also need some kind of connection and interrelation between the forum. > Well, as of 22nd this month, you are speaking with the new head of gambas-club.de here :-) I will try to open that forum more to other resources, adding links and stuff (and most importantly, replace all occurences of the Gambas2 logo by the Gambas3 one!) but beyond that, I can't imagine what to do. I only speak German, English and what remains from my school French. See, we can't really connect them any closer (like linking topics) because we speak different languages. Of course, we all speak Gambas but how to pose a question in Gambas? :-) Events like programming contests or so together would also boil down to speaking English with one another which contradicts the raison d'etre (at least as I understand it) of these forums - to use one's native language. Not sure how to improve the situation - except for adding links, of course - but I'm open for suggestions. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Tue Nov 26 17:42:53 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Nov 2013 17:42:53 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> Message-ID: <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> The first Unity conf app "MyUnity" was done with Gambas.... but noOne knows because there 're end users :-) From gambas.fr at ...626... Tue Nov 26 17:43:08 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Nov 2013 17:43:08 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> Message-ID: <CAFkCsL6n+tNPM2Hovq56iOXxWMEe4GAEVSTeZ6=jO75E_bACRA@...627...> There 're -> they are 2013/11/26 Fabien Bodard <gambas.fr at ...626...>: > The first Unity conf app "MyUnity" was done with Gambas.... but noOne > knows because there 're end users :-) -- Fabien Bodard From shordi at ...626... Tue Nov 26 17:44:22 2013 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Tue, 26 Nov 2013 17:44:22 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> Message-ID: <CAOx-q9s+yKu_8GJ7owvrPVjoc72db+4qpUqMs_+2jW0t2+eFSA@...627...> >due there's no critically apps on production environment, there's no >enterprise that uses gambas to any critical application , and i the >only one here that already have that! Not the only one. My enterprise depends absolutly of gambas developments. Critical, 24 hours per day seven days per week. Gambas Is great. Dogs have always barked when someone rides ahead. Keep doing the good work. Regards 2013/11/26 PICCORO McKAY Lenz <mckaygerhard at ...626...> > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > From: Fabien Bodard <gambas.fr at ...626...> > > The same problem remain... some people don't know Gambas and don't > > want to know it because it's a BASIC. But the Gambas syntaxe is now a > > modern Basic far more modern even than VB. > > due there's no critically apps on production environment, there's no > enterprise that uses gambas to any critical application , and i the > only one here that already have that! > > also none of the principal modern linux distributions or > meta-distributions use gambas for most used applications, like media > player (such XT-player) or file manager... VenenuX 0.8 was the firts > linux that build ship gambas (dvd) and comes with some important > applications (partition grafical automontaer carontes-fs as example) > > Now i pretend in next comming event of cnsl and frisol in Venezuela in > 2014 to make presentations about some of high end production > applications and also (of course) a VenenuX Gambas iso for development > (like GambOS) > > two of the developments are web cgi based applications, due its more > easy to develop rathen than the stup?d pytnon or php .... (and if > something have dissagree with laste make a new threath about python vs > gambas), gambas its so far the most easy to lear and develop RAD on > linux. > > AH! AND STOP TO COMPARES TO VISUAL BASIC, how do u think gambas will > be knwoed!? begind the shadows of Mocosoft-Basic? please guys! > > > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up > now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Tue Nov 26 17:59:41 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 26 Nov 2013 12:29:41 -0430 Subject: [Gambas-user] article on Gambas... Message-ID: <CALci+FR3dOuQCGA3rv1vsVb9HUoDx6e2u4NVuT8PnaoQU3d5pg@...627...> From: Ru Vuott <vuott at ...325...> Voutt, the follow link >> a example of power of gambas its www.gambasforge.org/index.html are made in gb.web all forum , wiki and enguine framework compl?ety! do u note? those: > yes, but we must add also: > - http://www.gambas-es.org/ are a php work ok! not gb.web > - http://www.gambas-it.org/smf/ tjhis are SMF simpel machine forum ok! not gb.web! > - http://www.gambas-club.de/ please men! > > Plurality is a treasure, but I think it would also need some kind of connection and interrelation between the forum. that's not the topic, but thats good also... From mckaygerhard at ...626... Tue Nov 26 18:06:49 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 26 Nov 2013 12:36:49 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FT77Yazr-om_mby2xCOSK9iyLbQeGbjQVvSd0uhtbsaWQ@...627...> From: Fabien Bodard <gambas.fr at ...626...> > The first Unity conf app "MyUnity" was done with Gambas.... but noOne > knows because there 're end users :-) 1) a link please? 2) usefully in unity, unity are default for winbuntu/some-phones, that's good 3) how can we promote that to winbuntu repositories (i mean oficial packages) as u note u'r app dont run in gambas 3.1 so never will be in oficial ubnutu repositories.. that one point so the work of kendek must be move to winbuntu end users need lasted or at leas estable compatible releases with developed apps in oficial linux distributions so then their' more propagation of apps developed! And, what about the debianization of gambas? i already send copyright file notes, an then stop mail activity! Debian activity are null! winbuntu packagers interest are stopped (i mean oficial packages for end users)? From nemh at ...2007... Tue Nov 26 18:25:37 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Tue, 26 Nov 2013 18:25:37 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FT77Yazr-om_mby2xCOSK9iyLbQeGbjQVvSd0uhtbsaWQ@...627...> References: <CALci+FT77Yazr-om_mby2xCOSK9iyLbQeGbjQVvSd0uhtbsaWQ@...627...> Message-ID: <5294D991.9000803@...2007...> 2013-11-26 18:06 keltez?ssel, PICCORO McKAY Lenz ?rta: > From: Fabien Bodard <gambas.fr at ...626...> >> The first Unity conf app "MyUnity" was done with Gambas.... but noOne >> knows because there 're end users :-) > 1) a link please? https://launchpad.net/myunity > 2) usefully in unity, unity are default for winbuntu/some-phones, that's good Unity is default in Ubuntu. > 3) how can we promote that to winbuntu repositories (i mean oficial packages) > > as u note u'r app dont run in gambas 3.1 so never will be in oficial > ubnutu repositories.. that one point > > so the work of kendek must be move to winbuntu > > end users need lasted or at leas estable compatible releases with > developed apps in oficial linux distributions > > so then their' more propagation of apps developed! > > And, what about the debianization of gambas? i already send copyright > file notes, an then stop mail activity! Debian activity are null! > winbuntu packagers interest are stopped (i mean oficial packages for > end users)? > Yeah, I use PPA system, because I use the latest Gambas with latest features. My app isn't compatible with Gambas 3.5.0 or older versions. So, I am interested in the official repositories, but I can not use them. Kendek From Karl.Reinl at ...2345... Tue Nov 26 18:51:03 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 26 Nov 2013 18:51:03 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> Message-ID: <1385488263.2407.0.camel@...40...> Am Dienstag, den 26.11.2013, 17:42 +0100 schrieb Fabien Bodard: > The first Unity conf app "MyUnity" was done with Gambas.... but noOne > knows because there 're end users :-) > Salut, just google 'MyUnity gambas' -- Amicalement Charlie From mkuyumcu at ...3233... Tue Nov 26 19:51:15 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Tue, 26 Nov 2013 10:51:15 -0800 (PST) Subject: [Gambas-user] article on Gambas... In-Reply-To: <20131126162911.GB513@...2774...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> Message-ID: <1385491875888-44396.post@...3046...> Tobias, congratulations! I read on the Gambas-Buch page that you are co-author of a book on Gambas programming. I tried to locate it at Amazon, but no luck. Where is it available? Does it cover Gambas 3? Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/article-on-Gambas-tp44386p44396.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Tue Nov 26 19:57:36 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Tue, 26 Nov 2013 10:57:36 -0800 (PST) Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FSBMEi4TyXGsX7pHT6qcTLL0GnN06pqU+PjtaFkcUDUQQ@...627...> References: <5293A062.1080608@...1...> <CALci+FSBMEi4TyXGsX7pHT6qcTLL0GnN06pqU+PjtaFkcUDUQQ@...627...> Message-ID: <1385492256235-44397.post@...3046...> Hi Piccoro McKay Lenz, "do u note that u said that "gambas its only for u'r creational purposes",", you wrote. But I didn't say that. I didn't say "only". If I should use Gambas professionally to some degree, I could quite well handle a few hick-ups. I don't plan on programming "mission-critical" tasks anytime soon, anyhow :) Gambas so far looks like a very useful tool to get programming jobs done elegantly and quickly. I desire no more... Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/A-little-article-on-Gambas-on-Phoronix-tp44369p44397.html Sent from the gambas-user mailing list archive at Nabble.com. From rmorgan62 at ...626... Tue Nov 26 20:10:58 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Tue, 26 Nov 2013 11:10:58 -0800 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <1385488263.2407.0.camel@...40...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> <1385488263.2407.0.camel@...40...> Message-ID: <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> Ok, I'll give my two cents worth... BASIC has gotten a bad wrap and it is now vogue to knock BASIC. The statement someone made in the article comments, something to the fact that "Anyone who has been exposed to BASIC cannot be a good programmer" is crap. BASIC was the first language for many GREAT programmers. In fact, anyone over 45 probably has some BASIC experience. BASIC was a great go-to (no pun intended) language for quick jobs that didn't require direct memory access for many years. BASIC was replaced by Pascal and C eventually took over Pascal in production areas. At first C was considered to difficult to teach new programmers. But as time marched forward C gained features and (mostly) instructors began to find ways to convey C's constructs in an way that was understandable to new programmers. Then Java came along and replaced C as a learning language. The fact is, many people STILL see BASIC as the old BASIC-A or Dartmouth BASIC or they simply repeat what someone they respect says about the language. The truth is, until they take the time to actually write several apps in the newer variants of BASIC, they have no grounds for their comments. My belief is that there is a place for just about any programming language. I hate FORTRAN but for scientific apps it still holds it own. As archaic as ADA can be, if I am writing code for the something life depends upon, I'd still use it. If I want to knock out an app quickly that does not require a lot of complicated coding then BASIC is as good as it has always been and then some! A smart developer puts many tools in his belt. He learns like a craftsman that there is a place for each tool in his toolbox. So he'll use some all the time because they fit his needs and his style, other's he'll rarely use because they make his job more complex most of the time, or don't fit the type of jobs he usually does. But when needed, they provide capabilities that the other tools don't. I remember a time when PHP and Python were both considered by many to be "toy" scripting languages and "real" developers didn't use scripting languages. A real programmer only used compiled languages. PHP now has a large hold on the the WEB and Python has grown into it's own and is becoming a great general purpose language. If Gambas did not solve some problem(s) for a class of developer, it wouldn't exist. Just as Fortran, Prolog, Pascal, and ADA would die if they didn't solve some issue for the people who use them. Just because one person or a few people can't see the benefits may only mean they don't work in an environment that would benefit from that particular language. I can count on one hand the number of professional apps I've written with VB. But that doesn't make VB a bad language (it does have it's particularities. But, then doesn't every language?). I've written more apps in Gambas but only because it fits my needs now. I wrote many apps in GWBASIC, BASIC-A, Forth, Fortran, Prolog, COBOL, and even many in Assembler. Just as I return to BASIC when that tool fits my task well, I would return to Assembler (and do) when speed or size is an issue. Those who declare BASIC a toy language have failed to grow up with the language. They should also declare C a dead language and declare Java or C++ it's successor. But the truth is, C is still preferred over C++ in many instances. So let the naysayers have their moment to demonstrate their lack of breath of experience and those of us who know a good thing when we see it will continue to be productive with what ever tool best fits our task and style. And, remember, these naysayers are the same guys declaring their language is the only "real" tool for all problems. They'd use a sledge hammer to drive a thumbtack in the wall. Just my two cents ;-) On Tue, Nov 26, 2013 at 9:51 AM, Charlie Reinl <Karl.Reinl at ...9...>wrote: > Am Dienstag, den 26.11.2013, 17:42 +0100 schrieb Fabien Bodard: > > The first Unity conf app "MyUnity" was done with Gambas.... but noOne > > knows because there 're end users :-) > > > Salut, > > just google 'MyUnity gambas' > > > -- > Amicalement > Charlie > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user 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 iss_boss at ...770... Tue Nov 26 20:40:59 2013 From: iss_boss at ...770... (ISS Boss) Date: Tue, 26 Nov 2013 14:40:59 -0500 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> <1385488263.2407.0.camel@...40...> <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> Message-ID: <5294F94B.1040500@...770...> Very well put, Randall. I also learned my programming skills back in 1962 when I entered the programming shop of the US Navy. I spent 20 years there using some pretty esoteric languages but BASIC was still used in my home right at first. It was BASIC that Heathkit provided for their first computer kits (H8 and H89) which I built several of. In the navy, I was exposed to NELIAC, which was a language used solely in the Naval Security Group of which I was a member. In my case, FORTRAN replaced NELIAC when they went to VAX machines for the replacement computers in the HFDF network. I also went to many classes for other languages: ADA, FORTH, and, yes, C. Over the years following my retirement in 1980 I ended up using C again on a platform of iRMX (an Intel operating system which I love) along with PLM. When the very first version of VB came out, I bought it and immediately began writing programs for sale. I did quite well with it and kept up with the newer version as they climbed from 1.0 through 6.0SP2. Now, I use VB.NET also when I'm not running my UBUNTU machine. On that, I finally fell into the Gambas network and am having a ball honing my BASIC skills yet again. As for mission critical applications, I doubt that I'd use Gambas, but for friends of mine that have moved to LINUX, I provide them with free apps that they help debug for me. It's a win/win situation. And now, back into my cave. Bill Randall Morgan wrote, On 11/26/2013 14:10: Ok, I'll give my two cents worth... BASIC has gotten a bad wrap and it is now vogue to knock BASIC. The statement someone made in the article comments, something to the fact that "Anyone who has been exposed to BASIC cannot be a good programmer" is crap. BASIC was the first language for many GREAT programmers. In fact, anyone over 45 probably has some BASIC experience. BASIC was a great go-to (no pun intended) language for quick jobs that didn't require direct memory access for many years. BASIC was replaced by Pascal and C eventually took over Pascal in production areas. At first C was considered to difficult to teach new programmers. But as time marched forward C gained features and (mostly) instructors began to find ways to convey C's constructs in an way that was understandable to new programmers. Then Java came along and replaced C as a learning language. The fact is, many people STILL see BASIC as the old BASIC-A or Dartmouth BASIC or they simply repeat what someone they respect says about the language. The truth is, until they take the time to actually write several apps in the newer variants of BASIC, they have no grounds for their comments. My belief is that there is a place for just about any programming language. I hate FORTRAN but for scientific apps it still holds it own. As archaic as ADA can be, if I am writing code for the something life depends upon, I'd still use it. If I want to knock out an app quickly that does not require a lot of complicated coding then BASIC is as good as it has always been and then some! A smart developer puts many tools in his belt. He learns like a craftsman that there is a place for each tool in his toolbox. So he'll use some all the time because they fit his needs and his style, other's he'll rarely use because they make his job more complex most of the time, or don't fit the type of jobs he usually does. But when needed, they provide capabilities that the other tools don't. I remember a time when PHP and Python were both considered by many to be "toy" scripting languages and "real" developers didn't use scripting languages. A real programmer only used compiled languages. PHP now has a large hold on the the WEB and Python has grown into it's own and is becoming a great general purpose language. If Gambas did not solve some problem(s) for a class of developer, it wouldn't exist. Just as Fortran, Prolog, Pascal, and ADA would die if they didn't solve some issue for the people who use them. Just because one person or a few people can't see the benefits may only mean they don't work in an environment that would benefit from that particular language. I can count on one hand the number of professional apps I've written with VB. But that doesn't make VB a bad language (it does have it's particularities. But, then doesn't every language?). I've written more apps in Gambas but only because it fits my needs now. I wrote many apps in GWBASIC, BASIC-A, Forth, Fortran, Prolog, COBOL, and even many in Assembler. Just as I return to BASIC when that tool fits my task well, I would return to Assembler (and do) when speed or size is an issue. Those who declare BASIC a toy language have failed to grow up with the language. They should also declare C a dead language and declare Java or C++ it's successor. But the truth is, C is still preferred over C++ in many instances. So let the naysayers have their moment to demonstrate their lack of breath of experience and those of us who know a good thing when we see it will continue to be productive with what ever tool best fits our task and style. And, remember, these naysayers are the same guys declaring their language is the only "real" tool for all problems. They'd use a sledge hammer to drive a thumbtack in the wall. Just my two cents ;-) From sourceforge-raindog2 at ...94... Tue Nov 26 20:42:53 2013 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Tue, 26 Nov 2013 14:42:53 -0500 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <1385492256235-44397.post@...3046...> References: <5293A062.1080608@...1...> <CALci+FSBMEi4TyXGsX7pHT6qcTLL0GnN06pqU+PjtaFkcUDUQQ@...627...> <1385492256235-44397.post@...3046...> Message-ID: <5294F9BD.2070706@...94...> On 11/26/2013 01:57 PM, ukimiku wrote: > I don't plan on programming "mission-critical" tasks anytime soon, > anyhow :) I have written mission-critical, shut-the-place-down-if-it-fails apps in Gambas. They were for the companies that paid for them to be written, not publicly released software, but they were mission-critical nonetheless. I don't use Gambas much anymore, but anyone who says it's not for professional use is simply massaging reality to fit his preconceived notions. It's not as big as VB (which many would also say is not for professional use, despite the enormous number of proprietary packages written in it) because desktop Linux isn't as big as Windows. That's all. On 11/26/2013 02:10 PM, Randall Morgan wrote: > I remember a time when PHP and Python were both considered by many to > be "toy" scripting languages Oh, there are plenty of those people still around. Usually, they use a different scripting language than the one they're maligning, or are functional programming snobs, or ivory-tower CS jobs. Most people I've met in IT are a little more technology-agnostic, though of course a lot of Windows folks aren't too fond of Linux stuff and vice versa. Rob From tom at ...3139... Tue Nov 26 20:30:09 2013 From: tom at ...3139... (Tom) Date: Tue, 26 Nov 2013 14:30:09 -0500 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> <1385488263.2407.0.camel@...40...> <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> Message-ID: <5294F6C1.6090706@...3139...> I agree! Well said... On 11/26/2013 2:10 PM, Randall Morgan wrote: > Ok, I'll give my two cents worth... > > BASIC has gotten a bad wrap and it is now vogue to knock BASIC. The > statement someone made in the article comments, something to the fact that > "Anyone who has been exposed to BASIC cannot be a good programmer" is crap. > BASIC was the first language for many GREAT programmers. In fact, anyone > over 45 probably has some BASIC experience. BASIC was a great go-to (no pun > intended) language for quick jobs that didn't require direct memory access > for many years. > > BASIC was replaced by Pascal and C eventually took over Pascal in > production areas. At first C was considered to difficult to teach new > programmers. But as time marched forward C gained features and (mostly) > instructors began to find ways to convey C's constructs in an way that was > understandable to new programmers. Then Java came along and replaced C as a > learning language. > > The fact is, many people STILL see BASIC as the old BASIC-A or Dartmouth > BASIC or they simply repeat what someone they respect says about the > language. The truth is, until they take the time to actually write several > apps in the newer variants of BASIC, they have no grounds for their > comments. > > My belief is that there is a place for just about any programming language. > I hate FORTRAN but for scientific apps it still holds it own. As archaic as > ADA can be, if I am writing code for the something life depends upon, I'd > still use it. If I want to knock out an app quickly that does not require a > lot of complicated coding then BASIC is as good as it has always been and > then some! > > A smart developer puts many tools in his belt. He learns like a craftsman > that there is a place for each tool in his toolbox. So he'll use some all > the time because they fit his needs and his style, other's he'll rarely use > because they make his job more complex most of the time, or don't fit the > type of jobs he usually does. But when needed, they provide capabilities > that the other tools don't. > > I remember a time when PHP and Python were both considered by many to be > "toy" scripting languages and "real" developers didn't use scripting > languages. A real programmer only used compiled languages. PHP now has a > large hold on the the WEB and Python has grown into it's own and is > becoming a great general purpose language. > > If Gambas did not solve some problem(s) for a class of developer, it > wouldn't exist. Just as Fortran, Prolog, Pascal, and ADA would die if they > didn't solve some issue for the people who use them. Just because one > person or a few people can't see the benefits may only mean they don't work > in an environment that would benefit from that particular language. > > I can count on one hand the number of professional apps I've written with > VB. But that doesn't make VB a bad language (it does have it's > particularities. But, then doesn't every language?). I've written more apps > in Gambas but only because it fits my needs now. I wrote many apps in > GWBASIC, BASIC-A, Forth, Fortran, Prolog, COBOL, and even many in > Assembler. Just as I return to BASIC when that tool fits my task well, I > would return to Assembler (and do) when speed or size is an issue. > > Those who declare BASIC a toy language have failed to grow up with the > language. They should also declare C a dead language and declare Java or > C++ it's successor. But the truth is, C is still preferred over C++ in many > instances. So let the naysayers have their moment to demonstrate their lack > of breath of experience and those of us who know a good thing when we see > it will continue to be productive with what ever tool best fits our task > and style. And, remember, these naysayers are the same guys declaring their > language is the only "real" tool for all problems. They'd use a sledge > hammer to drive a thumbtack in the wall. > > Just my two cents ;-) > > > > > > > > > > On Tue, Nov 26, 2013 at 9:51 AM, Charlie Reinl <Karl.Reinl at ...9...>wrote: > >> Am Dienstag, den 26.11.2013, 17:42 +0100 schrieb Fabien Bodard: >>> The first Unity conf app "MyUnity" was done with Gambas.... but noOne >>> knows because there 're end users :-) >>> >> Salut, >> >> just google 'MyUnity gambas' >> >> >> -- >> Amicalement >> Charlie >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From nicholso at ...2533... Tue Nov 26 21:09:23 2013 From: nicholso at ...2533... (MinnesotaJon) Date: Tue, 26 Nov 2013 12:09:23 -0800 (PST) Subject: [Gambas-user] article on Gambas... In-Reply-To: <1385491875888-44396.post@...3046...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> <1385491875888-44396.post@...3046...> Message-ID: <1385496563366-44402.post@...3046...> ukimiku wrote > Tobias, > > congratulations! > > I read on the Gambas-Buch page that you are co-author of a book on Gambas > programming. I tried to locate it at Amazon, but no luck. Where is it > available? Does it cover Gambas 3? > > Regards, > ukimiku Hello, Ukimiku -- There is a free .PDF book in English, "The Beginner's Guide to Gambas", which you can download at my blog www.beginnersguidetogambas.com You can also buy the paperback version of the book through a link on that blog page, if it meets your needs. It was written for both Gambas2 and Gambas3. The blog also includes sample projects, and other documents. Regards, Jon -- View this message in context: http://gambas.8142.n7.nabble.com/article-on-Gambas-tp44386p44402.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Tue Nov 26 21:26:35 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 26 Nov 2013 21:26:35 +0100 Subject: [Gambas-user] article on Gambas... In-Reply-To: <1385491875888-44396.post@...3046...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> <1385491875888-44396.post@...3046...> Message-ID: <20131126202635.GG513@...2774...> On Tue, 26 Nov 2013, ukimiku wrote: > Tobias, > > congratulations! > > I read on the Gambas-Buch page that you are co-author of a book on Gambas > programming. I tried to locate it at Amazon, but no luck. Where is it > available? Does it cover Gambas 3? > Good to hear that someone's interested in it! If you don't mind, I'd like to tell you the story because it contains an anecdote relevant to the original topic (of Gambas apparently not being a widely-used language - at least not as widely as I think is just)... Hans (the other author and my former computer science teacher) once contacted a publisher about the book when he wanted to start writing it. (Hans was alone at that time with his plans since I was 16 or so and not capable of writing a book - not that I really am now, two years later :-)) Anyways, the publisher said it would not sell because there weren't "more than a dozen" German-speaking Gambas programmers around who would buy the book... Sounds like the story gets a twist here, right? No, it doesn't :-) When school became more relaxed for me towards the A-level, we simply started to publish the book online, at http://gambas-buch.de. The obvious benefit of putting the book online is that we can target the latest (stable) Gambas releases - which is what we do, so yes, it is about Gambas 3(.5.1). Maybe we will also have a printed version in the future but not until most chapters are written. Regards, Tobi From gambas.fr at ...626... Tue Nov 26 21:52:12 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 26 Nov 2013 21:52:12 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5294F6C1.6090706@...3139...> References: <CALci+FSQyUe+76s7mP1eEVQcLMrheJPWOkshfjAX=C4pMgYmvw@...627...> <CAFkCsL7FoOG4KUq9UffhH8tVJ7+ghu1u45X2P6+fj_YaNTL68g@...627...> <1385488263.2407.0.camel@...40...> <CAGwqEL7dH2o8OCzi3ngkL9pcyqkmu_pu43VZfogcyHORqyV6QA@...627...> <5294F6C1.6090706@...3139...> Message-ID: <CAFkCsL7HekUpzaCubPL1NgRyTGZY2vta-ZEfdXkqN_QrCB1BfQ@...627...> http://www.uielinux.org/myunity/ 2013/11/26 Tom <tom at ...3139...>: > I agree! Well said... > > On 11/26/2013 2:10 PM, Randall Morgan wrote: >> Ok, I'll give my two cents worth... >> >> BASIC has gotten a bad wrap and it is now vogue to knock BASIC. The >> statement someone made in the article comments, something to the fact that >> "Anyone who has been exposed to BASIC cannot be a good programmer" is crap. >> BASIC was the first language for many GREAT programmers. In fact, anyone >> over 45 probably has some BASIC experience. BASIC was a great go-to (no pun >> intended) language for quick jobs that didn't require direct memory access >> for many years. >> >> BASIC was replaced by Pascal and C eventually took over Pascal in >> production areas. At first C was considered to difficult to teach new >> programmers. But as time marched forward C gained features and (mostly) >> instructors began to find ways to convey C's constructs in an way that was >> understandable to new programmers. Then Java came along and replaced C as a >> learning language. >> >> The fact is, many people STILL see BASIC as the old BASIC-A or Dartmouth >> BASIC or they simply repeat what someone they respect says about the >> language. The truth is, until they take the time to actually write several >> apps in the newer variants of BASIC, they have no grounds for their >> comments. >> >> My belief is that there is a place for just about any programming language. >> I hate FORTRAN but for scientific apps it still holds it own. As archaic as >> ADA can be, if I am writing code for the something life depends upon, I'd >> still use it. If I want to knock out an app quickly that does not require a >> lot of complicated coding then BASIC is as good as it has always been and >> then some! >> >> A smart developer puts many tools in his belt. He learns like a craftsman >> that there is a place for each tool in his toolbox. So he'll use some all >> the time because they fit his needs and his style, other's he'll rarely use >> because they make his job more complex most of the time, or don't fit the >> type of jobs he usually does. But when needed, they provide capabilities >> that the other tools don't. >> >> I remember a time when PHP and Python were both considered by many to be >> "toy" scripting languages and "real" developers didn't use scripting >> languages. A real programmer only used compiled languages. PHP now has a >> large hold on the the WEB and Python has grown into it's own and is >> becoming a great general purpose language. >> >> If Gambas did not solve some problem(s) for a class of developer, it >> wouldn't exist. Just as Fortran, Prolog, Pascal, and ADA would die if they >> didn't solve some issue for the people who use them. Just because one >> person or a few people can't see the benefits may only mean they don't work >> in an environment that would benefit from that particular language. >> >> I can count on one hand the number of professional apps I've written with >> VB. But that doesn't make VB a bad language (it does have it's >> particularities. But, then doesn't every language?). I've written more apps >> in Gambas but only because it fits my needs now. I wrote many apps in >> GWBASIC, BASIC-A, Forth, Fortran, Prolog, COBOL, and even many in >> Assembler. Just as I return to BASIC when that tool fits my task well, I >> would return to Assembler (and do) when speed or size is an issue. >> >> Those who declare BASIC a toy language have failed to grow up with the >> language. They should also declare C a dead language and declare Java or >> C++ it's successor. But the truth is, C is still preferred over C++ in many >> instances. So let the naysayers have their moment to demonstrate their lack >> of breath of experience and those of us who know a good thing when we see >> it will continue to be productive with what ever tool best fits our task >> and style. And, remember, these naysayers are the same guys declaring their >> language is the only "real" tool for all problems. They'd use a sledge >> hammer to drive a thumbtack in the wall. >> >> Just my two cents ;-) >> >> >> >> >> >> >> >> >> >> On Tue, Nov 26, 2013 at 9:51 AM, Charlie Reinl <Karl.Reinl at ...9...>wrote: >> >>> Am Dienstag, den 26.11.2013, 17:42 +0100 schrieb Fabien Bodard: >>>> The first Unity conf app "MyUnity" was done with Gambas.... but noOne >>>> knows because there 're end users :-) >>>> >>> Salut, >>> >>> just google 'MyUnity gambas' >>> >>> >>> -- >>> Amicalement >>> Charlie >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >>> Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From vuott at ...325... Tue Nov 26 22:17:11 2013 From: vuott at ...325... (Ru Vuott) Date: Tue, 26 Nov 2013 21:17:11 +0000 (GMT) Subject: [Gambas-user] article on Gambas... In-Reply-To: <20131126162911.GB513@...2774...> Message-ID: <1385500631.24638.YahooMailBasic@...3063...> Hello Tobias, I control all those forums regularly and frequently, as I consider them, however the important resources. To get the translation I use the online translators: I think the important thing is to understand the meaning of the messages. maybe ... can be a stimulus to learning, albeit in an elementary way, another language. ;-) Bye vuott -------------------------------------------- Mar 26/11/13, Tobias Boege <taboege at ...626...> ha scritto: Oggetto: Re: [Gambas-user] article on Gambas... A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net> Data: Marted? 26 novembre 2013, 17:29 On Tue, 26 Nov 2013, Ru Vuott wrote: > > a example of power of gambas its www.gambasforge.org/index.html > > Hi, > > yes, but we must add also: > - http://www.gambas-es.org/ > - http://www.gambas-it.org/smf/ > - http://www.gambas-club.de/ > I think he meant that gambasforge.org is written in Gambas. I don't think, the other forums are. At least gambas-club.de is driven by phpBB. > Plurality is a treasure, but I think it would also need some kind of connection and interrelation between the forum. > Well, as of 22nd this month, you are speaking with the new head of gambas-club.de here :-) I will try to open that forum more to other resources, adding links and stuff (and most importantly, replace all occurences of the Gambas2 logo by the Gambas3 one!) but beyond that, I can't imagine what to do. I only speak German, English and what remains from my school French. See, we can't really connect them any closer (like linking topics) because we speak different languages. Of course, we all speak Gambas but how to pose a question in Gambas? :-) Events like programming contests or so together would also boil down to speaking English with one another which contradicts the raison d'etre (at least as I understand it) of these forums - to use one's native language. Not sure how to improve the situation - except for adding links, of course - but I'm open for suggestions. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mkuyumcu at ...3233... Tue Nov 26 23:35:57 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Tue, 26 Nov 2013 14:35:57 -0800 (PST) Subject: [Gambas-user] article on Gambas... In-Reply-To: <20131126202635.GG513@...2774...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> <1385491875888-44396.post@...3046...> <20131126202635.GG513@...2774...> Message-ID: <1385505357290-44406.post@...3046...> Oh, if it had been online I would have already bought it :) While I acknowledge the value of the most recent, up-to-date coverage of a programming language, I really learn a lot from books. Also, I tend to take my laptop with me when I go on vacation, and sometimes I end up in places that have no reliable internet connection, which makes me appreciate books even more. My favourite example of a great programming book is "REALbasic - The Definitive Guide", published by O'Reilly, written my Matt Neuberg. It is funny (!!), comprehensive, factually correct, full of condensed, working practical examples, features a full explanation of easy to advanced object-oriented paradigms - and is just simply the best programming book I have ever bought. But no 3rd edition was ever published, because O'Reilly allegedly felt the demand for a book on "BASIC" programming dwindle (there it is again, the BASIC threat). I have already had a look at your online buch project. It looks really nice, and I have already learnt some peculiarities of Gambas from it. Furthermore, I think that you must have quite a nice computer science teacher. Like you, I like to test the workings of a programming language and then write documentation; when I was learning DECIMAL BASIC (with fantastic support for mathematical image transformations and even a stand-alone compiler, available also for Linux), there was hardly any German documentation to come by, and for my computer science students (mostly 5th to 9th graders) I summarized key aspects of the language along with examples in my own series of documentation leaflets. Anyhow, today we have print on demand, or you can let people pay for downloads of, say, pdf documents, or create a kind of subscription-based model for new revisions of your documentation. I think what you are doing is worth something, and I find the material that you present clearly written. All the happier I am, of course, that you make available so much of your work for free :) Keep up the good work! Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/article-on-Gambas-tp44386p44406.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Tue Nov 26 23:41:45 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Tue, 26 Nov 2013 14:41:45 -0800 (PST) Subject: [Gambas-user] article on Gambas... In-Reply-To: <1385496563366-44402.post@...3046...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> <1385491875888-44396.post@...3046...> <1385496563366-44402.post@...3046...> Message-ID: <1385505705079-44407.post@...3046...> Jon, thanks for pointing me to the pdf book. It was fortunately one of the first pieces of documention that I downloaded. Anyway, I would have been especially interested in a book by Tobias, because he writes in German, which happens to be also my native language. Since I am teaching (very basic) computer science to school children in Germany, this would have been perfect for me and, in case I ever decided to teach how to program in Gambas, saved me the trouble of having to translate everything into German. Regards, ukimiku ----- Before you criticise someone, you should walk a mile in his shoes. Because, when you criticize then, and he gets angry, you'll be a mile away - and have his shoes. -- View this message in context: http://gambas.8142.n7.nabble.com/article-on-Gambas-tp44386p44407.html Sent from the gambas-user mailing list archive at Nabble.com. From rterry at ...1823... Wed Nov 27 00:48:19 2013 From: rterry at ...1823... (richard terry) Date: Wed, 27 Nov 2013 10:48:19 +1100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <5294A6AA.1070804@...1...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> Message-ID: <52953343.8080203@...1823...> On 27/11/13 00:48, Beno?t Minisini wrote: > Le 26/11/2013 14:07, PICCORO McKAY Lenz a ?crit : >> Lenz McKAY Gerardo (PICCORO) >> http://qgqlochekone.blogspot.com >> >> due there's no critically apps on production environment, there's no >> enterprise that uses gambas to any critical application , and i the >> only one here that already have that! >> > I earn my life with a web application made with Gambas: I have currently > twenty servers running it Gambas 24 hours a day. Many problems > encountered of course, but no Gambas-related problem for a long time... > > Here is what these applications do: > - Tracking cars, trucks, phone devices... displayed on a map. > - Managing tag cleaning of Paris. > - Managing most of road signs of Paris. > - Call center. > - ...and many other things I can't translate in english! > I've been running my surgery on gambas/postgres for nearly 3 years now, and my friend Ian in Melbourne and a surgery up in Northern NSW is also using the program. Not quite finished.... but certain is in a mission-critical environment. Regards richard From eilert-sprachen at ...221... Wed Nov 27 08:34:15 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 27 Nov 2013 08:34:15 +0100 Subject: [Gambas-user] article on Gambas... In-Reply-To: <20131126162911.GB513@...2774...> References: <1385480341.69638.YahooMailBasic@...3063...> <20131126162911.GB513@...2774...> Message-ID: <5295A077.6080702@...221...> > Well, as of 22nd this month, you are speaking with the new head of > gambas-club.de here :-) Oh, nice to read. I'm not very often around there, but only on weekends up to now. > Events like programming contests or so together would also boil down to > speaking English with one another which contradicts the raison d'etre (at > least as I understand it) of these forums - to use one's native language. > > Not sure how to improve the situation - except for adding links, of course - > but I'm open for suggestions. > One might add a link to a community forum from each of the national forums. The user would see something like another discussion group within his own national forum, but entering it he would enter the international forum. Maybe it could be realised by cutting down a phpBB or myBB to just one visible discussion group and simply linking to it. The only technical question is that of memberships - these would somehow have to be copied to the international forum. Maybe it's possible to send username/password entries from the national forums to the international one via some secure way... and include them into its database. Has nobody in the FLOSS world had the idea yet? There must be examples and folks who can be asked how they did it... Rolf From vuott at ...325... Wed Nov 27 11:58:20 2013 From: vuott at ...325... (Ru Vuott) Date: Wed, 27 Nov 2013 10:58:20 +0000 (GMT) Subject: [Gambas-user] X coordinate in Paint.DrawText works in reverse. Message-ID: <1385549900.65469.YahooMailBasic@...3063...> Hello, I have this code: ************************************* Public Sub Button1_Click() Dim a As New Image Dim b As Picture ' I load a file image: a = a.Load("/path/of/file/image") With Paint .Begin(a) .Font.Size = 16 .DrawText("d", 100, 20, 10, 10) .End End With a.Mirror(True, False) b = a.Picture PictureBox1.Picture = b End *************************************** I do not understand why the X coordinate in "Paint.DrawText( )" metod works in reverse. ...if its value is near to zero, then the letter "b" is shown at the "right" edge of the image ! Increasing the value of the X coordinate, the letter approaches to the "left" edge of the image ! Same problem with "Paint.DrawRichText( )" metod ! Regards vuott From vuott at ...325... Wed Nov 27 12:25:18 2013 From: vuott at ...325... (Ru Vuott) Date: Wed, 27 Nov 2013 11:25:18 +0000 (GMT) Subject: [Gambas-user] R: X coordinate in Paint.DrawText works in reverse. In-Reply-To: <1385549900.65469.YahooMailBasic@...3063...> Message-ID: <1385551518.31053.YahooMailBasic@...3063...> uhmmm... I found that " a.Mirror(True, False) " function generates that effect. So, without that function X coordinate works normally. Ok. Regards vuott -------------------------------------------- Mer 27/11/13, Ru Vuott <vuott at ...325...> ha scritto: Oggetto: [Gambas-user] X coordinate in Paint.DrawText works in reverse. A: gambas-user at lists.sourceforge.net Data: Mercoled? 27 novembre 2013, 11:58 Hello, I have this code: ************************************* Public Sub Button1_Click() Dim a As New Image? Dim b As Picture? ? ' I load a file image: ???a = a.Load("/path/of/file/image") With Paint ???.Begin(a)? ???.Font.Size = 16 ? ? ? ???.DrawText("d", 100, 20, 10, 10)? ???.End End With ? ? a.Mirror(True, False)? ? ? b = a.Picture? ? ? PictureBox1.Picture = b? ? End *************************************** I do not understand why the X coordinate in "Paint.DrawText( )" metod works in reverse. ...if its value is near to zero, then the letter "b" is shown at the "right" edge of the image ! Increasing the value of the X coordinate, the letter approaches to the "left" edge of the image ! Same problem with "Paint.DrawRichText( )" metod ! Regards vuott ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Wed Nov 27 12:30:02 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 27 Nov 2013 12:30:02 +0100 Subject: [Gambas-user] X coordinate in Paint.DrawText works in reverse. In-Reply-To: <1385549900.65469.YahooMailBasic@...3063...> References: <1385549900.65469.YahooMailBasic@...3063...> Message-ID: <20131127113002.GE514@...2774...> On Wed, 27 Nov 2013, Ru Vuott wrote: > Hello, > > I have this code: > > ************************************* > > Public Sub Button1_Click() > > Dim a As New Image > Dim b As Picture > > ' I load a file image: > a = a.Load("/path/of/file/image") > > With Paint > .Begin(a) > .Font.Size = 16 > .DrawText("d", 100, 20, 10, 10) > .End > End With > > a.Mirror(True, False) > > b = a.Picture > > PictureBox1.Picture = b > > End > > *************************************** > > I do not understand why the X coordinate in "Paint.DrawText( )" metod works in reverse. ...if its value is near to zero, then the letter "b" is shown at the "right" edge of the image ! > Increasing the value of the X coordinate, the letter approaches to the "left" edge of the image ! > > Same problem with "Paint.DrawRichText( )" metod ! > The a.Mirror() looks suspicious... You mirror the Image "a" horizontally but you don't assign the return value to anything so this effectively does nothing. Why did you include that code? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From nigelverity at ...67... Wed Nov 27 12:33:15 2013 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 27 Nov 2013 11:33:15 +0000 Subject: [Gambas-user] A little article on Gambas on Phoronix (ISS Boss) Message-ID: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> Dear All It's been interesting to read about perceptions that BASIC is a "toy" programming language, not to be used for serious projects. I have to reject this notion. There are some very low level system programming tasks for which BASIC may not be the best choice but, in principle, like any other programming language, BASIC is as good as the programmer using it. I started my programming in the 1980s using FORTRAN 77. I wrote some dreadful "spaghetti" code in those days but, as my experience grew, so did the structure and quality of my programs. After a brief period using CORAL 66 I moved onto using COBOL. If ever there were a language which looks like a "toy" then it is COBOL, using words instead of operator symbols e.g "ADD X TO Y GIVING Z" instead of x + y = z. Deeper reflection shows that this makes the language far more self-documenting than any other. I don't know about now, but for a long time most of the world's banking system was built using COBOL so it must have had something going for it. Since those days I've used C, C++, Pascal and flavours of BASIC, such as VB and Gambas. In all of those languages it's possible, in fact easy, to write clear, well-structured, easily-maintainable code. It's a failure of the programmer when the logic of a program jumps about all over the place; not a weakness in the programming language. Even C supports "goto" commands and labels. One thing I have observed over the years is that a lot of programmers like to create the impression to non-developers that coding is intrinsically difficult. The syntax of C and C++ in particular helps to perpetuate this myth. Even fairly experienced developers can be a little awe-struck by uncommented code which embeds several levels of nested functions in a single line. It would probably be quite comprehensible if divided over multiple lines with consistent indentation and a few comments. I think that the simpler the code is to write and understand, the better the overall quality is likely to be. The BASIC syntax has many advantages in this respect, especially for anybody with a knowledge of English. It is noteworthy that Gambas and VB have been dismissed as if they are not "proper" development tools. Surely their efficiency for developing applications sets them apart from every other tool. Using either Gambas or VB, it would take less than 60 seconds for anybody with a little experience to start a new project and create a form containing a button which, when clicked, displays a message. I would challenge anybody to do that using any other tools or programming languages. When all programs ran in text mode, managing the user interface constituted a far smaller proportion of the code. When Windows and the Mac introduced the GUI to everyday applications that all changed and managing the user interface became by far the largest part of most programs. Tools which simplified that aspect of application development were desperately needed and VB satisfied that requirement, taking the market by storm. As time has gone by I have detected a growing opinion amongst developers that tools such as VB make programming too easy, and there been a trend back towards complexity. I accept that changing fashions in user interface design can require greater control of what appears on the screen, such as rounded corners, circular windows and so on. That's fair enough, but there is no reason why those additional functions can't be delivered by building on the relative simplicity of user-friendly tools and easy-to-understand code syntax. Maybe some programmers see simple development tools as a threat. They are not. A chisel is a simple tool to use but you need a skilled craftsman to get the best out of it. In much the same way there will always be a need for skilled programmers to develop applications of any real importance. I have experimented with Lazarus. This is another excellent development tool which has the advantage over Gambas of generating native executables and working cross-platform. Lazarus has a good form builder but it is hampered by being based on Pascal and exposing far more of its underlying complexity to the programmer. This provides greater scope for structural and coding errors and makes for more difficult debugging. I still have a need to develop database applications on Windows from time to time. I use Access/VBA as my tool of choice, but I have noted how Microsoft has made the user interface more complex in recent versions, for no real functional gain. I suspect this is a move to make it look like a more serious tool. When I get back to developing on Linux using Gambas it is like a load being lifted from my shoulders. Gambas is a tool which every serious developer should examine closely. Its biggest challenge is the mistaken notion which equates professionalism and functionality with complexity. Nige From eilert-sprachen at ...221... Wed Nov 27 13:24:30 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 27 Nov 2013 13:24:30 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix (ISS Boss) In-Reply-To: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> References: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> Message-ID: <5295E47E.4070404@...221...> 100 % agreed, Nigel. Maybe leaving away all mentioning of VB in the headlines would already help a bit in the way the public perceives the project. What I mean is, the website and the texts describing it for newcomers. Mentioning VB could wake evil memories for some folks not so aquainted with modern BASICs. Why not simply propagating a state-of-the-art RAD tool for Linux, and when people dig somewhat deeper, they find "oh, it looks like a modern kind of BASIC, I remember there once was a thing called VB which was similar but not that strong" ;-) We might want to present couple of screenshots from different flavours of Linux and different projects, all looking "very professional" and stating "rapid development of...", "easy access to...", "object orientation" etc. It's necessary to find the right words describing the basic functions to avoid misunderstandings. You can then find a way of expressing "it's so fast and yet easy just BECAUSE it's a specialised tool with commands based on the BASIC language". And you have to find a tone of "this is modern, this saves you time, this is chic". Look at websites like Darktable (well, it's kinda understatement), Scribus, LibreOffice etc. Just my 2 cents Rolf Am 27.11.2013 12:33, schrieb Nigel Verity: > > > > Dear All > > It's been interesting to read about perceptions that BASIC is a "toy" programming language, not to be used for serious projects. I have to reject this notion. There are some very low level system programming tasks for which BASIC may not be the best choice but, in principle, like any other programming language, BASIC is as good as the programmer using it. > > I started my programming in the 1980s using FORTRAN 77. I wrote some dreadful "spaghetti" code in those days but, as my experience grew, so did the structure and quality of my programs. After a brief period using CORAL 66 I moved onto using COBOL. If ever there were a language which looks like a "toy" then it is COBOL, using words instead of operator symbols e.g "ADD X TO Y GIVING Z" instead of x + y = z. Deeper reflection shows that this makes the language far more self-documenting than any other. I don't know about now, but for a long time most of the world's banking system was built using COBOL so it must have had something going for it. > > Since those days I've used C, C++, Pascal and flavours of BASIC, such as VB and Gambas. In all of those languages it's possible, in fact easy, to write clear, well-structured, easily-maintainable code. It's a failure of the programmer when the logic of a program jumps about all over the place; not a weakness in the programming language. Even C supports "goto" commands and labels. > > One thing I have observed over the years is that a lot of programmers like to create the impression to non-developers that coding is intrinsically difficult. The syntax of C and C++ in particular helps to perpetuate this myth. Even fairly experienced developers can be a little awe-struck by uncommented code which embeds several levels of nested functions in a single line. It would probably be quite comprehensible if divided over multiple lines with consistent indentation and a few comments. > > I think that the simpler the code is to write and understand, the better the overall quality is likely to be. The BASIC syntax has many advantages in this respect, especially for anybody with a knowledge of English. > > It is noteworthy that Gambas and VB have been dismissed as if they are not "proper" development tools. Surely their efficiency for developing applications sets them apart from every other tool. Using either Gambas or VB, it would take less than 60 seconds for anybody with a little experience to start a new project and create a form containing a button which, when clicked, displays a message. I would challenge anybody to do that using any other tools or programming languages. > > When all programs ran in text mode, managing the user interface constituted a far smaller proportion of the code. When Windows and the Mac introduced the GUI to everyday applications that all changed and managing the user interface became by far the largest part of most programs. Tools which simplified that aspect of application development were desperately needed and VB satisfied that requirement, taking the market by storm. As time has gone by I have detected a growing opinion amongst developers that tools such as VB make programming too easy, and there been a trend back towards complexity. I accept that changing fashions in user interface design can require greater control of what appears on the screen, such as rounded corners, circular windows and so on. That's fair enough, but there is no reason why those additional functions can't be delivered by building on the relative simplicity of user-friendly tools and easy-to-understand code syntax. > > Maybe some programmers see simple development tools as a threat. They are not. A chisel is a simple tool to use but you need a skilled craftsman to get the best out of it. In much the same way there will always be a need for skilled programmers to develop applications of any real importance. > > I have experimented with Lazarus. This is another excellent development tool which has the advantage over Gambas of generating native executables and working cross-platform. Lazarus has a good form builder but it is hampered by being based on Pascal and exposing far more of its underlying complexity to the programmer. This provides greater scope for structural and coding errors and makes for more difficult debugging. > > I still have a need to develop database applications on Windows from time to time. I use Access/VBA as my tool of choice, but I have noted how Microsoft has made the user interface more complex in recent versions, for no real functional gain. I suspect this is a move to make it look like a more serious tool. When I get back to developing on Linux using Gambas it is like a load being lifted from my shoulders. > > Gambas is a tool which every serious developer should examine closely. Its biggest challenge is the mistaken notion which equates professionalism and functionality with complexity. > > Nige > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mkuyumcu at ...3233... Wed Nov 27 13:29:56 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Wed, 27 Nov 2013 04:29:56 -0800 (PST) Subject: [Gambas-user] Making menu shortcuts visible Message-ID: <1385555396067-44415.post@...3046...> I am preparing a menu using the in-built menu editor. Unfortunately, while the menu text entries show up properly, the keyboard shortcuts that I assigned to them do not. And they do not work: when I press, for instance, "Crtl-Q", the program does not quit altough I assigned "Crtl-Q" to my quit menu entry. When I select that entry with the mouse, though, it works. How can I a) make visible and b) activate the keyboard shortcuts? I would have liked to be able to provide a screenshot, but can't, since the screenshot utility built into Ubuntu refuses to work when a menu is open... Thank you. Regards, ukimiku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Making-menu-shortcuts-visible-tp44415.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Wed Nov 27 15:43:04 2013 From: vuott at ...325... (Ru Vuott) Date: Wed, 27 Nov 2013 14:43:04 +0000 (GMT) Subject: [Gambas-user] X coordinate in Paint.DrawText works in reverse. In-Reply-To: <20131127113002.GE514@...2774...> Message-ID: <1385563384.55971.YahooMailBasic@...3063...> Yes, Tobias, it was .Mirror metod. bye vuott -------------------------------------------- Mer 27/11/13, Tobias Boege <taboege at ...626...> ha scritto: Oggetto: Re: [Gambas-user] X coordinate in Paint.DrawText works in reverse. A: "mailing list for gambas users" <gambas-user at lists.sourceforge.net> Data: Mercoled? 27 novembre 2013, 12:30 On Wed, 27 Nov 2013, Ru Vuott wrote: > Hello, > > I have this code: > > ************************************* > > Public Sub Button1_Click() > > Dim a As New Image? > Dim b As Picture? >??? > ' I load a file image: >? ? a = a.Load("/path/of/file/image") > > With Paint >? ? .Begin(a)? >? ? .Font.Size = 16 >? ? ? ? ? .DrawText("d", 100, 20, 10, 10)? >? ? .End > End With >??? >???a.Mirror(True, False)? >??? >???b = a.Picture? >??? >???PictureBox1.Picture = b? >??? > End > > *************************************** > > I do not understand why the X coordinate in "Paint.DrawText( )" metod works in reverse. ...if its value is near to zero, then the letter "b" is shown at the "right" edge of the image ! > Increasing the value of the X coordinate, the letter approaches to the "left" edge of the image ! > > Same problem with "Paint.DrawRichText( )" metod ! > The a.Mirror() looks suspicious... You mirror the Image "a" horizontally but you don't assign the return value to anything so this effectively does nothing. Why did you include that code? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From Karl.Reinl at ...9... Wed Nov 27 15:44:07 2013 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Wed, 27 Nov 2013 15:44:07 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix (ISS Boss) In-Reply-To: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> References: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> Message-ID: <385d9b0e6773ceeb701a4b83f2042c04@...2896...> about good, bad 'BASIC' "There's an old saying:" no, not Tobis Mr. Monk only a poor craftsman blames his tools qu'un pauvre artisan bl?me ses outils m?s que un pobre artesano culpa a sus herramientas nur ein schlechter Handwerker tadelt seine Werkzeuge (Thanks google translater) Charlie From mckaygerhard at ...626... Wed Nov 27 16:01:33 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 27 Nov 2013 10:31:33 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FQ-f_wAcJp+wm5JS7MNktU9=h1+Soes_YdOFeVhXs=wDQ@...627...> Tha's was i taking about: From: Nigel Verity <nigelverity at ...67...> > Gambas is a tool which every serious developer should examine closely. > Its biggest challenge is the mistaken notion which equates professionalism > and functionality with complexity. > > Nige 100% agree! From: Rolf-Werner Eilert <eilert-sprachen at ...221...> > Maybe leaving away all mentioning of VB in the headlines would already > help a bit in the way the public perceives the project. What I mean is, Ovbiously, do gambas always stay behind the shadows of VB? do linux related world always stay behind the shadows of mocosoft imitations? the always excuse are: "we need to get close to end users" please, comme on! From mckaygerhard at ...626... Wed Nov 27 15:55:03 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Wed, 27 Nov 2013 10:25:03 -0430 Subject: [Gambas-user] A little article on Gambas on Phoronix Message-ID: <CALci+FTz6TVbdprg829wW9xGyMHOQVVp+XuYSZ5m6DhCeTWVDw@...627...> ============== From: Kende Kriszti?n <nemh at ...2007...> > https://launchpad.net/myunity over version of this app appears in default winbuntu repositories: http://packages.ubuntu.com/precise/myunity but mayority of end users dont really know about it! Kende, whats the progress of the oficial packagin to oficial distributions into debian and winbuntu? mail activity stop related that topic! =============== From: Charlie Reinl <Karl.Reinl at ...2345...> > just google 'MyUnity gambas' Charlie, results from google are realted to users, event its not logged its related to stored cookies, so i go to the cybercafe and make the search, surprise, send me to the softsocind the firts 4 links.. later cleaning all cookies and data, and renew the search showme the 1 link as the launchpad project page, the second the winbuntu package and then anothers interesting.. but ONLY if in the search input u add "gambas" word.. if u search "unity+conf" or what ever realted but with out gambas word, no search results... with "myunity" in guindows pc, fitrs 4 links returns softonic downloads viruses, then in my personal machine i got same results as "myunity+gambas" so then gambas need more propagation.. more more... i want . err i mean just need some propaganda right! je je ============= From gambas.fr at ...626... Wed Nov 27 16:03:04 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 27 Nov 2013 16:03:04 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix (ISS Boss) In-Reply-To: <385d9b0e6773ceeb701a4b83f2042c04@...2896...> References: <DUB113-W51A64A57BC53C99B8BBB8A3EF0@...693...> <385d9b0e6773ceeb701a4b83f2042c04@...2896...> Message-ID: <CAFkCsL7D=tY0Mhcp2=8UanEoZEV2L32A-kUECWSyONqegKGZjg@...627...> You miss french Charlie 2013/11/27 Charlie Reinl <Karl.Reinl at ...9...>: > about good, bad 'BASIC' > > "There's an old saying:" no, not Tobis Mr. Monk > > only a poor craftsman blames his tools > qu'un pauvre artisan bl?me ses outils > m?s que un pobre artesano culpa a sus herramientas > nur ein schlechter Handwerker tadelt seine Werkzeuge > > (Thanks google translater) > > Charlie > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From nemh at ...2007... Wed Nov 27 18:52:44 2013 From: nemh at ...2007... (=?ISO-8859-1?Q?Kende_Kriszti=E1n?=) Date: Wed, 27 Nov 2013 18:52:44 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CALci+FTz6TVbdprg829wW9xGyMHOQVVp+XuYSZ5m6DhCeTWVDw@...627...> References: <CALci+FTz6TVbdprg829wW9xGyMHOQVVp+XuYSZ5m6DhCeTWVDw@...627...> Message-ID: <5296316C.8070105@...2007...> 2013-11-27 15:55 keltez?ssel, PICCORO McKAY Lenz ?rta: > ============== > From: Kende Kriszti?n <nemh at ...2007...> >> https://launchpad.net/myunity > over version of this app appears in default winbuntu repositories: > http://packages.ubuntu.com/precise/myunity > but mayority of end users dont really know about it! > > Kende, whats the progress of the oficial packagin to oficial > distributions into debian and winbuntu? mail activity stop related > that topic! > The last commit date is 10.28.2013 by Ian Haywood. That's all I know, I'm not an official Debian maintainer. I use my own PPA for developing and running developed apps. Kendek From rmorgan62 at ...626... Wed Nov 27 21:18:14 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 27 Nov 2013 12:18:14 -0800 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <52953343.8080203@...1823...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> <52953343.8080203@...1823...> Message-ID: <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> When I think of mission critical, I think of things that could cost someone's life if failure occurred. Things like, aircraft guidance systems, embedded medical devices, automotive steering and breaking systems, rail switching systems, etc. You can argue that almost any software is mission critical for it's mission. After all, if it fails the mission must be scrubbed of another method must be found to complete the task the software was to accomplish. While medical and business records are important, and should be handy at all times in case of emergency, in most cases failure of the software does not result in eminent loss of life as would happen if the flight controls on the space shuttle failed during launch or the guidance system on a 767 failed during landing. These are the situation I consider mission critical and while I am a fan of Gambas, I would rather trust my life to ADA as it was designed for just such applications, and GOD forbid I use C/C++... ADA does not allow buffer overflows or other types of errors that can often hide in an application and only peek their head out when Murphy says it's ok... That is not to say that you can't code errors in ADA, indeed, it is possible. But ADA makes more strides toward safe coding practices than any other language I am aware of. That said, I wouldn't use ADA for a records database. It is far to cumbersome a language for such an app. Records should be backed up and if the app fails there is no eminent loss of life from the app failing. There is an inconvenience, perhaps a delay of treatment, but if the medical records are so important they must be there or someone dies, then there should be more than one way to access them, such as paper records and charts, and there usually is... ISS BOSS, I've heard of NELIAC but never used it. Thought it was just the Navy's version of ALGOL. VAX and iRMX, and DR CP/M... I think we're showing our age. I'd bet you ran some Z80 machines too... On Tue, Nov 26, 2013 at 3:48 PM, richard terry <rterry at ...1823...>wrote: > On 27/11/13 00:48, Beno?t Minisini wrote: > > Le 26/11/2013 14:07, PICCORO McKAY Lenz a ?crit : > >> Lenz McKAY Gerardo (PICCORO) > >> http://qgqlochekone.blogspot.com > >> > >> due there's no critically apps on production environment, there's no > >> enterprise that uses gambas to any critical application , and i the > >> only one here that already have that! > >> > > I earn my life with a web application made with Gambas: I have currently > > twenty servers running it Gambas 24 hours a day. Many problems > > encountered of course, but no Gambas-related problem for a long time... > > > > Here is what these applications do: > > - Tracking cars, trucks, phone devices... displayed on a map. > > - Managing tag cleaning of Paris. > > - Managing most of road signs of Paris. > > - Call center. > > - ...and many other things I can't translate in english! > > > I've been running my surgery on gambas/postgres for nearly 3 years now, > and my friend Ian in Melbourne and a surgery up in Northern NSW is also > using the program. Not quite finished.... but certain is in a > mission-critical environment. > > Regards > > richard > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user 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 iss_boss at ...770... Wed Nov 27 21:31:28 2013 From: iss_boss at ...770... (ISS Boss) Date: Wed, 27 Nov 2013 15:31:28 -0500 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> <52953343.8080203@...1823...> <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> Message-ID: <529656A0.2040905@...770...> @Randall: Nope. NELIAC was a language conceived at the Naval Research Labs exclusively for the use of our Burroughs D820 computers. The whole operating system, called AOSP (Automatic Operating and Scheduling Program), was maintained right at our computing facility and never run on anything else. We used punched cards at first (all 64,000 of them) and then managed to mate three IBM tape transports (6 feet tall) to the CPU cabinet, which was a 36-bit machine that existed in eight cabinets around 4-feet wide x 3-feet deep, and 4-feet across. All the other auxilliary cabinets were the same size and housed I/O (100Baud TTY @ 48 channels), and memory (4096 words each in 4 cabinets). There was not one single chip in the whole thing - all discrete components. I still have the NELIAC manuals, actually, and drag them out once in a while just to see what a complicated language it was. Fun stuff! Randall Morgan wrote, On 11/27/2013 15:18: When I think of mission critical, I think of things that could cost someone's life if failure occurred. Things like, aircraft guidance systems, embedded medical devices, automotive steering and breaking systems, rail switching systems, etc. You can argue that almost any software is mission critical for it's mission. After all, if it fails the mission must be scrubbed of another method must be found to complete the task the software was to accomplish. While medical and business records are important, and should be handy at all times in case of emergency, in most cases failure of the software does not result in eminent loss of life as would happen if the flight controls on the space shuttle failed during launch or the guidance system on a 767 failed during landing. These are the situation I consider mission critical and while I am a fan of Gambas, I would rather trust my life to ADA as it was designed for just such applications, and GOD forbid I use C/C++... ADA does not allow buffer overflows or other types of errors that can often hide in an application and only peek their head out when Murphy says it's ok... That is not to say that you can't code errors in ADA, indeed, it is possible. But ADA makes more strides toward safe coding practices than any other language I am aware of. That said, I wouldn't use ADA for a records database. It is far to cumbersome a language for such an app. Records should be backed up and if the app fails there is no eminent loss of life from the app failing. There is an inconvenience, perhaps a delay of treatment, but if the medical records are so important they must be there or someone dies, then there should be more than one way to access them, such as paper records and charts, and there usually is... ISS BOSS, I've heard of NELIAC but never used it. Thought it was just the Navy's version of ALGOL. VAX and iRMX, and DR CP/M... I think we're showing our age. I'd bet you ran some Z80 machines too... On Tue, Nov 26, 2013 at 3:48 PM, richard terry [1]<rterry at ...1823...>wrot e: On 27/11/13 00:48, Beno??t Minisini wrote: Le 26/11/2013 14:07, PICCORO McKAY Lenz a ??crit : Lenz McKAY Gerardo (PICCORO) [2]http://qgqlochekone.blogspot.com due there's no critically apps on production environment, there's no enterprise that uses gambas to any critical application , and i the only one here that already have that! I earn my life with a web application made with Gambas: I have currently twenty servers running it Gambas 24 hours a day. Many problems encountered of course, but no Gambas-related problem for a long time... Here is what these applications do: - Tracking cars, trucks, phone devices... displayed on a map. - Managing tag cleaning of Paris. - Managing most of road signs of Paris. - Call center. - ...and many other things I can't translate in english! I've been running my surgery on gambas/postgres for nearly 3 years now, and my friend Ian in Melbourne and a surgery up in Northern NSW is also using the program. Not quite finished.... but certain is in a mission-critical environment. Regards richard ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! [3]http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list [4]Gambas-user at lists.sourceforge.net [5]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. mailto:rterry at ...1823... 2. http://qgqlochekone.blogspot.com/ 3. http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk 4. mailto:Gambas-user at lists.sourceforge.net 5. https://lists.sourceforge.net/lists/listinfo/gambas-user From sourceforge-raindog2 at ...94... Wed Nov 27 22:19:38 2013 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Wed, 27 Nov 2013 16:19:38 -0500 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> <52953343.8080203@...1823...> <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> Message-ID: <529661EA.9060201@...94...> On 11/27/2013 03:18 PM, Randall Morgan wrote: > When I think of mission critical, I think of things that could cost > someone's life if failure occurred. Things like, aircraft guidance systems, > embedded medical devices, automotive steering and breaking systems, rail > switching systems, etc. Those are actually a separate class, usually called "life-critical". A lot of proprietary software packages have EULAs that actually forbid their use in such applications. And while I don't know about Gambas, I've been aware of a frightening number of medical software packages with at least a VB interface, including my late partner's ICD's control software, complete with VBRUN600.dll (pretty sure the software in the ICD itself wasn't VB, but in non-implanted devices it might be -- and in any case, I'm betting it wasn't ADA). > You can argue that almost any software is mission > critical for it's mission. Nope, "mission-critical software" is a term of art that means "software critical to the operation of a business". For Amazon, a web server is mission-critical, as is whatever they use to handle fulfillment so quickly. For banks, there's the core system, teller interface and whatever other ancillary systems without which they can't open for business, written in languages that range from RPG to Javascript. For a recording studio, it's something like Protools or Ardour, especially once enough projects are in a given tool's format that switching would require days or weeks of work. And for Benoit's company, it's the software he wrote in Gambas. I once worked for a company whose most mission-critical software was a Lotus spreadsheet macro that they had overgrown, causing the data to overwrite the "code". Yes, really. They were dead in the water without it, sent everyone home, couldn't so much as access their customer list or open orders. I fixed it for them in a few days, converted it to a DBMS with a nice Turbo Pascal client, but it just goes to show that mission-critical software depends on what the business needs, not what's stable, secure or even sane. (No Z80 machines in my past except a Colecovision, but I had at least 5 6502-based ones... still really enjoy that flavor of assembly language, especially with modern macro assemblers.) Rob From rmorgan62 at ...626... Wed Nov 27 23:19:36 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Wed, 27 Nov 2013 14:19:36 -0800 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <529661EA.9060201@...94...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> <52953343.8080203@...1823...> <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> <529661EA.9060201@...94...> Message-ID: <CAGwqEL7Sm5jrriyt_YbGptGFbrgycUs0pRKYMAhDiJ+yJ8j+ig@...627...> Well as does happen though-time, language changes. The terms used over time tend to take on different meanings giving the society in which they are used. One of the reasons communications can be so difficult.... On Wed, Nov 27, 2013 at 1:19 PM, Rob Kudla <sourceforge-raindog2 at ...94...>wrote: > On 11/27/2013 03:18 PM, Randall Morgan wrote: > > When I think of mission critical, I think of things that could cost > > someone's life if failure occurred. Things like, aircraft guidance > systems, > > embedded medical devices, automotive steering and breaking systems, rail > > switching systems, etc. > > Those are actually a separate class, usually called "life-critical". A lot > of proprietary software packages have EULAs that actually forbid their use > in such applications. And while I don't know about Gambas, I've been aware > of a frightening number of medical software packages with at least a VB > interface, including my late partner's ICD's control software, complete > with VBRUN600.dll (pretty sure the software in the ICD itself wasn't VB, > but in non-implanted devices it might be -- and in any case, I'm betting it > wasn't ADA). > > > You can argue that almost any software is mission > > critical for it's mission. > > Nope, "mission-critical software" is a term of art that means "software > critical to the operation of a business". For Amazon, a web server is > mission-critical, as is whatever they use to handle fulfillment so quickly. > For banks, there's the core system, teller interface and whatever other > ancillary systems without which they can't open for business, written in > languages that range from RPG to Javascript. For a recording studio, it's > something like Protools or Ardour, especially once enough projects are in a > given tool's format that switching would require days or weeks of work. And > for Benoit's company, it's the software he wrote in Gambas. > > I once worked for a company whose most mission-critical software was a > Lotus spreadsheet macro that they had overgrown, causing the data to > overwrite the "code". Yes, really. They were dead in the water without it, > sent everyone home, couldn't so much as access their customer list or open > orders. I fixed it for them in a few days, converted it to a DBMS with a > nice Turbo Pascal client, but it just goes to show that mission-critical > software depends on what the business needs, not what's stable, secure or > even sane. > > (No Z80 machines in my past except a Colecovision, but I had at least 5 > 6502-based ones... still really enjoy that flavor of assembly language, > especially with modern macro assemblers.) > > Rob > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user 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 eilert-sprachen at ...221... Thu Nov 28 08:58:36 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 28 Nov 2013 08:58:36 +0100 Subject: [Gambas-user] A little article on Gambas on Phoronix In-Reply-To: <CAGwqEL7Sm5jrriyt_YbGptGFbrgycUs0pRKYMAhDiJ+yJ8j+ig@...627...> References: <CALci+FSkjQxOOqQG+arcpX3TJqeZf4W26fqi95X6Z3+ukyovPQ@...627...> <5294A6AA.1070804@...1...> <52953343.8080203@...1823...> <CAGwqEL4xUfknZg=z2bDG8SxBCQi-vVfOHtgocHN2VzsBE+Ldxw@...627...> <529661EA.9060201@...94...> <CAGwqEL7Sm5jrriyt_YbGptGFbrgycUs0pRKYMAhDiJ+yJ8j+ig@...627...> Message-ID: <5296F7AC.60500@...221...> Hi Randall and Rob, for my own business (a privately run language school), Gambas has become a mission-critical tool. With the exception of the accounting office, we are running a Linux server with LTSP which serves not only the 50 students' computers in two labs + some working spaces but also my own terminal in the head office. Over the years, I have written a number of highly specialised tools to manage e.g. the students' database, their marks and printing of certificates etc., a classbook to be used mainly by the teachers, a typewriting trainings program, a calendar for my own use, applications for our internal and external websites and lots of smaller apps and scripts, all in Gambas2 and 3. So Gambas is really mission-critical for my business. It's for our accounting computer that we still use an old VB5 client for the students' database, and for the students I made a quick-and-dirty typewriting app clone in VB.net. My brother-in-law still uses a VB5 database client I once programmed for them. If there was a chance to use Gambas on Windows machines, I would at last get rid of those, too ;-) Surely I've programmed in a lot of different languages and BASIC flavours that came along the way. I started on a Commodore PET (?), at least it woke my interest. The first one I owned was a ZX81, but I soon felt that it didn't serve a real use the way it was. Then followed some time with an Amiga 2000, and the first PC clones in parallel. This was the time when I started to code the first database for our school, switched to PowerBasic (a really powerful compiler BASIC), then to VB. After having used Linux as a standalone server for quite some time, I found KBasic which disappeared after a good start, then came to Gambas. I'm not like the typical pros like you all here, I don't like maths, I can't grasp the abstract examples which show it all so clear for you guys ;-) but I'm the hands-on type of guy who just wants a little problem solved. BASIC (and Gambas in particular) can serve both types of programmers, I think. Sure, I can read C and C++ code, Perl scripts, JavaScript, PHP and stuff. But they're not my kind of tools. Regards Rolf Am 27.11.2013 23:19, schrieb Randall Morgan: > Well as does happen though-time, language changes. The terms used over time > tend to take on different meanings giving the society in which they are > used. One of the reasons communications can be so difficult.... > > > On Wed, Nov 27, 2013 at 1:19 PM, Rob Kudla > <sourceforge-raindog2 at ...94...>wrote: > >> On 11/27/2013 03:18 PM, Randall Morgan wrote: >>> When I think of mission critical, I think of things that could cost >>> someone's life if failure occurred. Things like, aircraft guidance >> systems, >>> embedded medical devices, automotive steering and breaking systems, rail >>> switching systems, etc. >> >> Those are actually a separate class, usually called "life-critical". A lot >> of proprietary software packages have EULAs that actually forbid their use >> in such applications. And while I don't know about Gambas, I've been aware >> of a frightening number of medical software packages with at least a VB >> interface, including my late partner's ICD's control software, complete >> with VBRUN600.dll (pretty sure the software in the ICD itself wasn't VB, >> but in non-implanted devices it might be -- and in any case, I'm betting it >> wasn't ADA). >> >>> You can argue that almost any software is mission >>> critical for it's mission. >> >> Nope, "mission-critical software" is a term of art that means "software >> critical to the operation of a business". For Amazon, a web server is >> mission-critical, as is whatever they use to handle fulfillment so quickly. >> For banks, there's the core system, teller interface and whatever other >> ancillary systems without which they can't open for business, written in >> languages that range from RPG to Javascript. For a recording studio, it's >> something like Protools or Ardour, especially once enough projects are in a >> given tool's format that switching would require days or weeks of work. And >> for Benoit's company, it's the software he wrote in Gambas. >> >> I once worked for a company whose most mission-critical software was a >> Lotus spreadsheet macro that they had overgrown, causing the data to >> overwrite the "code". Yes, really. They were dead in the water without it, >> sent everyone home, couldn't so much as access their customer list or open >> orders. I fixed it for them in a few days, converted it to a DBMS with a >> nice Turbo Pascal client, but it just goes to show that mission-critical >> software depends on what the business needs, not what's stable, secure or >> even sane. >> >> (No Z80 machines in my past except a Colecovision, but I had at least 5 >> 6502-based ones... still really enjoy that flavor of assembly language, >> especially with modern macro assemblers.) >> >> Rob >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > From mkuyumcu at ...3233... Thu Nov 28 16:21:42 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 28 Nov 2013 07:21:42 -0800 (PST) Subject: [Gambas-user] Making menu shortcuts visible In-Reply-To: <1385555396067-44415.post@...3046...> References: <1385555396067-44415.post@...3046...> Message-ID: <1385652102494-44427.post@...3046...> I have not yet been able to solve this problem. Has anybody had the same problem? Thank you. Regards, ukimiku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Making-menu-shortcuts-visible-tp44415p44427.html Sent from the gambas-user mailing list archive at Nabble.com. From mckaygerhard at ...626... Thu Nov 28 17:42:48 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 28 Nov 2013 12:12:48 -0430 Subject: [Gambas-user] SAVEPOINT suport and nested standard transactions Message-ID: <CALci+FRZ-uTUv3z=Xjx9jfHVQjQnht8beLOnGMWGfH+L4TjfPw@...627...> Reading documentastion for transactions i note that only mysqlito support that and only by fes engines.. so then sqlite, postgres and odbc do not support.. since sqlite 3.6.16 and sybase 12 (including anywhere) support SAVEPOINTS m,y question its: Does gambas have the support into languaje for hconn.SavePoint(Optional label) or hconn.SaveRelease(Optional label)? due i do not see into documentation! Refers: 1) http://en.wikipedia.org/wiki/Savepoint 2) http://en.wikipedia.org/wiki/Nested_transaction Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From mkuyumcu at ...3233... Thu Nov 28 18:41:31 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 28 Nov 2013 09:41:31 -0800 (PST) Subject: [Gambas-user] Change menu font Message-ID: <1385660491660-44430.post@...3046...> *Dear list members,* I am looking for a way to change the typeface of my application's menus. Is this possible under Gambas? Thank you. *Regards,* ukimku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Change-menu-font-tp44430.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Nov 28 18:45:07 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 28 Nov 2013 18:45:07 +0100 Subject: [Gambas-user] Making menu shortcuts visible In-Reply-To: <1385652102494-44427.post@...3046...> References: <1385555396067-44415.post@...3046...> <1385652102494-44427.post@...3046...> Message-ID: <52978123.9040808@...1...> Le 28/11/2013 16:21, ukimiku a ?crit : > I have not yet been able to solve this problem. Has anybody had the same > problem? > Thank you. > > Regards, > ukimiku > No problem there. Can you provide a little project that reproduces the bug, and give all needed information about your system? ('?' menu in the IDE, then click on 'System information'). Regards, -- Beno?t Minisini From gambas at ...1... Thu Nov 28 18:47:36 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 28 Nov 2013 18:47:36 +0100 Subject: [Gambas-user] Change menu font In-Reply-To: <1385660491660-44430.post@...3046...> References: <1385660491660-44430.post@...3046...> Message-ID: <529781B8.4000607@...1...> Le 28/11/2013 18:41, ukimiku a ?crit : > *Dear list members,* > > I am looking for a way to change the typeface of my application's menus. > Is this possible under Gambas? > > Thank you. > > *Regards,* > ukimku > Yes and no, but it does not actually depends on Gambas, so no! -- Beno?t Minisini From mkuyumcu at ...3233... Thu Nov 28 18:55:23 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 28 Nov 2013 09:55:23 -0800 (PST) Subject: [Gambas-user] Making menu shortcuts visible In-Reply-To: <52978123.9040808@...1...> References: <1385555396067-44415.post@...3046...> <1385652102494-44427.post@...3046...> <52978123.9040808@...1...> Message-ID: <1385661323871-44434.post@...3046...> *Monsieur,* thank you for taking care of this. The system info is: [System] Gambas=3.5.1 OperatingSystem=Linux Kernel=3.11.0-12-generic Architecture=x86_64 Distribution=Ubuntu 13.10 Desktop=GNOME Theme=QGtk Language=de_DE.UTF-8 Memory=7985M [Libraries] Cairo=libcairo.so.2.11200.16 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.4 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.200.0 GTK+=libgtk-x11-2.0.so.0.2400.20 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Qt4=libQtCore.so.4.8.4 SDL=libSDL-1.2.so.0.11.4 A link to a demo project: https://www.dropbox.com/s/3gl12b1jewhov6m/MenuProblem.tar.gz Can I change the menu font in Gambas? Thank you. *Regards,* ukimiku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Making-menu-shortcuts-visible-tp44415p44434.html Sent from the gambas-user mailing list archive at Nabble.com. From mkuyumcu at ...3233... Thu Nov 28 18:58:34 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 28 Nov 2013 09:58:34 -0800 (PST) Subject: [Gambas-user] Change menu font In-Reply-To: <529781B8.4000607@...1...> References: <1385660491660-44430.post@...3046...> <529781B8.4000607@...1...> Message-ID: <1385661514849-44435.post@...3046...> Thank you. I could, however, use images in place of the text menu entries, right? The imgages could then show the menu entries in a different font (?) Possible? *Regards,* ukimiku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Change-menu-font-tp44430p44435.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Thu Nov 28 19:44:20 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 28 Nov 2013 19:44:20 +0100 Subject: [Gambas-user] Change menu font In-Reply-To: <1385661514849-44435.post@...3046...> References: <1385660491660-44430.post@...3046...> <529781B8.4000607@...1...> <1385661514849-44435.post@...3046...> Message-ID: <52978F04.605@...1...> Le 28/11/2013 18:58, ukimiku a ?crit : > Thank you. > > I could, however, use images in place of the text menu entries, right? The > imgages could then show the menu entries in a different font (?) Possible? > > *Regards,* > ukimiku > You can even create a complete menu widget yourself. A HBox with a bunch of MenuButton inside should be enough. But then your menu will not be display on the top of the screen if you use Unity. Regards, -- Beno?t Minisini From mkuyumcu at ...3233... Thu Nov 28 20:47:48 2013 From: mkuyumcu at ...3233... (ukimiku) Date: Thu, 28 Nov 2013 11:47:48 -0800 (PST) Subject: [Gambas-user] Change menu font In-Reply-To: <52978F04.605@...1...> References: <1385660491660-44430.post@...3046...> <529781B8.4000607@...1...> <1385661514849-44435.post@...3046...> <52978F04.605@...1...> Message-ID: <1385668068201-44437.post@...3046...> Thank you. I'll consider your suggestion. * Regards,* ukimiku ----- I don?t care to belong to a club that accepts people like me as members. -- View this message in context: http://gambas.8142.n7.nabble.com/Change-menu-font-tp44430p44437.html Sent from the gambas-user mailing list archive at Nabble.com. From ekimtrah at ...67... Thu Nov 28 23:39:32 2013 From: ekimtrah at ...67... (michael) Date: Fri, 29 Nov 2013 09:39:32 +1100 Subject: [Gambas-user] Webview editing problem Message-ID: <BAY173-W29E52378F5D3C32389AE9CAEE0@...693...> I have written a small project which is intended to test editing an html page (I would like to create a wysiwyg markdown editor). I have attached a copy. I am having trouble with editing the html programattically (http://gambasdoc.org/help/comp/gb.qt4.webkit/webview?v3, using the Eval method to run the JavaScript document.execCommand). I have copied the relevant code from the supplied WebBrowser project, and sending the Cut command works in the WebBrowser project but not in mine. Sending the Bold or Delete command does work in mine, using the keyboard to edit the html does work in mine (eg Ctrl C, typing etc.). I am using Debian 7 Gnome, with Gambas 3.4.1 which I installed from source (the repo version 3.1.1 is too old for another program I have written). Any Ideas ? Thank you Michael. -------------- next part -------------- A non-text attachment was scrubbed... Name: Gambas3_HtmlEditor.tar.gz Type: application/x-gzip Size: 6680 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20131129/1c9cb388/attachment.bin> From tercoide at ...67... Thu Nov 28 23:42:47 2013 From: tercoide at ...67... (terco IDE) Date: Thu, 28 Nov 2013 22:42:47 +0000 Subject: [Gambas-user] C++ library for matrix operations Message-ID: <BLU180-W921F77ABCBD650DF880FB1C8EE0@...693...> Hi all: (first post here) I'm porting a VB6 program that does Structural Calculations https://sourceforge.net/projects/estru3d/ wich uses a lots of matrix operations plus a ecuations solver for band matrixes. I've made a DLL for the win32 enviroment 10 years ago that speeded up x100 then solver. Here's my battery of questions: can Gambas pass 2D arrays to C? assuming YES, how is the 2D array stored in gambas? suppose a 3x3 array: row1row2row3 or col1col2col3? it is possible to pass HUGE arrays, 100.000 8byte float elements? Thanks in advance. PD: the program is being ported in the spanish specializad gambas forge http://forge.gambas-es.org/projects/estru3d I'm having the help of guys who are too BASIC like me, so any help is welcome we're also planning to translate it to other languages (we're hiring, by the way ;) I need to make a C++ library for matrix operations Saludos Martin From gambas at ...1... Fri Nov 29 00:04:06 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 29 Nov 2013 00:04:06 +0100 Subject: [Gambas-user] C++ library for matrix operations In-Reply-To: <BLU180-W921F77ABCBD650DF880FB1C8EE0@...693...> References: <BLU180-W921F77ABCBD650DF880FB1C8EE0@...693...> Message-ID: <5297CBE6.9010106@...1...> Le 28/11/2013 23:42, terco IDE a ?crit : > Hi all: > (first post here) > > I'm porting a VB6 program that does Structural Calculations > > https://sourceforge.net/projects/estru3d/ > > wich uses a lots of matrix operations plus a ecuations solver for band matrixes. > > I've made a DLL for the win32 enviroment 10 years ago that speeded up x100 then solver. > > Here's my battery of questions: > > can Gambas pass 2D arrays to C? > > assuming YES, how is the 2D array stored in gambas? > > suppose a 3x3 array: row1row2row3 or col1col2col3? > > it is possible to pass HUGE arrays, 100.000 8byte float elements? > > Thanks in advance. > > PD: > the program is being ported in the spanish specializad gambas forge > > http://forge.gambas-es.org/projects/estru3d > > I'm having the help of guys who are too BASIC like me, so any help is welcome > > we're also planning to translate it to other languages > > (we're hiring, by the way ;) > > > > > > I need to make a C++ library for matrix operations > > Saludos > Martin If you pass an array to an extern function written C, the function will receive a pointer to the beginning of the array data, so as soon as elements are ordered the same way in Gambas and in C, everything will work. Note that there is a gb.gsl component based on libgsl that implements (among other things) matrix operations. Maybe you can take a look at it, see if it can be useful for you. And If you need something in the libgsl that is not implemented in the component, tell me. Regards, -- Beno?t Minisini From mckaygerhard at ...626... Fri Nov 29 00:13:55 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 28 Nov 2013 18:43:55 -0430 Subject: [Gambas-user] C++ library for matrix operations Message-ID: <CALci+FR-Es=Nnpwa9+p9S=rVxzoVq7hd4EFXTGMFhgs131vT8w@...627...> From: terco IDE > Subject: [Gambas-user] C++ library for matrix operations > https://sourceforge.net/projects/estru3d/ by a moment i see a hope to alternative to fucking etabs software, but its sometihgn right? > wich uses a lots of matrix operations plus a ecuations solver for band matrixes. gambas have a special modulo for mathematis calculation, see gb.gsl for the scientific calculation using gambas languaje or can u made extern operation directly on the library "LibGSL" http://www.gnu.org/software/gsl/ but of course more > can Gambas pass 2D arrays to C? gambasdoc.org/help/howto/extern?es&v3 > assuming YES, how is the 2D array stored in gambas? > suppose a 3x3 array: row1row2row3 or col1col2col3? gambasdoc.org/help/lang/array?en&v3 gambasdoc.org/help/comp/gb/variant[]/_get?v3 of course Variant only are a example > it is possible to pass HUGE arrays, 100.000 8byte float elements? use extern with external library, fou u'r calculation gambas will gert more that 2 hours to calculate.. if u use slower distributions like winbutnu... i think 3 hours if u'r model of matrix have lot of points > > Thanks in advance. its better u use gmail for that king of questino, made that more people like me goes more to that side.. but u'r project are very great i hope one day will be stable and ready to use by me... From nilsson at ...1979... Fri Nov 29 03:38:08 2013 From: nilsson at ...1979... (Carl Nilsson) Date: Fri, 29 Nov 2013 13:38:08 +1100 Subject: [Gambas-user] Where are the examples in gambas 3.5.1? Message-ID: <006b4c$c01vk2@...3239...> G'day: I have installed gambas 3.5.1 from munix9 rpm running under openSUSE 12.2 on a Virtual Machine (VMWare Player) on a Win 7 32 bit desktop. gambas seems fine, but there are no examples. Can someone please advise this (still) newbie how to get and install the examples? (Yesterday I installed gambas 3.2.1 on a Raspberry Pi running Raspbian wheezy and the gambas has a set of examples installed and available.) Regards Carl Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 From taboege at ...626... Fri Nov 29 12:24:01 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 29 Nov 2013 12:24:01 +0100 Subject: [Gambas-user] Gambas3 logo license? Message-ID: <20131129112401.GD507@...2774...> Hello Fabien (or anyone who knows), what was the license of the Gambas3 logo you made? I was unable to find that information. We would like to use it in a video. Regards, Tobi From nilsson at ...1979... Fri Nov 29 12:42:43 2013 From: nilsson at ...1979... (Carl Nilsson) Date: Fri, 29 Nov 2013 22:42:43 +1100 Subject: [Gambas-user] Where are the examples in gambas 3.5.1? In-Reply-To: <006b4c$c01vk2@...3239...> References: <006b4c$c01vk2@...3239...> Message-ID: <64e542$bvigbc@...3015...> G'day again: To my (slight) embarrassment, I see that I asked the same question fourteen months ago (27-28 Sep 2012) and got pointed in the correct direction by Matti - and so got gambas 3.2 with its' examples running on openSUSE 12.2 . Guess that's what you expect from Seniors like me. Amazing how time flies when you are busy on other things - not to mention the memory! Anyway, I'll follow that path again and apologise for taking up your email space. (Just as well I subscribe on the gambas-user list and keep the emails!). Carl At 01:38 PM 29/11/2013, you wrote: >G'day: >I have installed gambas 3.5.1 from munix9 rpm running under openSUSE >12.2 on a Virtual Machine (VMWare Player) on a Win 7 32 bit >desktop. gambas seems fine, but there are no examples. ...(snip) >Regards Carl > >Carl S Nilsson >137 Gordons Hill Road >Lindisfarne, Tas. >Australia 7015 > > >------------------------------------------------------------------------------ >Rapidly troubleshoot problems before they affect your business. Most IT >organizations don't have a clear picture of how application performance >affects their revenue. With AppDynamics, you get 100% visibility into your >Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015 From gambas.fr at ...626... Fri Nov 29 15:05:27 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 29 Nov 2013 15:05:27 +0100 Subject: [Gambas-user] Gambas3 logo license? In-Reply-To: <20131129112401.GD507@...2774...> References: <20131129112401.GD507@...2774...> Message-ID: <CAFkCsL6qQdAME491dELCuf0k=moYzV-9oBzRAcCxtWNteE7p9A@...627...> CC BY SA Hello Fabien (or anyone who knows), what was the license of the Gambas3 logo you made? I was unable to find that information. We would like to use it in a video. Regards, Tobi ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ub2 at ...36... Fri Nov 29 16:02:52 2013 From: ub2 at ...36... (ub2 at ...36...) Date: Fri, 29 Nov 2013 16:02:52 +0100 Subject: [Gambas-user] How to get current procedurename, codelinenumber and raising element Message-ID: <5298AC9C.8050402@...36...> Dear cracks After fooling hours/days in Wikipedia, Googling etc I'd like to place my issue here (before driving nuts). If this is not appropriate please sb indicate where I can find help. Thanks. For debugging I'd like to write the following info in a string: procedure name, code line number, element which has started current running/failing procedure. my code: '----------------------------------- 'Public Procedure ProcXYZ(.... ' ' Dim $CheckVar as String ' Dim $Testmode as Integer ' Dim $ResSPos as Result ' ' ... ' $ResSPos = HiModSql.Sql2Res("TblVerknAkt","..... ' $x = $ResSPos!x ' If $Testmode > 0 Then ' $CheckVar &= Chr(10) & ?codeline? &": $x=" & $x ' ... ' ... ' Catch ' Message.Warning("Catch ?procname?, Error=" & Error.code & ", " & ' Error.text & Chr(10) & "$CheckVar:" & Chr(10) & $CheckVar, "ok") ' 'End '------------------------------------ My questions: How to deviate Debug into a string? How to get codelinenumber? (Is there a list of useful things?) How to get element which started procedure? Please apologize if code formatting is not state of the art. I'm autodidact. Thanks for your help. Regards, ub2 Note: I'm an quite enthusiastic Gambas user. Thanks, you're doing great. Go ahead and do not bother never ending "Basic-Discussion-bigots". From gambas.fr at ...626... Fri Nov 29 18:41:15 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 29 Nov 2013 18:41:15 +0100 Subject: [Gambas-user] How to get current procedurename, codelinenumber and raising element In-Reply-To: <5298AC9C.8050402@...36...> References: <5298AC9C.8050402@...36...> Message-ID: <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> 2013/11/29 ub2 at ...36... <ub2 at ...36...>: > Dear cracks > > After fooling hours/days in Wikipedia, Googling etc I'd like to place my > issue here (before driving nuts). If this is not appropriate please sb > indicate where I can find help. Thanks. > > For debugging I'd like to write the following info in a > string: procedure name, code line number, element which has started > current running/failing procedure. > > my code: > '----------------------------------- > 'Public Procedure ProcXYZ(.... > ' > ' Dim $CheckVar as String > ' Dim $Testmode as Integer > ' Dim $ResSPos as Result > ' > ' ... > ' $ResSPos = HiModSql.Sql2Res("TblVerknAkt","..... > ' $x = $ResSPos!x > ' If $Testmode > 0 Then > ' $CheckVar &= Chr(10) & ?codeline? &": $x=" & $x > ' ... > ' ... > ' Catch > ' Message.Warning("Catch ?procname?, Error=" & Error.code & ", " & > ' Error.text & Chr(10) & "$CheckVar:" & Chr(10) & $CheckVar, "ok") > ' > 'End > '------------------------------------ > > My questions: > How to deviate Debug into a string? in the catch part : myerror = Error.text &/ error.where ... for example http://gambasdoc.org/help/comp/gb/error/text?v3 > How to get codelinenumber? (Is there a list of useful things?) Error.Where > How to get element which started procedure? Error.Where http://gambasdoc.org/help/comp/gb/error/where?v3 > > > Please apologize if code formatting is not state of the art. > I'm autodidact. > > > Thanks for your help. > > Regards, > ub2 > > > Note: I'm an quite enthusiastic Gambas user. Thanks, you're doing great. > Go ahead and do not bother never ending "Basic-Discussion-bigots". > > > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From shordi at ...626... Fri Nov 29 20:56:16 2013 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Fri, 29 Nov 2013 20:56:16 +0100 Subject: [Gambas-user] Abort ide code 6 Message-ID: <CAOx-q9smLdqteQVXtQJu5S6dL80hoXC7W6pi7ayzxCwMj5kGFQ@...627...> In my developments I've got a class who logs all user's action. I neve have been any problem with this class. Today I tried to do a simplify version to export the class in a little proyect but I've gota an IDE abort code 6. The error happens closing the form when I have passed a result in a Variant variable. I'm using Gambas3.5.1 from Kendek repository on LinuxMint 13 with Cinnamon. Attached the project and the exit of console. Regards -------------- next part -------------- *** glibc detected *** Logger: free(): invalid pointer: 0x0000000001d31a7f *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f34803e6b96] Logger[0x427696] Logger[0x4276b6] Logger[0x42632f] Logger[0x40494d] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f348038976d] Logger[0x404991] ======= Memory map: ======== 00400000-00450000 r-xp 00000000 08:11 423956 /usr/bin/gbx3 0064f000-00650000 r--p 0004f000 08:11 423956 /usr/bin/gbx3 00650000-0065a000 rw-p 00050000 08:11 423956 /usr/bin/gbx3 0065a000-0065d000 rw-p 00000000 00:00 0 019a8000-01de0000 rw-p 00000000 00:00 0 [heap] 7f346e380000-7f346e3e0000 rw-s 00000000 00:04 4947975 /SYSV00000000 (deleted) 7f346e3e0000-7f346e3e6000 r--p 00000000 08:11 799146 /usr/share/locale-langpack/es/LC_MESSAGES/gdk-pixbuf.mo 7f346e510000-7f346e526000 r--p 00000000 08:11 792770 /usr/share/qt4/translations/qt_es.qm 7f346e528000-7f346e5d8000 r--p 00000000 08:11 1311096 /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf 7f346e5d8000-7f346e5da000 r-xp 00000000 08:11 786457 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f346e5da000-7f346e7d9000 ---p 00002000 08:11 786457 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f346e7d9000-7f346e7da000 r--p 00001000 08:11 786457 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f346e7da000-7f346e7db000 rw-p 00002000 08:11 786457 /usr/lib/x86_64-linux-gnu/pango/1.6.0/modules/pango-basic-fc.so 7f346e7e0000-7f346e80f000 r-xp 00000000 08:11 787889 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so 7f346e80f000-7f346ea0f000 ---p 0002f000 08:11 787889 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so 7f346ea0f000-7f346ea10000 r--p 0002f000 08:11 787889 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so 7f346ea10000-7f346ea11000 rw-p 00030000 08:11 787889 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmurrine.so 7f346ea18000-7f346ea21000 r-xp 00000000 08:11 787890 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so 7f346ea21000-7f346ec21000 ---p 00009000 08:11 787890 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so 7f346ec21000-7f346ec22000 r--p 00009000 08:11 787890 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so 7f346ec22000-7f346ec23000 rw-p 0000a000 08:11 787890 /usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so 7f346ec28000-7f346ec52000 r--p 00000000 08:11 799078 /usr/share/locale-langpack/es/LC_MESSAGES/gtk20-properties.mo 7f346ec58000-7f346ec64000 r-xp 00000000 08:11 277345 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f346ec64000-7f346ee63000 ---p 0000c000 08:11 277345 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f346ee63000-7f346ee64000 r--p 0000b000 08:11 277345 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f346ee64000-7f346ee65000 rw-p 0000c000 08:11 277345 /lib/x86_64-linux-gnu/libnss_files-2.15.so 7f346ee68000-7f346ee72000 r-xp 00000000 08:11 277349 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f346ee72000-7f346f072000 ---p 0000a000 08:11 277349 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f346f072000-7f346f073000 r--p 0000a000 08:11 277349 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f346f073000-7f346f074000 rw-p 0000b000 08:11 277349 /lib/x86_64-linux-gnu/libnss_nis-2.15.so 7f346f078000-7f346f08f000 r-xp 00000000 08:11 277361 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f346f08f000-7f346f28e000 ---p 00017000 08:11 277361 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f346f28e000-7f346f28f000 r--p 00016000 08:11 277361 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f346f28f000-7f346f290000 rw-p 00017000 08:11 277361 /lib/x86_64-linux-gnu/libnsl-2.15.so 7f346f290000-7f346f292000 rw-p 00000000 00:00 0 7f346f298000-7f346f2a0000 r-xp 00000000 08:11 277343 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f346f2a0000-7f346f49f000 ---p 00008000 08:11 277343 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f346f49f000-7f346f4a0000 r--p 00007000 08:11 277343 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f346f4a0000-7f346f4a1000 rw-p 00008000 08:11 277343 /lib/x86_64-linux-gnu/libnss_compat-2.15.so 7f346f4b0000-7f346f4c8000 r--p 00000000 08:11 799048 /usr/share/locale-langpack/es/LC_MESSAGES/glib20.mo 7f346f4c8000-7f346f4ce000 r-xp 00000000 08:11 530451 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f346f4ce000-7f346f6cd000 ---p 00006000 08:11 530451 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f346f6cd000-7f346f6ce000 r--p 00005000 08:11 530451 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f346f6ce000-7f346f6cf000 rw-p 00006000 08:11 530451 /usr/lib/x86_64-linux-gnu/libogg.so.0.7.1 7f346f6d0000-7f346f6fb000 r-xp 00000000 08:11 530630 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7f346f6fb000-7f346f8fa000 ---p 0002b000 08:11 530630 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7f346f8fa000-7f346f8fb000 r--p 0002a000 08:11 530630 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7f346f8fb000-7f346f8fc000 rw-p 0002b000 08:11 530630 /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.5 7f346f900000-7f346f903000 r-xp 00000000 08:11 265961 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f346f903000-7f346fb02000 ---p 00003000 08:11 265961 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f346fb02000-7f346fb03000 r--p 00002000 08:11 265961 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f346fb03000-7f346fb04000 rw-p 00003000 08:11 265961 /lib/x86_64-linux-gnu/libgpg-error.so.0.8.0 7f346fb08000-7f346fb19000 r-xp 00000000 08:11 530459 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f346fb19000-7f346fd18000 ---p 00011000 08:11 530459 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f346fd18000-7f346fd19000 r--p 00010000 08:11 530459 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f346fd19000-7f346fd1a000 rw-p 00011000 08:11 530459 /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.0.0 7f346fd20000-7f346fd30000 r-xp 00000000 08:11 525890 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f346fd30000-7f346ff2f000 ---p 00010000 08:11 525890 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f346ff2f000-7f346ff30000 r--p 0000f000 08:11 525890 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f346ff30000-7f346ff31000 rw-p 00010000 08:11 525890 /usr/lib/x86_64-linux-gnu/libtasn1.so.3.1.12 7f346ff38000-7f346ff40000 r-xp 00000000 08:11 530404 /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0 7f346ff40000-7f3470140000 ---p 00008000 08:11 530404 /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0 7f3470140000-7f3470141000 r--p 00008000 08:11 530404 /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0 7f3470141000-7f3470142000 rw-p 00009000 08:11 530404 /usr/lib/x86_64-linux-gnu/libltdl.so.7.3.0 7f3470148000-7f3470158000 r-xp 00000000 08:11 530582 /usr/lib/x86_64-linux-gnu/libtdb.so.1.2.9 7f3470158000-7f3470357000 ---p 00010000 08:11 530582 /usr/lib/x86_64-linux-gnu/libtdb.so.1.2.9 7f3470357000-7f3470358000 -------------- next part -------------- A non-text attachment was scrubbed... Name: Logger.tar.gz Type: application/x-gzip Size: 8050 bytes Desc: not available URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20131129/cc245dbc/attachment.bin> From shordi at ...626... Fri Nov 29 21:09:41 2013 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Fri, 29 Nov 2013 21:09:41 +0100 Subject: [Gambas-user] Abort ide code 6 In-Reply-To: <CAOx-q9smLdqteQVXtQJu5S6dL80hoXC7W6pi7ayzxCwMj5kGFQ@...627...> References: <CAOx-q9smLdqteQVXtQJu5S6dL80hoXC7W6pi7ayzxCwMj5kGFQ@...627...> Message-ID: <CAOx-q9skgk1hJg7g9Dwhe_3wkVvTkWkXNaqs7S5ZOO=uC8dH+g@...627...> Ok. I found the problem. In the sqlite database I use a BLOB field (planning store images in database too), I've changed it to string and no more aborts. Sorry for the noise. Regards 2013/11/29 Jorge Carri?n <shordi at ...626...> > In my developments I've got a class who logs all user's action. I neve > have been any problem with this class. > Today I tried to do a simplify version to export the class in a little > proyect but I've gota an IDE abort code 6. > > The error happens closing the form when I have passed a result in a > Variant variable. > > I'm using Gambas3.5.1 from Kendek repository on LinuxMint 13 with Cinnamon. > > Attached the project and the exit of console. > > Regards > > From john.aaron.rose at ...626... Fri Nov 29 21:39:35 2013 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 29 Nov 2013 20:39:35 +0000 Subject: [Gambas-user] Web apps Message-ID: <5298FB87.20106@...626...> I have a rather naive question. I presume that Gambas would also be good for developing client-server apps e.g. with a database resident on a server. Can Gambas be used to develop web apps i.e. where all the logic is on the server? -- Regards, John From mckaygerhard at ...626... Fri Nov 29 22:09:21 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 29 Nov 2013 16:39:21 -0430 Subject: [Gambas-user] Web apps Message-ID: <CALci+FRLteZ0dLAnSaaiOtS-8U7kYVWprjcVfGsMBTppnDzxPQ@...627...> Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From: John Rose <john.aaron.rose at ...626...> > server. Can Gambas be used to develop web apps i.e. where all the logic > is on the server? of course , ojnly u must see all the mail activity from me with the word "web" or "cgi" try google search with https://www.google.co.ve/search?q=gambas+web+cgi+mckay&ie=utf-8&oe=utf-8&rls=VenenuX:en-US:unofficial&client=firefox-a&gws_rd=cr&ei=LAKZUpKSKNTekQeejIC4CA and u can see all u can doit.. i also provide a example complete how to use gambas in lighttpd and how to open a conection from database.. the site www.gambasforge.org/index.html are complete made on gambas if u have gtraslator u can also visit that forum and see more > > -- > Regards, > John > From mckaygerhard at ...626... Fri Nov 29 22:42:58 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 29 Nov 2013 17:12:58 -0430 Subject: [Gambas-user] Reminder alert: gb.web example for benoit! Message-ID: <CALci+FSBg6LYizTQ2WndSBehib=nckLcYgsMyAabGpYo9JB=jA@...627...> i cited: "As soon as Gambas 3.5 is released, I will start a "web site made with Gambas" example. Maybe some sort of wiki with authentication and session management. This is will be a single project. "Gambas server pages" will not be used, as I'm against them." this message its just only a reminder.. not more ^_^ je je Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From gambas at ...1... Fri Nov 29 22:57:09 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 29 Nov 2013 22:57:09 +0100 Subject: [Gambas-user] Web apps In-Reply-To: <5298FB87.20106@...626...> References: <5298FB87.20106@...626...> Message-ID: <52990DB5.2020903@...1...> Le 29/11/2013 21:39, John Rose a ?crit : > I have a rather naive question. I presume that Gambas would also be good > for developing client-server apps e.g. with a database resident on a > server. Can Gambas be used to develop web apps i.e. where all the logic > is on the server? > As I have already said before, I earn my life with a web application entirely made with Gambas. So I will say yes. To create a Gambas web application in a few words: - Create a project that uses the gb.web component. - Your project will create an executable that will be a CGI script. So learn how to configure your web server so that it can run your gambas executable as a CGI script. - Each HTTP request will run your program as A CGI script, and you will have to print the answer on the standard output. - The Request class will give you the request sent by the client (either GET or POST). - The Response class will be used for forging the request answer. It will send it on the standard output for you. - The response can be buffered (i.e. sent only when you call the Response.End method). If the response is buffered, it will be compressed if the HTTP client asks for it. - The Session class will be used if you need session management, i.e. maintaining data associated with a user, everything being based on a cookie. - You can debug your web application without a web server, by using the "embedded HTTP server" debugging feature. - Create your web pages with WebPage "forms" in the IDE. Their syntax is like ASP pages, if you know them. - Send the HTML of your pages with the WebPage.Render method. - Put everything in your project (image, CSS, javascript files). The IDE syntax highlighter handles CSS and javascript, as well as HTML and WebPage. Regards, -- Beno?t Minisini From sourceforge-raindog2 at ...94... Fri Nov 29 23:00:11 2013 From: sourceforge-raindog2 at ...94... (Rob Kudla) Date: Fri, 29 Nov 2013 17:00:11 -0500 Subject: [Gambas-user] Web apps In-Reply-To: <5298FB87.20106@...626...> References: <5298FB87.20106@...626...> Message-ID: <52990E6B.3090009@...94...> On 11/29/2013 03:39 PM, John Rose wrote: > I have a rather naive question. I presume that Gambas would also be good > for developing client-server apps e.g. with a database resident on a > server. Can Gambas be used to develop web apps i.e. where all the logic > is on the server? Yes, the Gambas documentation wiki is a CGI program written in Gambas. I think the source is included in the Gambas tarball as an example, or used to be. You can also implement a web server in Gambas, and I seem to remember someone implementing "Gambas Server Pages", though I think intermingling code and HTML is bad practice for all but the most trivial applications. I've long thought about coming up with a way to translate gb.qt/gb.gtk programs into gb.web programs with Javascript on the client side to forward events back to the server for handling. Maintaining state would be an issue (a CGI normally runs once, sends HTML to the client and exits, while a Gambas desktop program normally runs as a single instance for the user's entire interaction, keeping database handles open, drawable objects in memory, remembering things as basic as cursor position, etc.) and what works well in a desktop paradigm will usually not make for a very good HTML5 app. Plus, it probably would have sucked, especially if you had something like a MouseMove event handler that caused the Gambas CGI to load and run every time it fired. Rob From matti.eber at ...3240... Sat Nov 30 00:41:33 2013 From: matti.eber at ...3240... (Matti) Date: Sat, 30 Nov 2013 00:41:33 +0100 Subject: [Gambas-user] Where are the examples in gambas 3.5.1? In-Reply-To: <64e542$bvigbc@...3015...> References: <006b4c$c01vk2@...3239...> <64e542$bvigbc@...3015...> Message-ID: <5299262D.5020709@...3240...> Hi Carl, I don't know if this munix9.rpm is still working and up to date. Right now, I can recommend (for 12.3) the repository http://download.opensuse.org/repositories/Education/openSUSE_12.3/ Somebody is doing a good job there, and each stable version seems to be complete. Regards, Matti Am 29.11.2013 12:42, schrieb Carl Nilsson: > G'day again: > To my (slight) embarrassment, I see that I asked the same question > fourteen months ago (27-28 Sep 2012) and got pointed in the correct > direction by Matti - and so got gambas 3.2 with its' examples running > on openSUSE 12.2 . Guess that's what you expect from Seniors like > me. Amazing how time flies when you are busy on other things - not > to mention the memory! Anyway, I'll follow that path again and > apologise for taking up your email space. (Just as well I subscribe > on the gambas-user list and keep the emails!). > Carl > > At 01:38 PM 29/11/2013, you wrote: >> G'day: >> I have installed gambas 3.5.1 from munix9 rpm running under openSUSE >> 12.2 on a Virtual Machine (VMWare Player) on a Win 7 32 bit >> desktop. gambas seems fine, but there are no examples. ...(snip) >> Regards Carl >> >> Carl S Nilsson >> 137 Gordons Hill Road >> Lindisfarne, Tas. >> Australia 7015 >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > Carl S Nilsson > 137 Gordons Hill Road > Lindisfarne, Tas. > Australia 7015 > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From david at ...3241... Sat Nov 30 02:48:07 2013 From: david at ...3241... (beckwith) Date: Fri, 29 Nov 2013 17:48:07 -0800 (PST) Subject: [Gambas-user] installation problem 3.5.1 Message-ID: <1385776087372-44459.post@...3046...> I'm trying to install 3.5.1 on Mepis 12alpha (Debian Wheezy derived). I get this set of errors: Script started on Fri 29 Nov 2013 02:47:35 PM WST root at ...3242...: /home/beckwith/Downloads/gambas3.5 root at ...3242...:/home/beckwith/Downloads/gambas3.5# . reconf-all bash: libtoolize: command not found autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --output=aclocal.m4t Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory root at ...3242...:/home/beckwith/Downloads/gambas3.5# exit exit Script done on Fri 29 Nov 2013 02:48:05 PM WST Any help would be greatly appreciated, tahnks -- View this message in context: http://gambas.8142.n7.nabble.com/installation-problem-3-5-1-tp44459.html Sent from the gambas-user mailing list archive at Nabble.com. From david at ...3241... Sat Nov 30 08:44:46 2013 From: david at ...3241... (beckwith) Date: Fri, 29 Nov 2013 23:44:46 -0800 (PST) Subject: [Gambas-user] installation problem 3.5.1 In-Reply-To: <1385776087372-44459.post@...3046...> References: <1385776087372-44459.post@...3046...> Message-ID: <1385797486872-44460.post@...3046...> I found I needed to install "libtool" and "automake" - - this was not obvious from the documentation. Anyway it still is a disaster... "Unable to find methos _get in class Stack. Parameters do not match. Porject.RefreshBreakPointPicture.5053" This has go too difficult for me. I will refer the matter to the Mepis repo maintainers to upgrade their version from 3.1.1 to 3.5.1. cheers -- View this message in context: http://gambas.8142.n7.nabble.com/installation-problem-3-5-1-tp44459p44460.html Sent from the gambas-user mailing list archive at Nabble.com. From ualex73 at ...626... Sat Nov 30 09:40:09 2013 From: ualex73 at ...626... (Alexie) Date: Sat, 30 Nov 2013 09:40:09 +0100 Subject: [Gambas-user] installation problem 3.5.1 In-Reply-To: <1385797486872-44460.post@...3046...> References: <1385776087372-44459.post@...3046...> <1385797486872-44460.post@...3046...> Message-ID: <CAPgUXaLbpUcouvJjF3SJ+xV7MqBZce5a=cj1dqb9QKtsdn0YFA@...627...> The following worked for me on Debian 7.x: sudo apt-get install subversion build-essential autoconf mysql-client libbz2-dev \ libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev \ libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev \ libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev \ libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev \ libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev \ libxtst-dev libffi-dev kdelibs5-dev firebird2.1-dev libqt4-dev libglew1.5-dev \ libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev \ linux-libc-dev libgmime-2.6-dev libgsl0-dev libgstreamer-plugins-base0.10-dev \ libpoppler-cpp-dev libpoppler-private-dev libpoppler-qt4-dev 2013/11/30 beckwith <david at ...3241...> > I found I needed to install "libtool" and "automake" - - this was not > obvious > from the documentation. > Anyway it still is a disaster... > > "Unable to find methos _get in class Stack. Parameters do not match. > Porject.RefreshBreakPointPicture.5053" > > This has go too difficult for me. I will refer the matter to the Mepis > repo maintainers to upgrade their version from 3.1.1 to 3.5.1. > > cheers > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/installation-problem-3-5-1-tp44459p44460.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ub2 at ...36... Sat Nov 30 09:46:45 2013 From: ub2 at ...36... (ub2 at ...36...) Date: Sat, 30 Nov 2013 09:46:45 +0100 Subject: [Gambas-user] How to get codelinenumber In-Reply-To: <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> References: <5298AC9C.8050402@...36...> <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> Message-ID: <5299A5F5.8070300@...36...> Dear Fabien You're my hero. Thanks! The only thing I'm still working on is getting the codelinenumber also in cases without error. $CheckVar &= Chr(10) & ?codelinenumber? &": $x=" & $x Does "error.where" also have, lets say an "MeRightNow.where" sister? I'll keep on trying. Regards, Hubert Am 29.11.2013 18:41,schrieb Fabien Bodard: > 2013/11/29 ub2 at ...36... <ub2 at ...36...>: >> Dear cracks >> >> After fooling hours/days in Wikipedia, Googling etc I'd like to place my >> issue here (before driving nuts). If this is not appropriate please sb >> indicate where I can find help. Thanks. >> >> For debugging I'd like to write the following info in a >> string: procedure name, code line number, element which has started >> current running/failing procedure. >> >> my code: >> '----------------------------------- >> 'Public Procedure ProcXYZ(.... >> ' >> ' Dim $CheckVar as String >> ' Dim $Testmode as Integer >> ' Dim $ResSPos as Result >> ' >> ' ... >> ' $ResSPos = HiModSql.Sql2Res("TblVerknAkt","..... >> ' $x = $ResSPos!x >> ' If $Testmode > 0 Then >> ' $CheckVar &= Chr(10) & ?codeline? &": $x=" & $x >> ' ... >> ' ... >> ' Catch >> ' Message.Warning("Catch ?procname?, Error=" & Error.code & ", " & >> ' Error.text & Chr(10) & "$CheckVar:" & Chr(10) & $CheckVar, "ok") >> ' >> 'End >> '------------------------------------ >> >> My questions: >> How to deviate Debug into a string? > in the catch part : > myerror = Error.text &/ error.where ... for example > http://gambasdoc.org/help/comp/gb/error/text?v3 >> How to get codelinenumber? (Is there a list of useful things?) > Error.Where >> How to get element which started procedure? > Error.Where > http://gambasdoc.org/help/comp/gb/error/where?v3 >> >> >> Please apologize if code formatting is not state of the art. >> I'm autodidact. >> >> >> Thanks for your help. >> >> Regards, >> ub2 >> >> >> Note: I'm an quite enthusiastic Gambas user. Thanks, you're doing great. >> Go ahead and do not bother never ending "Basic-Discussion-bigots". >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From shordi at ...626... Sat Nov 30 10:14:18 2013 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Sat, 30 Nov 2013 10:14:18 +0100 Subject: [Gambas-user] Reminder alert: gb.web example for benoit! In-Reply-To: <CALci+FSBg6LYizTQ2WndSBehib=nckLcYgsMyAabGpYo9JB=jA@...627...> References: <CALci+FSBg6LYizTQ2WndSBehib=nckLcYgsMyAabGpYo9JB=jA@...627...> Message-ID: <CAOx-q9uTQpUOVdyhAT+kn7D2anYb_-6JCzdjTUKV_sM=V_Wf_A@...627...> That will be fine Piccoro. Keep doing the good work Regards 2013/11/29 PICCORO McKAY Lenz <mckaygerhard at ...626...> > i cited: > > "As soon as Gambas 3.5 is released, I will start a "web site made with > Gambas" example. Maybe some sort of wiki with authentication and session > management. This is will be a single project. "Gambas server pages" will > not be used, as I'm against them." > > this message its just only a reminder.. not more > > ^_^ > > je je > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Sat Nov 30 11:19:35 2013 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 30 Nov 2013 02:19:35 -0800 (PST) Subject: [Gambas-user] Problems reading pdf attachment using pop3 client Message-ID: <1385806775875-44464.post@...3046...> Using the pop3Client to download emails into a mysql db sometimes attached pdf files are unreadable. Have sent a pdf document to myself, email message = testemail <http://gambas.8142.n7.nabble.com/file/n44464/testemail> Then, using pop3_client it is saved to the database into a string field using .Message.ToString() My posting of 27 October is similar (I thought I'd solved it then!) -- View this message in context: http://gambas.8142.n7.nabble.com/Problems-reading-pdf-attachment-using-pop3-client-tp44464.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Sat Nov 30 13:14:20 2013 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 30 Nov 2013 04:14:20 -0800 (PST) Subject: [Gambas-user] Problems reading pdf attachment using pop3 client In-Reply-To: <1385806775875-44464.post@...3046...> References: <1385806775875-44464.post@...3046...> Message-ID: <1385813660691-44465.post@...3046...> Some further information. If I download emails containing pdf files using .Message.ToString() and save the email to file then try to decode the attachment with-: Dim hMimeMessage As MimeMessage Dim hMimePart As MimePart Dim sTemp As String Dialog.Title = "Select a text file" If Dialog.OpenFile() Then Return sTemp = File.Load(Dialog.Path) hMimeMessage = New MimeMessage(sTemp) For Each hMimePart In hMimeMessage.Part If hMimePart.Disposition = "attachment" Then File.Save(User.Home &/ "New Folder" &/ hMimePart.FileName, Mime.Decode(sTemp, hMimePart.ContentEncoding)) Endif Next The saved file is unreadable. kmail however can open the saved email and displays the attachment OK. BTW I'm using Gambas 3.5 -- View this message in context: http://gambas.8142.n7.nabble.com/Problems-reading-pdf-attachment-using-pop3-client-tp44464p44465.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Sat Nov 30 15:06:12 2013 From: bbruen at ...2308... (Bruce) Date: Sun, 01 Dec 2013 00:36:12 +1030 Subject: [Gambas-user] How to get codelinenumber In-Reply-To: <5299A5F5.8070300@...36...> References: <5298AC9C.8050402@...36...> <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> <5299A5F5.8070300@...36...> Message-ID: <1385820372.9723.22.camel@...2688...> On Sat, 2013-11-30 at 09:46 +0100, ub2 at ...36... wrote: > Dear Fabien > > You're my hero. Thanks! > > The only thing I'm still working on is getting the codelinenumber also > in cases without error. System.BackTrace may help here. But I am tired and emotional so check the help. From gambas.fr at ...626... Sat Nov 30 15:10:35 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 30 Nov 2013 15:10:35 +0100 Subject: [Gambas-user] How to get codelinenumber In-Reply-To: <1385820372.9723.22.camel@...2688...> References: <5298AC9C.8050402@...36...> <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> <5299A5F5.8070300@...36...> <1385820372.9723.22.camel@...2688...> Message-ID: <CAFkCsL68JJKe0tJatNLw0PmNa_pv69W64kPqHASSubPZfr=B6A@...627...> I'm don't understand what you want here 2013/11/30 Bruce <bbruen at ...2308...>: > On Sat, 2013-11-30 at 09:46 +0100, ub2 at ...36... wrote: >> Dear Fabien >> >> You're my hero. Thanks! >> >> The only thing I'm still working on is getting the codelinenumber also >> in cases without error. > System.BackTrace may help here. But I am tired and emotional so check > the help. > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mmcg29440 at ...3163... Sat Nov 30 16:02:07 2013 From: mmcg29440 at ...3163... (Marty) Date: Sat, 30 Nov 2013 10:02:07 -0500 Subject: [Gambas-user] DataCheckBox properties do not exist or event not raised Message-ID: <5299FDEF.5080702@...3163...> Hello All, I'm experiencing weird problem with the DatCheckBox control. First let me say I'm running Gambas 3.5.1 on Ubuntu 12.04 LTS. The project was started in Gambas 3.4.2 and developed further in each successive release of Gambas. Each DataCheckBox is in the same datasource attached to a MySQL table. All the qt4 components are loaded. The problems are: 1) The first click causes the black check to disappear and the background turns grey. The second click causes a grey check to appear and the background changes to white. The third click causes a black check and a white background. Is this normal? 2) The click event is not raised when the user clicks on the control. 3) the tristate property does not exist. 4) This code works in the debug mode if a breakpoint is set and I step through the code. If no breakpoint is set the text box value goes between true and false and cannot be set to true. If I do not set the value manually the value remains unset. Private Sub DataCheckBox3_MouseDown() If DataCheckBox3.Value = True Then DataCheckBox.Value = False Else DataCheckBox3.Value = False End If End The idea is to check the state of the control, after user input, and call a sub to modify another table. So far I have not been able to get this to work because of the problems with the checkbox. The sub is OK, I can run it from a button without problem. So what is going on? Marty From ub2 at ...36... Sat Nov 30 16:49:12 2013 From: ub2 at ...36... (ub2 at ...36...) Date: Sat, 30 Nov 2013 16:49:12 +0100 Subject: [Gambas-user] How to get codelinenumber and procname (solved - Thanks) In-Reply-To: <CAFkCsL68JJKe0tJatNLw0PmNa_pv69W64kPqHASSubPZfr=B6A@...627...> References: <5298AC9C.8050402@...36...> <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> <5299A5F5.8070300@...36...> <1385820372.9723.22.camel@...2688...> <CAFkCsL68JJKe0tJatNLw0PmNa_pv69W64kPqHASSubPZfr=B6A@...627...> Message-ID: <529A08F8.4090200@...36...> Dear Fabien, Bruce and Tobias Gents you're great, my 'issue' is completely solved. Thanks for your patience! My code (.. if it helps other newbies) ___________________________________ 'Public Sub Button1_Click() ' Dim $ResVerkn As Result ' Dim $ModDtm, $CheckVar As String ' Dim $Testmode As Integer ' ' $Testmode = 1 'Docu on/off ' ' '...(Plenty of other code) ' ' $ResVerkn = HiModSql.Sql2Res("TblVerknAkt", "IDVerkn = 123") ' $ModDtm = $ResVerkn!ModDtm ' If $Testmode > 0 Then $CheckVar &= Chr(10) & System.BackTrace[0] & ": $ModDtm=" & $ModDtm ' ' '...(Plenty of other code) ' ' If $Testmode > 0 Then ' Message.Info("$CheckVar collected so far:" & Chr(10) & '$CheckVar, "ok") ' Endif ' ' Catch ' Message.Warning("Catch Error at " & Error.where & Chr(10) & "Error: " & Error.code & ", " & Error.text & Chr(10) & " $CheckVar: " & Chr(10) & $CheckVar, " ok ") ' 'End ___________________________________ Have a nice weekend Regards Hubert Am 30.11.2013 15:10,schrieb Fabien Bodard: > I'm don't understand what you want here > > 2013/11/30 Bruce <bbruen at ...2308...>: >> On Sat, 2013-11-30 at 09:46 +0100, ub2 at ...36... wrote: >>> Dear Fabien >>> >>> You're my hero. Thanks! >>> >>> The only thing I'm still working on is getting the codelinenumber also >>> in cases without error. >> System.BackTrace may help here. But I am tired and emotional so check >> the help. >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > From mckaygerhard at ...626... Sat Nov 30 17:59:09 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 30 Nov 2013 12:29:09 -0430 Subject: [Gambas-user] gambas documentation offline include in source (gb.web) Message-ID: <CALci+FTGCGzk69xqvz4UaU-+8SwPn94kumshLm6KsJX0UDVd1w@...627...> In a mail response from Rob Kudla <sourceforge-raindog2 at ...94...> > Subject: Re: [Gambas-user] Web apps write that: > Yes, the Gambas documentation wiki is a CGI program written in Gambas. I > think the source is included in the Gambas tarball as an example, or used > to be. Could be possible to buld the documentation locally? if are atached to the sources? this could solve the problem of online documentation ... for me will be very usefully when i go in a journey to Tepuys, where no are a interenet connection. of course, maibe and idea will be a compiled documentation into html pages from sources... event have the .webpages files and use webserver to interperted! From gambas.fr at ...626... Sat Nov 30 17:59:38 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 30 Nov 2013 17:59:38 +0100 Subject: [Gambas-user] How to get codelinenumber and procname (solved - Thanks) In-Reply-To: <529A08F8.4090200@...36...> References: <5298AC9C.8050402@...36...> <CAFkCsL4MbBm2gke8xwhu3NpFpJmBFGqdkHdeR28c--6km_6UYA@...627...> <5299A5F5.8070300@...36...> <1385820372.9723.22.camel@...2688...> <CAFkCsL68JJKe0tJatNLw0PmNa_pv69W64kPqHASSubPZfr=B6A@...627...> <529A08F8.4090200@...36...> Message-ID: <CAFkCsL7tiVrTLk+toymrXy6sqqoyy1vsAuU7VB+crxk2MGR1Bg@...627...> Message.Warning(subst("Catch Error at &1\nError: &2, &3\n$CheckVar: \n&4", Error.where , Error.code, Error.text, $CheckVar), " ok ") 2013/11/30 ub2 at ...36... <ub2 at ...36...>: > Dear Fabien, Bruce and Tobias > > > Gents you're great, my 'issue' is completely solved. > Thanks for your patience! > > My code (.. if it helps other newbies) > ___________________________________ > 'Public Sub Button1_Click() > ' Dim $ResVerkn As Result > ' Dim $ModDtm, $CheckVar As String > ' Dim $Testmode As Integer > ' > ' $Testmode = 1 'Docu on/off > ' > ' '...(Plenty of other code) > ' > ' $ResVerkn = HiModSql.Sql2Res("TblVerknAkt", "IDVerkn = 123") > ' $ModDtm = $ResVerkn!ModDtm > ' If $Testmode > 0 Then $CheckVar &= Chr(10) & > System.BackTrace[0] & ": $ModDtm=" & $ModDtm > ' > ' '...(Plenty of other code) > ' > ' If $Testmode > 0 Then > ' Message.Info("$CheckVar collected so far:" & Chr(10) & > '$CheckVar, "ok") > ' Endif > ' > ' Catch > ' Message.Warning("Catch Error at " & Error.where & Chr(10) & > "Error: " & Error.code & ", " & Error.text & Chr(10) & " $CheckVar: " & > Chr(10) & $CheckVar, " ok ") > ' > 'End > ___________________________________ > > > Have a nice weekend > > Regards > Hubert > > > Am 30.11.2013 15:10,schrieb Fabien Bodard: >> I'm don't understand what you want here >> >> 2013/11/30 Bruce <bbruen at ...2308...>: >>> On Sat, 2013-11-30 at 09:46 +0100, ub2 at ...36... wrote: >>>> Dear Fabien >>>> >>>> You're my hero. Thanks! >>>> >>>> The only thing I'm still working on is getting the codelinenumber also >>>> in cases without error. >>> System.BackTrace may help here. But I am tired and emotional so check >>> the help. >>> >>> >>> ------------------------------------------------------------------------------ >>> Rapidly troubleshoot problems before they affect your business. Most IT >>> organizations don't have a clear picture of how application performance >>> affects their revenue. With AppDynamics, you get 100% visibility into your >>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From mckaygerhard at ...626... Sat Nov 30 22:44:24 2013 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 30 Nov 2013 17:14:24 -0430 Subject: [Gambas-user] gb.db Unknown symbol 'Fields' in class 'Connection' Message-ID: <CALci+FQ79UHaT-Ey_FfoBBK6RiPqXjebHvrW4jANmCfBTDQm0g@...627...> and then i have this error when run in another runtime environment: Unknown symbol 'Fields' in class 'Connection' i have this code: If Not consq.Tables.Exist("sysasis_listado") Then hTable = consq.Tables.Add("sysasis_listado") With hTable.Fields .Add("cod_ficha", db.String, 20) ' FICHA/Cedu, el id del trabajador en VNZ es numero de la CI .Add("cod_lugar", db.String, 20, lugar) ' nombre de ubicacion(tienda o sobrenombre) en al que .Add("fec_actualizacion", db.Date,, Now) ' fecha del registro de dia de su huella dactilar .Add("cod_usuasys", db.String, 20) ' ficha / cedula / id del trabajador NOTA ESTE NO ES CI, en VNZ es CI End With hTable.PrimaryKey = ["cod_ficha", "cod_lugar"] hTable.Update If Error Then Print "Error - new db remote: " & Error.Code & " " & Error.Text Else Print "Advertencia - new db remote: created " & Error.Code & " " & Error.Text Endif Else Print "Advertencia - new db remote: existe: " & Error.Code & " " & Error.Text Endif What its the correct? htable.Field or htable.Fields ? please urgency Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From nilsson at ...1979... Sat Nov 30 23:40:12 2013 From: nilsson at ...1979... (Carl Nilsson) Date: Sun, 01 Dec 2013 09:40:12 +1100 Subject: [Gambas-user] Where are the examples in gambas 3.5.1? In-Reply-To: <5299262D.5020709@...3240...> References: <006b4c$c01vk2@...3239...> <64e542$bvigbc@...3015...> <5299262D.5020709@...3240...> Message-ID: <006b4c$c0377s@...3239...> G'day Matti: Now I'm getting confused again! Is not the repository you refer to a repository only for the opemSUSE? I have assumed my openSUSE 12.2 is working fine, but it is the gambas install that gives me problems. The openSUSE 12.2 I actually have comes from a store-boughten DVD set put out by (I think) UnixAcademy.com. Seems to go on just fine. I use the KDE gui. Reason I'm trying to stick with it is that I bought some moderately expensive books on SUSE Linux for those long winter nights (that have just passed). Yesterday i removed the troublesome gambas 3.5 install and tried again, but munix9 is the only repo that I know that gives me something approaching a "one-line" install. Once again, I had trouble with four packages (including the examples) with missing dependencies. I couldn't initially install gambas-gb-v4l because of missing -tools and needing tv-common; examples needed libmlib2.so.1 etc. However, I played around with trying to install those packages one by one and finally they did install with no complaints about dependencies. Now all the packages are installed (white ticks on a black background for all of them) at the gambas 3.5.1 -2.5 level except for gb-gui, gb-maps and script which are at the 3.4.1-2.29 level. I don't know if that is a problem? The fact that I got gambas 3.5 (whether I wanted it or not) from munix9 suggests that somebody is working and trying to keep it up to date. Now my examples show in gambas 3.5.1, but I still have problems. When I start gambas 3.5.1 I get my "tip of the day" and "recent projects". If I go to examples, like "dragNdrop", the project opens and I get a "project is read only" notice. Fair enough! I just get a mottled grey screen on the right. Under the project "sources", if I left click "FDragNdrop", nothing happens (I need to refresh my memory on these operations with gambas). If I right click it, I immediately get a fatal error, namely: [2] cannot load class "_Gui': FMain.tvwProject_Menu.257 - and automatically exit from gambas. All the examples I have tried act similarly. Now, I can't help wondering if this error is related to the fact that gb-gui is installed at the 3.4 level, whereas most of gambas is installed at 3.5 level? So far as I'm aware (not very far!), munix9 did not give me the option of installing at the 3.4 level. It's possible that this gambas install can be retrieved quite simply by installing a different package - I don't know and I await advice. I recall that (as I said in my post last September 2012) I did get an earlier gambas3 successfully installed under a real installation of SUSE 10 on an older machine, so one way or another, I should be able to get it going under SUSE 12.2. My (real paper) reference books are all about SUSE 10 and 11, but I expect are still reasonably good for SUSE 12. They are my real monetary investment that I'm trying to save. In addition, although I'm struggling, this is a learning process about real-world Linux - but not getting me far into gambas, which is where i really want to spend my time. I appreciate any assist you can provide at this stage. In the meantime, I have downloaded Mint 13 "Maya" and will try installing that tonight under VMPlayer. I saw and downloaded Willy Raets ebook "how to Gambas" which gives an installing path for that version of Linux - which might produce an interesting comparison for me. Thank you for your continued interest. Carl At 10:41 AM 30/11/2013, you wrote: >Hi Carl, > >I don't know if this munix9.rpm is still working and up to date. >Right now, I can recommend (for 12.3) the repository >http://download.opensuse.org/repositories/Education/openSUSE_12.3/ >Somebody is doing a good job there, and each stable version seems to >be complete. >Regards, Matti > >Am 29.11.2013 12:42, schrieb Carl Nilsson: > > G'day again: > > To my (slight) embarrassment, I see that I asked the same question > > fourteen months ago (27-28 Sep 2012) and got pointed in the correct > > direction by Matti - and so got gambas 3.2 with its' examples running > > on openSUSE 12.2 . Guess that's what you expect from Seniors like > > me. Amazing how time flies when you are busy on other things - not > > to mention the memory! Anyway, I'll follow that path again and > > apologise for taking up your email space. (Just as well I subscribe > > on the gambas-user list and keep the emails!). > > Carl > > > > At 01:38 PM 29/11/2013, you wrote: > >> G'day: > >> I have installed gambas 3.5.1 from munix9 rpm running under openSUSE > >> 12.2 on a Virtual Machine (VMWare Player) on a Win 7 32 bit > >> desktop. gambas seems fine, but there are no examples. ...(snip) > >> Regards Carl > >> > >> Carl S Nilsson > >> 137 Gordons Hill Road > >> Lindisfarne, Tas. > >> Australia 7015 > >> > >> > >> > ------------------------------------------------------------------------------ > >> Rapidly troubleshoot problems before they affect your business. Most IT > >> organizations don't have a clear picture of how application performance > >> affects their revenue. With AppDynamics, you get 100% visibility into your > >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > >> > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Carl S Nilsson > > 137 Gordons Hill Road > > Lindisfarne, Tas. > > Australia 7015 > > > ------------------------------------------------------------------------------ > > Rapidly troubleshoot problems before they affect your business. Most IT > > organizations don't have a clear picture of how application performance > > affects their revenue. With AppDynamics, you get 100% visibility into your > > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of > AppDynamics Pro! > > http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > >------------------------------------------------------------------------------ >Rapidly troubleshoot problems before they affect your business. Most IT >organizations don't have a clear picture of how application performance >affects their revenue. With AppDynamics, you get 100% visibility into your >Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! >http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user Carl S Nilsson 137 Gordons Hill Road Lindisfarne, Tas. Australia 7015