Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Funky Beast
Graeme Geldenhuys wrote: > On Tue, Feb 24, 2009 at 3:08 PM, Martin Friebe wrote: >> It will be similar (probably easier) if the command line app is *not* >> interactive. > > The console apps we want to wrap works similar to the SubVersion (svn) > command line client. Execute with certain paramete

Re: [Lazarus] (FreeVision) GUI frontend to a console application

2009-02-24 Thread Thierry Andriamirado
Le Tue, 24 Feb 2009 11:37:51 +0100, Marco van de Voort a écrit : > > FreeVision? (fpcsrc/2.2.x/packages/fv) > > It is working largely. The example also compiles.What error do you > get ? ___ Nothing serious: "can't find unit Drivers used by testapp".

Re: [Lazarus] Fw: New Features for source editor

2009-02-24 Thread Lee Jenkins
Lucas wrote: > > -Autocompletion in real-time (no type Ctrl+Space) > This by far, is one of the most productive enhancements that any code editor can have. It is just amazing how fast you can code with this feature as well as reduce typo's. See CNWizards for Delphi: http://www.cnpack.org/in

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 5:38 PM, Hans-Peter Diettrich wrote: > >> I didn't mean writing a GUI in the console. I meant a true GUI app >> (LCL or fpGUI based), which uses a console application as the backend. > > What then is your technical problem? I simply didn't know how to do it. But thanks to

[Lazarus] Fw: New Features for source editor

2009-02-24 Thread Lucas
O Impresinants features to lazarus code editor -BlockCompletion -SyncEdit -Live Templates -Inline Variable & Declare Variable -Declare Field -Extract ResourceString -Find Unit -Rename -Extract Method -Change Params Refactoring tools menu to lazarus now je je je This features and more

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Mattias Gaertner
On Tue, 24 Feb 2009 16:01:07 +0100 Hans-Peter Diettrich wrote: > Marco van de Voort schrieb: > > >> Now I could spot the trouble source: it's fpdoc! > > > > Interesting, I'm just optimizing a part of that. > > > > http://bugs.freepascal.org/view.php?id=12953 > > > > What exactly is slow in fp

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: >> Now I could spot the trouble source: it's fpdoc! > > Why do you think so? When the fpdoc window is open, the task manager shows a CPU usage of up to 100%, and every caret move can take several seconds. You can check this behaviour yourself, my test case is the Cont

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: >> Now I could spot the trouble source: it's fpdoc! > > Interesting, I'm just optimizing a part of that. > > http://bugs.freepascal.org/view.php?id=12953 > > What exactly is slow in fpdoc? IMO it's the search for documentation information about the current identifi

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: >> What exactly is slow in fpdoc? > > I guess he meant the fpdoc editor in the IDE, not the "fpdoc" program. Right. DoDi ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listi

Re: [Lazarus] buglet in rxnew package

2009-02-24 Thread Luiz Americo Pereira Camara
Luca Olivetti escreveu: > En/na Luiz Americo Pereira Camara ha escrit: > >> Luca Olivetti escreveu: >> >>> I found that the rxnew package (today svn version) had the wrong slash >>> in the "Usage" tab, it was "$(PkgOutDir)/" instead of "$(PkgOutDir)\", >>> (being PathDelim Value ="\") so

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: > I didn't mean writing a GUI in the console. I meant a true GUI app > (LCL or fpGUI based), which uses a console application as the backend. What then is your technical problem? > For example, Linux has many GUI frontends for programs like makeiso, > burncd, cdrecord,

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: > On Tue, Feb 24, 2009 at 3:08 PM, Martin Friebe wrote: > >> It will be similar (probably easier) if the command line app is *not* >> interactive. >> > > The console apps we want to wrap works similar to the SubVersion (svn) > command line client. Execute with c

Re: [Lazarus] buglet in rxnew package

2009-02-24 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: > En/na Luiz Americo Pereira Camara ha escrit: >> Luca Olivetti escreveu: >>> I found that the rxnew package (today svn version) had the wrong >>> slash in the "Usage" tab, it was "$(PkgOutDir)/" instead of >>> "$(PkgOutDir)\", (being PathDelim Value ="\") so that i

Re: [Lazarus] buglet in rxnew package

2009-02-24 Thread Luiz Americo Pereira Camara
Luiz Americo Pereira Camara escreveu: > Luca Olivetti escreveu: > >> I found that the rxnew package (today svn version) had the wrong slash >> in the "Usage" tab, it was "$(PkgOutDir)/" instead of "$(PkgOutDir)\", >> (being PathDelim Value ="\") so that it generated a bogus path in >> idemake

Re: [Lazarus] buglet in rxnew package

2009-02-24 Thread Luca Olivetti
En/na Luiz Americo Pereira Camara ha escrit: > Luca Olivetti escreveu: >> I found that the rxnew package (today svn version) had the wrong slash >> in the "Usage" tab, it was "$(PkgOutDir)/" instead of "$(PkgOutDir)\", >> (being PathDelim Value ="\") so that it generated a bogus path in >> idema

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread ik
It simple, you need to use TProcess (TProcessUTF8 if you must), and pipes. if you need input as well as output then you need to work with them both. The svn integration in Lazarus contain good example on how to do it. And you can also use my code: http://ik.homelinux.org/projects/files/mazrim-nx.t

Re: [Lazarus] File open dialog doesn't work on an user account in Mac OS X

2009-02-24 Thread dmitry boyarintsev
More tests are required. I've anwered to you in the private email. Thanks, Dmitry ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Greek Lazarus Users and Greek translation of Lazarus

2009-02-24 Thread Kostas Michalopoulos
For the -few- Greeks in this mailing list, I made a Google Group for us which can be found here: http://groups.google.com/group/greek-lazarus-users Also I've started a Greek translation for Lazarus which can be found at the above group's files. Note that it is still in early form and thus not u

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Vincent Snijders
Graeme Geldenhuys schreef: > On Tue, Feb 24, 2009 at 2:41 PM, Graeme Geldenhuys > wrote: >> For example, Linux has many GUI frontends for programs like makeiso, >> burncd, cdrecord, cvs, mpg123 etc... > > The most obvious example would probably be all the GUI frontends > available for GDB debugge

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 3:08 PM, Martin Friebe wrote: > > It will be similar (probably easier) if the command line app is *not* > interactive. The console apps we want to wrap works similar to the SubVersion (svn) command line client. Execute with certain parameters and read back the results, whi

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 2:50 PM, ik wrote: > > The svn integration in Lazarus contain good example on how to do it. > And you can also use my code: > http://ik.homelinux.org/projects/files/mazrim-nx.tar.gz Thanks Ido, that's exactly what I wanted to know. Never thought to look at the svn integrat

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 3:06 PM, Sebastian Kraft wrote: > > For a more detailed example you can also look at my mplayer class. > http://svn.berlios.de/svnroot/repos/cactusjukebox/source/mplayer.pas > It's an interface to mplayer console app. This will come in very handy. Thanks Sebastian! Regar

Re: [Lazarus] buglet in rxnew package

2009-02-24 Thread Luiz Americo Pereira Camara
Luca Olivetti escreveu: > I found that the rxnew package (today svn version) had the wrong slash > in the "Usage" tab, it was "$(PkgOutDir)/" instead of "$(PkgOutDir)\", > (being PathDelim Value ="\") so that it generated a bogus path in > idemake.cfg and the install failed (with the somewhat cr

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Martin Friebe
Graeme Geldenhuys wrote: > Hi, > > This is probably more related to unix systems... Has anybody got a > small sample application, some documentation or is a sample included > in Lazarus that shows how to go about writing a GUI frontend to a > console application? > While it isn't a "small" examp

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Sebastian Kraft
On Dienstag, 24. Februar 2009 13:46:21 Graeme Geldenhuys wrote: > On Tue, Feb 24, 2009 at 2:41 PM, Graeme Geldenhuys > > wrote: > > For example, Linux has many GUI frontends for programs like > > makeiso, burncd, cdrecord, cvs, mpg123 etc... > > The most obvious example would probably be all the G

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Henry Vermaak
2009/2/24 Graeme Geldenhuys : > On Tue, Feb 24, 2009 at 2:41 PM, Graeme Geldenhuys > wrote: >> >> For example, Linux has many GUI frontends for programs like makeiso, >> burncd, cdrecord, cvs, mpg123 etc... > > The most obvious example would probably be all the GUI frontends > available for GDB de

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 2:41 PM, Graeme Geldenhuys wrote: > > For example, Linux has many GUI frontends for programs like makeiso, > burncd, cdrecord, cvs, mpg123 etc... The most obvious example would probably be all the GUI frontends available for GDB debugger. :-) I have no clue how to write

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
On Tue, Feb 24, 2009 at 11:43 AM, Thierry Andriamirado wrote: > > FreeVision? (fpcsrc/2.2.x/packages/fv) I didn't mean writing a GUI in the console. I meant a true GUI app (LCL or fpGUI based), which uses a console application as the backend. For example, Linux has many GUI frontends for program

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Mattias Gaertner
On Tue, 24 Feb 2009 11:36:25 +0100 Marco van de Voort wrote: > On Tue, Feb 24, 2009 at 05:43:37AM +0100, Hans-Peter Diettrich wrote: > > > I think the problem that is bigger than such a cache is mem > > > management. SynEdit keeps allocating/deallocating a lot => that > > > leads to fragments in

[Lazarus] buglet in rxnew package

2009-02-24 Thread Luca Olivetti
I found that the rxnew package (today svn version) had the wrong slash in the "Usage" tab, it was "$(PkgOutDir)/" instead of "$(PkgOutDir)\", (being PathDelim Value ="\") so that it generated a bogus path in idemake.cfg and the install failed (with the somewhat cryptic message that it couldn't

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Marco van de Voort
On Tue, Feb 24, 2009 at 12:43:43PM +0300, Thierry Andriamirado wrote: > > in Lazarus that shows how to go about writing a GUI frontend to a > > console application? > > FreeVision? (fpcsrc/2.2.x/packages/fv) > > I don't know if it's still working, I din't use it for years now and I > can't compil

Re: [Lazarus] speed of SynEdit [Re: Wiki pages suggestion - feature comparison]

2009-02-24 Thread Marco van de Voort
On Tue, Feb 24, 2009 at 05:43:37AM +0100, Hans-Peter Diettrich wrote: > > I think the problem that is bigger than such a cache is mem management. > > SynEdit keeps allocating/deallocating a lot => that leads to fragments > > in the fpc mem-mgmt => and that could cause a slow down.. > > Now I cou

Re: [Lazarus] GUI frontend to a console application

2009-02-24 Thread Thierry Andriamirado
Le Tue, 24 Feb 2009 10:46:43 +0200, Graeme Geldenhuys a écrit : > in Lazarus that shows how to go about writing a GUI frontend to a > console application? FreeVision? (fpcsrc/2.2.x/packages/fv) I don't know if it's still working, I din't use it for years now and I can't compile the example proj

[Lazarus] GUI frontend to a console application

2009-02-24 Thread Graeme Geldenhuys
Hi, This is probably more related to unix systems... Has anybody got a small sample application, some documentation or is a sample included in Lazarus that shows how to go about writing a GUI frontend to a console application? For our company I want to implement a GUI app to help them setup a few