Re: FCL vs LCL

2005-12-07 Thread Tiziano - Mekar Srl -
On Mon, 05 Dec 2005 09:02:56 +0200, Graeme Geldenhuys [EMAIL PROTECTED] wrote: I am trying to get a better understanding of the object hierarchy used by Free Pascal and Lazarus. Digging into the FPC/docs folder (not Lazarus but Free Pascal) I found a document called classchart.ps. It's

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Florian Klaempfl wrote: Yoyong Hernan wrote: Below is a sample Run in Lazarus IDE [TMainIDE.DoRunProject] A TMainIDE.DoInitProjectRun A True 0 TMainIDE.DoInitProjectRun B TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TCompiler.Compile]

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Michael Van Canneyt wrote: - However, the compiler does always recompile and link the program itself. It has no way of knowing whether it needs to or not, because the source files are not stored in the compiled program. This story is incomplete. Why does the compiler know it does not need

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: - However, the compiler does always recompile and link the program itself. It has no way of knowing whether it needs to or not, because the source files are not stored in the compiled program. This story is

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Vincent Snijders
Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Florian Klaempfl wrote: Yoyong Hernan wrote: Below is a sample Run in Lazarus IDE [TMainIDE.DoRunProject] A TMainIDE.DoInitProjectRun A True 0 TMainIDE.DoInitProjectRun B TMainIDE.DoSaveAll TMainIDE.DoSaveProject End [TCompiler.Compile]

[lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Graeme Geldenhuys
When I use code like this, Lazarus reports the above mentioned error when I compile. snip uses SyncObjs; ... var FCriticalSection: TCriticalSection; begin FCriticalSection := TCriticalSection.Create; snip Doing a Ctrl+left mouse click Lazarus takes me to the struct.inc file instead of

Re: [lazarus] TListView Questions

2005-12-07 Thread Marc Weustink
George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window ? ListItem.MakeVisible (or was it

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Michael Van Canneyt wrote: no project related files is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already present. I don't know, Mattias may answer that ;-). So it's just a single loop with a check for a boolean ? Well those

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Micha Nelissen
Joost van der Sluis wrote: Why not? If the developer uses an editor outside of Lazarus, he should be keen enough to understand that he has to force a build of his project. Maybe not an editor but a version control system. Or it's on a network drive and somebody else modified a file, or ...

[lazarus] some infos about TFileListBox, Zeos external commands.

2005-12-07 Thread SaintShakaJin
Hello, It's a stupid question but I don't find how to configure the directory in a FileListBox. I haven't seen where I can precise it :( For Zeoslibs, anybody has installed it? I've read the wiki but with the cvs-version I can install zdbc.lpk because Lazarus can read this package, how can

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Micha Nelissen wrote: Joost van der Sluis wrote: Why not? If the developer uses an editor outside of Lazarus, he should be keen enough to understand that he has to force a build of his project. Maybe not an editor but a version control system. Or it's on a network drive and somebody

Re: [lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 11:18:22 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: When I use code like this, Lazarus reports the above mentioned error when I compile. snip uses SyncObjs; Are you sure, that this is your whole uses clause? ... var FCriticalSection: TCriticalSection;

Re: [lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Graeme Geldenhuys
Hi, Are you sure, that this is your whole uses clause? Nope, I left out a few, thinking it wasn't important... How do I fix this without having to put the unit name infront of the class name. Move 'SyncObjs' to the end of the uses clause. Ah, found the problem, thanks! I had the

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread dhkblaszyk
Please do it under IDE level and simply add additional option to allow checking by fpc also (for somebody who cares) I could check in such way: at first stage : if project files were modified (and timestamp is newer then existing executable) or executable is missing I personally don't like

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Marc Weustink
Lord Satan wrote: snip After reading this thread I ask myself what is wrong with always compiling and linking the project? I can speak only for myself but most of the time I invoke 'run' I want my project to be rebuild since I know something changed (I am inside an IDE and doing some coding,

Re: [lazarus] Day 1: Porting an app from Delphi (CLX) to Lazarus

2005-12-07 Thread Alexandre Leclerc
Ok, this is what I was planning to do before hearing about the other OPF. But I keep that in mind. Thank you for answering! On 12/6/05, Alexsander Rosa [EMAIL PROTECTED] wrote: I started a blog on this: http://port2laz.blogspot.com/ Leclerc, my OPF is custom made. It's not tiOPF. My OPF

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Philippe.martinole wrote: Hello, After reading this thread I ask myself what is wrong with always compiling and linking the project? For me it is very important because compiling the same project on Lazarus is a lot slower than with Delphi6PE. I definitly want to leave

Re: AW: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: no project related files is really a lot Why ? Lazarus keeps a list of project files in the lpi file. A modified flag is probably already present. I don't know, Mattias may answer that

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Bogusław Brandys
Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Philippe.martinole wrote: Hello, After reading this thread I ask myself what is wrong with always compiling and linking the project? For me it is very important because compiling the same project on Lazarus is a lot slower than with

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Alexandre Leclerc
On 12/7/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 7 Dec 2005, Philippe.martinole wrote: Hello, After reading this thread I ask myself what is wrong with always compiling and linking the project? For me it is very important because compiling the same project on

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a particular item on the top line of the TListView window ?

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Alexsander Rosa
I use Ctrl-F9 on Delphi often, too. Very useful, but only because it is fast. So really, the linker is the issue. Now I find the idea of theinternal linker not so bad (up in this thread)... the moment the linker is faster. I think this is the main difference with Delphi.Ctrl+F9 was a matter of a

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 17:37:13 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Bogus__aw Brandys wrote: Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: no project related files is really a lot Why ? Lazarus keeps a list of

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] Better spend time on an internal linker for FPC. More people will benefit from that :-) Even then, I think there are other

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 7 Dec 2005 17:28:50 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] Better spend time on an internal linker

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Michael Van Canneyt
On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 17:28:50 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED]

Re: [lazarus] Lazarus website on Subversion

2005-12-07 Thread Michael A. Hess
Felipe Monteiro de Carvalho wrote: Some time ago I sent an e-mail with an proposal to add instructions on how to access the mailing list throught gmane. It is fine if someone wants to use gmane but I don't support it so I don't supply information on how to use it. There is no answer

Re: [lazarus] TListView Questions

2005-12-07 Thread George Lober
George Lober wrote: Andrew Haines wrote: George Lober wrote: Marc Weustink wrote: George Lober wrote: Hi all, 1) Can someone tell me how to make TListView scroll to and show the topmost item of a list in the top line of the TListView window? 2) How do you scroll to and show a