Re: [Lazarus] I am having trouble getting Lazarus setup

2014-09-06 Thread Mattias Gaertner
On Sat, 06 Sep 2014 18:29:27 -0500 Terry A. Haimann te...@haimann.us wrote: I just upgraded my Linux Box from LinuxMint 14-64 to 17-64. I installed Lazzarus 1.2.4 from your website. Zeosdbo didn't install, so I tried to recompile with Zeos added and I got a: PPU Source: interfaces.pas

Re: [Lazarus] [FEATURE REQUEST] Tip of the day

2014-09-05 Thread Mattias Gaertner
On Fri, 05 Sep 2014 08:06:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Mattias Gaertner wrote: On Thu, 4 Sep 2014 18:22:18 -0300 silvioprog silviop...@gmail.com wrote: [...] Well, it was just a feature request based in an useful idea, but it can be discarded

Re: [Lazarus] Enabling menu-options depending on a Lazarus-setting?

2014-09-04 Thread Mattias Gaertner
On Thu, 04 Sep 2014 22:39:04 +0200 Joost van der Sluis jo...@cnoc.nl wrote: On 09/02/2014 03:31 PM, Martin Frb wrote: On 02/09/2014 12:11, Joost van der Sluis wrote: Add a class[1] method to the debugger-class. return true/false, depending on the availability of the feature. The base

Re: [Lazarus] [FEATURE REQUEST] Tip of the day

2014-09-04 Thread Mattias Gaertner
On Thu, 4 Sep 2014 18:22:18 -0300 silvioprog silviop...@gmail.com wrote: [...] Well, it was just a feature request based in an useful idea, but it can be discarded without problem. :-) Feel free to create a package that adds the TOTD. If it is nice, we can add it by default. Mattias --

Re: [Lazarus] Fuzzy translations ignored

2014-09-03 Thread Mattias Gaertner
On Thu, 04 Sep 2014 00:13:33 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: In recent Lazarus trunk versions it happens that translations marked as fuzzy are ignored, and the untranslated string is shown. Is this a bug to be notified, or a feature? If it's a feature I find it

Re: [Lazarus] Why lazchmhelp.pas sets InheritHandle conditionally on fpc version?

2014-09-02 Thread Mattias Gaertner
On Tue, 02 Sep 2014 09:54:50 +0200 Luca Olivetti l...@wetron.es wrote: I saw in the 1.2.4 source this: {$if FPC_FULLVERSION20604} Proc.InheritHandles := false; {$endif} Why is it conditional? It is not conditional in 1.3. Maybe I'm biased by my bad experience with it being true by

Re: [Lazarus] Cannot compile EpikTimer

2014-09-02 Thread Mattias Gaertner
On Tue, 2 Sep 2014 22:18:38 +0800 Xiangrong Fang xrf...@gmail.com wrote: Hi All, While trying to install epiktimer following this wiki page: http://wiki.lazarus.freepascal.org/EpikTimer I got this error: /home/xrfang/git/epiktimer/epiktimer.pas(403,29) Error: Identifier not found

Re: [Lazarus] Leakview missing from tools menu

2014-09-01 Thread Mattias Gaertner
On Mon, 01 Sep 2014 17:51:03 +0200 Joost van der Sluis jo...@cnoc.nl wrote: Hi all, I have LeakView installed, but I can't find it in the tools menu. Am I the only one with this problem? Lazarus+svn trunk, Linux/Fedora/gtk2. Leakview was extended and moved to View / Leaks and Traces.

Re: [Lazarus] Anchordocking on Lazarus 1.3

2014-08-29 Thread Mattias Gaertner
On Thu, 28 Aug 2014 14:45:36 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, since a couple of months ago I noted Anchordocking is not working as expected. I can arrange a nice layout, and save it as my default layout, but when I start Lazarus again, it was commpletely messed up.

Re: [Lazarus] A lazbuild/project dependency issue

2014-08-29 Thread Mattias Gaertner
On Thu, 28 Aug 2014 16:19:40 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] To raise the version of a dependency of a project is also cumbersome: there is no way to set the version of a dependency once it is added to the project inspector (this is possible in the

Re: [Lazarus] Anchordocking on Lazarus 1.3

2014-08-29 Thread Mattias Gaertner
On Fri, 29 Aug 2014 09:11:07 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: El 29/08/14 a las 06:36, Mattias Gaertner escibió: On Thu, 28 Aug 2014 14:45:36 -0300 Leonardo M. Ramé l.r...@griensu.com wrote: Hi, since a couple of months ago I noted Anchordocking is not working

Re: [Lazarus] lazbuild question

2014-08-19 Thread Mattias Gaertner
Michael Van Canneyt mich...@freepascal.org hat am 19. August 2014 um 14:25 geschrieben: Hi, Does LazBuild update the packagefiles.xml file if it compiles a package it didn't encounter before ? No. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] some wrongs in ide

2014-08-13 Thread Mattias Gaertner
On Wed, 13 Aug 2014 12:10:30 +0300 FreeMan freema...@delphiturkiye.com wrote: I was write only lpr uses files is showing. I'm not sure what you mean with I was write. Do you mean I wrote? View project units has that code, no need rewrite code for get list of project'S ALL files. The View

Re: [Lazarus] Form has no components and have to be forcibly killed

2014-08-12 Thread Mattias Gaertner
On Tue, 12 Aug 2014 14:37:41 +0930 Samps sa...@unplugd.com wrote: [...] Expected behaviour when hitting F9 would be a form with a button that's capable of making the form disappear. What I get is: A blank form, no button. Maybe the lfm is not loaded. Check your directive {$R *.lfm}. Try

Re: [Lazarus] $(TargetOS) and {$I %FPCTARGETOS%} result NOT equal on linux

2014-08-12 Thread Mattias Gaertner
On Mon, 11 Aug 2014 16:42:56 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] Target file name (-0): apps/Myproject_$(TargetOS) result is *Myproject_linux* In code: ... S := Format('%s_%s.zip', ['*Myproject_*', {$I %FPCTARGETOS%}]); result is *Myproject_Linux* [...] why lazarus

Re: [Lazarus] some wrongs in ide

2014-08-12 Thread Mattias Gaertner
On Sat, 02 Aug 2014 11:59:53 +0300 FreeMan freema...@delphiturkiye.com wrote: 1-)Not show all files of project, only lpr uses files is showing. I have inherited some files, base files and other used some files not showing in project inspector. The project inspector shows only the files

Re: [Lazarus] Form has no components and have to be forcibly killed

2014-08-12 Thread Mattias Gaertner
On Tue, 12 Aug 2014 20:09:29 +0930 samps okholm sampsokh...@gmail.com wrote: On Tue, Aug 12, 2014 at 7:51 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 12 Aug 2014 14:37:41 +0930 Samps sa...@unplugd.com wrote: [...] Expected behaviour when hitting F9 would

Re: [Lazarus] Visual Form Inheritance support

2014-08-08 Thread Mattias Gaertner
the descendant designers before editing the ancestor. Hint: Disable Tools / Options / Form Editor / Open designer on open unit Is this by design, or am I missing something? It is not implemented yet. Mattias On 4 August 2014 07:22, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 3

Re: [Lazarus] Visual Form Inheritance support

2014-08-04 Thread Mattias Gaertner
On Sun, 3 Aug 2014 18:41:27 -0300 luiz americo pereira camara luiz...@oi.com.br wrote: Does Lazarus implements Visual Form Inheritance feature present in Delphi? Yes. But not all changes to the ancestor are propagated to the descendants in real time. It's recommended to close the descendants

Re: [Lazarus] Menu icons in Ubuntu unity

2014-07-31 Thread Mattias Gaertner
Václav Valíček vac...@valicek.name hat am 31. Juli 2014 um 12:33 geschrieben: Hi, I am using ubuntu last half of year And I didn't missed icons in menu at all. But yesterday, I have tried to build lazarus on my remote server and start it over X11 forwarded trhough SSH. And in pure

Re: [Lazarus] ERROR: Compiling package jcfidelazarus 2.0: terminated

2014-07-31 Thread Mattias Gaertner
On Thu, 31 Jul 2014 14:12:50 +0300 FreeMan freema...@delphiturkiye.com wrote: Hello, Kubuntu 14.04 x64 lazarus svn r45996 fpc svn r28280 command line is: ./lazbuild --ws=qt --pcp=~/.lazarus --build-all --quiet --skip-dependencies --build-ide= error is:

Re: [Lazarus] Need Testers: parallel compilation

2014-07-29 Thread Mattias Gaertner
On Tue, 29 Jul 2014 11:24:56 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Nice feature, thanks. I only wonder why is it hidden in Messages Window? IMO it has nothing to do with it. I should rename the node to 'Messages and Compilation'  or create new node 'Compilation' if there are

[Lazarus] Need Testers: parallel compilation

2014-07-28 Thread Mattias Gaertner
Hi, The IDE and lazbuild now compile packages in parallel. Each package is still compiled with one call of fpc (single threaded). You can set the maximum number of parallel processes in Tools / Options / Messages Window. By default it tries to guess the amount of cpu cores with the function

Re: [Lazarus] Some suggestions

2014-07-25 Thread Mattias Gaertner
On Tue, 15 Jul 2014 14:07:51 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 15 Jul 2014, Giuliano Colla wrote: Il 15/07/2014 13:35, Michael Van Canneyt ha scritto: [...] Nope. Here, on left mousedown the multiselect is killed :( Todays' Lazarus, GTK2

Re: [Lazarus] [Lazarusdev] Editortoolbar Patch + Pending issue

2014-07-25 Thread Mattias Gaertner
On Fri, 25 Jul 2014 17:30:03 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...] But to my dismay this was the result: http://www.copeca.it/colla/Toolbar/Treeview1.png (as opposed to: http://www.copeca.it/colla/Toolbar/Treeview.png ) Opening some nodes brings to this result:

Re: [Lazarus] Access violation while open lpi from recent menu

2014-07-24 Thread Mattias Gaertner
On Wed, 23 Jul 2014 18:41:57 +0300 FreeMan freema...@delphiturkiye.com wrote: Hello, Some times, if try open project from IDE main form Open button's recent item. I get this error.(from log) Click ok and then try again, project can open. Kubuntu 14.04 x64 lazarus fpc last svn

Re: [Lazarus] [Lazarusdev] Editortoolbar Patch + Pending issue

2014-07-24 Thread Mattias Gaertner
On Thu, 24 Jul 2014 19:00:41 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...]But using the same structure for a human readable Treeview gives rise to the problem. 2) Possible solutions: [...] e) A section without caption is like the TMenuItem separator. The designer simply

Re: [Lazarus] Custom defines don't work?

2014-07-23 Thread Mattias Gaertner
On Wed, 23 Jul 2014 13:21:44 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: Hi list, Laz trunk, fpc trunk x86, Win. I'm trying to set up some defines based on the FPC version [1]: In project options,compiler options,other,conditionals I add this: // Optimize hash

Re: [Lazarus] Custom defines don't work?

2014-07-23 Thread Mattias Gaertner
On Wed, 23 Jul 2014 14:25:24 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 23/07/2014 14:10, Mattias Gaertner wrote: The conditionals have only these predefined variables/functions: http://wiki.lazarus.freepascal.org/Macros_and_Conditionals#Predefined_Variables Ah, thanks

Re: [Lazarus] highlight colours per file.

2014-07-21 Thread Mattias Gaertner
On Mon, 21 Jul 2014 11:31:01 +0200 Marco van de Voort mar...@stack.nl wrote: I working on a header generation tool for some C project. For that I open .ini and .h files, and I notice that they are highlighted differently (classic layout). .h is blue on blue and hard to read, while ini

Re: [Lazarus] CodeCompletion: Unit not found, compile ok

2014-07-21 Thread Mattias Gaertner
On Mon, 21 Jul 2014 11:32:23 +0200 Marco van de Voort mar...@stack.nl wrote: On Sun, Jul 20, 2014 at 06:40:30PM +, Lukas Gradl wrote: In our previous episode, Lukas Gradl said: I've a strange problem with Lazarus (1.3, SVN 45936M): Is my guess correct that you also use a trunk

Re: [Lazarus] CodeCompletion: Unit not found, compile ok

2014-07-20 Thread Mattias Gaertner
On Sun, 20 Jul 2014 18:30:57 + Lukas Gradl f...@ssn.at wrote: I've a strange problem with Lazarus (1.3, SVN 45936M): Im working on a Linux-X64-Workstation but the target of the current project is Win32/i386. I have a TDBGrid (dbgFolderDocs) on my form. I can compile the project,

Re: [Lazarus] Qt interface on Linux uses plastique style by default

2014-07-20 Thread Mattias Gaertner
On Sun, 20 Jul 2014 16:02:01 -0700 (PDT) leledumbo leledumbo_c...@yahoo.co.id wrote: I don't remember having this issue a couple of weeks ago. Just update from svn and now Lazarus uses plastique style by default, instead of following system style (which is set to oxygen). I have to fool

Re: [Lazarus] r45949: Access violation when executing compiler

2014-07-20 Thread Mattias Gaertner
On Sun, 20 Jul 2014 16:16:47 -0700 (PDT) leledumbo leledumbo_c...@yahoo.co.id wrote: Anyone responsible for this? Sorry. My fault. Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] select fpc version from command line make

2014-07-19 Thread Mattias Gaertner
On Sat, 19 Jul 2014 11:01:45 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...] But I don't know how to build the svn version from command line (make clean bigide, or such), telling it to pick up not the system default fpc, but the other one. make PP=/usr/lib/fpc/2.7.1/ppcx64

Re: [Lazarus] Changes do not appear on F9

2014-07-17 Thread Mattias Gaertner
On Thu, 17 Jul 2014 13:47:37 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Hi,   I have some little issue with my projects. When I do some changes in related units (those that are in uses sectin of the main form) and I hit F9 (Run), those changes do no appear in executed program. I

Re: [Lazarus] Object Inspector/Favorites tab, base class and adding properties from code?

2014-07-17 Thread Mattias Gaertner
On Thu, 17 Jul 2014 10:13:31 -0300 Bruno HR bhrei...@hotmail.com wrote: Hello all, about the Favorites tab in the Object Inspector, why do we need to select a base class for a property to add to Favorites? Only properties of instances inheriting from the class are favorites. And why do we

Re: [Lazarus] Compiler Options

2014-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2014 21:45:55 +1000 Justin Smyth delph...@smythconsulting.net wrote: Thanks I am updating lazarus on my vm now. I am using trunk FPC 2.6.4 which has the mods for LPC 1343. ( embedded ) I've also made a custom version of GDBMiServerDebugger which adds support for

Re: [Lazarus] Compiler Options

2014-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2014 15:14:01 +0200 Sven Barth pascaldra...@googlemail.com wrote: [...] Is there really no classes.ppu for your arm target? That's rather likely as Classes is simply too fat... On targets with classes the fat makes it a good indicator if fpc was installed right. For targets

Re: [Lazarus] Find in files suggestion

2014-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2014 08:32:27 +0200 Václav Valíček vac...@valicek.name wrote: Hi, Václav Valíček vac...@valicek.name Dne 15.7.2014 13:44, Michael Van Canneyt napsal(a): [snip] So, would it be possible to add to 'Find in files' the following search scopes: a) Search in Open

Re: [Lazarus] Find in files suggestion

2014-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2014 18:36:23 +0200 Václav Valíček vac...@valicek.name wrote: Same overkill as you describe above, if you realise that most projects are dependent on LCL (And it on LCLBase, next LazUtils, next FCL...) and it is huge bunch of files Once searched, the OS has the files in

Re: [Lazarus] Compiler Options

2014-07-16 Thread Mattias Gaertner
On Wed, 16 Jul 2014 21:25:49 +0200 Sven Barth pascaldra...@googlemail.com wrote: [...] It's likely better to rely on the system.ppu... :/ Some users installed fpc with system.ppu and no classes.ppu. That's why the test was added years ago. Mattias --

Re: [Lazarus] Some suggestions

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 09:01:48 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: On Tue, 15 Jul 2014, Mattias Gaertner wrote: On Thu, 3 Jul 2014 13:19:04 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] - When I select multiple files in the project

Re: [Lazarus] Out of memory with trunk

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 10:12:07 +0200 Gabor Boros gaborbo...@yahoo.com wrote: Hi, Compile trunk with 2.6.4, make clean all bigide on Win32. Start Project1, close, close Lazarus. Then see a memory usage peak in Task Manager always and sometimes got out of memory message too. If not start

Re: [Lazarus] Failure to start

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 10:09:12 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] Might I suggest that the IDE tries to recover more gracefully when one of it's config files is corrupted ? Someone forgot to enclose this file access in try..except. I added it. Mattias --

Re: [Lazarus] Some suggestions

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 13:35:51 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] Nope. Here, on left mousedown the multiselect is killed :( Todays' Lazarus, GTK2 widgetset. You are right. Something changed during my vacation. Mattias --

Re: [Lazarus] IDE Macro for # of bits of the Source OS? (eg. 32-bit/64-bit -- A $(SrcCPU) would be nice!)

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 14:34:56 +0200 Sven Barth pascaldra...@googlemail.com wrote: Am 15.07.2014 12:23 schrieb Mattias Gaertner nc-gaert...@netcologne.de: On Tue, 8 Jul 2014 12:07:46 +0200 Sven Barth pascaldra...@googlemail.com wrote: [...] FPC automatically defines CPUxyz for -Cpxyz

Re: [Lazarus] TCaption question

2014-07-15 Thread Mattias Gaertner
On Tue, 15 Jul 2014 15:29:56 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Hi,   some components (like TLabel) have ellipsis button [...] in Object Inspector that allows multi-line editing while other components don't (TButton). How OI distinguishes it, since both have the same

Re: [Lazarus] Some suggestions

2014-07-14 Thread Mattias Gaertner
On Thu, 3 Jul 2014 13:19:04 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] - When I right-click a message in the message dialog, the pop-up menu displays the possibilities for the selected item, not the item I just right-clicked. I suspect this is a matter of

Re: [Lazarus] Some suggestions

2014-07-14 Thread Mattias Gaertner
On Thu, 3 Jul 2014 13:19:04 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] - The 'Stay on top' option of the messages window is nice, but is cumbersome. Without the option, clicking the message means that the source window will cover the messages window (precious

Re: [Lazarus] Some suggestions

2014-07-14 Thread Mattias Gaertner
On Thu, 3 Jul 2014 13:19:04 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] - When I select multiple files in the project editor (using ctrl-click), and then want to drag them to a package, then it deselects the clicked one if I use ctrl to perform the drag, The

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 10:35:28 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/26/2014 07:38 PM, Mattias Gaertner wrote: If you mean for TTimer: Yes, I'm waiting for your patch. Meaning what ? I can send you a testing application (that does nit use the LCL but just fpc) if you just

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 10:35:28 +0200 Michael Schnell mschn...@lumino.de wrote: [...] So? Program a queue. IMHO this is not appropriate. There already is a queue in the RTL that needs to be handled, as same is fed by TThread.Synchonize (and TThread.Queue) user accessible functions. Hence

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 11:09:41 +0200 Marco van de Voort mar...@stack.nl wrote: On Mon, Jun 23, 2014 at 11:48:53AM +0200, Giuliano Colla wrote: implementation part is demanded to some third party Widgetset (such as gtk, qt, Windows, etc.), via an Interfaces unit. This is not compatible with

Re: [Lazarus] App crash at TScreen.GetCustomFormsZOrdered

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 11:33:53 +0200 Petr Hlozek p...@ok2cqr.com wrote: Hi, I have an Linux app, it has over 76k lines of code, 78 Forms and uses threads. After I close the app, it always crashes in function TScreen.GetCustomFormsZOrdered(Index: Integer): TCustomForm; begin Result :=

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 12:24:02 +0200 Michael Schnell mschn...@lumino.de wrote: [...] - we can't create full compatibility to how Application.QueuAsnyCall works with other Widget Types, as TThread.Queue, when called from the main Thread, does not queue the call but preforms the call right

Re: [Lazarus] PoChecker possible cosmetical patch

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 13:09:06 +0200 Václav Valíček vac...@valicek.name wrote: I prefer using dxGetText in my projects, but if Lazarus uses resourcestrings, I must use resourcestrings when translating components. I have experience with delphi 2010 translations (probbably same as D2009) - and

Re: [Lazarus] App crash at TScreen.GetCustomFormsZOrdered

2014-06-27 Thread Mattias Gaertner
On Fri, 27 Jun 2014 14:48:31 +0200 Petr Hlozek p...@ok2cqr.com wrote: Thank you for the help! I added to all autocreated and used form into OnDestroy what you've writen to me, in Project - Option - Debugging checked the -gh option, Run - Ru parameters in Environment tab added HEAPTRC

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 09:30:58 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/25/2014 05:22 PM, Mattias Gaertner wrote: ok, then it needs ifdefs in nogui. Yep. How does such an ifdef exactly look like ? {$IF FPC_FULLVERSION = 20701} Mattias

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 09:28:28 +0200 Michael Schnell mschn...@lumino.de wrote: [...] - TThread.Queue,: I use this to implement Application.QueuAsyncCall. I can try to do the (supposedly minimal) code that in TThread.Queue forwards the procedure of object to the Event queue, native in the

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 12:13:39 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/26/2014 10:52 AM, Mattias Gaertner wrote: Application.QueueAsyncCall works in nogui if you call Application.ProcessMessages. I am just doing the implementation of TApplication. And the point with _active_

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 13:12:14 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/26/2014 12:25 PM, Mattias Gaertner wrote: Ok. That's incompatible to the LCL QueueAsyncCalls, which executes the calls in the main thread. Not true at all. Huh? I can rephrase it: The LCL

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 14:06:15 +0200 Michael Schnell mschn...@lumino.de wrote: [...] Of course I do know this. Make up your mind. Either I'm Not true at all or I wrote something right. But my goal is that these Events are executed without the user needing to call

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 14:41:21 +0200 Sven Barth pascaldra...@googlemail.com wrote: [...] {$IF FPC_FULLVERSION 20701} {$MESSAGE fatal 'You need at least FPC 2.7.1'} {$ERROR 'You need at least FPC 2.7.1'} But the Lazarus code must work with 2.6.4, so there must not be an error. {$ENDIF} [...]

Re: [Lazarus] Source Editor enhancement mini-patch

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 12:12:04 +0200 Hans-Peter Diettrich drdiettri...@aol.com wrote: Giuliano Colla schrieb: However there's a Delphi IDE small feature which I miss when using Lazarus: a quick mouse access to the Jump Back/Jump Forward function, to navigate history. I find keyboard

Re: [Lazarus] Probbably unused resourcestring. Can I delete it?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 14:48:44 +0200 Václav Valíček vac...@valicek.name wrote: Hi, I'm trying to do small revolution in resourcestrings. In package codetools, I have found resourcestring, which does not occur in whole lazarus repo. Can I delete it? It's ctsSourceOfUnitNotFound - it

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 15:07:22 +0200 Michael Schnell mschn...@lumino.de wrote: [...] But maybe it really is not perfectly compatible, as, _when_called_in_the_main_thread_, TThread.Queue perhaps does a direct call instead of a queued schedule, which might not be true with

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 16:52:59 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/26/2014 03:54 PM, Mattias Gaertner wrote: Application.ProcessMessages calls CheckSynchronize and calls the queued async calls. Under nogui that's all. Here the waiting and sleeping mechanism is lacking

Re: [Lazarus] Split Source Editor window

2014-06-26 Thread Mattias Gaertner
On Thu, 26 Jun 2014 20:37:19 +0200 (CEST) Michael Van Canneyt mich...@freepascal.org wrote: [...] If Ido Kanner left the community, then maybe the package should be added to the Lazarus source tree, so it does not get lost. The packages in the Lazarus sources need a maintainer. Without a

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 15:16:38 +0200 Michael Schnell mschn...@lumino.de wrote: [...] I'm already using packages, but they're run time only packages. Lazarus does not (yet) support runtime-packages (that with Delphi are a special kind of dlls). You mean packages as dynamic libraries

Re: [Lazarus] Color selector using non-default theme/style in GTK2

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 15:36:50 +0200 Vojtěch Čihák vojtech.ci...@atlas.cz wrote: Hi, the color selector in OI should be TColorBox (from Additional tab). Just check how it looks like. Maybe it is the bsClear in StdCtrls.InternalDrawItem. Mattias --

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 15:21:22 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 02:47 PM, Mattias Gaertner wrote: . Therefore the nogui widget only needs a decent TTimer, preferably with no extra dependencies like EpikTimer and no calibration. I added some {$ifdefs} so that my

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 16:28:03 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/25/2014 04:00 PM, Mattias Gaertner wrote: 'Runtime-packages' means something different: http://wiki.freepascal.org/Lazarus_Packages#Design_Time_vs_Run_Time_package I see. Thanks for the Clarification

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 16:53:36 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/25/2014 04:04 PM, Mattias Gaertner wrote: Instead it then uses TThread.GetTickCount64. Do you think that is appropriate at this point in time ? Yes. I just checked and found that with fpc vertsion 2.6.0-9

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-25 Thread Mattias Gaertner
On Wed, 25 Jun 2014 17:14:52 +0200 Sven Barth pascaldra...@googlemail.com wrote: [...] I just checked and found that with fpc vertsion 2.6.0-9, which is the version I installed as a Debian Package for X86-64) TThread does not have CurrentThread, Queue, and GetTickCount64 I do

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 17:02:45 +0300 Juha Manninen juha.mannine...@gmail.com wrote: On Tue, Jun 24, 2014 at 2:38 PM, Giuliano Colla giuliano.co...@fastwebnet.it wrote: Only lazaruside.xx.po are affected, or other packages/translations need the same housekeeping? Also:

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:08:40 +0300 Juha Manninen juha.mannine...@gmail.com wrote: On Tue, Jun 24, 2014 at 5:32 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: Have you tried pochecker? Well, yes. And does it show the wrong strings? Mattias

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:47:00 +0300 Juha Manninen juha.mannine...@gmail.com wrote: On Tuesday, June 24, 2014, Mattias Gaertner nc-gaert...@netcologne.de wrote: And does it show the wrong strings? No because the old strings are still there. Why the .po files are not auto-generated

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 19:49:13 +0300 Juha Manninen juha.mannine...@gmail.com wrote: On Tue, Jun 24, 2014 at 6:55 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: The IDE is compiled by make and that must not alter sources. You can do it: ./localize.sh Right. I committed the .po

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 10:32:50 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/21/2014 12:43 PM, Giuliano Colla wrote: I'm trying to figure how to face my nonlcl widgetset project. I don't understand what you mean by nonlcl widgetset project. This is definitely one of your worst

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 10:41:22 +0200 Michael Schnell mschn...@lumino.de wrote: [...] For an upcoming ActiveNoGUI Widget Type would it be appropriate (and easy to do) to use such mechanism to allow a user to use the Lazarus GUI designer to place pseudo-visual Objects such as TTimers on a

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 11:14:40 +0200 Michael Schnell mschn...@lumino.de wrote: [...] Imagine a new Widget Type (and Application) that does not provide any GUI but (other than the current not GUI based Lazarus Application types) allows for TTimer (and other Event Queue based stuff). Why not

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 11:28:39 +0200 Reinier Olislagers reinierolislag...@gmail.com wrote: On 23/06/2014 11:14, Michael Schnell wrote: [...] Yes, what about a DataModule? Or, for that matter, a regular form. Just make sure your widgetset does not try to create a graphical form on the screen. I

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 11:52:10 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 11:28 AM, Reinier Olislagers wrote: Yes, what about a DataModule? Of course a DataModule would do. But here I would need to make the IDE automatically create a DataMoule as a would-be MainForm. No

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 11:54:52 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 11:43 AM, Mattias Gaertner wrote: If you implement the TTimer backend, then it will work. I suppose additionally to the run-time code for TTimer I would need some design-time code (or at lease

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 12:19:25 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 10:54 AM, Mattias Gaertner wrote: What do you mean with pseudo form? A thingy supposedly working like TDataModule, that the IDE is able to use as MainForm. The MainForm must be a TForm. Why does

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 12:13:24 +0200 Michael Schnell mschn...@lumino.de wrote: [...] - it forces to link in part of the TTimer code and part of EpikTimer, and the EventQueue code (CheckSynchronize and friends) provided by the fpc RTL The nogui widgetset already calls CheckSynchronize. -

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 12:24:04 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 11:58 AM, Mattias Gaertner wrote: [...] (That means that the Widget Type (i.e. the code that is $ifdef'ed by the appropriate setting of the WidgetType variable) and the IDE code itself does not need

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 13:30:05 +0200 Michael Schnell mschn...@lumino.de wrote: On 06/23/2014 12:37 PM, Mattias Gaertner wrote: Are you sure you need Epiktimer and hardware ticks for TTimer? That sounds like overkill. Using a hardware timer in user-space yields the lowest possible overhead

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 18:48:30 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...] In order to use it with a non LCL widgetset one must add a Mediator, aware of the new widgetset units, etc. But currently duplicates aren't allowed. Meaning that a different widgetset cannot contain

Re: [Lazarus] Fatal: Compilation aborted (in gtk widget set)

2014-06-22 Thread Mattias Gaertner
On Sun, 22 Jun 2014 13:07:31 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] /usr/bin/ld: cannot find -lgtk-x11-2.0 /usr/bin/ld: cannot find -lgdk-x11-2.0 I added a FAQ: http://wiki.lazarus.freepascal.org/Lazarus_Faq#I_have_Kubuntu_and_I_get_.2Fusr.2Fbin.2Fld:_cannot_find_-lgtk-x11-2.0

[Lazarus] Need testers: project inspector drag drop

2014-06-22 Thread Mattias Gaertner
Hi all, The project inspector editor now supports multi selection. For example delete multiple files or set properties. You can now copy or move files via drag and drop to other directories or to/from package editors. You can drag files from other applications and drop them on the inspector to

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-22 Thread Mattias Gaertner
On Sun, 22 Jun 2014 12:13:02 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: [...] 2. The clean solution: [...] That's the way I'd like to go. A more general support of non-LCL widgetsets would be a not only a good long term solution for my project, which in my ambitions would be

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-22 Thread Mattias Gaertner
On Sun, 22 Jun 2014 17:24:46 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: Il 22/06/2014 15:06, Mattias Gaertner ha scritto: [...] Meaning that an appropriate IDE extension, and a TReader/TWwriter extension, would one day permit to stream FpGui components which are found

Re: [Lazarus] nonlcl basic issue: is codetools LCL dependent?

2014-06-21 Thread Mattias Gaertner
On Sat, 21 Jun 2014 12:43:17 +0200 Giuliano Colla giuliano.co...@fastwebnet.it wrote: Hi Lazarus wizards and magicians, I'm trying to figure how to face my nonlcl widgetset project. Before tampering with Lazarus code, I tried to gain a better understanding. My scenario: * a run-time

[Lazarus] New feature: Auto complete class interfaces methods

2014-06-21 Thread Mattias Gaertner
Hi, The refactoring tool 'Abstract Methods' now supports 'class interfaces' too. For example: Add an interface like IUnknown to a class and position the source editor caret within the class. Then in the IDE menu: Source / Refactoring / Abstract Methods The appearing dialog will show the missing

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] You have to port all code depending on the infobuild unit. For example the CompileProgress. where is infobuild form show and / or other code? not enough add infobuild in project isn't it? IDE not showing

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan freema...@delphiturkiye.com wrote: [...] Project options set default cpu and os. First click build for linux. ok. for w32, open Project option, find config target change cpu os then click ok then compile third one bla bla same thing. As Juha

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 07:07:53 +0200 Péter Gábor p...@freemail.hu wrote: I asked about different LineEndigs because of the resourcestrings which are written by developers working on different operating systems. They may put different LineEnding in resourcestrings if they don't use the

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 08:27:27 +0200 Péter Gábor p...@freemail.hu wrote: PO-reader works system specific so \n will be converted to #10 on linux and #13#10 on windows, etc. But what does PO-writer with #10, #13 and #13#10 in a single resourcestring? Like this:

<    4   5   6   7   8   9   10   11   12   13   >