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 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 > implementation

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 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_FULLVERSI

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 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 call thees three

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 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

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 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 > > > &

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 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}

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 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 -- ___ Lazarus mailing l

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 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 with shared clas

Re: [Lazarus] IDE bug handling translations?

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

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:47:00 +0300 Juha Manninen wrote: > On Tuesday, June 24, 2014, Mattias Gaertner > wrote: > > > > And does it show the wrong strings? > > > > No because the old strings are still there. Why the .po files are not > auto-generated? The IDE

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 18:08:40 +0300 Juha Manninen wrote: > On Tue, Jun 24, 2014 at 5:32 PM, Mattias Gaertner > wrote: > > Have you tried pochecker? > > Well, yes. And does it show the wrong strings? Mattias -- ___ Lazarus ma

Re: [Lazarus] IDE bug handling translations?

2014-06-24 Thread Mattias Gaertner
On Tue, 24 Jun 2014 17:02:45 +0300 Juha Manninen wrote: > On Tue, Jun 24, 2014 at 2:38 PM, Giuliano Colla > wrote: > > Only lazaruside.xx.po are affected, or other packages/translations need the > > same housekeeping? > > Also: > components/ideintf/objinspstrconsts > components/codetools/code

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 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 units or > classes unit

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 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 overh

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 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 >

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 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. > - at program st

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 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 a

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 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 &q

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 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 Idea if >

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 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 suppose that is how the

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 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 put this in the

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

2014-06-23 Thread Mattias Gaertner
On Mon, 23 Jun 2014 10:56:45 +0200 Michael Schnell wrote: > On 06/23/2014 10:48 AM, Mattias Gaertner wrote: > > This is definitely one of your worst hijacking. > > Sorry this was not my intention (but just trying to be helpful). :-( You replied to a mail, in which Giuliano cl

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 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 (pseudo-) > Form jus

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 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 hijacking. Mattias

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 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 not in a se

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 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 not just to support Ky

[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] Fatal: Compilation aborted (in gtk widget set)

2014-06-22 Thread Mattias Gaertner
On Sun, 22 Jun 2014 13:07:31 +0300 FreeMan 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 Mattias --

[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] nonlcl basic issue: is codetools LCL dependent?

2014-06-21 Thread Mattias Gaertner
On Sat, 21 Jun 2014 12:43:17 +0200 Giuliano Colla 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 package containing my no

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan 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 wrote: Use Build Modes fo

Re: [Lazarus] about infobuild form development

2014-06-20 Thread Mattias Gaertner
On Fri, 20 Jun 2014 17:43:07 +0300 FreeMan 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 this form still. The

Re: [Lazarus] PoChecker possible cosmetical patch

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 22:25:49 +0200 Václav Valíček wrote: > +++ b/components/pochecker/pofamilies.pp > @@ -23,13 +23,13 @@ const > optRunAllTestsOnAllChildren: TPoTestOptions = []; > > PoTestOptionNames: array[TPoTestOption] of String = ( > - 'Check number of items', > - 'Che

Re: [Lazarus] Errors while linking

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 11:49:46 -0300 Leonardo M. Ramé wrote: > Hi People, while trying to compile an app that uses BGRabitmap I've got > many linking errors when compiling with debugging information enabled. > > I'm using Lazarus and FPC from trunk (updated today) on a Ubuntu 12.04 > 64bit machine

Re: [Lazarus] about infobuild form development

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 11:37:19 +0300 FreeMan wrote: >[...] > 3-) I need ReadSettings writeSetting from project options. Why I need, > when open infobuild form, I have to set saved settings so set selected > combobox items. why write, readed "win32" changed to "linux" and click > to compile, If I

Re: [Lazarus] about infobuild form development

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 11:37:19 +0300 FreeMan wrote: >[...] > 1-) In compiler_config_target.pas, TargetOSComboBox & > TargetCPUComboBox adding items, this can be in include file or public > procedure, without class. For TargetCPUComboBox too. > example: > procedure TargetOSComboBox_Fill_Items(aI

Re: [Lazarus] about infobuild form development

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 13:56:52 +0300 FreeMan wrote: > > 19-06-2014 12:28 tarihinde, Mattias Gaertner yazdı: > > Then replace each > > > > {$IFNDEF EnableOldExtTools}Something{$ELSE}InfoBuild,{$ENDIF} > > > > with > > > > {$IFNDEF EnableOldExtTools

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 13:30:30 +0300 Juha Manninen wrote: > On Thu, Jun 19, 2014 at 12:50 PM, Mattias Gaertner > wrote: > > The rst to po converter. > > That is part of FPC project. No. It's in lcl/translations.pas line 973: if MultiLinedValue then begin

Re: [Lazarus] Resource strings and newline

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 12:01:57 +0300 Juha Manninen wrote: > On Wed, Jun 18, 2014 at 10:44 AM, Mattias Gaertner > wrote: > > In the old days special characters were not converted properly. > > > > I just tested: > > > > 'A'#10'BC' is convert

Re: [Lazarus] about infobuild form development

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 11:37:19 +0300 FreeMan wrote: >[...] > > Select a message and right click / About ... > > This will tell you what you compiled, how and why it was auto compiled. > I don't like "auto" thing, its mean out of my control. You give the compiler the main source (e.g. lpr) and it

Re: [Lazarus] about infobuild form development

2014-06-19 Thread Mattias Gaertner
On Thu, 19 Jun 2014 11:37:19 +0300 FreeMan wrote: > I'll changed mail subject. > > 19-06-2014 02:55 tarihinde, Mattias Gaertner yazdı: > > What compiler directive? > > A compiler directive is for example "{$mode objfpc}". > > Maybe you mean something el

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 wrote: >[...] > The second ("all-are-the-same") approach is used by ShowMessage(). > The following will have 3 line breaks inside the string on all operating > systems: > ShowMessage('How'#10'many'#13'lines'#13#10'here?'); Many LCL strings acc

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 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: 'How'#10'many'#10'lines'#13#10'here?' 'How\

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 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 LineEnding constant, b

Re: [Lazarus] New Messages window

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 23:23:02 +0300 FreeMan wrote: > My plan's view. I'm forget and can't see what I compiled. I have to open > project options and check target option andespecially customer copy > added debug info, and etc. Select a message and right click / About ... This will tell you what y

Re: [Lazarus] New Messages window

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 22:22:29 +0300 FreeMan wrote: > Where is that compiler directive ? What compiler directive? A compiler directive is for example "{$mode objfpc}". Maybe you mean something else? > - Has any easy way for test compile dialog, have to I rebuild everytime > IDE ? No, yes. >

Re: [Lazarus] TBitmap and pixel format

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 12:02:44 -0300 Philippe wrote: > > > checked! ... > > pixelFormat seems doing well (better than I do!) > > > doing ok with bmp, jpg and png I checked. > > but if someone got another > idea ... I appreciate! RGB and RGBA is only the tip of the ice berg. See TRaw

Re: [Lazarus] Need testers: package editor

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 11:09:32 +0200 Sven Barth wrote: > Am 18.06.2014 09:51 schrieb "Mattias Gaertner" : >[...] > Does it work between package editors and the project inspector as well? No. Mattias -- ___ Lazarus m

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 10:29:36 +0200 Michael Schnell wrote: > On 06/18/2014 10:21 AM, Mattias Gaertner wrote: > > Stating the obvious: A 64bit Linux is supposed to run 64 bit programs. > > Have you installed the 32bit libraries? > >> Should there not be a more "spe

Re: [Lazarus] EpikTimer v1.0.1 released

2014-06-18 Thread Mattias Gaertner
On Wed, 18 Jun 2014 10:00:11 +0200 Michael Schnell wrote: >[...] > 1) The 64 Bit Debian works perfectly. I could install a shared folder > and copied the 32 bit Lazarus/fpc generated program "vdso_test" to a > "virtual" user folder. > Here the file has "rwxr-xr-x" properties > > When I type ".

[Lazarus] Need testers: package editor

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

Re: [Lazarus] Resource strings and newline

2014-06-18 Thread Mattias Gaertner
On Tue, 17 Jun 2014 21:12:02 +0300 Juha Manninen wrote: > I must say I agree mostly. > Does anybody know why parameters are currently used for newlines? Logically > parameters are meant for varying data. In the old days special characters were not converted properly. I just tested: 'A'#10'BC'

[Lazarus] Lazarus 1.2.4 Release

2014-06-16 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.2.4. This release was built with fpc 2.6.4. The previous release 1.2.2 was built with 2.6.4 too, the release 1.2.0 was built with fpc 2.6.2. Here is the list of changes for Lazarus and Free Pascal: http://wiki.lazarus.freepascal.org/L

Re: [Lazarus] nonlcl design basic issue

2014-06-16 Thread Mattias Gaertner
On Mon, 16 Jun 2014 00:59:12 +0200 Giuliano Colla wrote: >[...] > Thanks a lot. That's more or less what I was aware of, and having it > confirmed by your authority makes me more confident, but I was secretly > hoping that you'd pull out of your hat a third way, with just pro's and > no con's

Re: [Lazarus] Can't compile SVN Lazarus, missing lislazbuildisnoninteractive

2014-06-15 Thread Mattias Gaertner
On Sun, 15 Jun 2014 18:29:05 +0200 Juraj Pekar wrote: > Missing line: > > > > lazarusidestrconsts.lislazbuildisnoninteractiveabortingnow='%s%s%s%slazbu'+ > > 'ild is non interactive, aborting now.' > > in lazarusidestrconsts.rst is causing following error when building Lazarus > from SVN, revis

Re: [Lazarus] nonlcl design basic issue

2014-06-15 Thread Mattias Gaertner
On Sun, 15 Jun 2014 18:45:27 +0200 Giuliano Colla wrote: >[...] > 1. Surrounding with appropriate $IFDEF LCL / $ELSE the sources of my > widgetsets to differentiate what should be visible at design time > from what should be visible at run-time. Pro: code navigation is easier (e.g. jump

Re: [Lazarus] when start Compile, IDE locking everything

2014-06-15 Thread Mattias Gaertner
On Sun, 15 Jun 2014 11:30:55 +0300 FreeMan wrote: > > 15-06-2014 11:19 tarihinde, Mattias Gaertner yazdı: > > Do you have high CPU load? > > Can you see (e.g. with "top") what process is using the CPU? > > The compiler ppcx64 and/or lazarus? > Yes , So I sai

Re: [Lazarus] when start Compile, IDE locking everything

2014-06-15 Thread Mattias Gaertner
On Sat, 14 Jun 2014 14:25:00 +0300 FreeMan wrote: > Hello, > I'm try some code, get from lnet example. copy folder to different > folder, and change some path and code. > project work any error, just click compile or shift + f9 IDE lock in > some work, and its in threaded work, 'cos I can minim

Re: [Lazarus] Lazarus-CCR - mplayer package

2014-06-15 Thread Mattias Gaertner
On Sun, 15 Jun 2014 02:39:51 +0200 Michael Thompson wrote: >[...] > > > Once I'm happy with my additions, I'll upload a patch to the bugtracker. > > It's open source. Commit early, commit often. > > Ahh, I hadn't realised. Thought I would need to be added to the > Lazarus-CCR developers group i

Re: [Lazarus] Lazarus-CCR - mplayer package

2014-06-13 Thread Mattias Gaertner
On Sat, 14 Jun 2014 01:21:15 +0200 Michael Thompson wrote: > G'day, > > Does anyone have long term plans for the development and the design of the > mplayer package? If so, can they send me details? I have no plans. Feel free to improve it. > I've spent a few days now playing with it, and t

Re: [Lazarus] New Messages window

2014-06-12 Thread Mattias Gaertner
On Thu, 12 Jun 2014 11:49:17 +0300 FreeMan wrote: > Is it possible, "bring to front messages after compilation" not focused, > bugreport #0025176 status changed to resolved 'cos duplicate of 0019411, > and its status "acknowledged" > ans last IDE status, There is NO IDE option, "Show compile dia

Re: [Lazarus] Can't compile a saved project

2014-06-12 Thread Mattias Gaertner
On Thu, 12 Jun 2014 10:37:39 +0200 Michael Schnell wrote: > On Linux x86 32 Bits, using the current svn version, since two days, > while I still can create a "new->application", after I just did "save > project as" and saved the two files, I can't compile any more but get > lots of error messa

Re: [Lazarus] How to get rid of duplicate ppu?

2014-06-11 Thread Mattias Gaertner
On Wed, 11 Jun 2014 17:06:49 +0200 (CEST) Michael Van Canneyt wrote: > > > On Wed, 11 Jun 2014, Mattias Gaertner wrote: >[...] > Maybe the IDE should check whether one of the paths points to the sources > directory of a known package. The IDE now shows warnings for these ca

Re: [Lazarus] New Messages window

2014-06-11 Thread Mattias Gaertner
On Wed, 11 Jun 2014 08:27:09 -0700 (PDT) Jesus Reyes wrote: > Right click on gutter, over a break point causes AV. Reproduced in windows > and linux. > > TApplication.HandleException Access violation >   Stack trace: >   $0857DC5E  TMESSAGESFRAME__SOURCEEDITORPOPUP,  line 3503 of > etmessagefr

Re: [Lazarus] nonlcl widgetsets

2014-06-11 Thread Mattias Gaertner
On Wed, 11 Jun 2014 14:37:28 +0200 Giuliano Colla wrote: > Hi Lazarus wizards, > > I'm interested in the nonlcl topic, and I tested the source found in the > examples (designnonlcl). > But, getting it from trunk I stumbled into an error: > > in the module mywidgetdesigner.pas, > > /procedure

Re: [Lazarus] How to get rid of duplicate ppu?

2014-06-11 Thread Mattias Gaertner
On Wed, 11 Jun 2014 13:10:25 +0200 Giuliano Colla wrote: > Value="$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS);$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType);$(LazarusDir)/components/codetools/units/$(TargetCPU)-$(TargetOS);$(LazarusDir)/components/custom;$(LazarusDir)/com

Re: [Lazarus] How to get rid of duplicate ppu?

2014-06-11 Thread Mattias Gaertner
On Wed, 11 Jun 2014 12:09:10 +0200 Giuliano Colla wrote: > Hi lazarus developers. > > Since some time I get a number of annoying warning, whenever I > re-compile Lazarus to include a package containing some customized > components. Sort of: > > The unit lazutf8sysutils exists twice in the uni

Re: [Lazarus] Lazarus adds two empty lines after new setters

2014-06-10 Thread Mattias Gaertner
On Tue, 10 Jun 2014 16:50:10 +0200 Vojtěch Čihák wrote: > Hello, >   > I found revision that broke it: >   > Revision 42177 - Directory Listing > Modified Mon Jul 22 22:08:53 2013 UTC (10 months, 2 weeks ago) by mattias > codetools: started ability to load code completion snippets from an xml

[Lazarus] Need testers: Package Editor multi selection

2014-06-10 Thread Mattias Gaertner
Hi all, The package editor now supports multi selection. Please test. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-10 Thread Mattias Gaertner
On Tue, 10 Jun 2014 01:42:54 +0200 Mattias Gaertner wrote: > On Tue, 10 Jun 2014 01:08:49 +0300 > ListMember wrote: > > >[...] > > > Changing the $ELSE part is dangerous, because the context is wrong. > > > The parser does not parse structures within $ELSE p

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-09 Thread Mattias Gaertner
On Tue, 10 Jun 2014 01:08:49 +0300 ListMember wrote: >[...] > > Changing the $ELSE part is dangerous, because the context is wrong. > > The parser does not parse structures within $ELSE parts (e.g. with). > > It should warn the user to check carefully those parts. > > Warnings would, of course,

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-09 Thread Mattias Gaertner
On Mon, 09 Jun 2014 21:49:32 +0300 ListMember wrote: >[...] > 1) Could there be an option so that cody leaves (within the source > itself) a commented-out copy of the block it has altered. Feel free to send a patch for that. > This is needed for 2 reasons. > > a) I have noticed that cody sa

Re: [Lazarus] New Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 8 Jun 2014 22:52:49 +0200 t.wieckow...@gmail.com wrote: >[...] > Everything works beautifully, except filtering. > Something recently broke change of the type of filtering (Filter non urgent > Messages), does not display a currently selected type of filtering (tested > on Windows). Fixed.

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-08 Thread Mattias Gaertner
On Mon, 09 Jun 2014 00:29:28 +0300 ListMember wrote: >[...] > Does that also apply to other forms of 'hanging with blocks' Yes. > such as: > > if something then >with somethingelse begin > {code} >end; No. You need a 'do'. > I can say that with some confidence because I have ju

Re: [Lazarus] Bug in cody. Exploding a hanging with block.

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 21:50:17 +0300 ListMember wrote: > I had some time to spare and I thought I might take a shot at, my long > time desire of, getting rid of 'with's in VirtualTrees.pas > > One thing I noticed is this: If the with block is more involved than a > simple element, such as this:

Re: [Lazarus] New Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 17:12:41 +0300 FreeMan wrote: > Package PrettyMessages need fixing > /opt/lazarus/components/prettymessages/hidefpchints.pas > hidefpchints.pas(52,30) Error: Identifier not found "TIDEMsgQuickFixItem" The package was obsolete. I removed it. Mattias -- __

[Lazarus] New Messages window

2014-06-08 Thread Mattias Gaertner
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. If you have trouble please create a bug report. You can get the old code by compiling clean w

Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 12:06:47 +0300 FreeMan wrote: >[...] > 07-06-2014 23:29 tarihinde, Mattias Gaertner yazdı: > > How did you start lazbuild? From some script? > > > > Mattias > hehe "I maked up my mind." This been very good, thank you. I follow >

Re: [Lazarus] Need testers, new Messages window

2014-06-08 Thread Mattias Gaertner
On Sun, 08 Jun 2014 11:41:38 +0300 FreeMan wrote: > > 07-06-2014 23:29 tarihinde, Mattias Gaertner yazdı: > > How did you start lazbuild? From some script? > > usually in sctipt, if I see abnormal result, I try one more manually, > some times for fallow, ">log.t

Re: [Lazarus] Need testers, new Messages window

2014-06-07 Thread Mattias Gaertner
On Fri, 06 Jun 2014 17:59:30 +0300 FreeMan wrote: > I get this error after update svn > > ./lazbuild --ws=qt --pcp=~/.lazarus --build-all --recursive --quiet > --skip-dependencies --build-ide= > > Note: renamed file "/opt/lazarus/lazarus" to "/opt/lazarus/lazarus.old" > Build IDE: stopped wi

Re: [Lazarus] Need testers, new Messages window

2014-06-07 Thread Mattias Gaertner
On Fri, 6 Jun 2014 17:36:13 +0200 t.wieckow...@gmail.com wrote: > Switch Filter Settings->"Create Filter" message box don't break when Cancel > button pressed (InputBox/InputQuery). Fixed. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 13:28:44 +0200 Vojtěch Čihák wrote: > I found an issue: Sub-menu of popmenu item Filter non urgent messages ... > It is - in fact - a radio group but it draws a check boxes on the left. But > Lazarus (or at least Qt) is capable to draw radio-circles. > It requires for those i

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 15:23:07 +0300 patspiper wrote: > On 06/06/14 14:16, Mattias Gaertner wrote: > > On Fri, 06 Jun 2014 14:10:39 +0300 > > patspiper wrote: > > > >> On 06/06/14 13:58, Mattias Gaertner wrote: > >>> On Fri, 06 Jun

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 14:10:39 +0300 patspiper wrote: > On 06/06/14 13:58, Mattias Gaertner wrote: > > On Fri, 06 Jun 2014 13:46:02 +0300 > > patspiper wrote: > > > >> [...] > >> However, weblaz failed to compile as -dEnableNewExtTools did not > >

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 13:46:02 +0300 patspiper wrote: >[...] > However, weblaz failed to compile as -dEnableNewExtTools did not > propagate to the package. Is there a way to force it (override ;) ) > short of including it in the package's options? Yes, see here: http://wiki.lazarus.freepascal.or

Re: [Lazarus] gdk_gl_context_share_new no visual found

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 10:30:33 +0200 Andrea Mauri wrote: > Thanks Mattias, I will ask for the output of glxinfo and if they are > running the application remotely or locally. > Anyway they also wrote me that the application worked till last week and > now they got this error message. What can aff

Re: [Lazarus] gdk_gl_context_share_new no visual found

2014-06-06 Thread Mattias Gaertner
On Fri, 06 Jun 2014 09:55:14 +0200 Andrea Mauri wrote: > Dear all, > > I developed an application using LazOpenGLContext, one of the > application user reported me that he got an error: > gdk_gl_context_share_new no visual found. > Could you help me trying to identify the problem? It means the

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 6 Jun 2014 09:09:41 +0200 t.wieckow...@gmail.com wrote: >[...] > Nice, now when I compile a large project and switch to another window (eg > firefox) I can keep an eye on the process of compiling. ok, so fsStayOnTop works. > And is still a problem with the highlight message (also in the

Re: [Lazarus] Need testers, new Messages window

2014-06-06 Thread Mattias Gaertner
On Fri, 6 Jun 2014 00:02:48 +0100 "Dirk" wrote: > Another error when compiling with FPC trunk: > > jcfidemain.pas(275,17) Error: identifier idents no member "AddMsg" > jcfidemain.pas(278,17) Error: identifier idents no member "AddMsg" > jcfidemain.pas(306) Fatal: There were 2 errors compiling m

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 22:27:49 +0200 t.wieckow...@gmail.com wrote: > Nice work, > > what I found for now is: > 1. problem with tooltip, only shows after the first mouseover until I use > mouse scroll or leave message window. Fixed. > 2. it would be nice if you can refill window after resize messag

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 22:27:49 +0200 t.wieckow...@gmail.com wrote: >[...] > 2. it would be nice if you can refill window after resize messages window. What do you mean with refill? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 05 Jun 2014 21:10:04 +0100 C Western wrote: >[...] > emscriptmacro.pas(324,27) Error: identifier idents no member "AddMsg" I added IDEBuildOptions to editormacroscript.lpk. Should work now. Mattias -- ___ Lazarus mailing list Lazarus@lists.la

Re: [Lazarus] Adding functionality to a control

2014-06-05 Thread Mattias Gaertner
On Thu, 05 Jun 2014 12:45:54 -0400 Timothy Groves wrote: > Hi! I want to add some features to TMemo. Unfortunately, I am still > weak on Lazarus. Is there a decent tutorial on extending the > functionality of a control? In particular, I want to add some (limited) > formatting colour and li

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 05 Jun 2014 19:07:54 +0200 Vojtěch Čihák wrote: > It is a new visual control ? Yes. It is not in a package, so you can not use it outside the IDE. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.

Re: [Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
On Thu, 5 Jun 2014 18:56:46 +0200 t.wieckow...@gmail.com wrote: > I get: > E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(430,21) Error: > identifier idents no member "AddMsg" > E:\fpc-laz-trunk\lazarus\components\sqldb\registersqldb.pas(481,21) Error: > identifier idents no member "B

[Lazarus] Need testers, new Messages window

2014-06-05 Thread Mattias Gaertner
Hi, Some central parts of the IDE have been rewritten: the whole messages window and all code that runs external tools (e.g. the compiler), including the fpc and 'make' output parser and all quick fixes. You can enable it by compiling clean with -dEnableNewExtTools. Highlights: - external tool i

Re: [Lazarus] Problem rounding values at post

2014-06-04 Thread Mattias Gaertner
On Wed, 04 Jun 2014 15:47:24 +0800 "Allan E. Registos" wrote: > On Wednesday, 04 June, 2014 06:03 AM, Philippe wrote: > > > > generally, if one needs accurate values he does not use real values > > ... use integer (or word, longint, longword etc) ... then when needed > > make the conversion or fo

Re: [Lazarus] Option hints popup truncated

2014-06-03 Thread Mattias Gaertner
On Wed, 04 Jun 2014 08:11:38 +0200 zeljko wrote: > On 06/03/2014 01:36 PM, John Landmesser wrote: > > .. same issue ( sometimes ) with toolbar button hints. > > > > GTK2 and Linux > > Yes, another clipping problem under gtk2. The same? Mattias -- __

Re: [Lazarus] Option hints popup truncated

2014-06-02 Thread Mattias Gaertner
On Mon, 2 Jun 2014 21:44:53 +0200 Bart wrote: > On 6/2/14, Michael Van Canneyt wrote: > > > The popup with the hints for the arguments to a function is sometimes > > truncated: > > it is too short to display the contents, and the contents is cut off halfway > > the popup. > > I see this freque

Re: [Lazarus] [IDE] Translations of licence texts which are inserted into source code

2014-06-02 Thread Mattias Gaertner
On Mon, 2 Jun 2014 20:54:33 +0200 Václav Valíček wrote: > Thanks for apply. > > Invented new problem with this - PO Checker - if I change number of %s, > it causes error... I have idea to replace %s with another symbol or > sequence of symbols. First suggestion is to use which is well known

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