[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

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 other way

Re: [Gambas-user] Gambas on Debian!

2013-03-22 Thread Ian Haywood
On Fri, Mar 22, 2013 at 2:44 AM, Willy Raets wi...@earthshipbelgium.be 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

[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

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 bbr...@paddys-hill.net 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

[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] compiling on Debian

2013-04-28 Thread Ian Haywood
On Mon, Apr 29, 2013 at 2:58 AM, Adrien Prokopowicz adrien.prokopow...@gmail.com 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,

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 Sub

[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

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 sebi...@gmail.com 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

[Gambas-user] Gambas 3.4.1 Debian packaging

2013-05-02 Thread Ian Haywood
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 digital signature

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 tabo...@gmail.com 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-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

[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-gtk or

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

2013-10-27 Thread Ian Haywood
On Sunday, October 27, 2013, Benoit Minisini gam...@users.sourceforge.net 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?)

[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

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 mckaygerh...@gmail.com wrote: From: Ian Haywood ihaywo...@gmail.com 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

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 Said that u write

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' and

[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,

[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

[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

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 information

[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

[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 gam...@users.sourceforge.net 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

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 wi...@earthshipbelgium.be 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

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 kevinfishbu...@eightvirtues.com 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

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 keithcl...@k-wbookworm.com 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

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 bbr...@paddys-hill.net 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)\n4\n1\n, String$(40, -), Error.Text, Error.Code,

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 bago...@libero.it 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 bago...@libero.it wrote: Hi all,

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 jussi.lahti...@gmail.com 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

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 bcunning...@sportif.com 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

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 gam...@users.sourceforge.net 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

[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

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 tabo...@gmail.com 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

[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

[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

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 sebi...@gmail.com 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

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 gam...@caveat.demon.co.uk 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

[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

Re: [Gambas-user] Gambas3 Debian Package

2011-08-17 Thread Ian Haywood
On Wed, Aug 17, 2011 at 9:30 AM, rrivett privatem...@root-user.org 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

Re: [Gambas-user] Gambas Cloud

2011-08-27 Thread Ian Haywood
On Sat, Aug 27, 2011 at 10:16 PM, charlesg char...@pearceshardware.co.uk 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

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 john.aaron.r...@googlemail.com 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

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 karl.re...@fen-net.de 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

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

2011-09-11 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 Archlinux packages pushed

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 rte...@pacific.net.au 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

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 vu...@yahoo.it 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

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 vu...@yahoo.it 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...

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

2011-10-15 Thread Ian Haywood
On Sat, Oct 15, 2011 at 4:00 PM, Arnezt He arnez...@gmail.com 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

[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

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 ihayw...@iinet.net.au 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

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

2012-03-10 Thread Ian Haywood
2012/3/11 Benoît Minisini gam...@users.sourceforge.net: - 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

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

2012-03-25 Thread Ian Haywood
On Sun, Mar 25, 2012 at 4:46 PM, sundar j sundar_...@rediffmail.com 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

[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

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 gam...@users.sourceforge.net 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

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] Debian ARMEL packages for Gambas3 components?

2012-05-05 Thread Ian Haywood
On Sat, May 5, 2012 at 10:13 PM, Christer Johansson c...@hth.com 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,

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 li...@hth.com 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

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 li...@hth.com 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

Re: [Gambas-user] Gambas for Android

2012-08-23 Thread Ian Haywood
On Thu, Aug 23, 2012 at 3:07 AM, Benoît Minisini gam...@users.sourceforge.net 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

[Gambas-user] error compiling gb.jit

2012-10-14 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

[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

[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 CXX

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

2012-10-14 Thread Ian Haywood
On Mon, Oct 15, 2012 at 12:00 AM, Fabien Bodard gambas...@gmail.com 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

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

2012-10-15 Thread Ian Haywood
On Mon, Oct 15, 2012 at 5:44 PM, Fabien Bodard gambas...@gmail.com wrote: 2012/10/15 Ian Haywood ihayw...@iinet.net.au: On Mon, Oct 15, 2012 at 12:00 AM, Fabien Bodard gambas...@gmail.com wrote: You need Dev package. For libxml2 Yes, I have it already, but because I am running on a 64-bit

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 gam...@users.sourceforge.net 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

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 grfr...@gmail.com 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

Re: [Gambas-user] PostgreSQL multiple column problem

2012-10-17 Thread Ian Haywood
On Wed, Oct 17, 2012 at 7:32 AM, Markus Schatten markus.schat...@foi.hr 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

Re: [Gambas-user] Debian repository

2012-11-23 Thread Ian Haywood
On Fri, Nov 23, 2012 at 6:47 AM, Sebastian Kulesz sebi...@gmail.com 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

Re: [Gambas-user] Debian repository

2012-11-24 Thread Ian Haywood
On Sun, Nov 25, 2012 at 10:17 AM, Sebastian Kulesz sebi...@gmail.com 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

Re: [Gambas-user] Debian repository

2012-11-24 Thread Ian Haywood
On Sun, Nov 25, 2012 at 2:02 PM, Sebastian Kulesz sebi...@gmail.com 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

Re: [Gambas-user] User components in Gambas 3

2010-04-21 Thread Ian Haywood
2010/4/21 Benoît Minisini gam...@users.sourceforge.net: - At run time, the associated projects will be searched by using the $PATH environmental variable, as any other executables. Not sure about $PATH: gambas components/libraries generally won't be in the same directories as general system

Re: [Gambas-user] User components replaced by Libraries in Gambas 3

2010-04-25 Thread Ian Haywood
svitoos wrote: I think it is better to look for libraries in the directories listed in GB3_LIBRARY_PATH, and if this variable is not defined then /usr/lib/gambas3:/usr/local/lib/gambas3:~/.local/lib/gambas3 I think this is a good idea, because gambas should behave like other POSIX-based

[Gambas-user] libtool issues

2010-06-04 Thread Ian Haywood
: undefined reference to `ARCH_open' /home/ian/software/trunk/main/gbc/gbc_compile.c:148: undefined reference to `ARCH_find' /home/ian/software/trunk/main/gbc/gbc_compile.c:151: undefined reference to `ARCH_close' Any ideas? Ian Haywood

Re: [Gambas-user] Gambas to python

2010-08-19 Thread Ian Haywood
On 8/20/10, jose jose2...@gmail.com wrote: Hello, I'm half a cumbersome problem, I try to run a shell to my mplayer variable declared as a process. What is the running mplayer python interactive console which I call a player, my problem is: Once called the SHELL (python), you run the

[Gambas-user] gambas 3 release or otherwise as binary package

2010-09-16 Thread Ian Haywood
Benoit, do you have a plan on when gambas 3 will be formally released? IMHO it is quite stable now. The reason I ask is Richard and I are within sight of releasing a stable version of our software, and we would like to submit it to debian/ubuntu/fedora etc for inclusion, but it would depend on

[Gambas-user] circular inheritance

2010-09-18 Thread Ian Haywood
When the IDE starts up (gambas3 r3025 on Ubuntu Karmic) I get a warning about circular inheitance on CAuditTrailLink CAuditTrailLink inerits from CWebLink which inherits form CLink. CAuditTrailLink is in a different source directory than CLink and CWebLink I don't understand how this is circular?

Re: [Gambas-user] circular inheritance

2010-09-18 Thread Ian Haywood
On Sat, Sep 18, 2010 at 7:35 PM, Fabien Bodard gambas...@gmail.com wrote: I need more than these three classes to understand the problem. sends me a small project showing the problem please Here 'tis Ian circular-inheritance-0.0.1.tar.gz Description: GNU Zip compressed data

[Gambas-user] gambas3 ubuntu packages

2010-10-02 Thread Ian Haywood
I have produced some draft ubuntu packages for gambas3, based on svn revision 3246 they are produced largely by taking the gambas2 debian packaging files and replacing a lot of 2s with 3s some other changes: gambas2-gb-kde-html becomes gambas3-gb-qt-webkit gambas3-gb-gtk-svg and gambas3-gb-corba

Re: [Gambas-user] MOD arithetic operator

2010-11-09 Thread Ian Haywood
On Tue, Nov 9, 2010 at 6:40 PM, user demosthen...@gmail.com wrote: i think Gambas concept is to keep a Basic style language as possible can. So an % operator is a foreign word for a Basic language. Correct I remember MOD from the BBC Acorn's BASIC in the mid 1980s, so for me it is fairly

Re: [Gambas-user] Installing gambas3 on LinuxMint

2010-11-12 Thread Ian Haywood
On Thu, Nov 11, 2010 at 5:42 PM, Dr. Martin Senftleben li...@drmartinus.de wrote: I want to install gambas3 on my LinuxMint machine (64bit), but it doesn't work, the gambas3-gb-db-mysql package cannot be installed, because it requires libmysqlclient15off, which is not available. I have

Re: [Gambas-user] Installing gambas3 on LinuxMint

2010-11-19 Thread Ian Haywood
On Fri, Nov 12, 2010 at 8:22 PM, Ian Haywood ihayw...@iinet.net.au wrote: On Thu, Nov 11, 2010 at 5:42 PM, Dr. Martin Senftleben li...@drmartinus.de wrote: I want to install gambas3 on my LinuxMint machine (64bit), but it doesn't work, the gambas3-gb-db-mysql package cannot be installed

Re: [Gambas-user] About help and arrays and variables

2010-11-19 Thread Ian Haywood
On Sat, Nov 20, 2010 at 4:24 PM, Werner wd...@netfront.net wrote: On 20/11/10 04:40, Zelimir Ikovic wrote: I am following discussion on Gambas more than 3 months. Last 10 years I worked in VB6 (70%) and C(30%) on Windows. I am about to switch to Linux, and I have to decide: Gambas3,

Re: [Gambas-user] About help and arrays and variables

2010-11-22 Thread Ian Haywood
2010/11/23 Benoît Minisini gam...@users.sourceforge.net: In Gambas 3, you have support for callbacks. That means you can send a Gambas function to a extern C function, and the extern C function will use it (almost) transparently! Can Gambas code call a Gambas callback? Ian

Re: [Gambas-user] Result object, again

2010-11-24 Thread Ian Haywood
2010/11/25 Benoît Minisini gam...@users.sourceforge.net: good evening all, i have another question about my eternal punishment: the result object :-) caveat answered to a former question about results in general:  If you got into the habit of reading all the  records you've selected into

Re: [Gambas-user] hProcess is NULL

2010-12-26 Thread Ian Haywood
On Mon, Dec 27, 2010 at 4:46 AM, Demosthenes Koptsis demosthen...@gmail.com wrote: Hello and merry Christmas, i have these lines of code ---  sCommand = /opt/avast4workstation-1.3.0/bin/avast -r txtVirusTempFolder.Text /avast-report.txt -ac -t A txtVirusTempFolder.Text  

Re: [Gambas-user] hProcess is NULL

2010-12-27 Thread Ian Haywood
On Mon, Dec 27, 2010 at 8:11 PM, Demosthenes Koptsis demosthen...@gmail.com wrote: On Mon, 2010-12-27 at 10:20 +1100, Ian Haywood wrote: On Mon, Dec 27, 2010 at 4:46 AM, Demosthenes Koptsis demosthen...@gmail.com wrote: Hello and merry Christmas, i have these lines of code

Re: [Gambas-user] Linuxmint and gambas

2010-12-29 Thread Ian Haywood
On Thu, Dec 30, 2010 at 3:46 AM, Matteo Pasotti matteo.paso...@gmail.com wrote: Il 29/12/2010 16:59, admhards...@yahoo.ca ha scritto: Somebody have experience in gambaas with linux mint? Thanks Tomas As Werner said, the installation procedure is exactly the same of ubuntu. Some time ago I've

Re: [Gambas-user] Sig 11 with menu items remains

2011-01-02 Thread Ian Haywood
2011/1/3 Benoît Minisini gam...@users.sourceforge.net: Hi Benoit/List: A reminder prior to the release that that annoying Sig11 bug remains with the menu items, you'll remember I tried to use valgrind with it some time ago without success and I think the suggestion was that maybe it is

[Gambas-user] signal 11 from menus

2011-01-03 Thread Ian Haywood
I'm not filing this as a bug as I'm not sure it is. The project Richard and I work on was segfaulting when opening a submenu. I enclose the stacktrace from GDB and a small project that elicits it. As you can see from the project, the cause is generating the submenu structure twice, the second

Re: [Gambas-user] Crash with Free()

2011-01-13 Thread Ian Haywood
On Fri, Jan 14, 2011 at 8:41 AM, Demosthenes Koptsis demosthen...@gmail.com wrote: :) Pointers are tricky! yes, the ability to avoid pointers is one of the main advantages of higher-level languages like Gambas. I'm curious to know why you guys are so fascinated by them, other than interfacing

Re: [Gambas-user] [Fwd: Gambas3 Pointers example] signal #6

2011-01-17 Thread Ian Haywood
On Mon, Jan 17, 2011 at 9:50 PM, Demosthenes Koptsis demosthen...@gmail.com wrote: Benoit sorry if you feel that i discuss C++ cases in a Gambas list but i try to describe some cases of pointers and the usage of them in Gambas. IMHO the issue is C pointers aren't an easy topic and good

Re: [Gambas-user] Nightly Builds

2011-02-07 Thread Ian Haywood
On Mon, Feb 7, 2011 at 1:15 PM, John Spikowski supp...@scriptbasic.org wrote: Is there a way to 'package' a Gambas 3 runtime to share with others on the All Basic forum? I would need a script to build a tar.z file. I would want to include everything that is needed to run Gambas 3 once the tar

Re: [Gambas-user] Nightly Builds

2011-02-07 Thread Ian Haywood
On Mon, Feb 7, 2011 at 9:30 PM, John Spikowski supp...@scriptbasic.org wrote: I didn't know you were already doing this. How much of your time does it take to build a release with this setup? I have a script which runs in a couple of minutes including the upload. It is then compiled on the

[Gambas-user] changes to Regexp

2011-03-11 Thread Ian Haywood
I noitced with old versions of gambas, Regexp.Submatches[0].Text returns the whole match, .Submatches[1] the first submatch and so on. But in the latest version this changes and Submartches[0] becomes the first match. see project attached, its output on revision 3564 re.SubMatches[0].Text the

Re: [Gambas-user] Gambas 3 RC1 pre-release source package

2011-03-19 Thread Ian Haywood
2011/3/20 Benoît Minisini gam...@users.sourceforge.net: 2011/3/20 Benoît Minisini gam...@users.sourceforge.net: And for those who can make binary packages: can you try to make a binary package from this source package and tell me if you get any problem? That way, I hope that packaging

Re: [Gambas-user] Gambas 3 RC1 pre-release source package

2011-03-21 Thread Ian Haywood
2011/3/21 Benoît Minisini gam...@users.sourceforge.net: 1) I don't see where are all the individual binary packages (gambas3-runtime, gambas3-dev...) on the launchpad link you sent. https://launchpad.net/~ihaywood3/+archive/gambas3/+sourcepub/1558737/+listing-archive-extra

Re: [Gambas-user] gb3 RC1: using structures to replace the loss of Mk$ functions

2011-04-01 Thread Ian Haywood
On Fri, Apr 1, 2011 at 4:36 PM, Kevin Fishburne kevinfishbu...@eightvirtues.com wrote: On 04/01/2011 01:15 AM, Bruce Bruen wrote: On Friday, April 01, 2011 01:17:50 PM Kevin Fishburne wrote: I'm finding that the task of replacing the Mk$ functions with structures for UDP packet client/server

Re: [Gambas-user] Webview + images Kubuntu 9 / Kubuntu 10

2011-04-09 Thread Ian Haywood
On Sat, Apr 9, 2011 at 4:54 PM, richard terry rte...@pacific.net.au wrote: IMG SRC=/home/richard/webcam_shot.png NAME=graphics1 ALIGN=LEFT WIDTH=320 HEIGHT=240 BORDER=0, just shows an empty box on the screen where the image should be. firstly I assume /home/richard/webcam_shot.png exists.

Re: [Gambas-user] Gambas 3 not out yet?

2011-04-28 Thread Ian Haywood
On Fri, Apr 29, 2011 at 1:53 PM, John Spikowski supp...@scriptbasic.org wrote: On Thu, 2011-04-28 at 22:22 -0400, Keith Clark wrote: I've just installed Ubuntu 11.04 and Gambas 3 is still not included in this popular distro? Maybe I'm not updating correctly or something. Keith, You will

  1   2   >