Re: [Gambas-user] qt5

2016-06-16 Thread Ian Haywood
On Thu, Jun 16, 2016 at 7:22 PM, Benoît Minisini wrote: > But putting gb.qt5 instead does not logically solve the problem, as we > could imagine a distribution that provides qt4, qt4 webkit, qt5 and not > qt5 webkit (as now webkit as been dropped by qt5)... Weird. That's a problem. Will Qt5 have

Re: [Gambas-user] qt5

2016-06-16 Thread Ian Haywood
On Wed, Jun 15, 2016 at 4:54 AM, Dimitris Anogiatis wrote: > Are the qt4 webkit and qt5 webkit too different that we can't use a symlink > for qt4's webkit to point to qt5's webkit? no they are too different: qt5 webkit won't load with Qt4. > That way we could (theoretically) bridge the gap tempo

Re: [Gambas-user] qt5

2016-06-16 Thread Ian Haywood
On Wed, Jun 15, 2016 at 5:40 AM, Benoît Minisini wrote: > Le 14/06/2016 13:21, Ian Haywood a écrit : >> >> The problem quite complicated. Gambas looks for Qt4 and Qt5. If both are >> found, >> Qt4 is loaded. > > No, if Qt5 and Qt4 are present, Qt5 is use

Re: [Gambas-user] qt5

2016-06-14 Thread Ian Haywood
On Mon, May 2, 2016 at 1:11 AM, Benoît Minisini wrote: > Le 01/05/2016 16:01, Charlie a écrit : >> Thanks for the reply Benoît. Ubuntu 16.04 has Gambas 3.8.4 which I also use >> on Linux Mint 17.3 Cinnamon. >> Here is the Gambas Farm error I get. >> gambas1.png

Re: [Gambas-user] TextEdit on Qt5

2016-01-25 Thread Ian Haywood
Thanks heaps for doing this I have found one problem that blocks loading the qt5 component at all /usr/bin/gbi3: symbol lookup error: /usr/lib/gambas3/gb.qt5.so: undefined symbol: _ZTV14FixBreezeStyle On Sun, Jan 24, 2016 at 12:23 PM, Benoît Minisini wrote: > Le 24/01/2016 02:18, Moviga Technolog

[Gambas-user] TextEdit on Qt5

2016-01-23 Thread Ian Haywood
This was a lot simpler than I thought. I enclose a working patch. Two outstanding issues: - the TextEdit has a grey background (the system default) and ignores setting .Background = Color.White - the documentation doesn't appear in the IDE (because it's looking for qt4.TextEdit, whereas the docs wi

Re: [Gambas-user] Debian problem step 3.5.4 to 3.8.4

2016-01-20 Thread Ian Haywood
On Tue, Jan 19, 2016 at 8:45 PM, Gianluigi wrote: > Hello to all, > a friend of ours of Gambas-it forum, runs Debian and updated from version > 3.5.4 to 3.8.4. > He can no longer use the old qt4 projects. > He tried compile, compile all, refresh, reload … but nothing. > Changing with gb.gui.qt in

Re: [Gambas-user] [Gambas Bug Tracker] Bug #880: gambas-gb-pdf will not install

2016-01-17 Thread Ian Haywood
On Sat, Dec 26, 2015 at 9:44 AM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.880&from=L21haW4- > > > Description > --- > > Gambas 3.8.4 running under Kubuntu 14.04 LTS. the key question is where you got that 3.8.4 .deb from (it won't have been form the standard 14.04 reposi

Re: [Gambas-user] [Gambas Bug Tracker] Bug #835: gambas3 doesn't build with llvm > 3.5

2016-01-13 Thread Ian Haywood
On Tue, Nov 17, 2015 at 5:32 AM, wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.835&from=L21haW4- > > Comment #10 by Gianfranco COSTAMAGNA: > I'm not the debian gambas package maintainer, but I guess I'll ping the > maintainers or upload in a delayed queue the fixes. > > thanks so fa

Re: [Gambas-user] running IDE with Qt5

2015-12-05 Thread Ian Haywood
On Sun, Dec 6, 2015 at 11:03 AM, PICCORO McKAY Lenz wrote: > set a env variable to QT5 and that's all, of course, all the > components in qt5 framework must be set, packages made for some > disributions may have some misc but works in general lines when packaging for a distro the interpreter shoul

Re: [Gambas-user] running IDE with Qt5

2015-12-03 Thread Ian Haywood
On Fri, Dec 4, 2015 at 1:10 AM, Benoît Minisini wrote: > Le 03/12/2015 11:47, Ian Haywood a écrit : >> is there a way to run the IDE with Qt5 only (not Qt4 at all) >> The reason is Qt4 webkit is getting pulled out of Debian, so we are >> not allowed to depend on it anymore.

[Gambas-user] running IDE with Qt5

2015-12-03 Thread Ian Haywood
is there a way to run the IDE with Qt5 only (not Qt4 at all) The reason is Qt4 webkit is getting pulled out of Debian, so we are not allowed to depend on it anymore. Ian -- Go from Idea to Many App Stores Faster with Inte

Re: [Gambas-user] The interview on FLOSS

2015-09-19 Thread Ian Haywood
On Sat, Sep 19, 2015 at 11:21 PM, Ru Vuott wrote: >> "autodidact" *is* an English word, > > ..that doesn't come from english sure, can you think of a word that does? -- ___

Re: [Gambas-user] The interview on FLOSS

2015-09-19 Thread Ian Haywood
On Thu, Sep 10, 2015 at 12:55 AM, Benoît Minisini wrote: > I have been interviewed by Randall Schwartz and Simon Phipps on the > FLOSS weekly show on twit.tv. You can show the interview at: > > https://twit.tv/shows/floss-weekly/episodes/353 > > If you watch it, you will probably notice that I wil

Re: [Gambas-user] Release goals for 3.7 / 4.0

2014-10-23 Thread Ian Haywood
On Wed, Oct 22, 2014 at 1:38 AM, Benoît Minisini wrote: > Le 21/10/2014 16:25, PICCORO McKAY Lenz a écrit : > The rule is the following: A program made with Gambas 3.X will work with > all Gambas 3.Y where Y >= X, except if your program relies on the bad > behaviour of a bug that is fixed in a n

[Gambas-user] Fwd: Pre-release of Gambas 3.6 (2)

2014-10-14 Thread Ian Haywood
compiles but lots of warnings on Debian testing make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.desktop.gnome.keyring/src' CC gb_desktop_gnome_keyring_la-main.lo CC gb_desktop_gnome_keyring_la-keyring.lo keyring.c: In function 'get_password': keyring.c:50:5: warni

Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-13 Thread Ian Haywood
compiles but lots of warnings on Debian testing make[4]: Entering directory '/home/ian/Downloads/gambas3-3.6.0/gb.desktop.gnome.keyring/src' CC gb_desktop_gnome_keyring_la-main.lo CC gb_desktop_gnome_keyring_la-keyring.lo keyring.c: In function 'get_password': keyring.c:50:5: warni

Re: [Gambas-user] ...And what is planned for Gambas 3.7

2014-09-15 Thread Ian Haywood
On Tue, Sep 16, 2014 at 10:03 AM, Benoît Minisini wrote: > 7) A Gambas program may depend on other programs in the repository. That > way libraries will be able to be put in the repository too. currently libraries must sit in a directory on $PATH. On most systems all directories in $PATH are not

[Gambas-user] libraries with svn

2014-08-13 Thread Ian Haywood
Richard Terry and I have run into a problem Our project uses one library (and may use more as we hive up the project into logical components) But, it will be in different locations on our systems (mine in /home/ian/easygp/base.gambas, his funnily enough is /home/richard/easygp/base.gambas, or simil

Re: [Gambas-user] Gambas 3.5.4 and the Stable PPA

2014-07-15 Thread Ian Haywood
On Wed, Jul 16, 2014 at 3:27 AM, Caveat wrote: > I have Ubuntu here, was hoping someone else would volunteer first so I > didn't have to... :-D > > I haven't packaged before but know my way around bash scripts, svn, git > and the like. start with the debian packaging guidelines to get an idea of h

Re: [Gambas-user] Gambas 3.5.4 and the Stable PPA

2014-07-12 Thread Ian Haywood
On Sat, Jul 12, 2014 at 3:38 PM, Sebastian Kulesz wrote: > The thing is, I don't have ubuntu installed in my computer as i don't need > it to manage the Daily Builds PPA. The problem arises when trying to push > Gambas 3.5.4 to the Stable PPA using the same method i'm using for the > Daily Builds

[Gambas-user] loading PDF widget very slow

2014-06-12 Thread Ian Haywood
I've noticed that suddenyl loading any PDF became very slow (1-15 seconds to load) the PDFs are small and no my local drive, so should load almost immediately. then I discovered chanigng my default printer fixed it using strace, this is what's happening while I wait for the PDF to load connect(3

[Gambas-user] Fwd: libraries and locations: feature request

2014-06-06 Thread Ian Haywood
I've started using gambas libraries to break my projecty up into more manageable components. My understanding is libraries must be in the same directory as the compiled executable when deployed: so that's /usr/bin The debian packaging system complains that I don't have a manpage for each of my li

Re: [Gambas-user] Accessing the nth item in a collection

2014-06-04 Thread Ian Haywood
On Wed, Jun 4, 2014 at 9:59 PM, Tobias Boege wrote: > Oh, I just saw the "added to" bit. That's not possible with AvlTree and also > won't be with Collection. > > Then I suppose that you create a custom Collection class and make it record > the first and last items added. For the general case of

[Gambas-user] libraries and locations: feature request

2014-06-03 Thread Ian Haywood
I've started using gambas libraries to break my projecty up into more manageable components. My understanding is libraries must be in the same directory as the compiled executable when deployed: so that's /usr/bin The debian packaging system complains that I don't have a manpage for each of my li

Re: [Gambas-user] Gambas IDE in open project scanning entire home directory

2014-05-24 Thread Ian Haywood
On Sun, May 25, 2014 at 9:39 AM, Benoît Minisini wrote: > Le 25/05/2014 00:48, Ian Haywood a écrit : > The only recursion that occurs is after opening a project: the project > directory is recursively browsed, to detect all project files. > > Otherwise, I have no idea why /hom

Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Ian Haywood
On Thu, May 22, 2014 at 3:53 AM, Bruce Cunningham wrote: > Ian, > > Some details about the OS: > Distribution ID: Linaro > Description: Linaro 12.11 > Release: 12.11 > Codename: precise ok, it's an old ubuntu derivative have a look at kendek's PPA (https://launchpad.net/~nemh/+archive/gambas3), it

Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Ian Haywood
On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen wrote: >> I've been trying to compile Gambas on a development board that uses the >> Allwinner A10 SOC. I know there is a build for the Raspberry PI, so it >> should be doable. I use a solidrun cubox (a tiny Israeli company making even tinier compu

Re: [Gambas-user] gb.db.postgresql – These Components Are Disabled

2014-05-19 Thread Ian Haywood
On Mon, May 19, 2014 at 6:42 PM, gian wrote: > Jussi, thanks for answer, > Il 19/05/2014 01:02, Jussi Lahtinen ha scritto: >> You can ignore those if you are not going to use them. They are not >> mandatory. >> On Sun, May 18, 2014 at 9:38 PM, gian wrote: >> >>> Hi all, >>> >>> compiling Gambas3

Re: [Gambas-user] Try;If Error on mutable classes

2014-05-12 Thread Ian Haywood
On Mon, May 12, 2014 at 11:07 AM, B Bruen wrote: > OK,this has me beat. > So, we try(sic) as follows: > 1: Try MyObject.MissingMethod(whatever) > 2: If Error then > 3: Error Subst("&1\nERR: &2 (&3)\n&4\n&1\n", String$(40, "-"), > Error.Text, Error.Code, Error.Backtrace.Joi

Re: [Gambas-user] Ubuntu 14.04 update and Gambas executables

2014-04-30 Thread Ian Haywood
On Thu, May 1, 2014 at 7:46 AM, Keith Clark wrote: > But I did do a fresh install from the Ubuntu repos of Gambas 3. Should > that not have done the same thing? no, what's in the standard ubuntu repos is very old (3.1.1), you need to use kendek's PPA as described. your error is probably that the

Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04

2014-04-27 Thread Ian Haywood
On Sun, Apr 27, 2014 at 9:09 AM, Jesus wrote: > El 27/04/14 02:13, Ru Vuott escribió: >> Hello, >> >> two friends of the forum "www.gambas-it.org" have asked me to post this >> problem here in the Mailing List. >> >> >> They had updated and used normally the version 3.5.3 of Gambas. >> >> Well, n

Re: [Gambas-user] Precision immediately lost when assigning value to type Single structure property

2014-04-09 Thread Ian Haywood
On Thu, Apr 10, 2014 at 2:43 PM, Kevin Fishburne wrote: > I have an array (Plan) of a structure (PlanStructure) which contains > several other structures (PlanPortalStructure, etc.): > Plan[p].Portal[Index].Orientation = 180.2 > > > the value is assigned as 180.169. > > Any idea why this

Re: [Gambas-user] Install Gambas 3 on Raspbian instruction in Gambas wiki

2014-04-09 Thread Ian Haywood
On Thu, Apr 10, 2014 at 7:35 AM, Willy Raets wrote: > Hi All, > > Since I'm now the owner of a Raspberry Pi running Raspbian I wrote some > short instructions for installing Gambas3 on Raspbian. > > http://gambaswiki.org/wiki/install/raspbian > > Also added Raspbian to the index of distributions.

[Gambas-user] autogenerated files (was: Update of autoconf macros in revision #6230)

2014-04-06 Thread Ian Haywood
On Sat, Apr 5, 2014 at 9:25 PM, Benoît Minisini wrote: > Remember that you have to run "./reconf-all" to regenerate all > configuration script from the new autoconf files. Would it be possible for the source tarballs to not contain files autogenerated by reconf-all (such as the Makefile.in and va

[Gambas-user] running gambas3 on ARM

2014-03-28 Thread Ian Haywood
I've been trying to run gambas3 on a ARM processor very basic text-only programs will work running anything graphical crashes in the Qt library. ian@debian-imx6:~/gambas3-3.5.2/main/gbx$ gdb gbr3 GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+:

[Gambas-user] vanishing .info files

2014-02-14 Thread Ian Haywood
On Debian packages get submitted for compiling on quite a few architectures. Gambas compiles fine on several flavours on ARM and PowerPC It fails on s390x [IBM mainframes], as follows: dh_install --sourcedir=debian/tmp -a cp: cannot stat 'debian/tmp/usr/share/gambas3/info/gb.opengl.info': No such

Re: [Gambas-user] Error.Backtrace

2014-01-16 Thread Ian Haywood
On 17/01/14 10:11, Benoît Minisini wrote: > Le 16/01/2014 23:12, Ian Haywood a écrit : > For a TRY that does not call functions, it is not computed, so you get > the previous stack backtrace. not computing it is OK (as the combination of Error.Text and Error.Where gives us all the in

[Gambas-user] Error.Backtrace

2014-01-16 Thread Ian Haywood
I have discovered that Error.Backtrace is not always correctly set. if an error occurs in a TRY expression Error.Backtrace remains with the previous error. Error.Where and Error.Text are set correctly. This caused us a lot of problems as we log Error.backtrace to find errors on user systems. I at

[Gambas-user] debian repository: another try

2014-01-05 Thread Ian Haywood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have had another go at a repository for debian packages add the following lines to /etc/apt/sources.list deb ftp://ozdocit.org/pub/ gambas3 main deb-src ftp://ozdocit.org/pub/ gambas3 main it contains version 3.5.1-1.1, which has a couple of bugfi

[Gambas-user] stock icons

2013-12-15 Thread Ian Haywood
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A user of our program is getting this error. 16/12/2013 10:29:11 [ERROR] Invalid object 16/12/2013 10:29:11 [ERROR] _DefaultStock.LoadImage.14 16/12/2013 10:29:11 [ERROR] Stock._get.507 the offending line of code is this: If Message.warning(smsg, "Y

Re: [Gambas-user] The problem with gb.gui, gb.gui.opengl, and gb.desktop.gnome

2013-10-31 Thread Ian Haywood
-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' >

Re: [Gambas-user] WIP Debian packages of Gambas

2013-10-30 Thread Ian Haywood
On 30/10/13 01:14, Kende Krisztián wrote: > >>> W: gambas3-gb-net-pop3: spelling-error-in-description allows to allows >>> one to >>> W: gambas3-gb-mime: spelling-error-in-description allows to allows one to >>> W: gambas3-gb-ncurses: spelling-error-in-description allows to allows one >>> to >> Sa

Re: [Gambas-user] WIP Debian packages of Gambas

2013-10-29 Thread Ian Haywood
On Tue, Oct 29, 2013 at 12:44 AM, PICCORO McKAY Lenz wrote: > From: Ian Haywood > NOW must search and revise ALL files and sure for a right header of > license, and specified in the copyrithg file, this are the most > important task before uploading, if not some debian mantainers se

[Gambas-user] Official release of Gambas 3.5

2013-10-27 Thread Ian Haywood
On 26/10/13 01:37, PICCORO McKAY Lenz wrote: > rejected the petition, there are two main objetives in debian package: > license policy and lintian errors/messages Kendek's changes up to 3.4.2 have been backported into the debian packages [one of the fixes to debian/copyright is to make sure kendek

[Gambas-user] Gambas self-extracting installer (4)

2013-10-27 Thread Ian Haywood
On Sunday, October 27, 2013, Benoit Minisini mailto:gam...@users.sourceforge.net>> wrote: > But I don't think it's a good idea to ask for the root or sudo password > to installed Gambas package, for security reasons (can you really trust > that self-extracting installer?) > > Instead, I think I wil

[Gambas-user] Fwd: Specifications for Gambas 3

2013-10-27 Thread Ian Haywood
On 23/10/13 23:15, Kende Krisztián wrote: > Hi > > I have read the "How To Package Gambas" document > (http://www.gambasdoc.org/help/howto/package?v3#t2) and some things I > do not understand: > > The runtime package contain the gb.gui component, but gambas3-runtime > is not depend from gambas3-gb-

[Gambas-user] leaving .ShowDialog() via an exception can crash Qt

2013-06-08 Thread Ian Haywood
this is a contrived example in which Window.ShowDialog generates an exception which is then caught by the calling code, this in turn makes Qt crash with signal 11 I enclose the gdb stacktrace. In my program I fixed it by catching and managing the error inside the form on which ShowModal is called,

Re: [Gambas-user] New gb.crypt.openssl component

2013-05-25 Thread Ian Haywood
On Tue, May 21, 2013 at 7:58 AM, Tobias Boege wrote: > Hi folks, > > seems to be the day of new components... I just committed a gb.crypt.openssl > component to wrap the cryptographic functions in OpenSSL's libcrypto. The > idea came actually from Sebastian in conjunction with his gambas-online >

[Gambas-user] Gambas 3.4.1 Debian packaging

2013-05-02 Thread Ian Haywood
he project I am working on with Richard Terry, it is a massive project and a reasonably good stress-test, however it doesn't use every Gambas package, please report any problems. Ian Haywood signature.asc Description: OpenPGP di

Re: [Gambas-user] couple of silly questions for Debian packaging

2013-05-02 Thread Ian Haywood
On Thu, May 2, 2013 at 12:49 PM, Sebastian Kulesz wrote: \ >> - gb.net.pop3: is this component written purely in Gambas or partially >> in C? where is it's source code? all I can find is the bytecode-compiled >> file /comp/src/gb.net.pop3/gb.net.pop3.gambas > That component is written purely in G

[Gambas-user] couple of silly questions for Debian packaging

2013-05-01 Thread Ian Haywood
dear List A couple of small questions to help with Debian packaging: - gb.net.pop3: is this component written purely in Gambas or partially in C? where is it's source code? all I can find is the bytecode-compiled file /comp/src/gb.net.pop3/gb.net.pop3.gambas - debian packager complains about exe

Re: [Gambas-user] How to stop "Greedy" constructors consuming parameters

2013-04-29 Thread Ian Haywood
On 30/04/13 00:34, Benoît Minisini wrote: > If theses twwo arguments must be handled differently between classes, > then add a public method to handle them. Prefix its name with an > underscore, to indicate that it must not be called outside of the > implementation. > > ' Root class > Public S

Re: [Gambas-user] compiling on Debian

2013-04-28 Thread Ian Haywood
On Mon, Apr 29, 2013 at 2:58 AM, Adrien Prokopowicz wrote: > I remember that a small part of gb.qt4 and gb.gtk were written in gambas > (the Action class I think), making it an hybrid component, so that's why a > gb.qt4.gambas were generated. > But since the 3.4 version, this class has been moved

[Gambas-user] compiling on Debian

2013-04-28 Thread Ian Haywood
I am currently trying to compile gambas on debian it now sees to work better: whether this is due to fixes in gambas or debian libraries being slightly less ancient and catching up with gambas requirements, I'm not sure. BUT the file /usr/lib/gambas3/gb.qt4.gambas does not exist and the existing

Re: [Gambas-user] How to stop "Greedy" constructors consuming parameters

2013-04-19 Thread Ian Haywood
On Sat, Apr 20, 2013 at 11:13 AM, Bruce wrote: > I have a deep hierarchy of classes, seven levels of specialisation so > far and likely to grow. wow. > At level 4, 6 dummy and the 2 real parameters, i.e. > hObj = New > Level4Class(Null,Null,Null,Null,Null,Null,Source,Name) > > Thi

[Gambas-user] Regular expression searching

2013-04-03 Thread Ian Haywood
I have often missed in Gambas the ability to search through strings using a regular expression and provide a function to create replacements Gambas doesn't have procedural pointers or closures, so it's impossible to do it like in ruby/python/etc, but I've found the same can be achieved using an ite

Re: [Gambas-user] Gambas on Debian!

2013-03-22 Thread Ian Haywood
On Fri, Mar 22, 2013 at 2:44 AM, Willy Raets wrote: > Hi all, > > I have finally found a mail address to reach the guy responsible for the > Gambas packages on Debain. sorry wally, I suspect it's only me on the other end, I'm part of the "Debian packaging team" but I don't have the authority to up

Re: [Gambas-user] patch for setting directory on EXEC

2013-02-28 Thread Ian Haywood
On 23/02/13 23:09, Ian Haywood wrote: > This patch basically makes EXEC respect the PWD environment variable: > if PWD is set using the WITH keyword option to EXEC then > this is the current directory for the process spawned by EXEC. will this patch be accepted? if not is there any oth

[Gambas-user] patch for setting directory on EXEC

2013-02-23 Thread Ian Haywood
as part of my app, I run the LaTeX typesetting program via EXEC in Gambas To cut a long story short, latex likes to be an a specific current directory, which isn't possible in Gambas: EXEC always runs the in the directory the interpreter was started in, Currently I use SHELL instead and do somethi

Re: [Gambas-user] forcing time zone localization

2013-02-03 Thread Ian Haywood
On Sun, Feb 3, 2013 at 7:11 PM, Kevin Fishburne wrote: \ > The date/time is sent/received as a float and stays synchronized. The > problem is (as you say) when the float is converted to a string the time > zone is applied. I need a way to print > > Format$(CDate(DateCurrent), " d, , hh:nn

Re: [Gambas-user] Debian repository

2012-11-24 Thread Ian Haywood
On Sun, Nov 25, 2012 at 2:02 PM, Sebastian Kulesz wrote: > If i have enough time, tomorrow i will publish the definitive binary > packages for Debian 6 so others can test them, and then move to Unstable. please publish the source package too, and I will submit to the debian contacts I have Ian

Re: [Gambas-user] Debian repository

2012-11-24 Thread Ian Haywood
On Sun, Nov 25, 2012 at 10:17 AM, Sebastian Kulesz wrote: > Well, don't ask me how, but i managed to compile every component except > gb.media and gb.jit. gstreamer and llvm are available that those versions > are too old. I had an issue installing gb.image.imlib because of a virtual > package i

Re: [Gambas-user] Debian repository

2012-11-23 Thread Ian Haywood
On Fri, Nov 23, 2012 at 6:47 AM, Sebastian Kulesz wrote: > Hi there!! > > Yesterday I released a new version of a personal project. Luckily, it > gained a lot of traction. Not so luckily, a lot of Debian users commented > that they either had problems with apt complaining about gambas versions, >

Re: [Gambas-user] PostgreSQL multiple column problem

2012-10-17 Thread Ian Haywood
On Wed, Oct 17, 2012 at 7:32 AM, Markus Schatten wrote: > queries. Yes, I could parse each query and rewrite it before > executing, but this would be at least an "ugly hack". No, I think its your best solution Maybe your users can just type in the "where" part of the query and then you add the r

Re: [Gambas-user] Make form permanantly active

2012-10-17 Thread Ian Haywood
On Wed, Oct 17, 2012 at 6:04 PM, Gavin Reeve Frost wrote: > OK since i cannot capture a key press outside of a form. > > Does anybody know if there is a way to make > a form permanently active even if another application is > being used like Firefox the form must remain active > so that my key pre

Re: [Gambas-user] New component: gb.args

2012-10-16 Thread Ian Haywood
On Tue, Oct 16, 2012 at 11:06 AM, Benoît Minisini wrote: > Hi, > > In the last revision, I added a new component 'gb.args', which replaces > the unmaintained 'gb.option'. By the way, does anyone use 'gb.option'? yep. Code can be moved across without too much work, but it creates a problem as it me

Re: [Gambas-user] error compiling gb.xml

2012-10-15 Thread Ian Haywood
On Mon, Oct 15, 2012 at 5:44 PM, Fabien Bodard wrote: > 2012/10/15 Ian Haywood : >> On Mon, Oct 15, 2012 at 12:00 AM, Fabien Bodard wrote: >>> You need Dev package. For libxml2 >> Yes, I have it already, but because I am running on a 64-bit machine the >> libra

Re: [Gambas-user] error compiling gb.xml

2012-10-14 Thread Ian Haywood
On Mon, Oct 15, 2012 at 12:00 AM, Fabien Bodard wrote: > You need Dev package. For libxml2 Yes, I have it already, but because I am running on a 64-bit machine the library is installed to /usr/lib/x86_64-linux-gnu/libxml2.a, but gambas insists on looking for where it would be on a 32-bit machine (

[Gambas-user] error compiling gb.xml

2012-10-14 Thread Ian Haywood
Now this one doesn't seem to be mentioned before in the mailing list. make[5]: Entering directory `/home/ian/preserve/gambas3/trunk/gb.xml/src/html' CXXgb_xml_html_la-gbi.lo CXXgb_xml_html_la-utils.lo CXXgb_xml_html_la-document.lo CXXgb_xml_html_la-node.lo CXXgb_xml_h

[Gambas-user] error compiling gb.jit

2012-10-14 Thread Ian Haywood
Sorry didn't see previous e-mail. Downloading a new compiler now... Hello I am trying to compile gambas 3.3.3 on Debian wheezy I have llvm-3.1-dev installed compiler is g++ 4.4.5-1 any help appreciated. so -- Don't let

[Gambas-user] error compiling gb.jit

2012-10-13 Thread Ian Haywood
Hello I am trying to compile gambas 3.3.3 on Debian wheezy I have llvm-3.1-dev installed compiler is g++ 4.4.5-1 any help appreciated. Making all in gb.jit make[3]: Entering directory `/home/ian/preserve/gambas3/gambas3/gb.jit' /usr/bin/make all-recursive make[4]: Entering directory `/home/ian

Re: [Gambas-user] Gambas for Android

2012-08-23 Thread Ian Haywood
On Thu, Aug 23, 2012 at 3:07 AM, Benoît Minisini wrote: > I don't understand why I had no problem with compiling Gambas on > Debian/RaspberryPI and you have problems to compile Gambas on Ubuntu > which is based on Debian. Or not? android is not based on Debian. It has a heavily-patched linux kern

Re: [Gambas-user] Debian ARMEL packages for Gambas3 components?

2012-05-11 Thread Ian Haywood
On Thu, May 10, 2012 at 9:42 PM, Christer Johansson wrote: > Some good news! > > After rolling back to older code last night and trying to reproduce > the freezing issue I can say that I was wrong in my conclusion that > 3.1.90 r4702 had the same problem that I experience in Gambas2. I am also ple

Re: [Gambas-user] Debian ARMEL packages for Gambas3 components?

2012-05-06 Thread Ian Haywood
On Sun, May 6, 2012 at 7:55 PM, Christer Johansson wrote: > I also have RasPi's Debian 6 image running in QEMU ARM emulator so maybe > another option could be to compile it there and them somehow manually > "lift over" the gambas3-runtime and gambas3-gb-net components to the NAS, > any thoughts o

Re: [Gambas-user] Debian ARMEL packages for Gambas3 components?

2012-05-05 Thread Ian Haywood
On Sat, May 5, 2012 at 10:13 PM, Christer Johansson wrote: > I wonder if any Debian ARMEL *.deb packages for the Gambas 3 components > exists somewhere? I've searched high and low over at Debian.org etc. but > there is only for Gambas 2. gambas3 packages for debian are "close to release", hopeful

Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-18 Thread Ian Haywood
On 18/04/12 23:02, Mathias Maes wrote: > Why would you need a webserver to download files from a webserver? > Just simply download them, and show them in the IDE like theyre showed now. > Would be much easier. Indeed, but the IDE itself will not read help files from a local hard drive directly, it

Re: [Gambas-user] [Feature Request] Offline Documentation

2012-04-18 Thread Ian Haywood
On Wed, Apr 18, 2012 at 6:33 PM, Demosthenes Koptsis wrote: > i try to download the docs with > > wget -kvrc --*html-extension *http://gambasdoc.org/help?v3 > > i think with this way we can have convert php files to html and have > offline documentation. > > if all are good i can send the tarball

Re: [Gambas-user] Release of Gambas 3.1

2012-04-10 Thread Ian Haywood
On Wed, Apr 11, 2012 at 12:15 AM, Steve wrote: > > Which is the distro of least resistance ? arch. It will even let you install directly from gambas svn. however it is a lot more unstable: the debian guys do gain something from their conservatism. > Also what needed for purely a server install. AF

Re: [Gambas-user] Release of Gambas 3.1

2012-04-09 Thread Ian Haywood
On Sun, Apr 8, 2012 at 11:25 PM, Benoît Minisini wrote: > P.S. I don't understand why Ubuntu only provides Gambas 2 and not Gambas > 3 binary packages. Anyone has any idea about that? Ubuntu take their packages from debian which is still on gambas2. I have submitted gambas3 packages to the debian

[Gambas-user] adding functions to gb.db.postgresql

2012-03-28 Thread Ian Haywood
This is not so much a feature request as a question on how to get started. There are two functions of the underlying postgres C interface that I would like to expose to Gambas: PQnotifies() [which returns postgres notification events], and PQsocket () which returns the FD of the socket the library

Re: [Gambas-user] Create an application with root/sudo previlege

2012-03-24 Thread Ian Haywood
On Sun, Mar 25, 2012 at 4:46 PM, sundar j wrote: > I am creating an application which calls bash scripts many time with > sudo/root privilege. Though i can execute bash script with either kdesu or > gksu, it asks password many times. Instead it would be nice if any one help > me on opening an app

Re: [Gambas-user] IDE feature request: viewing collection-like objects

2012-03-10 Thread Ian Haywood
2012/3/11 Benoît Minisini : > - If there is a _get() method that takes an integer, and if there is a > Count property, then I can display the object like an array. > > - If there is a _get() method that takes a string, if there is a Count > property, and if there is a Keys property that returns al

Re: [Gambas-user] problems with Music.Pos

2012-03-07 Thread Ian Haywood
attachment is too big so trying again with a link. On Wed, Mar 7, 2012 at 11:42 PM, Ian Haywood wrote: > According to docs, Music.Pos can be set while the sound file is playing > to move the playing point within the file. > > I find this works for MP3 and OGG but not for WAV, WAV a

[Gambas-user] IDE feature request: viewing collection-like objects

2012-03-04 Thread Ian Haywood
Benoit, some time also we had a discussion about Collection semantics. In Gambas setting the member of a Collection to NULL is the same as deleting it. I am not trying to re-open this debate, I accept the decision and have written a class with the semantics Richard and I want: it can have NULL mem

[Gambas-user] IDE feature request: viewing collection-like objects

2012-03-04 Thread Ian Haywood
Benoit, some time also we had a discussion about Collection semantics. In Gambas setting the member of a Collection to NULL is the same as deleting it. I am not trying to re-open this debate, I accept the decision and have written a class with the semantics Richard and I want: it can have NULL mem

Re: [Gambas-user] repository gambas 3 for ubuntu

2011-10-14 Thread Ian Haywood
On Sat, Oct 15, 2011 at 4:00 PM, Arnezt He wrote: > Is there any repository of gambas3 for ubuntu 11.04? Thank you for the > response. https://launchpad.net/~ihaywood3/+archive/gambas3 -- All the data continuously generat

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-18 Thread Ian Haywood
On Sun, Sep 18, 2011 at 8:56 PM, Ru Vuott wrote: > Hello, > > thank you for your statement. >   hfile = OPEN "/proc/self/fd/num" for Read Watch > > Where " num " is a number. Well, I tried the little program changing the > number "num": > first with zero, then with 1, then with 2, and so on... u

Re: [Gambas-user] Release of Gambas 3 RC3. But I have a dream....

2011-09-17 Thread Ian Haywood
On Sun, Sep 18, 2011 at 3:34 AM, Ru Vuott wrote: >> The reopening of the same file should be checked and >> confirmed (you know it), because the opening could provide a >> "different" file descriptor from fd of ALSA; if instead it >> provides the same fd, then the program'ld enter into >> competi

Re: [Gambas-user] Getting access to popup children of datebox

2011-09-12 Thread Ian Haywood
On Mon, Sep 12, 2011 at 11:05 PM, richard terry wrote: > I notice that the events on the database apply to the main control - clicking > on the popup calander or time list dosn't have any obvious events. > > Anway to gain access to these??? richard, you and I work on the same project and *I* can't

Re: [Gambas-user] Release of Gambas 3 RC3

2011-09-10 Thread Ian Haywood
On 04/09/11 20:18, Laurent Carlier wrote: > Le Samedi 3 Septembre 2011 19:18:48, Benoît Minisini a écrit : >>> Hi, >>> >>> So, please report!!! >>> >>> Best regards, >> >> Here is the wiki page to edit for information about Gambas binary packages. >> >> http://gambasdoc.org/help/doc/package > > A

Re: [Gambas-user] gambas3 and the hidden .src

2011-09-06 Thread Ian Haywood
On Wed, Sep 7, 2011 at 6:37 AM, Karl Reinl wrote: > Salut, > > now I work more and more with gambas3, and I found out, in daily work > the hidden .src is really .."now it's time for the sh.. or f... word". > > I don't remember if there was/is a reason to hide the source code, but > now I know it s

Re: [Gambas-user] Gambas app calling a PERL Script which calls a program (rtmpdump)

2011-09-02 Thread Ian Haywood
On Fri, Sep 2, 2011 at 4:43 PM, John Rose wrote: > get_iplayer is a very complex PERL script which I do NOT want to amend. > get_iplayer involves calling rtmpdump. rtmpdump can be executed in a > Gnome Terminal. I do not even know what language rtmpdump is written in. I wonder if the script is exp

Re: [Gambas-user] Gambas Cloud

2011-08-27 Thread Ian Haywood
On Sat, Aug 27, 2011 at 10:16 PM, charlesg wrote: > > > Andrea Bertini wrote: >> >> Gui-frontend on desktop made with Gambas, database sqlite on the cloud: >> is it actually possible? not really, as SQLite is not designed for use across the network. MySQL/PostgreSQL "clouds" would work just fine.

Re: [Gambas-user] Gambas3 Debian Package

2011-08-17 Thread Ian Haywood
On Wed, Aug 17, 2011 at 9:30 AM, rrivett wrote: > Hi, > > I'm a new Gambas user. Does anyone know if or when Gambas3 will show up > in a Debian package, or if the Debian maintainer is likely to package > one of the release candidates for the Debian Experimental repository > prior to the full relea

Re: [Gambas-user] Multiline RegExp

2011-07-27 Thread Ian Haywood
On Wed, Jul 27, 2011 at 5:34 PM, Demosthenes Koptsis wrote: > 2) The Pattern i use is: > (?i)\b[a-z0-9._%\-]+@[a-z0-9._%\-]+\.[A-Z]{2,4}\b > > 3) The result is only one email: > di...@yahoo.gr > > and not the rest of them. as you are only calling regexp once, you will only get one result, you nee

Re: [Gambas-user] Multiline RegExp

2011-07-26 Thread Ian Haywood
On Wed, Jul 27, 2011 at 8:34 AM, Bruce Bruen wrote: > regexp only (ever) works on a line by line basis by default yes, but: http://gambasdoc.org/help/comp/gb.pcre/regexp/dotall this makes the . cover newlines, so a regexp can span multiple lines in the string. Ian --

Re: [Gambas-user] using Sin() to produce a specific range of values

2011-07-09 Thread Ian Haywood
On Sun, Jul 10, 2011 at 3:37 PM, Kevin Fishburne wrote: > I need to use the Sin() function to calculate an output range from an > input range. The advantage of Sin() is that it's not linear; it makes a > nice smooth curve of values sort of like a sound wave in an audio editor. this example project

Re: [Gambas-user] gambas2 and gambas3 Natty

2011-06-25 Thread Ian Haywood
On Sat, Jun 25, 2011 at 6:39 PM, M. Cs. wrote: > Yes, I've installed these packages, and had to remove gambas2, > although many of my apps are written in G2. G3 just looks more > complicated, so I'll need some time for the change. > Thanks for your work! you should be able to install G2 and G3 tog

Re: [Gambas-user] gambas2 and gambas3 Natty

2011-06-24 Thread Ian Haywood
On Sat, Jun 25, 2011 at 5:29 AM, M. Cs. wrote: > Hello, > because of a foolish error I cannot use both gambas2 and gambas3 on Natty: > > gambas3-script_2.99.1-1natty0_i386.deb (--install): >  trying to overwrite > '/usr/share/icons/hicolor/64x64/mimetypes/application-x-gambasscript.png', > which i

  1   2   >