Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-01-31 Thread Matti
If you google for 'svn update skipped' you will find a lot of possible errors. Maybe it is easier to start again and do the 'svn checkout' again. Am 01.02.2012 08:03, schrieb John Rose: > Matti, > > I did 'svn update': it gave Skipped '.'. Does this mean that the > downloaded 'trunk' repository

[Gambas-user] Search tool button for code in IDE

2012-01-31 Thread John Rose
The icon I would like to see is for Find/Replace in the toolbar below the tabs when a class (i.e. code) file is displayed. There is no icon for that in the Configure. I realise that there is a Find/Replace facility in th eproject toolbar which will do this. ---

Re: [Gambas-user] HOW TO insert a text into the file?

2012-01-31 Thread Алексей Беспалов
http://gambas.pro/gambas/gambas-file-management-1.htm http://gambas.pro/gambas/gambas-temporary-files.htm Here simple on Russian. 2012/2/1 Jussi Lahtinen > http://gambasdoc.org/help/lang/open?v3 > http://gambasdoc.org/help/comp/gb/file?v3 > > http://gambasdoc.org/help/lang?v3 > > Jussi > > > >

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
I thought you meant in the next few days/weeks, not the next few seconds LOL I can confirm that 4442 compiles fine for me in Oneiric now without the disable-gsl option. Thanks for the lightning fast turnaround! Regards, Caveat On Tue, 2012-01-31 at 14:25 -0800, Randall Morgan wrote: > Ok, shou

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
Sounds great Randall, thanks for the info Regards, Caveat On Tue, 2012-01-31 at 14:17 -0800, Randall Morgan wrote: > For the moment compile without GSL. My next commit will not provide > the path so it will depend on the system to locate it. > > > On Tue, Jan 31, 2012 at 2:13 PM, Caveat > wrot

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Randall Morgan
Ok, should be fixed in rev 4442 On Tue, Jan 31, 2012 at 2:17 PM, Randall Morgan wrote: > For the moment compile without GSL. My next commit will not provide the > path so it will depend on the system to locate it. > > > On Tue, Jan 31, 2012 at 2:13 PM, Caveat wrote: > >> Thanks Jussi, that did

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Caveat
It's not so hard, ignore the Now bit and look at the second example Print Time(14, 18, 25) I don't think the documentation could be much clearer, it just needs you to actually take the time to read it and figure out how to make the example work for you. The documentation can't possibly show exac

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Randall Morgan
For the moment compile without GSL. My next commit will not provide the path so it will depend on the system to locate it. On Tue, Jan 31, 2012 at 2:13 PM, Caveat wrote: > Thanks Jussi, that did the trick. > > Seems like it's just looking in the wrong place... my gsl_math.h header > file is in

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Emil Lenngren
This is from the documentation: Time *Date* *= Time (* *Hours* AS Integer *,* *Minutes* AS Integer*,* *Seconds* AS Integer*)* AS Date Makes a time from its components. PRINT Time(14, 08, 25) -- 14:08:25 So if you write: PRINT Time(0, 0, 300) It should print 00:05:00

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
Thanks Jussi, that did the trick. Seems like it's just looking in the wrong place... my gsl_math.h header file is in /usr/include/gsl/ but it looks like the compile is looking for it in /usr/local/include/gsl/ Dunno if that helps anyone... If I understand correctly, gb.gsl is a new component whic

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread abbat
I've read the docs, but my "300" seconds is not the same like "NOW" so it does not work Emil Lenngren wrote: > > You should read the documentation. > http://gambasdoc.org/help/lang/time?v3 > http://gambasdoc.org/help/cat/time?v3 > > /Emil > > 2012/1/31 abbat > >> >> How to convert a seconds

Re: [Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread Emil Lenngren
You should read the documentation. http://gambasdoc.org/help/lang/time?v3 http://gambasdoc.org/help/cat/time?v3 /Emil 2012/1/31 abbat > > How to convert a seconds to time format > > Dim Sec = 300 > > How to display it as: > > 00:05:00 > > Thanks > > -- > View this message in context: > http://o

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Randall Morgan
You do not have the GNU Scientific Library (GSL) in your system path or it is not installed on your system. On Ubuntu, you need to install this from the system repo with apt-get install gsl-bin gsl-doc-pdf libgsl0-dev installing from the tar file will not provide the needed symbolic links on Ubunt

[Gambas-user] Seconds => Time.Format(hh:mm:ss)

2012-01-31 Thread abbat
How to convert a seconds to time format Dim Sec = 300 How to display it as: 00:05:00 Thanks -- View this message in context: http://old.nabble.com/Seconds-%3D%3E-Time.Format%28hh%3Amm%3Ass%29-tp33239641p33239641.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Jussi Lahtinen
http://www.gnu.org/software/gsl/ Very useful, at least to me. Jussi On Tue, Jan 31, 2012 at 23:50, Jussi Lahtinen wrote: > You might want to compile without gsl right now... > Instead of normal ./configure, do ./configure --disable-gsl > > Jussi > > > > On Tue, Jan 31, 2012 at 23:46, Caveat

Re: [Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Jussi Lahtinen
You might want to compile without gsl right now... Instead of normal ./configure, do ./configure --disable-gsl Jussi On Tue, Jan 31, 2012 at 23:46, Caveat wrote: > Hi list > > On a new machine running Ubuntu 11.10 Oneiric, I'm having problems > compiling Gambas3. It seems to be to do with my

[Gambas-user] Compile error (gb.gsl) on Ubuntu 11.10

2012-01-31 Thread Caveat
Hi list On a new machine running Ubuntu 11.10 Oneiric, I'm having problems compiling Gambas3. It seems to be to do with my installation of gsl (gnu scientific library?). Attached is the full (gzipped) output from the compile script. I tried searching the documentation just out of interest to se

Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-01-31 Thread Matti
1. Did you do 'svn update'? http://gambasdoc.org/help/howto/svn If yo do, you will get a message about the downloaded version. 2. If a file is too big for the mailing list, just give it a right-click and pack it as ZIP/TAR. Am 31.01.2012 22:05, schrieb John Rose: > I've solved the problem of i

[Gambas-user] Good News

2012-01-31 Thread Dick
Hi all, For those who are interested: Gambas3 compiled and installed flawlessly on the system below. Same results on another machine after upgrade openSUSE 11.3 --> 12.1 [System] OperatingSystem=Linux Kernel=3.1.9-1.4-desktop Architecture=x86_64 Memory=1773104 kB DistributionVendor=SuSE Distributi

Re: [Gambas-user] Issue 206 in gambas: Can't compile Gambas3

2012-01-31 Thread John Rose
I've solved the problem of installing the needed dev packages for compiling Gambas3 i.e. missing libvorbis-dev. I did this by 'installing' the lucid-bleed ppa & upgrading which resulted in libvorbis-dev, , libvorbis0a, libvorbisenc2, libvorbisfile3 all being upgraded to version 1.3.1 (as well as as

Re: [Gambas-user] HOW TO insert a text into the file?

2012-01-31 Thread Jussi Lahtinen
http://gambasdoc.org/help/lang/open?v3 http://gambasdoc.org/help/comp/gb/file?v3 http://gambasdoc.org/help/lang?v3 Jussi On Tue, Jan 31, 2012 at 22:20, abbat wrote: > > > Public Sub Button1_Click() > > How to insert a text into existing file (/tmp/file)? > > -- > View this message in contex

[Gambas-user] HOW TO insert a text into the file?

2012-01-31 Thread abbat
Public Sub Button1_Click() How to insert a text into existing file (/tmp/file)? -- View this message in context: http://old.nabble.com/HOW-TO-insert-a-text-into-the-file--tp33239012p33239012.html Sent from the gambas-user mailing list archive at Nabble.com. -

Re: [Gambas-user] Search tool button for code in IDE

2012-01-31 Thread Matti
John, there is a search TextBox in the *upper* (the project's) tool bar. If it's not shown in your IDE, right-click on this panel, choose 'Configure' and select 'Search & Replace'. The search results are shown in the search list at the bottom. Click on any result and the code line is highlight

[Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-31 Thread John Rose
Thanks , Jussi, for the 'Process' code. Now works fine i.e. window does not go balnk as get_iplayer executes. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Micr

Re: [Gambas-user] INITIAL Location of Form

2012-01-31 Thread rogerHPH
Here is .tar file of example - action is as in my previous post http://old.nabble.com/file/p33237938/XY.tar XY.tar -- View this message in context: http://old.nabble.com/INITIAL-Location-of-Form-tp33224807p33237938.html Sent from the gambas-user mailing list archive at Nabble.com. --

Re: [Gambas-user] Search tool button for code in IDE

2012-01-31 Thread Jussi Lahtinen
> I don't understand what you mean by "for some reason gmail doesn't group > mails sent by you". Is that because I've been setting Subject (on follow > up messages) copied from mailing list (i.e. includes Re: [Gambas-user])? > I don't think this is relevant, but I have them grouped in threads when

Re: [Gambas-user] Search tool button for code in IDE

2012-01-31 Thread John Rose
Jussi, I don't understand what you mean by "for some reason gmail doesn't group mails sent by you". Is that because I've been setting Subject (on follow up messages) copied from mailing list (i.e. includes Re: [Gambas-user])? I don't think this is relevant, but I have them grouped in threads when

Re: [Gambas-user] IDE displays 'must abort' popup

2012-01-31 Thread Jussi Lahtinen
Please update your installation. That part of code doesn't even exist in current revision. Jussi On Tue, Jan 31, 2012 at 11:21, John Rose wrote: > This happens in IDE when I right click on Sources directory and select > 'New Module'. I've tried the instructions for reporting a crash > (includ

Re: [Gambas-user] INITIAL Location of Form

2012-01-31 Thread Jussi Lahtinen
Please provide ready to run projects for debugging. They are faster to test, and all possibly needed project/form etc settings are shipped along. I think Benoit is quite busy! Jussi On Tue, Jan 31, 2012 at 16:35, rogerHPH wrote: > > Below is example code. > > Using Gambas 2.22 and Ubuntu 11.1

Re: [Gambas-user] INITIAL Location of Form

2012-01-31 Thread rogerHPH
Below is example code. Using Gambas 2.22 and Ubuntu 11.10 With a Form (FMain) and a Timer (Timer1). The following code will initially position the Form at the top of the available screen, but about 2 cm right of the LH edge (i.e. beside the Ubuntu Program Launcher Toolbar), when it should be fu

Re: [Gambas-user] IDE displays 'must abort' popup

2012-01-31 Thread John Rose
Screenshot attached showing dialog box. <>-- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-31 Thread Jussi Lahtinen
But if it is possible to get download status from get_iplayer, then I think you should do this with read event. Otherwise the user doesn't know how much he have to wait. Jussi On Tue, Jan 31, 2012 at 14:41, Jussi Lahtinen wrote: > Then you need to do your own wait loop, something like: > > Dim

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-31 Thread Jussi Lahtinen
Then you need to do your own wait loop, something like: Dim hProcess As Process hProcess = Shell sYourCommand Do Wait 0.1 Loop Until hProcess.State <> Process.Running Jussi On Tue, Jan 31, 2012 at 12:02, John Rose wrote: > I was not trying to blame you earlier: I was trying to say that

Re: [Gambas-user] Issue 198 in gambas: ShowHidden property in OpenFile, SaveFile & SelectDir functions

2012-01-31 Thread gambas
Updates: Status: Fixed Comment #2 on issue 198 by benoit.m...@gmail.com: ShowHidden property in OpenFile, SaveFile & SelectDir functions http://code.google.com/p/gambas/issues/detail?id=198 Done in revision #4440. ---

Re: [Gambas-user] Executing Shell command (also applies to Exec command), FMain form goes blank

2012-01-31 Thread John Rose
I was not trying to blame you earlier: I was trying to say that it was my fault for not communicating my requirements accurately to you. I have read the documentation on both the Shell & Exec commands a number of times. Using the first form of the Shell command without 'To sOutput' results in the

Re: [Gambas-user] IDE displays 'must abort' popup

2012-01-31 Thread Benoît Minisini
Le 31/01/2012 10:21, John Rose a écrit : > This happens in IDE when I right click on Sources directory and select > 'New Module'. I've tried the instructions for reporting a crash > (including compiling the IDE) but it doesn't result in a segmentation > fault or signal #11 and bt (in gdb) gives 'No

[Gambas-user] IDE displays 'must abort' popup

2012-01-31 Thread John Rose
This happens in IDE when I right click on Sources directory and select 'New Module'. I've tried the instructions for reporting a crash (including compiling the IDE) but it doesn't result in a segmentation fault or signal #11 and bt (in gdb) gives 'No stack'. I'm using Gambas 3.0.90 (r172). Deskt

Re: [Gambas-user] SelectDirectory does not use Dialog.Path correctly

2012-01-31 Thread Benoît Minisini
Le 30/01/2012 17:57, John Rose a écrit : > Project is attached. To check it just 'Click Directory' button. > > Code fragment: > Dialog.Title = "Please select a directory to record to..." > Dialog.Path = User.Home > If Dialog.SelectDirectory() Then Return > OK, the bug is fixed in revision #4438.