Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread John Leake
I have drilled down into the guts of Gambas and rattled a few cages in the process but I would like to thank you all for your time, patience and tolerance towards a Gambas newbie. I like the IDE and what has been achieved since its inception and I think that it holds great potential for the future

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread John Leake
This is in great danger of getting off topic but holy shit. It has certainly come a long way since then. Who gave birth ? When did it come under source code control ? -- Slashdot TV. Video for Nerds. Stuff that Matters

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread John Leake
Are the archives searchable in any real meaningful way ? Or is that a silly question/obvious. I am getting tired so please respond as though I am a moron. On 20/09/14 23:29, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> When did you arrive and what period do you

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread John Leake
The actual name 'Static Class Method or Static Class Variable' and the name 'Class Method or Class Variable' are exactly the same thing. They are directly synonymous with a static variable within a subroutine or function that retains its value between calls to that sub or func (ie it is not on the

Re: [Gambas-user] Alternate language generation.

2014-09-20 Thread John Leake
When did you arrive and what period do you refer to ? On 20/09/14 22:34, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Hi All, >> Do any of you old-timers to gambas recall any questions/interest in >> using the IDE to generate source for other languages ? &

[Gambas-user] Alternate language generation.

2014-09-20 Thread John Leake
Hi All, Do any of you old-timers to gambas recall any questions/interest in using the IDE to generate source for other languages ? -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gamp

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread John Leake
. On 20/09/14 22:01, B Bruen wrote: > On Sat, 20 Sep 2014 20:24:46 +0200 > Benoît Minisini wrote: > >> Le 20/09/2014 11:55, John Leake a écrit : >>> Thanks Tobi, >>>>> So could someone tell me if a class without any dynamic variable ie a >&

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread John Leake
they should be indistinguishable from each other. If the language allows you probe deeper (like obtaining the address of the object) then the results returned should be the same. On 20/09/14 19:49, B Bruen wrote: > On Sat, 20 Sep 2014 10:55:06 +0100 > John Leake wrote: > >> Thank

Re: [Gambas-user] Gambas language specification

2014-09-20 Thread John Leake
ponse. On 20/09/14 19:01, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Anyone know when the parser and compiler were last generated ? >> > > What makes you so sure that the sources are generated? I don't know the > compiler at all (!) but these sources

Re: [Gambas-user] Gambas language specification

2014-09-20 Thread John Leake
Anyone know when the parser and compiler were last generated ? -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk ___

Re: [Gambas-user] Gambas language specification

2014-09-20 Thread John Leake
It the original files that generated the compiler are not available it is too risky to reverse engineer them. On 20/09/14 14:29, Tobias Boege wrote: > On Sat, 20 Sep 2014, John Leake wrote: >> Hi All, >> Could anyone point me to the languages definitive specification as used >

[Gambas-user] Gambas language specification

2014-09-20 Thread John Leake
Hi All, Could anyone point me to the languages definitive specification as used by yacc and lex ? -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg

Re: [Gambas-user] How to get Count(Current_month).Days ?

2014-09-20 Thread John Leake
Or more concicely datediff(date(year(now),month(now),1),date(year(now),month(now)+1,1),gb.day) -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.cl

Re: [Gambas-user] How to get Count(Current_month).Days ?

2014-09-20 Thread John Leake
What about datediff(date(year(now),month(now),1,0,0,0,0),date(year(now),month(now)+1,1,0,0,0,0),gb.day) -- Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/414

Re: [Gambas-user] Static Classes and Modules

2014-09-20 Thread John Leake
Thanks Tobi, >> So could someone tell me if a class without any dynamic variable ie a >> static class, can or cannot be created ? >> > > Or you can try it out. > > What I did was creating a module and making objects from it with New -- it > works, but those objects are even more limited than I ha

[Gambas-user] Static Classes and Modules

2014-09-20 Thread John Leake
Hi All, Could someone please clarify the characteristics of a static class. My understanding of Static Classes from other languages is: They cannot be created or more precisely no more than one instance of the class can exist. This means that if a process alters the state of the class then that c

Re: [Gambas-user] Class info contradicts by Gambas added class info

2014-09-20 Thread John Leake
On 20/09/14 01:31, Willy Raets wrote: > On za, 2014-09-20 at 00:19 +0100, John Leake wrote: >> Thank you. Should the documentation in the wiki also be updated to >> reflect this new behaviour ? > > I don't think so as the fix should make Gambas confirm the > documenta

Re: [Gambas-user] Class info contradicts by Gambas added class info

2014-09-19 Thread John Leake
Thank you. Should the documentation in the wiki also be updated to reflect this new behaviour ? On 20/09/14 00:12, Benoît Minisini wrote: > Le 20/09/2014 01:05, Benoît Minisini a écrit : >> Le 20/09/2014 01:02, Benoît Minisini a écrit : >>> >>> Can you send your project? Normally the sentence "Thi

Re: [Gambas-user] Class info contradicts by Gambas added class info

2014-09-19 Thread John Leake
> Indeed. I removed the constraint where a class without dynamic variable > is not instanciable. But I don't know why I suddenly found that useful... > I am also dabbling with source comments and auto generated help wrt modules in general and singleton objects. Would the SVN commit history shine

Re: [Gambas-user] Locating a function's source code?

2014-09-18 Thread John Leake
Hi Jussi, I too am interested in this. How do you get from wishing to find out about Hex$ to the url > http://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/gbx/gbx_subr_conv.c Best regards, John Le

Re: [Gambas-user] Locating a function's source code?

2014-09-18 Thread John Leake
it a try, getting nowhere fast and then leaving never to be seen again. Best regards, John Leake On 18/09/14 18:24, T Lee Davidson wrote: > Hi All, > > I am almost lost when it comes to browsing the source code tree for > specific pieces of code. > > The Gamb

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
> If you use BackBox, uninstall metacity and try to delete ~/.cache/sessions. > Assuming you still have xfwm4 installed. Done and I do have xfwm4 installed and I am back to an almost unusable system. -- Want excitement? M

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
> John, not to offense, but your messages are mess. What is your distro, > Ubuntu or BackBox? Why metacity?? Neither of them uses metacity. Hi Jussi, No offence taken. I have been trying to find out why my threading is a mess but have not got to the bottom of that yet. BackBox 3.13 is based on D

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
> /me scratches head... Ubuntu 12.04LTS with metacity and gnome2? I thought > Ubuntu switched to Unity a LOOONG time ago or am I missing something here? The distro is BackBox 3.13 which is Ubuntu 12.0.4 LTS with a light front end instead of all that unity bloatware. ---

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
>>> Some of the symptoms >>> >>> >>> (1) System wide keyboard short cuts all fucked up. >>> (2) No Window decoration. >>> (3) Window layering, focus, bring to top - knackered. >>> (4) Default position on window launch not what it used to be. >>> (5) Thunderbird text menus not w

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
> Gambas cannot destroy your system, installed from source of from binary > packages. This is something else. Any suggestions ? -- Want excitement? Manually upgrade your production database. When you want reliability, cho

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
>> Some of the symptoms >> >> >> (1) System wide keyboard short cuts all fucked up. >> (2) No Window decoration. >> (3) Window layering, focus, bring to top - knackered. >> (4) Default position on window launch not what it used to be. >> (5) Thunderbird text menus not working.

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
> Some of the symptoms > > > (1) System wide keyboard short cuts all fucked up. > (2) No Window decoration. > (3) Window layering, focus, bring to top - knackered. > (4) Default position on window launch not what it used to be. > (5) Thunderbird text menus not working. (6) Fir

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-18 Thread John Leake
used to be. (5) Thunderbird text menus not working. Any one got any bright ideas where I should start to unravel this mess ? Best regards, John Leake -- Want excitement? Manually upgrade your production database. When

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-17 Thread John Leake
I cannot deal with this right now. Despite purging Gambas3 autoremove and update and reinstalling my desktop it has all turned to ratshit!!! On 18/09/14 01:39, John Leake wrote: > WARNING - building Gambas3 can fuck up your desktop. > My window borders have va

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-17 Thread John Leake
WARNING - building Gambas3 can fuck up your desktop. My window borders have vanished. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Pred

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-17 Thread John Leake
Sorry guys I did about sixteen hours on this yesterday and only had about 4 hours sleep last night so I will just have to call it a dorris and let all you fit youngsters slug it out. -- Want excitement? Manually upgrade yo

Re: [Gambas-user] Building /trunk, deprecated documentation

2014-09-17 Thread John Leake
What is going on here ? I really do not understand. I (John Leake the gambas newbie) started a new thread about the problems I was experiencing in attempting to build from svn trunk. Please do not loose sight of the fact that it all worked in the end (which is a major achievement). I was

Re: [Gambas-user] Building /trunk

2014-09-17 Thread John Leake
more help suggested I install llvm and the feeling I got was almost better than sex. Conclusion -- If all the docs relating to building trunk were combined and in the same place I would have got here with just a single request for help. Many thanks to you all, John Leake On 17/09/14 20:58

Re: [Gambas-user] Building /trunk

2014-09-17 Thread John Leake
Nearly there. || THESE COMPONENTS ARE DISABLED: || - gb.jit || Unable to find file: libintl.so || Unable to find file: libiconv.so Any ideas ? On 17/09/14 20:04, Tobias Boege wrote: > On Wed, 17 Sep 2014, John Leake wrote: >> I am working through the build errors in output.txt and

[Gambas-user] Building /trunk

2014-09-17 Thread John Leake
I am working through the build errors in output.txt and the first header file that cannot be found is Could someone tell me what the C standard header path should be set to. [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS De

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-17 Thread John Leake
One more thing is disk space. With SVN there are two entire copies of the repo. On Git there is one and all the rest are diffs. On the corruption front it works by sha hashing so you are mathematically guaranteed that the code is sound! On 17/09/14 17:22, Christof Thalhofer wrote: > Am 17.09.201

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-17 Thread John Leake
Just watch the Linus 2007 video and make your own mind up. On 17/09/14 15:39, Jussi Lahtinen wrote: >> 1) SVN will not detect a corruption - with Git the sha1 hash will >> confirm that your source is unadulterated no matter who you pull it from. >> > > Applies to situation where there is more tha

Re: [Gambas-user] IDE image editing.

2014-09-17 Thread John Leake
many thanks. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191

Re: [Gambas-user] IDE image editing.

2014-09-17 Thread John Leake
I was joking. It is ignorance on my part and I have written about my concerns wrt generating unnecessary noise. If only people would say from the start something like; 'Did you know these threads are hard to follow, can I help you do it right'.

Re: [Gambas-user] IDE image editing.

2014-09-17 Thread John Leake
Hey that looks cool. Thank you. You can certainly get someons attention with a few >> -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version con

Re: [Gambas-user] IDE image editing.

2014-09-16 Thread John Leake
Sorry, more ignorance on my part. Its no wonder all you gambas gurus have no idea what I am talking about! On 17/09/14 02:37, Benoît Minisini wrote: > Le 17/09/2014 02:49, John Leake a écrit : >> When editing an image in the IDE under 3.5.4 there was an image size >> tool bar butt

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
se, at > least essentially, same features be implemented with intuitive interface? > There are a lot of alternatives. > > > > Jussi > > > On Wed, Sep 17, 2014 at 3:19 AM, John Leake wrote: > >>> Do I have to question my understanding of criticism? I r

Re: [Gambas-user] Responding to a thread

2014-09-16 Thread John Leake
; either one sends the message to the list address. > > There is also "Reply to List" in the Message menu. > > > On 09/16/2014 08:32 PM, John Leake wrote: >> Responding to a thread >> --- >> When someone responds to my

Re: [Gambas-user] How to create a new thread

2014-09-16 Thread John Leake
at and choose "Compose message to" > > HTH, > Lee > > > On 09/16/2014 08:36 PM, John Leake wrote: >> Create a *new* message instead of simply replying to a message from a >> thread that already exists. Creating a new message will create a new thread. >

Re: [Gambas-user] IDE image editing.

2014-09-16 Thread John Leake
When editing an image in the IDE under 3.5.4 there was an image size tool bar button. It is no longer there under 3.5.90 -- Want excitement? Manually upgrade your production database. When you want reliability, choose Per

Re: [Gambas-user] form grab handles

2014-09-16 Thread John Leake
Create a *new* message instead of simply replying to a message from a thread that already exists. Creating a new message will create a new thread. Thank you. I have just elucidated my difficulty with this. Where do I create a *new* message ? ---

Re: [Gambas-user] IDE image editing.

2014-09-16 Thread John Leake
> Le 17/09/2014 00:28, John Leake a écrit : >> Did you know that the image size tool button is no longer available in >> 3.5.90 >> > > No idea what you are talking about, but please start a new thread when > the subject changes! > Sorry the context

Re: [Gambas-user] form grab handles

2014-09-16 Thread John Leake
>> IDE - form design. >> Are the form grab handles supposed to be visible/active when a control >> is clicked ? >> > > Why not? > > Please start a new thread when you want to talk about another subject! > Thanks. Sorry, I changed the email subject. What else should I do ? ---

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
ch that is hard to merge, not a backward step as I see it. If your community were to consider a switch then there are some good transitional examples that ran live right throughout the whole migration process. I will certainly make public my experiences. Hey it might just be too much for me an I will j

Re: [Gambas-user] form grab handles

2014-09-16 Thread John Leake
IDE - form design. Are the form grab handles supposed to be visible/active when a control is clicked ? -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce ver

Re: [Gambas-user] IDE image editing.

2014-09-16 Thread John Leake
Did you know that the image size tool button is no longer available in 3.5.90 [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Libraries] Cairo=libcairo.so.2.11000.2

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
Hi guys, ToolTip has the behaviour as Text property. -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http://pubads.

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
n return. If you do not accept my input as being a bug then that is your right and I am fine with that. I am in the process of importing the repo into git so that I can work independently and you are welcome to clone it and explore what I have done. Still frien

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
On 16/09/14 22:04, John Leake wrote: > Back on topic re Subject. If in the IDE you select a ToggleButton and > set its Foreground or Background colour and then later wish put either > back to its default (by selecting the control, then highlighting the > property and pressing delete)

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
Back on topic re Subject. If in the IDE you select a ToggleButton and set its Foreground or Background colour and then later wish put either back to its default (by selecting the control, then highlighting the property and pressing delete) the control is deleted instead of the property. -

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
>> P.S. I don't know why I keep going to the wrong place in the help. Also I usually use a web search engine with my problem which invariably directs me to: http://gambasdoc.org/help/doc/whatever which so far has fallen short of giving me enough info to sort thing out without pestering the mailing

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
Hi Tobi, Thanks. A link to [0] in 'Compiling the Subversion repository' would save you a bit of email noise. [System] Gambas=3.5.4 OperatingSystem=Linux Kernel=3.11.0-26-generic Architecture=x86_64 Distribution=Ubuntu 12.04.5 LTS Desktop=XFCE Theme=QGtk Language=en_GB.UTF-8 Memory=7863M [Librarie

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
I followed the docs for v3 Compiling the Subversion repository. I checked out trunk and did $ ./reconf-all ... $ ./configure -C But there are lots of inaccessible header files. Attached the config.log config.log.tar.gz Description: GNU Zip compressed data -

Re: [Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
> > I'm talking about the development version. > Sorry, no wonder you want to get it out quickly. Will down load, build and report back. -- Want excitement? Manually upgrade your production database. When you want reliab

[Gambas-user] Control Backgroung/Foreground colour

2014-09-16 Thread John Leake
=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 GStreamer=libgstreamer-1.0.so.0.1.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 John Leake

Re: [Gambas-user] Planning the release of Gambas 3.6...

2014-09-15 Thread John Leake
Any chance of adding opacity and colour to simple controls ? -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce. Perforce version control. Predictably reliable. http:/

Re: [Gambas-user] Modules

2014-09-15 Thread John Leake
> > Private by default. It's like a class, except everything is static. > So if I have a module containing some general purpose functions that I wish to share across all the forms in a project, can simply declare these functions as Public within the module ?

Re: [Gambas-user] Modules

2014-09-15 Thread John Leake
What scope do Functions/Subs and variables have when defined or declared within a module ? -- Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control.

Re: [Gambas-user] Modules

2014-09-15 Thread John Leake
> A module is just a class whose all methods and properties are static. > It's a thing coming from Visual Basic. > Thank you. When and how is an instance instantiated ? -- Want excitement? Manually upgrade your productio

[Gambas-user] Modules

2014-09-15 Thread John Leake
Hi All, I am really struggling with the Gambas 3 documentation. Can anyone tell me where I can find out what constitutes a 'module' ? Best regards, John Leake -- Want excitement? Manually upgrade your