Re: [Lazarus] GPL'ed projects and closed-sourced tools

2009-03-04 Thread svaa
In Ada language forum they have had many times this discussion. The following are the constant conclusions: Dynamic linking has nothing to do with GPL. If DLLs are GPL and you use them, you must grant access to the source of DLL, not to the full project. Static linking of GPL tools require you

Re: [Lazarus] GPL'ed projects and closed-sourced tools

2009-03-04 Thread Hans-Peter Diettrich
svaa schrieb: In Ada language forum they have had many times this discussion. The following are the constant conclusions: Dynamic linking has nothing to do with GPL. If DLLs are GPL and you use them, you must grant access to the source of DLL, not to the full project. Static linking of

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread Marc Weustink
A.J. Venter wrote: I seem to be unable to build the newest versions of lazarus, I tried both the 0.9.26 stable and the latest svn snapshot with the same result. Where is it supposed to find Contnrs ? Ciao A.J. Compiling masks.pas Fatal: Can't find unit Contnrs used by Masks

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread A.J. Venter
Usually this means that either you use a different compiler than the one used for compiling the rtl/fcl (multiple compilers installed and wrong unit paths) or make clean wasn't really clean, so some old unit is still there. I managed to find it, turns out my package build script for fpc had a

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread A.J. Venter
On Wed, Mar 4, 2009 at 11:56 AM, A.J. Venter a...@outkastsolutions.co.za wrote: Usually this means that either you use a different compiler than the one used for compiling the rtl/fcl (multiple compilers installed and wrong unit paths) or make clean wasn't really clean, so some old unit is

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread David B Copeland
I had the same problem, ie. Compiling synpropertyeditobjectlist.pas Fatal: Can't find unit PropEdits used by SynPropertyEditObjectList Fatal: Compilation aborted on svn revision 18887. Dave. On Wed, 2009-03-04 at 14:26 +0200, A.J. Venter wrote: On Wed, Mar 4, 2009 at 11:56 AM, A.J.

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread A.J. Venter
on svn revision 18887. Thanks, That fixed it. Ciao A.J. -- A.J. Venter Tel.: +27 21 554 5059 Fax: +27 11 252 9197 Outkast Solutions IT www.outkastsolutions.co.za A division of Global Pact Trading Pty Ltd. www.silentcoder.co.za - Blog scartoonz.silentcoder.co.za - ScarToonz webcomic

[Lazarus] implicit undo (attn Flávio) [Re : Code Structure / SourceEdit and SyneEdit]

2009-03-04 Thread Martin Friebe
Flávio Etrusco wrote: 1) Logic should be separated from the presentation, so first there should be 'TAbstractSynEdit' class, concerning itself purely with text manipulations, such as text insertion/deletion, cursor position changes, text attribute calculation, save/loading, codetools etc.

[Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Martin Friebe
Hi, To take the discussion of the bug tracker. My current intention on this issue would be to solve the additional issues, such as double scan on Paste, or ensuring LoadFromFile only does a single scan for all lines in one go) This would mean the only Problem remaining is: If a user writes

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Vincent Snijders
2009/3/4 Martin Friebe laza...@mfriebe.de: Hi, To take the discussion of the bug tracker. My current intention on this issue would be to solve the additional issues, such as double scan on Paste, or ensuring LoadFromFile only does a single scan for all lines in one go) This would mean the

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread David B Copeland
How do you fix it? Dave. On Wed, 2009-03-04 at 15:00 +0200, A.J. Venter wrote: on svn revision 18887. Thanks, That fixed it. Ciao A.J. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Cannot build lazarus anymore

2009-03-04 Thread Martin Friebe
David B Copeland wrote: How do you fix it? Dave. On Wed, 2009-03-04 at 15:00 +0200, A.J. Venter wrote: on svn revision 18887. Thanks, That fixed it. Ciao A.J. There was an error if you did make all (command line), this was fixed in revision 1 = So just upgrade

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Paul Ishenin
Vincent Snijders wrote: IMHO, if the user does not call Lines.BeginUpdate before doing Lines.Add or Lines.Insert, then the performance penality is his own fault, not something that must be fixed. Absolutely agree. Best regards, Paul Ishenin. ___

Re: [Lazarus] GPL'ed projects and closed-sourced tools

2009-03-04 Thread Graeme Geldenhuys
On Tue, Mar 3, 2009 at 12:52 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: AFAIR there exists a requirement (how strong?), that a user shall be able to build the project from the source code, so that everybody can trust his selfmade binaries, and is not bound to binaries supplied by

Re: [Lazarus] Cannot build lazarus anymore - new problem

2009-03-04 Thread David B Copeland
Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2. Linking ../lazarus /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD': gtk2.pas:(.text+0x104ed): undefined reference to

[Lazarus] Adding units to a project

2009-03-04 Thread Antonio Sanguigni
Hi all, I know I'm lost in a glass of water but I cannot be able to use some units. I'm building a new lazarus project and I would like to re-use other units in my file system. So I added them to this new project with Project inspector - Add - Add Files - Add file to packages and this operation

Re: [Lazarus] Adding units to a project

2009-03-04 Thread Graeme Geldenhuys
On Wed, Mar 4, 2009 at 7:01 PM, Antonio Sanguigni a.sangui...@gmail.com wrote: My question is: Do I need to create a package to use that units or I'm missing something ? This is the recommended method if you share units between projects. It just works much easier. If you normally add a unit

Re: [Lazarus] Adding units to a project

2009-03-04 Thread David W Noon
On Wed, 2009-03-04 at 17:01 +, Antonio Sanguigni wrote: I know I'm lost in a glass of water but I cannot be able to use some units. I'm building a new lazarus project and I would like to re-use other units in my file system. So I added them to this new project with Project inspector - Add

Re: [Lazarus] Help with a error - Failed to initialize component: No streaming method available.

2009-03-04 Thread German Gentile
Hi, please anybody can tell me some way to debug that error or figure why is happening? TIA 2009/2/26 German Gentile german.gent...@petrobox.net Hi, anybody can help me with that error? Im losting my ear. Is a migrated program from delphi. At the beginning when try to create a TdataModule ,

Re: [Lazarus] Cannot build lazarus anymore - new problem

2009-03-04 Thread Vincent Snijders
2009/3/4, David B Copeland david.copel...@jsidata.ca: Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2. Linking ../lazarus /usr/lib64/fpc/2.2.2/units/x86_64-linux/gtk2/gtk2.o: In function `GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':

Re: [Lazarus] implicit undo (attn Flávio) [Re : Code Structure / SourceEdit and SyneEdit]

2009-03-04 Thread Hans-Peter Diettrich
Martin Friebe schrieb: My vision deviates a bit from this in the sense that TAbstractSynEdit would just be an abstraction (or dedicated implementation) of a cleaner text manipulation interface (as TStrings won't cut it), which would also implement transparent/automatic/implicit 'undo'

Re: [Lazarus] Cannot build lazarus anymore - new problem

2009-03-04 Thread David B Copeland
On Wed, 2009-03-04 at 19:31 +0100, Vincent Snijders wrote: 2009/3/4, David B Copeland david.copel...@jsidata.ca: Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2. Linking ../lazarus

Re: [Lazarus] Adding units to a project

2009-03-04 Thread Antonio Sanguigni
2009/3/4 Graeme Geldenhuys graemeg.li...@gmail.com: If you normally add a unit which lives in a different directory than other units, Lazarus normally prompts you to add that new path to the unit search path. Did you get any such prompt? I did not have this prompt ! Weird :O. Anyway,

Re: [Lazarus] implicit undo (attn Flávio) [Re : Code Structure / SourceEdit and SyneEdit]

2009-03-04 Thread Martin Friebe
Hans-Peter Diettrich wrote: Martin Friebe schrieb: Since TrailingSpaces is already a wrapper around the TextBuffer, it can simply intercept those methods, and deal with them. Such a wrapper IMO disallows to change the trim option at runtime. I'd implement it only in the display code.

Re: [Lazarus] Adding units to a project

2009-03-04 Thread Antonio Sanguigni
2009/3/4 David W Noon david.w.n...@ntlworld.com: The way I approach reusing common code is to have my common units in local directories:   ~/units           -- for code that is not yet considered stable   /usr/local/units  -- for code that is considered stable The first of these is added

Re: [Lazarus] Cannot build lazarus anymore - new problem

2009-03-04 Thread David B Copeland
On Wed, 2009-03-04 at 14:17 -0500, David B Copeland wrote: On Wed, 2009-03-04 at 19:31 +0100, Vincent Snijders wrote: 2009/3/4, David B Copeland david.copel...@jsidata.ca: Now I having the following linking problems. The SVN revision is 18893, running on suse 11.1 and FPC 2.2.2.

Re: [Lazarus] GPL'ed projects and closed-sourced tools

2009-03-04 Thread Matt Henley
My understanding and I am not a lawyer is that you are correct.. The gpl faq addresses this ( http://www.gnu.org/licenses/old-licenses/gpl-2.0-faq.html ): I'm writing a Windows application with Microsoft Visual C++ (or Visual Basic) and I will be releasing it under the GPL. Is dynamically linking

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Flávio Etrusco
On Wed, Mar 4, 2009 at 11:27 AM, Martin Friebe laza...@mfriebe.de wrote: Hi, To take the discussion of the bug tracker. My current intention on this issue would be to solve the additional issues, such as double scan on Paste, or ensuring LoadFromFile only does a single scan for all lines in

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Martin Friebe
Flávio Etrusco wrote: On Wed, Mar 4, 2009 at 11:27 AM, Martin Friebe laza...@mfriebe.de wrote: Hi, To take the discussion of the bug tracker. My current intention on this issue would be to solve the additional issues, such as double scan on Paste, or ensuring LoadFromFile only does a

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Martin Friebe
Martin Friebe wrote: Flávio Etrusco wrote: On Wed, Mar 4, 2009 at 11:27 AM, Martin Friebe laza...@mfriebe.de wrote: This would mean the only Problem remaining is: If a user writes his own code, calling Lines.Add (or even Lines.Insert) in a loop. And does so without calling

Re: [Lazarus] About 0013268: SynEdit parses every li ne twice on load or paste (Attn: Flávio)

2009-03-04 Thread Flávio Etrusco
On Wed, Mar 4, 2009 at 8:04 PM, Martin Friebe laza...@mfriebe.de wrote: Martin Friebe wrote: Flávio Etrusco wrote: On Wed, Mar 4, 2009 at 11:27 AM, Martin Friebe laza...@mfriebe.de wrote: This would mean the only Problem remaining is: If a user writes his own code, calling Lines.Add (or

[Lazarus] Installing zteos with lazarus in windows

2009-03-04 Thread Edwin Quijada
HiQ I am newbie with this I installed zeos everything fine but when I try to connect with Postgres database I get this errro Ordinal Not found 180 not found SSLeay I installed openssl in windows and nothing I tried to use it with sqlite but when I activate a query lazarus close Any