Re: [Lazarus] Lazarus Help

2011-03-30 Thread Michael Schnell
On 03/29/2011 09:16 PM, Marco van de Voort wrote: The reference guide is also available online, so that is no reason. Sorry for erroneous language. Here with online I meant pressing F1 when a language error occurs or a language keyword is under the cursor. -Michael --

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Michael Schnell
On 03/30/2011 12:24 AM, Mattias Gaertner wrote: Is it safe to use DebugLn from thread other than main? No. (Me again, but I could not resist: ) I suppose It would be very easy to make a thread save version of DebugLn if TApplication.QueueAsyncCall would be fixed in GTK (and all other

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 01:05, cobines wrote: OK, thanks both for answers. DbgOutThreadLog function seems useful, but I need to write to console so I'll use DebugLn via Synchronize. If you take a look at the tiOPF v2 available from SourceForge.net, it has tiLog, tiLogToGUI, tiLogToConsole,

Re: [Lazarus] [OT] About licences

2011-03-30 Thread Graeme Geldenhuys
On 29/03/2011 21:15, Marco van de Voort wrote: With MPL and LGPL you are officially obliged to donate fixes to the relevant packages back. Correct. The (L)GPL with exception bit absolves you from that. Where does it say that? By LGPL with exception, I gather you mean like the license

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread cobines
It seems it is enough to protect the call to DebugLn with a critical section: var cs: syncobjs.TCriticalSection; procedure DebugLnThreadSafe(const s: String); begin cs.Acquire; try DebugLn(s); finally cs.Release; end; end; -- cobines --

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Sven Barth
Am 30.03.2011 09:30, schrieb Sven Barth: Am 30.03.2011 09:01, schrieb Michael Schnell: On 03/29/2011 09:16 PM, Marco van de Voort wrote: The reference guide is also available online, so that is no reason. Sorry for erroneous language. Here with online I meant pressing F1 when a language error

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Graeme Geldenhuys wrote: On 30/03/2011 01:05, cobines wrote: OK, thanks both for answers. DbgOutThreadLog function seems useful, but I need to write to console so I'll use DebugLn via Synchronize. If you take a look at the tiOPF v2 available from SourceForge.net, it

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 09:43, michael.vancann...@wisa.be wrote: I would not recommend using it, because this component hijacks the command-line options. No it doesn't! Why do you say that? Yes there is a convenience unit that automatically registers the various log output targets (the unit is

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Michael Schnell
On 03/30/2011 09:34 AM, Sven Barth wrote: If you follow the link in the second mail after Graeme's (leading to the wiki), you'll see that the second one (language keywords) is also supported. saying This feature exists since 0.9.15 and requires the FPC sources installed locally. So

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 09:30, Sven Barth wrote: At least the first one works if the right documentation is installed. See this mail from Graeme (including screenshot): http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-February/060170.html And the second option works by using fpGUI's DocView

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Michael Schnell
On 03/30/2011 01:05 AM, cobines wrote: I'll use DebugLn via Synchronize. Synchronize is not a good option for DebugLn, as (1) you need to pass parameters and (2) it will stall the thread for an unforeseeable amount of time. Application.QueuAsyncCall has been provided for exactly that

[Lazarus] User defined defaults in object inspector

2011-03-30 Thread Paul van Helden
Hi, Would it be desirable to be able to specify one's own defaults for each component (without subclassing), similar to defining your own favourite properties? Eg. each time I drop a TPanel, I change BevelOuter to bvNone and the Caption to nothing. Doesn't seem that RAD. (TPanels really

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Graeme Geldenhuys wrote: On 30/03/2011 09:43, michael.vancann...@wisa.be wrote: I would not recommend using it, because this component hijacks the command-line options. No it doesn't! Why do you say that? Because last time I checked, it was so. I even reported it to

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Michael Schnell
On 03/30/2011 09:16 AM, Graeme Geldenhuys wrote:e. If you take a look at the tiOPF v2 ... Do you happen ton know how this makes sure that it works in a thread-safe way ? (With our Delphi projects we do thread safe logging via PostMessage, but with Lazarus this is a moving target, depending

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Michael Schnell
On 03/30/2011 09:28 AM, cobines wrote: It seems it is enough to protect the call to DebugLn with a critical section: IMHO, not a good idea at all, as DebugLn, being a debug feature is supposed to be as non-intrusive as possible. And a critical section might stall the thread for an

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Michael Schnell
On 03/30/2011 09:58 AM, Graeme Geldenhuys wrote: And the second option works by using fpGUI's DocView and the INF help files. Integration with Lazarus IDE is dead simple via the External Tools dialog (no need to recompile the IDE). You can even integrate Kylix 3's help with Lazarus IDE.

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 10:06, michael.vancann...@wisa.be wrote: Admittedly, this is a long time ago. Maybe the implementation has been changed in the meantime. That must have been a good few years ago (I think back in tiOPF v1 days). I just double checked tiOPF v2. None of the tiLogXXX units do any

Re: [Lazarus] DebugLn thread safety

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 10:05, Michael Schnell wrote: Do you happen ton know how this makes sure that it works in a thread-safe way ? The details are in the Core/tiLog.pas unit, and is not too complicated. You are welcome to take a look at that code.

[Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
I just encountered a nasty problem: When I have multiple Lazarus installations (trunk, branches, snapshot...), the common Lazarus configuration is used by default (when no --pcp is specified). Actually I wondered about many error messages on an IDE rebuild, until I noticed that the (default)

[Lazarus] svn2revisioninc on multiple architectures

2011-03-30 Thread Mark Morgan Lloyd
Would it be reasonable to expect make clean to delete the svn2revisioninc binary, since this is only used during the build process? I've just been reminded of this one when using a tarball containing the stable Lazarus sources on various machines to get them up to date- as soon as I moved

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: I just encountered a nasty problem: When I have multiple Lazarus installations (trunk, branches, snapshot...), the common Lazarus configuration is used by default (when no --pcp is specified). Actually I wondered about many error messages on

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Vincent Snijders
2011/3/30 Hans-Peter Diettrich drdiettri...@aol.com: Can somebody please clarify the intended procedure for configuring multiple parallel Lazarus installations? Always specify the primary config directory, if you have multiple parallel Lazarus installations. You may add the --pcp parameter in

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Andreas Schneider
On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus installed in his home directory; i.e. without make install.

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 10:56, Andreas Schneider wrote: On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus installed in

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Hans-Peter Diettrich
Michael Schnell schrieb: On 03/29/2011 09:16 PM, Marco van de Voort wrote: The reference guide is also available online, so that is no reason. Sorry for erroneous language. Here with online I meant pressing F1 when a language error occurs or a language keyword is under the cursor. That's

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: On 30/03/2011 10:14, Michael Schnell wrote: It would be GREAT if Lazarus would provide all this right out of the box I've been saying this for years, but the Lazarus developers can't seem to make a decision on a offline help format... so we are all stuck (by

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mark Morgan Lloyd
Andreas Schneider wrote: On Wednesday, March 30, 2011 11:19 michael.vancann...@wisa.be wrote: Well, definitely not on Unix. On unix, the EXE directory should never contain config files. That depends. I think I'm not the only Lazarus user who has Lazarus installed in his home directory;

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Michael Schnell
On 03/30/2011 10:39 AM, Graeme Geldenhuys wrote: I've been saying this for years, but the Lazarus developers can't seem to make a decision on a offline help format... If DocView really is good, stable and open source, I don't see why its not integrated so we are all stuck (by default)

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 12:02, Martin wrote: The problem is many users install a 2nd copy, but do not know True. My idea (but I havent got the time) would be: - lazarus remembers it's own exe-path in the enviroments-options.xml - if the exe path changes, lazarus gives a warning (can be switched

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 12:13, Michael Schnell wrote: If DocView really is good, stable and open source, I don't see why its not integrated Because DocView is a part of the fpGUI Toolkit project, and probably because MacOSX is not officially supported by fpGUI yet. And yes, docview is open-source, its

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Graeme Geldenhuys
On 30/03/2011 13:02, Hans-Peter Diettrich wrote: FPDoc Editor is fine, and it allows to update the help immediately. Even no need to press F1, to get instant help on the identifier under the caret. You cannot compare, because FPDoc Editor is only good for editing API help (in fpdoc format).

Re: [Lazarus] PascalScript

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 12:08:14AM -0300, fluisgira...@gmail.com wrote: And this version works on Windows and Linux, 32 and 64 bits. Maybe I'm wrong, but the version of the PascalScript on Lazarus CCR don't work with 64 bits systems and the scriptengine2 don't work with linux. So, if you want

Re: [Lazarus] [OT] About licences

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 09:23:12AM +0200, Graeme Geldenhuys wrote: The (L)GPL with exception bit absolves you from that. Where does it say that? By LGPL with exception, I gather you mean like the license used by FPC? It that case, there is only a static linking exception. You are still

Re: [Lazarus] Lazarus Help

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 09:01:34AM +0200, Michael Schnell wrote: On 03/29/2011 09:16 PM, Marco van de Voort wrote: The reference guide is also available online, so that is no reason. Sorry for erroneous language. Here with online I meant pressing F1 when a language error occurs or a language

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
Thanks! In fact I didn't find the sources earlier from RemObjects page. Now I found them and updated the wiki page accordingly. http://wiki.lazarus.freepascal.org/Pascal_Script PascalScript installed nicely now. The cross-platform porting has received lots of work. It has assembly code written

Re: [Lazarus] PascalScript

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Juha (gmail) wrote: Thanks! In fact I didn't find the sources earlier from RemObjects page. Now I found them and updated the wiki page accordingly. http://wiki.lazarus.freepascal.org/Pascal_Script PascalScript installed nicely now. The cross-platform porting has

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
michael.vancann...@wisa.be kirjoitti keskiviikko, 30. maaliskuuta 2011 14:04:20: It is needed to call native functions from within the scripting language. Ok, it can do more than I first thought. I must learn more of this. Juha -- ___ Lazarus

Re: [Lazarus] PascalScript

2011-03-30 Thread Michael Schnell
On 03/30/2011 12:59 PM, Juha (gmail) wrote: I still don't understand why such program needs assembly at all. This will just a few lines as wrappers for calling binary functions. I suppose it should be not much work to enhance the code for additional targets for someone who in fact needs it and

Re: [Lazarus] PascalScript

2011-03-30 Thread Juha (gmail)
Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 13:59:26: It has assembly code written for x86, x64 and ARM. That means it is still not completely cross-platform. FPC supports more processors than those 3. Actually it supports also PowerPC. That makes 4 processors. Still better. Juha

Re: [Lazarus] PascalScript

2011-03-30 Thread Henry Vermaak
On 30/03/11 12:44, Juha (gmail) wrote: Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 13:59:26: It has assembly code written for x86, x64 and ARM. That means it is still not completely cross-platform. FPC supports more processors than those 3. Actually it supports also PowerPC. That

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 11:37:06AM +0200, Vincent Snijders wrote: Can somebody please clarify the intended procedure for configuring multiple parallel Lazarus installations? Always specify the primary config directory, if you have multiple parallel Lazarus installations. You may add the

Re: [Lazarus] [OT] About licences

2011-03-30 Thread Zaher Dirkey
On Wed, Mar 30, 2011 at 12:52 PM, Marco van de Voort mar...@stack.nlwrote: On Wed, Mar 30, 2011 at 09:23:12AM +0200, Graeme Geldenhuys wrote: The (L)GPL with exception bit absolves you from that. Where does it say that? By LGPL with exception, I gather you mean like the license used by

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: I just encountered a nasty problem: When I have multiple Lazarus installations (trunk, branches, snapshot...), the common Lazarus configuration is used by default (when no --pcp is specified). Actually I

[Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Hi I changed the shortcut for Toggle Comment into Ctrl+T. I also added some more shortcuts. Shortcut for ecToggleComment was defined as: Ctrl+VK_OEM_2. It was displayed in menu caption as garbage. And: VK_OEM_2 = $BF; // Used for miscellaneous characters; it can vary by keyboard. // For the

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 15:46:36: I changed the shortcut for Toggle Comment into Ctrl+T. Sorry, I meant Ctrl+Shift+T. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Vincent Snijders
2011/3/30 Juha (gmail) juha.mannine...@gmail.com: Hi I changed the shortcut for Toggle Comment into Ctrl+T. I also added some more shortcuts. Shortcut for ecToggleComment was defined as: Ctrl+VK_OEM_2. It was displayed in menu caption as garbage. And:  VK_OEM_2 = $BF;  // Used for

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Zaher Dirkey parm...@gmail.com hat am 30. März 2011 um 14:26 geschrieben: On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich drdiettri...@aol.com [mailto:drdiettri...@aol.com] wrote: I just encountered a nasty problem: When I have multiple Lazarus installations (trunk,

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE directory should never contain config files. I dare to

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 12:16, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
On 30/03/2011 14:23, Mattias Gaertner wrote: Zaher Dirkey parm...@gmail.com hat am 30. März 2011 um 14:26 geschrieben: On Wed, Mar 30, 2011 at 12:00 PM, Hans-Peter Diettrich drdiettri...@aol.com mailto:drdiettri...@aol.com wrote: I just encountered a nasty problem: When I have

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Vincent Snijders kirjoitti keskiviikko, 30. maaliskuuta 2011 16:16:31: Is ctrl + / still the default alternative shortcut? Yes. The benefit having it as an alternative (number 2 choice) is that the first shortcut is shown in menu caption properly. VK_OEM_2 was showing as garbage. Juha --

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread michael . vancanneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely not on Unix. On unix, the EXE

Re: [Lazarus] IMGUI example

2011-03-30 Thread Darius Blaszyk
Just tried on the mac mini. The demo runs up to 1000FPS which is the limit of what I can measure. How nice to have hardware acceleration One more thing tho, there seem to be a some bugs with key handling. 1) OnKeyPress, OnKeyDown and OnKeyUp are not fired for TOpenGLControl on win32 but

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Vincent Snijders
2011/3/30 Juha (gmail) juha.mannine...@gmail.com: Vincent Snijders kirjoitti keskiviikko, 30. maaliskuuta 2011 16:16:31: Is ctrl + / still the default alternative shortcut? Yes. The benefit having it as an alternative (number 2 choice) is that the first shortcut is shown in menu caption

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Paulo Costa
On 30/03/2011 14:49, michael.vancann...@wisa.be wrote: Don't try to force Windows habits on Unix users. Beware! It's more a single user versus multi user mindset. And it is a memory optimization, by having the same executable on disk, and in memory, for multiple users. It has also the

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Felipe Monteiro de Carvalho
Maybe Lazarus should simply come with a sh script and a batch script, which would do: ./startlazarus --pcp=./config and startlazarus.exe --pcp=config They could be called: singleuserlazarus.sh and singleuserlazarus.bat -- Felipe Monteiro de Carvalho --

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com hat am 30. März 2011 um 16:20 geschrieben: Maybe Lazarus should simply come with a sh script and a batch script, which would do: ./startlazarus --pcp=./config and startlazarus.exe --pcp=config They could be called:

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Felipe Monteiro de Carvalho
2011/3/30 Mattias Gaertner nc-gaert...@netcologne.de: It's not only for single user. Maybe better localconfiglazarus? Indeed, that's a better name. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Martin
On 30/03/2011 13:56, Juha (gmail) wrote: Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 15:46:36: I changed the shortcut for Toggle Comment into Ctrl+T. Sorry, I meant Ctrl+Shift+T. Isn't that used by insert todo ? -- ___ Lazarus mailing

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
    Hans-Peter Diettrich drdiettri...@aol.com hat am 30. März 2011 um 17:29 geschrieben: [...] What's the purpose of specifying a Lazarus directory, other than the one with the IDE?  I guess, with 'IDE' you mean the lazarus executable. This executable may be in the config directory, when the

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Juha (gmail)
Martin kirjoitti keskiviikko, 30. maaliskuuta 2011 17:46:22: Sorry, I meant Ctrl+Shift+T. Isn't that used by insert todo ? Damn right! The shortcut space is getting crowded. I am about to change it to Ctrl+Shift+W which is not used in the default mapping. Juha --

Re: [Lazarus] IMGUI example

2011-03-30 Thread Darius Blaszyk
I checked linux, and there the OnKeyXX also works correct. So this seems to be a win32 specific thing. Darius On Mar 30, 2011, at 3:52 PM, Darius Blaszyk wrote: Just tried on the mac mini. The demo runs up to 1000FPS which is the limit of what I can measure. How nice to have hardware

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mark Morgan Lloyd
michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well, definitely

[Lazarus] Howto link to shared objects

2011-03-30 Thread Rüdiger Ranft
Hi all, how do I link against dynamic libraries in linux? Currently I rewrite the linker script INPUT( -ldl -lpthread -lX11 -lgdk_pixbuf-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lgobject-2.0 -lglib-2.0 -lgthread-2.0 -lgmodule-2.0 -lpango-1.0 -latk-1.0 -lcairo ) section by INPUT( -ldl -lpthread -lX11

[Lazarus] Error to reconstruct ide version 0.9.30 in Debian 6

2011-03-30 Thread Ismael L. Donis García
I installed Lazarus 0,9,30 in Debian 6, but when trying to install the Lazreport the following error knocks me down: /usr/lib/lazarus/0.9.30/ide/lazconf.pp(1,1) Fatal: Can't find unit DefineTemplates used by LazConf As I could solve this, because I am jammed? Regards = || ISMAEL ||

Re: [Lazarus] Howto link to shared objects

2011-03-30 Thread leledumbo
Do you mean the default linker script doesn't work? Those -lxxx would be linked against libxxx.so, so make sure you have them in PATH (usually /usr/lib). Just create .so symlinks to those .so.0s -- View this message in context:

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Marco van de Voort
On Wed, Mar 30, 2011 at 03:17:36PM +0100, Paulo Costa wrote: It's more a single user versus multi user mindset. And it is a memory optimization, by having the same executable on disk, and in memory, for multiple users. It has also the downside that, for it to be effective, it forces all the

Re: [Lazarus] User defined defaults in object inspector

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 10:02:11 +0200 Paul van Helden p...@planetgis.co.za wrote: Hi, Would it be desirable to be able to specify one's own defaults for each component (without subclassing), similar to defining your own favourite properties? Yes. [...] Mattias --

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 11:02:04 +0100 Martin laza...@mfriebe.de wrote: On 30/03/2011 10:56, Andreas Schneider wrote: [...] The problem is many users install a 2nd copy, but do not know My idea (but I havent got the time) would be: - lazarus remembers it's own exe-path in the

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
Martin schrieb: But that is only where to search: - That is: IF there was a config in the local director, then yes maybe it would be good to use this local config That's what I want. - Except: people who had lazarus for a long time, and kept upgrading, may still have an old 0.9.24 config

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
michael.vancann...@wisa.be schrieb: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory when no config can be found there. Well,

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Hans-Peter Diettrich
Paulo Costa schrieb: On 30/03/2011 14:49, michael.vancann...@wisa.be wrote: Don't try to force Windows habits on Unix users. Beware! It's more a single user versus multi user mindset. Right, and Lazarus is in what category??? In a multi-user environment (company network) an administrator

Re: [Lazarus] Qt is avaliable on Android, so LCL Qt-Arm is working also?

2011-03-30 Thread Den Jean
On Tuesday 29 March 2011 02:07:56 lyh1 wrote: ;-) It is painful to use a 4 inch device for development, but it is fun to see. I will do some more research later on, and see how Qt apps work on android phone. Running Lazarus on a Maemo (N900) device (4) is not really usable because all

Re: [Lazarus] IMGUI example

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 15:52:57 +0200 Darius Blaszyk dhkblas...@zeelandnet.nl wrote: [...] 2) OnKeyDown and OnKeyUp for TForm always give an uppercase value for the key, The Key parameter is the virtual key code. only OnKeyPress gives the correct character (lower or uppercase) for win32. On

Re: [Lazarus] Error to reconstruct ide version 0.9.30 in Debian 6

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 12:28:50 -0400 Ismael L. Donis García ism...@citricos.co.cu wrote: I installed Lazarus 0,9,30 in Debian 6, but when trying to install the Lazreport the following error knocks me down: /usr/lib/lazarus/0.9.30/ide/lazconf.pp(1,1) Fatal: Can't find unit DefineTemplates

Re: [Lazarus] IMGUI example

2011-03-30 Thread Mattias Gaertner
On Wed, 30 Mar 2011 13:45:54 +0200 dhkblas...@zeelandnet.nl wrote: ZeelandNet Webmail Hi, Here's a nice demo which I reworked to FPC/Lazarus of an IMGUI implementation. An IMGUI is a different approach to implementing a widget toolkit and may be of interest in some applications.

Re: [Lazarus] IMGUI example

2011-03-30 Thread Darius Blaszyk
On Mar 30, 2011, at 8:26 PM, Mattias Gaertner wrote: On Wed, 30 Mar 2011 15:52:57 +0200 Darius Blaszyk dhkblas...@zeelandnet.nl wrote: [...] 2) OnKeyDown and OnKeyUp for TForm always give an uppercase value for the key, The Key parameter is the virtual key code. only OnKeyPress

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: michael.vancann...@wisa.be schrieb: IMO the IDE should look for a configuration in the current (EXE) directory first, and only into the common directory

Re: [Lazarus] Error to reconstruct ide version 0.9.30 in Debian 6

2011-03-30 Thread Ismael L. Donis García
- Original Message - From: Mattias Gaertner nc-gaert...@netcologne.de To: lazarus@lists.lazarus.freepascal.org Sent: Wednesday, March 30, 2011 2:34 PM Subject: Re: [Lazarus] Error to reconstruct ide version 0.9.30 in Debian 6 On Wed, 30 Mar 2011 12:28:50 -0400 Ismael L. Donis García

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. The real question, without using command line how to share config file between Windows and Linux at the same computer, (export/import it is bad idea). Let me point where is my

[Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Zaher Dirkey
I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like Delphi for example)? Thanks in advance. -- Zaher Dirkey -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2011, Zaher Dirkey wrote: You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. The real question, without using command line how to share config file between Windows and Linux at the same computer,

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Martin
On 30/03/2011 22:47, Zaher Dirkey wrote: I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like Delphi for example)? they are a relict from another time They were once meant to mark all places were SynEdit in Lazarus changed from the original

Re: [Lazarus] Scrolling Wincontrol

2011-03-30 Thread Luiz Americo Pereira Camara
On 29/3/2011 09:15, Paul Ishenin wrote: 29.03.2011 20:08, Torsten Bonde Christiansen wrote: Hi List. After updating to latest trunk version of Lazarus i've experience something quite strange. I'm using: Lazarus 0.9.31 r30067M FPC 2.4.2 x86_64-linux-gtk 2 I've created a link to a gif that

[Lazarus] Detecting desktop area size

2011-03-30 Thread Bart
Hi, Is there any (more or less) reliable way to detect the size of the desktop (that is: on the active screen, the space a form can occupy so that it will take in account the presence of a taskbar etc.) I need something like this to keep a form that I create at runtime in view on the desktop

Re: [Lazarus] For responsible of luicontrols packages...

2011-03-30 Thread Luiz Americo Pereira Camara
On 29/3/2011 13:42, Liyuan García Caballero wrote: On Kubuntu 10.04 x86_32 with lazarus 0.9.30 and fpc 2.4.2: /usr/lib/lazarus/0.9.30/components/luicontrols/togglelabel.pas(65,15) Error: There is no method in an ancestor class to be overridden:

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Zaher Dirkey
On Thu, Mar 31, 2011 at 12:21 AM, Martin laza...@mfriebe.de wrote: On 30/03/2011 22:47, Zaher Dirkey wrote: I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like Delphi for example)? they are a relict from another time They were once meant to

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Zaher Dirkey
On Thu, Mar 31, 2011 at 12:17 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Wed, 30 Mar 2011, Zaher Dirkey wrote: You all repeat another discuses, while the end user like me, still have problem to share him config espicialy for IDE. The real question, without using command

[Lazarus] Sqlite.dll

2011-03-30 Thread Dians
Before install Sqlite.lpk on component folder lazarus work fine, but since i have installed sqlite.lpk lazarus got an error, sqlite.dll not found.. does any body have ever found this error ? Rgds, Dians -- ___ Lazarus mailing list

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Martin
On 31/03/2011 00:31, Zaher Dirkey wrote: On Thu, Mar 31, 2011 at 12:21 AM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: On 30/03/2011 22:47, Zaher Dirkey wrote: I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Zaher Dirkey
2011/3/31 Martin laza...@mfriebe.de On 31/03/2011 00:31, Zaher Dirkey wrote: On Thu, Mar 31, 2011 at 12:21 AM, Martin laza...@mfriebe.de wrote: On 30/03/2011 22:47, Zaher Dirkey wrote: I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like Delphi

Re: [Lazarus] [OT] About licences

2011-03-30 Thread waldo kitty
On 3/30/2011 08:18, Zaher Dirkey wrote: On Wed, Mar 30, 2011 at 12:52 PM, Marco van de Voort mar...@stack.nl wrote: On Wed, Mar 30, 2011 at 09:23:12AM +0200, Graeme Geldenhuys wrote: The (L)GPL with exception bit absolves you from that. Where does it say that? By LGPL

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread waldo kitty
On 3/30/2011 09:49, michael.vancann...@wisa.be wrote: On Wed, 30 Mar 2011, Hans-Peter Diettrich wrote: I dare to disagree. A SVN checkout is writeable, and this is where the EXE is stored, along with the related source files. Consequently the config should be stored there as well. No, no

Re: [Lazarus] Sqlite.dll

2011-03-30 Thread leledumbo
Well you should have sqlite libraries installed (either put in lazarus folder or wherever in PATH) since the IDE needs it to manipulate database at design time. -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Sqlite-dll-tp2756499p2756924.html Sent from

Re: [Lazarus] Sqlite.dll

2011-03-30 Thread Dians
does sqlite.dll already on windows or should download before ? i search on C:\ got sqlite.dll on folder adobe or any other folder not on windows folder, i have put it on lazarus folder and show any error sqlite_change On 3/31/11, leledumbo leledumbo_c...@yahoo.co.id wrote: Well you should have

Re: [Lazarus] For responsible of luicontrols packages...

2011-03-30 Thread Vincent Snijders
2011/3/31 Luiz Americo Pereira Camara luiz...@oi.com.br: On 29/3/2011 13:42, Liyuan García Caballero wrote: On Kubuntu 10.04 x86_32 with lazarus 0.9.30 and fpc 2.4.2: /usr/lib/lazarus/0.9.30/components/luicontrols/togglelabel.pas(65,15) Error: There is no method in an ancestor class to be

Re: [Lazarus] For responsible of luicontrols packages...

2011-03-30 Thread Vincent Snijders
2011/3/31 Luiz Americo Pereira Camara luiz...@oi.com.br: Please report bugs in http://code.google.com/p/luipack/issues/list Added to http://wiki.freepascal.org/Lui_Controls#Bugs Vincent -- ___ Lazarus mailing list