[lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Graeme Geldenhuys
Hi See Mantis bug report #10297 for a screenshot of the issue I have. http://www.freepascal.org/mantis/view.php?id=10297 I have a 1440x900 widescreen display, yet the Projects|Open Recent Projects popup menu is very wide due to long directory paths and project names. What if we trim the paths

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Damien Gerard
On Nov 29, 2007, at 9:30 AM, Graeme Geldenhuys wrote: Hi See Mantis bug report #10297 for a screenshot of the issue I have. http://www.freepascal.org/mantis/view.php?id=10297 I have a 1440x900 widescreen display, yet the Projects|Open Recent Projects popup menu is very wide due to long direc

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Graeme Geldenhuys
On 29/11/2007, Damien Gerard <[EMAIL PROTECTED]> wrote: > > I would prefer the first one too. That's why I already recently posted > the code to do this :) > Excellent. Well if nobody is going to apply that code to Lazarus, I would like to do it on my local setup. Mind emailing me the code or te

Re: [lazarus] MySql 4.1 Database Questions

2007-11-29 Thread Roberto Padovani
2007/11/29, el stamatakos <[EMAIL PROTECTED]>: > > Hi, > I finally got passed the > > Project Raised exception class 'EInOutError" with message: > Can not load MySQL library "libmysqlclient.so". Please check your > installation. Indeed I had to create a symbolik link. > a symbolic link in the

Re: [lazarus] printer4lazarus lazarus rebuild error

2007-11-29 Thread Malcolm Poole
Matthew Rollings wrote: Using the latest svn revision (13063) of lazarus and FPC 2.2.0, trying to rebuild lazarus to use the gtk2 interface i get the following error: /usr/share/lazarus/components/printers/printer4lazarus.pas(1,1) Fatal: Can't find unit libc used by uDlgSelectPrinter Any ide

[lazarus] TProcess.Input problem

2007-11-29 Thread Malcolm Poole
Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When extracting an archive using the commandline, when dar finds a file t

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Bernd Mueller
Arí Ricardo Ody wrote: I gave up. Back to Lazarus 0.9.22 I am running "stable" Lazarus 0.9.24 on Windows 98 and have nearly no reason to complain. I am working on projects, which I started to develop with Lazarus 0.9.20 and below. For me, Lazarus 0.9.24 is far better than Lazarus 0.9.20. Re

Re: [lazarus] Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Roberto Padovani
That happens if you did this: - drop a TOpenDialog on the form - write the button event handler - delete the TOpenDialog icon from the form because you think it's ugly over there - re-type manually the declaration OpenDialog1: TOpenDialog; in the form class because it was automatically delet

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Graeme Geldenhuys
Thanks Damien, If others agree with the feature, I'll create the Lazarus patch. You simply saved me time implementing the trimming function. :) Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fp

Re: [lazarus] some questions

2007-11-29 Thread Joost van der Sluis
Op woensdag 28-11-2007 om 15:08 uur [tijdzone -0300], schreef Arí Ricardo Ody: > Talking about databases: > > Was the bug of Lazarus with date, time and timestamp types when > accessing DB2 tables fixed? DB2? I don't know any components which support DB2? Joost

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Damien Gerard
On Nov 29, 2007, at 10:17 AM, Graeme Geldenhuys wrote: Thanks Damien, If others agree with the feature, I'll create the Lazarus patch. You simply saved me time implementing the trimming function. :) It is not much indeed but it is better than nothing :) -- Damien Gerard [EMAIL PROTECTED

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Damien Gerard
On Nov 29, 2007, at 9:46 AM, Graeme Geldenhuys wrote: On 29/11/2007, Damien Gerard <[EMAIL PROTECTED]> wrote: I would prefer the first one too. That's why I already recently posted the code to do this :) Excellent. Well if nobody is going to apply that code to Lazarus, I would like to

Re: [lazarus] printer4lazarus lazarus rebuild error

2007-11-29 Thread Mattias Gaertner
On Thu, 29 Nov 2007 08:58:51 + Malcolm Poole <[EMAIL PROTECTED]> wrote: > Matthew Rollings wrote: > > Using the latest svn revision (13063) of lazarus and FPC 2.2.0, > > trying to rebuild lazarus to use the gtk2 interface i get the > > following error: > > > > /usr/share/lazarus/components/pri

Re: [lazarus] trimming very long project paths in 'Open Recent Projects' popup menu

2007-11-29 Thread Graeme Geldenhuys
On 29/11/2007, Damien Gerard <[EMAIL PROTECTED]> wrote: > > > It is not much indeed but it is better than nothing :) > It works perfectly. I've amended my copy of Lazarus and it looks much nicer now. The 'File|Open Recent' , 'Project|Open Recent Project' and the 'Components|Open Recent Package'

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When extracting an archive using the commandline, w

Re: [lazarus] printer4lazarus lazarus rebuild error

2007-11-29 Thread Vincent Snijders
Mattias Gaertner schreef: It's a todo to get rid of the libc dependency in printers4lazarus. I think it is "has been done" in Lazarus 0.9.25. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Malcolm Poole
Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When extracting an archive us

[lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Igor Zakhrebetkov
Vincent Snijders пишет: Is this when you run the application in the IDE or from the command line? in the IDE Sorry, have not tried from the command line -- Igor Zakhrebetkov _ To unsubscribe: mail [EMAIL PROTECTED] with

[lazarus] Talking 'bout errors reproduction

2007-11-29 Thread Arí Ricardo Ody
At 04:29 29/11/2007, you wrote: On 29/11/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > That would be helpful for the Lazarus team, I think. > As Marc said: they cannot fix it if they cannot reproduce it. Yesterday I sent to the list an e-mail with the following text: The attached pr

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Arí Ricardo Ody
I wasn't talking about someone find errors, but I was thinking that if the trouble with some legacy code will be fixed... I sent yesterday a project of mine that has problems when compiled in 0.9.24. I think it would help you with the cause(s). Cheers Ricardo At 18:49 28/11/2007, you wrote:

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Arí Ricardo Ody
Hi! The stability of 0.9.24 is not the point Bernd. Cheers Ricardo At 06:09 29/11/2007, you wrote: Arí Ricardo Ody wrote: I gave up. Back to Lazarus 0.9.22 I am running "stable" Lazarus 0.9.24 on Windows 98 and have nearly no reason to complain. I am working on projects, which I started to

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Mattias Gärtner
Zitat von Arí Ricardo Ody <[EMAIL PROTECTED]>: > I wasn't talking about someone find errors, but I > was thinking that if the trouble with some legacy code will be fixed... > > I sent yesterday a project of mine that has > problems when compiled in 0.9.24. I think it would help you with the > caus

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond using Process.Input When ex

[lazarus] Lazarus version for "about" box

2007-11-29 Thread Mark Morgan Lloyd
Is there a macro or variable which exposes the version of lazarus in use so that it can be incorporated into code? I've just put the compilation date/time and FPC version into a dialogue box to help cross-platform debugging but can't see how to incorporate the equivalent IDE info. -- Mark Morg

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Arí Ricardo Ody
Hi Mattias! I decide to follow the mr. Boban's suggestion: "Open the problematic LFM file in text editor or in Lazarus, and find the lines which throws this error. If you find them - delete them." I uninstall 0.9.22 again. Install 0.9.24 once more. In the compilation of the project in troub

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Graeme Geldenhuys
On 29/11/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > That would be helpful for the Lazarus team, I think. > As Marc said: they cannot fix it if they cannot reproduce it. > I've been running Lazarus all day via GDB and finally got a crash when I opened a new project. Though looking at

Re: [lazarus] Lazarus version for "about" box

2007-11-29 Thread Vincent Snijders
Mark Morgan Lloyd schreef: Is there a macro or variable which exposes the version of lazarus in use so that it can be incorporated into code? I've just put the compilation date/time and FPC version into a dialogue box to help cross-platform debugging but can't see how to incorporate the equival

[lazarus] Lazarus 0.9.25 (r13078) crashes on demand using clipboard

2007-11-29 Thread Graeme Geldenhuys
Hi, I'm trying to compile r13078 with the release version 0.9.24. I'm running Ubuntu and have 0.9.24 compiled with GTK1. I got a compiler error in one of my installed packages. Problem 1: /examples/exploremenu/exploremenu.lpk < Fails to compile. A error in the Register me

Re: [lazarus] Problem Build last version

2007-11-29 Thread Graeme Geldenhuys
I got the same error but with a different package. I guess some method's signature changed or something and is breaking packages all over the place. Graeme. On 29/11/2007, Guadagnini David <[EMAIL PROTECTED]> wrote: > Today I have a problem for build last SVN version. > > The errors are: > C:\

Re: [lazarus] Problem Build last version

2007-11-29 Thread Graeme Geldenhuys
PrettyFormat and ExploreIDEMenu packages are now broken. I removed them and Lazarus recompiled okay. Graeme. On 29/11/2007, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote: > I got the same error but with a different package. I guess some > method's signature changed or something and is breaking p

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Marc Weustink
Graeme Geldenhuys wrote: On 29/11/2007, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: That would be helpful for the Lazarus team, I think. As Marc said: they cannot fix it if they cannot reproduce it. I've been running Lazarus all day via GDB and finally got a crash when I opened a new proje

[lazarus] Problem Build last version

2007-11-29 Thread Guadagnini David
Today I have a problem for build last SVN version. The errors are: C:\lazarus\components\projecttemplates\idetemplateproject.pp(151,52) Error: Incompatible type for arg no. 5: Got "procedure(TObject);Register>", expected "procedure(TObject) of object;Register>" C:\lazarus\components\projecttempl

Re: [lazarus] Lazarus 0.9.25 (r13078) crashes on demand using clipboard

2007-11-29 Thread Razvan Adrian Bogdan
Can't remember the last time clipboard worked ... :| Razvan _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Problem Build last version

2007-11-29 Thread Paul Ishenin
Graeme Geldenhuys пишет: PrettyFormat and ExploreIDEMenu packages are now broken. I removed them and Lazarus recompiled okay. Sorry, my fault - I have not checked compilation of big ide. Fixed in r13079. I extended interface of menu registrator with one new argument (to allow register ico

[lazarus] € symbol

2007-11-29 Thread Damien Gerard
In recent build of lazarus there is a strange behavior with the symbol €. In the editor if you type '€', you've got 3 blank caracters. In the property Items of the TComboBox for example all lines become blank. Changes about the Unicode I guess ? :) -- Damien Gerard [EMAIL PROTECTED] __

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Marco Alvarado
I'm getting a SIGSEV too in Linux, exactly when the application creates the TForm instance. The same application works ok in Windows. I'm looking for a way around this problem. Regards! 2007/11/29, Igor Zakhrebetkov <[EMAIL PROTECTED]>: > Vincent Snijders пишет: > > Is this when you run the appl

Re: [lazarus] Problem Build last version

2007-11-29 Thread Mattias Gaertner
On Thu, 29 Nov 2007 22:17:52 +0700 Paul Ishenin <[EMAIL PROTECTED]> wrote: > Graeme Geldenhuys пишет: > > PrettyFormat and ExploreIDEMenu packages are now broken. I removed > > them and Lazarus recompiled okay. > > > Sorry, my fault - I have not checked compilation of big ide. Fixed in > r130

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Mattias Gaertner
On Thu, 29 Nov 2007 09:30:12 -0600 "Marco Alvarado" <[EMAIL PROTECTED]> wrote: > I'm getting a SIGSEV too in Linux, exactly when the application > creates the TForm instance. The same application works ok in Windows. > I'm looking for a way around this problem. Can you create a backtrace? http://

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Marco Alvarado
I'll once I get home to my linux box. Thanks! 2007/11/29, Mattias Gaertner <[EMAIL PROTECTED]>: > On Thu, 29 Nov 2007 09:30:12 -0600 > "Marco Alvarado" <[EMAIL PROTECTED]> wrote: > > > I'm getting a SIGSEV too in Linux, exactly when the application > > creates the TForm instance. The same applicat

Re: [lazarus] Non UTF-8 Encodings

2007-11-29 Thread Razvan Adrian Bogdan
On Nov 27, 2007 11:42 PM, Jesus Reyes <[EMAIL PROTECTED]> wrote: > The other day I built a tool that takes the txt tables and convert > them to pascal constant arrays attached is the resulting inc file if > needed for something. If I knew something like this ucmaps/charset > exists I probably would

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Andrew Haines
Arí Ricardo Ody wrote: > Hi Mattias! > > I decide to follow the mr. Boban's suggestion: > > "Open the problematic LFM file in text editor or in Lazarus, and find > the lines which throws this error. > If you find them - delete them." > > I uninstall 0.9.22 again. Install 0.9.24 once more. In the

Re: [lazarus] Back to 0.9.22

2007-11-29 Thread Mattias Gaertner
On Thu, 29 Nov 2007 11:14:27 -0300 Arí Ricardo Ody <[EMAIL PROTECTED]> wrote: >[...] > I decide to follow the mr. Boban's suggestion: > > "Open the problematic LFM file in text editor or > in Lazarus, and find the lines which throws this error. > If you find them - delete them." If you open the

Re: [lazarus] Lazarus version for "about" box

2007-11-29 Thread Mark Morgan Lloyd
Vincent Snijders wrote: Mark Morgan Lloyd schreef: Is there a macro or variable which exposes the version of lazarus in use so that it can be incorporated into code? I've just put the compilation date/time and FPC version into a dialogue box to help cross-platform debugging but can't see how t

Re: [lazarus] VCL for C++ based on FreePascal RTL

2007-11-29 Thread Razvan Adrian Bogdan
This would promote the VCL/LCL way of doing things just like C++Builder but it might also become a competitor to FPC because FCL/LCL is not used as in the case of BCB so the 2 projects have nothing in common. Maybe wxWidgets could be of use to FPC as a platform target. Razvan

[lazarus] [OSX][GTK2] Symbols not found (iconv)

2007-11-29 Thread Damien Gerard
Hi ! I try to compile Lazarus under OS X 10.5 and the widgetset GTK2, following the tutorial : http://wiki.lazarus.freepascal.org/GTK2_Interface I have got the error: Undefined symbols: "_iconv_close", referenced from: CWSTRING_FINITHREAD in cwstring.o CWSTRING_FINITHREAD in c

Re: [lazarus] [OSX][GTK2] Symbols not found (iconv)

2007-11-29 Thread Damien Gerard
On Nov 29, 2007, at 8:36 PM, Damien Gerard wrote: Hi ! I try to compile Lazarus under OS X 10.5 and the widgetset GTK2, following the tutorial : http://wiki.lazarus.freepascal.org/GTK2_Interface I have got the error: Undefined symbols: "_iconv_close", referenced from: CWSTRING_FINI

[lazarus] Child Form not being created

2007-11-29 Thread el stamatakos
Hi All, I have the following situation. I have 2 forms. Form1 and Form2 In Form1 (unit1.pas) I use a TMainMenu and I have a Menu Project->New when I click on Project->New another form should pop up. This used to work but for some reason it does not any longer. I have an EventHandler for

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Malcolm Poole
Marc Weustink wrote: Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) I can read happily from the dar Process.Output but am not managing to respond usin

[lazarus] fixes branch changelog

2007-11-29 Thread Vincent Snijders
There is now a seperate changelog for the fixes branch: http://svn.freepascal.org/svn/logs/lazarus-fixes_0_9_24.log There already existed a change log for the complete lazarus repository at http://svn.freepascal.org/svn/logs/lazarus-all.log Vincent

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Michael Van Canneyt
On Thu, 29 Nov 2007, Malcolm Poole wrote: > Marc Weustink wrote: > > Malcolm Poole wrote: > > > Marc Weustink wrote: > > > > Malcolm Poole wrote: > > > > > Hello everyone! > > > > > > > > > > I am trying to write a front-end for the command-line archiving > > > > > program > > > > > "dar" ( http

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Vincent Snijders
Michael Van Canneyt schreef: On Thu, 29 Nov 2007, Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) Is it possible that it is ignoring stdin because it

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Weustink
Vincent Snijders wrote: Michael Van Canneyt schreef: On Thu, 29 Nov 2007, Malcolm Poole wrote: Marc Weustink wrote: Malcolm Poole wrote: Hello everyone! I am trying to write a front-end for the command-line archiving program "dar" ( http://dar.linux.free.fr/ ) Is it possible that it is ig

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Henry Vermaak
On 29/11/2007, Vincent Snijders <[EMAIL PROTECTED]> wrote: > > Maybe you can use dar_slave instead? > http://dar.linux.free.fr/doc/man/dar_slave.html > use libdar, i'd say. but bindings need to be created from the c++. > Vincent > henry _

Re: [lazarus] Child Form not being created

2007-11-29 Thread Mattias Gaertner
On Thu, 29 Nov 2007 12:10:38 -0800 el stamatakos <[EMAIL PROTECTED]> wrote: > > Hi All, > > I have the following situation. I have 2 forms. Form1 and Form2 > > In Form1 (unit1.pas) I use a TMainMenu and I have a Menu Project->New > > when I click on Project->New another form should pop up.

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Malcolm Poole
Henry Vermaak wrote: On 29/11/2007, Vincent Snijders <[EMAIL PROTECTED]> wrote: Maybe you can use dar_slave instead? http://dar.linux.free.fr/doc/man/dar_slave.html I'll have to reread the docs for dar-slave again: I don't think I fully grasped its relationship to dar. use libdar, i'd

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Santhoff
Am Donnerstag, den 29.11.2007, 23:27 + schrieb Malcolm Poole: > I've thought of a workaround for overwriting files using only dar, but I > think I may need to scale down my app a bit to avoid situations where > dar asks for input. This would be best, you could integrate anything necessary i

Re: [lazarus] Problem Build last version

2007-11-29 Thread Paul Ishenin
Mattias Gaertner пишет: On Thu, 29 Nov 2007 22:17:52 +0700 Paul Ishenin <[EMAIL PROTECTED]> wrote: Graeme Geldenhuys пишет: PrettyFormat and ExploreIDEMenu packages are now broken. I removed them and Lazarus recompiled okay. Sorry, my fault - I have not checked compilation of big ide. Fixe

[lazarus] Before & After Compilation Comandline Execute

2007-11-29 Thread Lee Jenkins
Lazarus 0.9.24 Referring to Project > Compiler Options > Compilation..., When I place a command in "Execute After", it will actually be executed before. The inverse is true for "Execute Before". Should I log this? I did a couple of cursory searches on mantis and didn't see anything. -- W

Re: [lazarus] icons sqldb-components

2007-11-29 Thread Paul Ishenin
wile64 пишет: Icons for SQL. Thanks, commited in r13084. Best regards, Paul Ishenin. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/ma

[lazarus] Building Lazarus (first time ever) on Mac OS X 10.5 (Leopard) fails - fink's apt-get sources has no glib or other packages.

2007-11-29 Thread Warren Postma
I couldn't get the pre-built binary of Lazarus to run on Mac OS X 10.5 (Leopard). First the installer put the files somewhere invisible to the finder, so I couldn't start up by clicking any mac App icon. Secondly, even when I found lazarus.app and did "open lazarus.app" from terminal, it crashe

Re: [lazarus] Re: Lazarus-0.9.24: SIGSEGV in TOpenDialog

2007-11-29 Thread Marco Alvarado
GDB is just wonderful!!! It just helped me to solve the last errors in my application and got the engine finally running in both Windows and Linux :_D Thanks a lot!!! PS. Have you ever thought about throwing backtraces from the Lazarus debugger? Having such feature integrated would be really help

[lazarus] Lazarus v0.9.25 r13078M with gtk 2 (screen flicker)

2007-11-29 Thread Graeme Geldenhuys
Hi, I haven't tried Lazarus compiled with GTK2 in months and thought I would give it a go. Compiling went fine. Running Lazarus though, the screens (any dialog windows I open) redraw quite slow. Also scrolling the editor window up or down with the mouse causes serious flicker on the text. I dou

[lazarus] Kudos to Lazarus developers

2007-11-29 Thread Graeme Geldenhuys
Hi, I know I rant a lot about Lazarus lately, but I also mention when I find something really good. With the latest SVN revision I have (0.9.25 r13078M) I found something unexpected but awesome. The new tooltips that integrate the fpdoc help! That is a brilliant idea and encourages me to documen