Re: [Gambas-user] gb.pcre: RegExp.Replace() problem

2014-12-21 Thread RICHARD WALKER
Sorry to butt in but would it help to have Replace work the way Benoît had it originally and use something else for Tobi's substitution of one instance for a substitute string - like maybe Substitute? Or is that already spoken for? Richard -

Re: [Gambas-user] Create directory with ftpclient

2014-03-20 Thread RICHARD WALKER
Got it. I'll use my glasses next time - better than squinting at a blur on the screen. R -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their ap

Re: [Gambas-user] Create directory with ftpclient

2014-03-17 Thread RICHARD WALKER
Do you need a space between "mkdir" & "example"? -- Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed le

Re: [Gambas-user] Issue 487 in gambas: Binaries are not converted to lowercase

2013-12-26 Thread RICHARD WALKER
> I haven't seen any package who uses capitalisation in the /usr/bin folder. On my system it would be more accurate to say "many" and not "any". I have binaries called: GET HEAD MageiaUpdate Mail POST QXmlEdit RunWM, and a selection of other RunWM.* variants VBoxHeadless VBoxManageetc Virtua

Re: [Gambas-user] Complex Extra Dependency

2013-02-16 Thread RICHARD WALKER
On 14/02/2013, Benoît Minisini wrote: > Le 14/02/2013 19:00, John Rose a écrit : >> Tobi, >> >> I wanted to see if anyone had run into this issue before. That was why I >> was vague. >> >> If I create the installation package without specifying gnome-panel as >> an Extra Dependency but run 'sudo a

Re: [Gambas-user] llvm compiling - how to (your millage may vary)

2012-11-28 Thread RICHARD WALKER
Life is too short. I'll just wait for the Mageia 3 release (shouldn't be too long now) and with a bit of luck it will have a "recent" Gambas 3. The last time I looked at the MGA3 alpha it was at 3.3.4 so things are looking good! R --

Re: [Gambas-user] llvm compiling - how to (your millage may vary)

2012-11-27 Thread RICHARD WALKER
Hmmm, looks useful - in principle - sadly though, I fall at the first hurdle. When I try to remove libllvm3.0 my package manager insists that 126 other packages are dependent and must also be removed. It seems that Mageia 2 packagers are prone to exaggerate the meaning of "depend". R ---

Re: [Gambas-user] mal-functioning checkbox possibly a focus or mouse event problem in gambas 3.3.x

2012-10-22 Thread RICHARD WALKER
Meanwhile, nearly seven hours later in another part of the forest... That fixes my problem. Thankyou Benoît. Richard -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynam

Re: [Gambas-user] mal-functioning checkbox possibly a focus or mouse event problem in gambas 3.3.x

2012-10-22 Thread RICHARD WALKER
Hi Benoît, I had just finished updating my form prototype (used for checking layout techniques for this project) to use it as an alternative to the one in the project. I dropped it in and immediately on running got a menu-related error. It dawned on me that the menu definitions, though not "visibl

Re: [Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
Benoît, I made a copy of the project with the mal-functioning checkbox and in the process caused the error message on opening the project which I mentioned at the top of this thread. I had two copies to compare and the only difference is in the project's .settings file. The relevant entries are s

Re: [Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
OK Charlie, After "urpme -a gambas3" I have an empty /usr/lib64/gambas3 and an empty /usr/share/gambas3. There are no gambas executables in /usr/bin either so I reckon the rpm spec files are good enough in that respect. The rpms also build without errrors, albeit in a decidedly non-trivial length

Re: [Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
Charlie, I have skimmed over that thread and I think you are suggesting I might have some wrong-versioned gambas stuff lying around. I have been depending on my package manager (urpmi/urpme) to handle removal and installation of my home-built rpms so it is worth checking how thorough it is. Doing t

Re: [Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
That's alright Benoît, I cannot reproduce it reliably either. I have changed "back" to the 3.3.3 Gambas and so far the new problem (evidenced by the error report on 3.3.2) has not returned. I will follow up on the lead Charlie suggested and see if that may have some relevance to my unresponsive co

Re: [Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
I forgot to say, this is happening using Gambas 3.3.2. I am going to try again with 3.3.3 which I built yesterday and which was used earlier today with no IDE strangeness. R -- Everyone hates slow websites. So do we. Make

[Gambas-user] Strange new behaviour under 3.3.x series

2012-10-21 Thread RICHARD WALKER
I have been chasing phantoms since early Saturday after checking out a recently successfully completed project built with Gambas 3.1.1. The most recent "strangeness" appeared a while ago when I re-started my investigations at a new location with slightly different Gambas setup. The IDE startup, a

Re: [Gambas-user] Suggestion for gb.settings component

2012-10-19 Thread RICHARD WALKER
On 19/10/2012, Christer Johansson wrote: > > It would be great if it leaved the exisiting comments intact since > when dealing with large .conf files comments are IMHO invaluable to > have in there. > Just a thought, Christer, but have you tried using "comment" entries in your settings? What I me

[Gambas-user] IDE text search box/browse

2012-10-14 Thread RICHARD WALKER
I cannot remember when it happened, but in recent versions of the Gambas3 IDE it is no longer possible to right-click and select paste to put a search term in the box in the toolbar. This was very handy, and if it isn't a deliberate change for some technical reason, would it not be a good idea to

Re: [Gambas-user] Array slicing - how is it done in Gambas?

2012-10-11 Thread RICHARD WALKER
Fabien, In the end I got the job done with String.Remove rather than String.Extract(). In this particular case it was easier to remove the elements already processed and then pass the remainder in a recursive call to the same procedure for further processing. In the short time I had to experiment

Re: [Gambas-user] Array slicing - how is it done in Gambas?

2012-10-10 Thread RICHARD WALKER
That's the one Sebastian, my_array.Copy(6,3) should do it. Thanks. R -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happe

[Gambas-user] Array slicing - how is it done in Gambas?

2012-10-10 Thread RICHARD WALKER
Let's say I have a string array with 12 elements. I want to pass some of these to a function for processing. What notation do I use to specify, say, the "sub-array" comprising elements 6, 7 and 8 of the 12 element array? At the moment I can only do it by creating a new array of appropriate size an

Re: [Gambas-user] Example to IIF: what is meant here

2012-10-10 Thread RICHARD WALKER
Not many of us are...:-( -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .

Re: [Gambas-user] Translation issue, English (common)

2012-10-10 Thread RICHARD WALKER
Try it out on me! My desktop is en_GB and is pretty much free from all en_US influences. I would even be happy to hack a couple of translations for you from Fingrish to en_, US and GB. R -- Don't let slow site performanc

Re: [Gambas-user] Translation issue, English (common)

2012-10-10 Thread RICHARD WALKER
Are you absolutely certain you are not using en_GB? Historically speaking, most European schools will have taught en_GB, though perhaps with an American accent;-) I wouldn't worry too much about it if I were you. The choice of language variant for English speakers (and perhaps also French (fr/ca/b

Re: [Gambas-user] Translation issue, English (common)

2012-10-10 Thread RICHARD WALKER
ps I just found this in the Language.module file in the IDE source: Name["en"] = ("English (common)") Name["en_GB"] = ("English (United Kingdom)") Name["en_US"] = ("English (U.S.A.)") Name["en_AU"] = ("English (Australia)") Name["en_CA"] = ("English (Canada)") I reckon that answers the

Re: [Gambas-user] Translation issue, English (common)

2012-10-10 Thread RICHARD WALKER
Sorry, I thought it would help to show why these translations are necessary for programs which may be expected to be widely used. I cannot think of any good reason to delete an en_GB translation, unless it is incomplete or incorrect or simply abandoned. If you wish to cater only for en_US then by

Re: [Gambas-user] Gambas and OpenPffice document

2012-10-09 Thread RICHARD WALKER
Would the gb.xml stuff make the task any easier? Just askin' - This might be something I would like to try some time. Richard -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic ap

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread RICHARD WALKER
Ah but, mine DOES have unlimited warnings - and I paid... just blood, sweat and tears. Trouble is I am sloppy. And I am overly confident in my ability to code without making a single mistake, despite decades of evidence to the contrary! If you do it my way you never see the warnings - neat trick,

Re: [Gambas-user] Translation issue, English (common)

2012-10-09 Thread RICHARD WALKER
Hmm. OK, I'll bite. In general, though with many subtle exceptions, all forks of English sound pretty much like English. When it is being spoken it is not always important (or even polite?) to notice the differences - just be aware of them and make whatever allowances for grammar or translations f

Re: [Gambas-user] I can't believe this... I can!

2012-10-09 Thread RICHARD WALKER
Thanks guys, it is even more embarrassing because I thought I had checked that when I was re-organising the code. Now that I think about it, it is the only logical explanation. Boy I must have been tired! R -- Don't let s

Re: [Gambas-user] I can't believe this

2012-10-08 Thread RICHARD WALKER
Sorry to spam the list - forgot to restore the diagnostic "Stop" for "Public findme as String[]". Corrected in this one. Simple instructions; 1. Use the file chooser to locate/select this program's FMain.class 2. Choose a conversion option - the default "mangled" is OK 3. Create a "Watch" for the

Re: [Gambas-user] I can't believe this

2012-10-08 Thread RICHARD WALKER
Well, I'm still tired but the "Public" error was annoying me. Fixed it now - out by one in a string internal position calculation. The array detection is still strangely broken though. R NameMangler-0.0.2.tar.gz Description: GNU Zip compressed data ---

Re: [Gambas-user] I can't believe this

2012-10-08 Thread RICHARD WALKER
Benoît, I am quite confident that the problem really lies somewhere in my logic. The program is producing other erroneous output since I "safely" removed some repetition of code blocks. Perhaps it wasn't so safe as I thought. I will look at this again when I am not so tired, with special attentio

Re: [Gambas-user] I can't believe this

2012-10-08 Thread RICHARD WALKER
> > It's impossible to guess without seeing the source code. > I know you are right, but I have been staring at it, stepping through it, adding checking variables and testing for hours and I cannot find a thing wrong with it. I know it must be something I have done, because it used to work, but I

[Gambas-user] I can't believe this

2012-10-08 Thread RICHARD WALKER
Something is happening to a variable in a program I am writing which I cannot explain and can find no reason behind it. A public boolean is set in one procedure and tested in another in the same class file. In between, it is changed, somehow, from True to False. If I set the default value of the

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-10-01 Thread RICHARD WALKER
> You must ensure that: > > - It is correctly indented. OK there I think. Everything is appropriately indented. The size of the indent is tweakable in the editor preferences. I set it to 4 spaces as I am used to that. > > - Variable, functions... have good names. All of the functions (apart from

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-10-01 Thread RICHARD WALKER
Problem with that is that the second "Print ii" statement is executed, even if the loop is skipped (because of initial conditions). The SuperBASIC version would print nothing if the initial loop conditions indicate it should be skipped The Gambas equivalent would be more like For ii = 0 to 254

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
>Just installed a rebuilt >>>3.3.2<<< rpm and my test project passed with >flying colours (or colors?) It was just a typo in the original message now corrected. The "flying colours" reference is an idiomatic expression of possibly military origin which originally meant something like "proudly ide

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
or even, 3.3.2 :-( -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Just installed a rebuilt 3.2.2 rpm and my test project passed with flying colours (or colors?) R -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free tod

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Awestruck. No other word for it, I'm stricken with awe. Thank you Richard -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doublec

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop do some stuff END FOR index The NEXT control could be added to create the epilogue so: FOR byte = 0 TO 254 PRINT index NEXT index

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Sinclair BASIC on the QL used to have a FOR loop epilogue which could be used to handle this sort of thing. A simple FOR loop was FOR index = start TO stop On 30/09/2012, Jussi Lahtinen wrote: > I think all Basics work this way! > > Test with any basic: > > For ii = 1 to 10 > Next > > Print ii

Re: [Gambas-user] R: Unending cycle "For...Next" with variable As Byte

2012-09-30 Thread RICHARD WALKER
Just guessing here, but valid values for Byte are 0-255. From observation I have seen that FOR loops terminate with the loop index at final value+1. For Byte that would probably be zero (if it just wraps around from 255 to 0) so there is no reason to terminate the loop. Richard --

Re: [Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-30 Thread RICHARD WALKER
Some more information, but I am not sure what it means... I have written a rudimentary testbed program to emulate the operation of the colour chooser thing and it works in both qt4 and gtk modes. What it does: 1. Take a screenshot of the area around the mouse to prove that screenshots work 2. Cli

[Gambas-user] Release 3.3.1, gtk ColourChooser is somewhat broken

2012-09-29 Thread RICHARD WALKER
I don't think this has been mentioned before. The colour chooser thing has an eyedropper tool which is no longer working in the gtk version. The qt4 one still does what it should. The effect is that as soon as you click on the eyedropper tool the system stops responding to mouse clicks, though oth

Re: [Gambas-user] test build of 3.3.0

2012-09-23 Thread RICHARD WALKER
Benoît, the build was successful. I just have a few tweaks to make to the rpm spec file before I test the installation. Richard -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Downlo

Re: [Gambas-user] Some questions about project Translation

2012-09-23 Thread RICHARD WALKER
OK Sebastian, I have done a bit of research (spelt g-o-o-g-l-e) and I have decided to set a constant string as "LANG=C" and add it to the front of those shell commands my program issues where the text of the sub-processes' output is important. My reasoning is that if that changes the text I am che

Re: [Gambas-user] test build of 3.3.0

2012-09-23 Thread RICHARD WALKER
On 23/09/2012, Tobias Boege wrote: > I successfully built the main/ directory from untouched trunk/ and > tags/3.3.0/ trees. Where do you get your sources from? Do you mean an RPM > or > a gcc 'spec file'? The former, I wouldn't know what to do with, sorry. In > this case, if I were you and knew R

Re: [Gambas-user] test build of 3.3.0

2012-09-23 Thread RICHARD WALKER
Thanks Benoît, rebuilding now. more later ...? -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503

Re: [Gambas-user] Some questions about project Translation

2012-09-23 Thread RICHARD WALKER
On 23/09/2012, Sebastian Kulesz wrote: > On Sun, Sep 23, 2012 at 1:08 PM, RICHARD WALKER > wrote: >> So I was wondering, does it make sense to re-code a project so that >> strings, or string constants are used for repeated fragments of text? >> Might such an approach ac

[Gambas-user] test build of 3.3.0

2012-09-23 Thread RICHARD WALKER
Hi Benoît I am on my first attempt to build 3.3.0 and I have this error: Making all in data make[5]: Entering directory `/home/richard/rpm/BUILD/gambas3-3.3.0/main/lib/data' CC gb_data_la-main.lo CC gb_data_la-c_list.lo c_list.c:25:18: fatal error: list.h: No such file or directory co

[Gambas-user] Some questions about project Translation

2012-09-23 Thread RICHARD WALKER
Greetings to all, I have been experimenting with the Translate option in the IDE. Just for fun, I took a current mini-project which is nearing completion and marked it up for translation. At only 116 strings it is not too daunting a task. To make it even easier I elected to start with a translatio

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-18 Thread RICHARD WALKER
I understand, at least enough to get rid of the ragged effect. Now both qt4 and gtk versions use PaintImage with virtually identical smooth results. _That_ is a result. I had been using the image installed as a picture on FLogo in order to access it easily from FMain by using Flogo.Picture.Image.

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-18 Thread RICHARD WALKER
> If Component.IsLoaded("gb.gtk") Then ... It's a good thing that you are a programmer 'cos you think like one :-)) I'm less analytical - I just look at the spinbox on the screen and know straight away! R -- Live Securi

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-18 Thread RICHARD WALKER
On 18/09/2012, Benoît Minisini wrote: > This is an internal QT4/GTK+/LXDE stuff I think. By default, Gambas > tells the window manager that the window top-left corner coordinates are > 0,0. Then the window manager does what it wants. Maybe GTK+ internally > check the panels and fix the Gambas coor

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-17 Thread RICHARD WALKER
You are too kind. I've been calling myself every kind of idiot under the sun:) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-17 Thread RICHARD WALKER
I am now convinced I am getting too old for this game. I managed to package a broken project. One critical line is missing from the copy button handler. Here is the whole thing: Public Sub CopyButton_Click() Dim tmpImage As Image If FLogo.Visible Then With FLogo.Picture

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-17 Thread RICHARD WALKER
Funny thing is I thought I understood enough about environment variables to see me through. It never occurred to me that the environment for that setting would be restricted to the IDE, but now you mention it, it makes sense. If it were visible in my user environment it might affect every Gambas pr

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-17 Thread RICHARD WALKER
Benoît, 1. Please ignore all comments relating to the behaviour of the FontChooser thing. I am coding this as a minor birthday present for my brother who likes things to be done for him in a program, so I have made the FontChooser a bit more ... adaptable and so caused the runaway expansion of the

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-17 Thread RICHARD WALKER
Benoît, Sorry for the delay in "confirming" my findings with your PaintImage version of my problem's solution. Sadly it took me hours (and more hours) to get it working. I tried all sorts of tricks to make it produce an undistorted/uncorrupted version on the clipboard of the rendered image but noth

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
And joyful thanks to Benoît too, If I interpret that correctly, that will also convert any partially transparent areas to fully opaque. I haven't tested it yet (soon to be remedied) but my guess is that it will look much better than my simplistic method where, for example, anti-alias artifacts may

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
Success. Thank you William. # It was the Color.Transparent that did not work. From reading the docs it says that this constant has a value of -1. My black screen (inverted Alpha, but don't ask me what that means) has pixels with the value &HFF00. So your fix works when I write it like this $h

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
Shucks. Too bad - it looked so simple, and it was quick. Trouble is, it didn't do anything - at least, nothing discernible in the result - still a black background. On the up-side, I know that my crude and slow "If pixel_colour = &HFF00 Then pixel_colour = &H00FF" will actually do what I n

Re: [Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
That looks like it will beat the socks off my pixel by pixel examination and change (still running after 2-3 hours). I'll try it now and get back with the result as soon as ... Richard -- Everyone hates slow websites. So

[Gambas-user] How do I replace Image transparent background with a white background?

2012-09-16 Thread RICHARD WALKER
I have hacked the OnScreenDisplay example project to allow me to display user-entered text instead of the time, and to permit interactive tweaking of colours and depth of 3D effect and font size. I also added a way to save the result to a png file and now I am trying to copy it to the clipboard as

Re: [Gambas-user] Rev 5129+ gb.desktop

2012-09-09 Thread RICHARD WALKER
Sorry Bruce, it appeared during a long series of searches for mimeapps.list and mimeinfo.cache information. I tried to retrace my footsteps and here is one link which I definitely visited (though it doesn't look too familiar today) which says the same thing... http://library.gnome.org/admin/system-

Re: [Gambas-user] Rev 5129+ gb.desktop

2012-09-07 Thread RICHARD WALKER
I am guessing the extended search for the mimeapps.list files will work for Bruce. I searched in vain for any sign of mimeinfo.cache in any Mageia rpm. Then I discovered (thankyou Google) that the file is created when you run update-desktop-database. It would appear that some desktops are more lik

Re: [Gambas-user] Rev 5129+ gb.desktop

2012-09-06 Thread RICHARD WALKER
Incidentally, I have a mimeapps.list at /usr/share/applications which contains only an [Added Associations] section with what looks like Mageia-specific entries for www browsers, text editors and a package manager. -- Live

Re: [Gambas-user] Rev 5129+ gb.desktop

2012-09-06 Thread RICHARD WALKER
I have checked the three locations for file association lists mentioned on the page referenced above. I can confitm Bruce's findings on my Mageia2 system. The ~/.local/share/applications/mimeapps.list file has the two sections [Default Applications] and [Added Associations] where the latter is thos

Re: [Gambas-user] Rev 5129+ gb.desktop

2012-09-06 Thread RICHARD WALKER
Benoît, I found a reference to application opening by mime type in LXDE a few days ago when I was hunting for details of xdg and LXDE. Have a look at http://d.hatena.ne.jp/masami256/20111016/1318735685 Although it is about patching the xdg-utils script, it provides helpful information on how LXDE

Re: [Gambas-user] DesktopWatcher doesn't watch...

2012-08-28 Thread RICHARD WALKER
Wow, thanks for the results info. I have started to look at the Desktop component implementation and I am only beginning to get a trembling feel for what it uses to do what it does. I'll study your response in greater detail but your two straws are very similar to the ones I suspect are hiding my

Re: [Gambas-user] DesktopWatcher doesn't watch...

2012-08-27 Thread RICHARD WALKER
So it's a race then :-)) Not taking any bets though. R -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. D

Re: [Gambas-user] DesktopWatcher doesn't watch...

2012-08-27 Thread RICHARD WALKER
Good evening Benoît, No doubt you are right. I thought it might be connected with the level of support in LXDE for xdg and the Portland project (I wish I knew what that means) but I got the same results with other xdg compliant desktops; IceWM, awesome, and a couple of others I can't remember now.

Re: [Gambas-user] DesktopWatcher doesn't watch...

2012-08-26 Thread RICHARD WALKER
There is more to this problem than I first thought. It is not just DesktopWatcher that I do not understand, but some of Desktop and DesktopWindow too. I have built a quick'n'dirty test harness to display some of the difficulties I have encountered. It is attached. It may be simplest to list what

[Gambas-user] DesktopWatcher doesn't watch...

2012-08-25 Thread RICHARD WALKER
... or it does but it just won't tell me what it sees:-( Using Gambas 3.1.1 on Mageia 2 64-bit with desktop (LXDE) spread across two monitors. I am trying various techniques to discover if a program starts on the desktop. My latest effort tries to use a desktop watcher set up as MyDesktopWatcher

Re: [Gambas-user] Julio te ha dejado un mensaje...

2012-08-19 Thread RICHARD WALKER
Spam, I reckon. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint securi

Re: [Gambas-user] Using DEBUG to print to console in "compiled" applications

2012-08-06 Thread RICHARD WALKER
Perfect! That's the one. I don't think I have ever seen that checkbox before. It must. I'm not sure what those cryptic commands do >$ gbc3 -ga >$ gbx3 but I will look them up and learn a bit more. Thanks Tobi. -- Live S

[Gambas-user] Using DEBUG to print to console in "compiled" applications

2012-08-06 Thread RICHARD WALKER
I have an application which interacts with two or three other non-gambas applications and daemons and I am not absolutely certain these interactions are completely robust. I had littered the code with PRINT statements to get console output at various critical points of the application. Soon it got

Re: [Gambas-user] Make Installation Package ?

2012-08-05 Thread RICHARD WALKER
Hi Wally, Colour me curious too. I just checked my package manager to see if these "migration" tools are available and the answer is no; not for Mageia at any rate. I did see that my "Make Installation package" Gambas wizard indicates "makepkg" is needed for Archlinux and only "debhelper" for Debia

Re: [Gambas-user] Make Installation Package ?

2012-08-05 Thread RICHARD WALKER
Wally, You have made me curious. I always thought that OpenSuse used RPM type packages. Is it the case that you are building for an alien (to OpenSuse) distribution? Richard -- Live Security Virtual Conference Exclusive l

Re: [Gambas-user] Declaring external C libraries

2012-08-03 Thread RICHARD WALKER
Pardon me for butting in, but I wonder if you have tried a Gambas short (16 bits). The last time I can recall seeing a byte or character passed as an 8bit value I was using a Z80! I have a vague recollection that the Lattice C compiler for the MC68008 used the bottom word (16 bits) in a register f

Re: [Gambas-user] label multiline property

2012-08-02 Thread RICHARD WALKER
Hi Abbat, I have just checked the two provided label types; TextLabel and Label They behave slightly differently in providing multi-line text (which is possible for both). If you enter multi-line text using the Properties form in the IDE in Label1.Text then the lines will appear as entered in the

Re: [Gambas-user] Timely reading of shell command output in process read event.

2012-07-14 Thread RICHARD WALKER
OK, that is LOTS better. Not perfect, but many more messages are coming through _when_ expected and not always two at a time. Furthermore, all of the messages are arriving in the Read event - nothing in the Error event anymore. I'll need to do more testing to be sure I understand if it is repeata

Re: [Gambas-user] Timely reading of shell command output in process read event.

2012-07-14 Thread RICHARD WALKER
Hi Benoît, Bruce, Yes, the READ and ERROR (and finally KILL) events are all raised as expected, just not as often as I would want. In another part of the program I use JCap = Shell Command For Input Output As "Jack_Capture" so that I can send it a gb.NewLine to control another mode of the shell

[Gambas-user] Timely reading of shell command output in process read event.

2012-07-14 Thread RICHARD WALKER
I am having difficulty reading the output from a shell command when it is generated. Something somewhere seems to be storing the messages until it is ready to give them to my READ and ERROR event handlers. The command is invoked with: JCap = Shell Command For Read As "Jack_Capture" My Jack_Captu

[Gambas-user] Widget colours: how to change them for all widget states?

2012-06-28 Thread RICHARD WALKER
This isn't something I have ever worried about before, but just recently I have been playing with form and control colours and I have hit a problem. I can change the colour of a form or a button or other displayed item. I can change the foreground text colour too so I get decent contrast if I am u

Re: [Gambas-user] How to change project description?

2012-06-23 Thread RICHARD WALKER
There is a hidden file in your project's directory called .project. The description is in there, I believe. Richard On 23/06/2012, sundar j wrote: > I made my first test pakage with out proper description. Since it was for > testing, project description set as default "This program is written in

Re: [Gambas-user] Fw: Package creation failed to include gambas dependencies.

2012-06-22 Thread RICHARD WALKER
Thank you Benoît. Revision 4853 built and installed. The rpm of my application now correctly reflects the selected requirement for gb.form.stock. That would have avoided the problem my brother reported. regards, Richard ---

Re: [Gambas-user] Fw: Package creation failed to include gambas dependencies.

2012-06-22 Thread RICHARD WALKER
sini wrote: > Le 22/06/2012 22:38, RICHARD WALKER a écrit : >> Hmm, some of those footballers are pretty good actors... >> >> Richard >> >> PS I will hold off on the bug report. As I understand it there is >> EITHER a need to implement an rpm install dependency

Re: [Gambas-user] Fw: Package creation failed to include gambas dependencies.

2012-06-22 Thread RICHARD WALKER
Hmm, some of those footballers are pretty good actors... Richard PS I will hold off on the bug report. As I understand it there is EITHER a need to implement an rpm install dependency for gb.form on gb.form.stock, OR to investigate why the loader reports an error instead of allowing a blank icon.

Re: [Gambas-user] Fw: Package creation failed to include gambas dependencies.

2012-06-22 Thread RICHARD WALKER
Good evening Benoît, so you're not watching the football either:-) This is something I should report to Mageia packagers, yes? R -- Live Security Virtual Conference Exclusive live event will cover all the ways today's se

Re: [Gambas-user] Fw: Package creation failed to include gambas dependencies.

2012-06-22 Thread RICHARD WALKER
Third attempt at posting this, apologies if the first two really did get out> I have been investigating a similar problem with a package I build for limited distribution (so far only my brother uses this little program). I too have found that the Gambas-created package (rpm in my case) does not i

Re: [Gambas-user] update rev. 4818 to 4828 IDE failer

2012-06-14 Thread RICHARD WALKER
1. your log files have zero length. Try uploading them again. 2. just guessing, I had a problem with this before, are your gambas3 libraries all installed in the usual place for 64-bit libraries? Richard On 13/06/2012, Karl Reinl wrote: > Salut, > > can't start the IDE any more!!! > > [System] >

Re: [Gambas-user] How to display a VU meter

2012-06-12 Thread RICHARD WALKER
On 12/06/2012, Grant Taylor wrote: > reinvent the wheel. I have put together a Media viewer program in Gambas > using the Mplayer plug-in. I need to display two channel VU meter > display within this viewer. If you want to use volume unit metering then the best place I can think of to find out ho

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread RICHARD WALKER
Do you need the syntax highlighting to be baked in? Can you not just use Kate (in KDE) or Gedit with a suitable set of rules for their existing highlighting mechanisms? I remember a few years ago when I was using Gambas in a project for my night-class in software engineering I was able to get synt

Re: [Gambas-user] How to display a VU meter

2012-06-11 Thread RICHARD WALKER
If you were using Jack then I would suggest you simply use an existing meter such as meterbridge (http://plugin.org.uk/meterbridge/) and perhaps embed it in you Gambas program's window. That would give you the choice of DPM, analogue VU or Peak so you could pick whichever suites your layout. If yo

Re: [Gambas-user] C like #include for Gambas

2012-06-11 Thread RICHARD WALKER
With apologies to all-who-know-more-about-this-than-me (or just "all")... Joe, you have a problem with managing a growing Gambas codebase and you think having an #include method in Gambas would help you cope. We are agreed that if it were added then it would operate before the compiler kicks in to

[Gambas-user] Calling dbus method:how do I handle return values

2012-06-11 Thread RICHARD WALKER
I am trying to call a DBus method which takes one parameter and returns many. The method details are: If I use this: Dim graph_details As New Variant[] If 0 < CurrentGraph Then graph_details = Jack.GetGraph(CurrentGraph) ...then graph_details[0] will return the numeric id for th

Re: [Gambas-user] Window position error on applying stored "geometry"

2012-06-09 Thread RICHARD WALKER
> > Gambas 3.2 will be released soon, so maybe it is not worth it? > > The bug was in gb.gtk. I misunderstood the GDK functions about monitors > & screens and how the full screen size must be computed. Now gb.gtk and > gb.qt4 should behave the same. I think I might agree that waiting for the 3.2 r

Re: [Gambas-user] Window position error on applying stored "geometry"

2012-06-07 Thread RICHARD WALKER
-xinerama Xephyr window), and it works everywhere! Thank you, Benoît, for the fix. May I ask where the problem was found? I would very much like to have a go at patching the Gambas3 distributed by Mageia and maybe get it into a Mageia bug-fix update. Richard On 05/06/2012, RICHARD WALKER wrote: > Ro

  1   2   >