Re: [Lazarus] Fatal: Compilation aborted

2014-03-02 Thread Mattias Gaertner
On Sun, 02 Mar 2014 11:34:37 +0200 FreeMan wrote: > make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1 > OVERRIDEVERSIONCHECK=1 And how did you create /etc/fpc.cfg? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org ht

Re: [Lazarus] Fatal: Compilation aborted

2014-03-01 Thread Mattias Gaertner
On Sat, 01 Mar 2014 23:19:12 +0200 FreeMan wrote: > Hello, > > Target OS: Linux for x86-64 > Compiling fcllaz.pas > Fatal: Can't find unit system used by fcllaz > Fatal: Compilation aborted > make[1]: *** [fcllaz.ppu] Hata 1 > make[1]: `/opt/lazarus/packager/registration' dizininden çıkılıyor >

Re: [Lazarus] Is this bug ? or how to do?

2014-03-01 Thread Mattias Gaertner
TFieldProperty.FillValues is virtual and has only two lines of code. The default implementation searches a property named 'DataSource'. You can override it to fetch DataSource from many different sources: For example from any property with type TDataSource, or depending on the selection or from th

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-28 Thread Mattias Gaertner
On Fri, 28 Feb 2014 01:47:38 +0100 Hans-Peter Diettrich wrote: >[...] > Component Drag&Drop operations There is no drag when adding a component to a form. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-27 Thread Mattias Gaertner
On Thu, 27 Feb 2014 10:26:04 -0300 Fabio Luis Girardi wrote: > 2014-02-27 10:07 GMT-03:00 Mattias Gaertner : > > > On Thu, 27 Feb 2014 09:32:31 -0300 > > Fabio Luis Girardi wrote: > > > > >[...] > > > No. Lazarus allow me to add a child to my control,

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-27 Thread Mattias Gaertner
On Thu, 27 Feb 2014 09:32:31 -0300 Fabio Luis Girardi wrote: >[...] > No. Lazarus allow me to add a child to my control, but I want redirect > these childs to use a Panel inside of my TCustomControl as their parent. I see. There is no function yet, to redirect designer drops. Components can only

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-27 Thread Mattias Gaertner
On Thu, 27 Feb 2014 09:07:49 -0300 Fabio Luis Girardi wrote: > So, to resolve some issues to make a "TDBCtrlGrid" for lazarus, designer > should use this function to determine the real parent of a child control? Let me rephrase: No Lazarus component has ever used this function. So far I underst

Re: [Lazarus] What GetChildParent does in designer and reader?

2014-02-27 Thread Mattias Gaertner
In designer: nothing. In reader: it overrides the parent-child nesting of the stream. I don't know an example. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is this bug ? or how to do?

2014-02-27 Thread Mattias Gaertner
On Thu, 27 Feb 2014 12:18:32 +0200 FreeMan wrote: > Hello, > I'm writeing my exlookup component, I add 2 datasource and 3 field. Like > a dblookupcombobox. > my component's properties: > FDataField : TFieldDataLink; > FListField : TFieldDataLink; > FKeyField : TFieldDataLink; >

Re: [Lazarus] Compiling on OpenBSD

2014-02-27 Thread Mattias Gaertner
On Wed, 26 Feb 2014 22:16:01 -0300 Leonardo Rame wrote: > Hi, I'm playing with OpenBsd 5.4 amd64 (with XFCE4) and found it has an fpc > 2.6.2 package, so I tried compiling Lazarus trunk. > > I had only a couple of issues while compiling. > > 1) Use gmake instead of make. This is the same as in

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 12:46:43 +0100 Sven Barth wrote: > Am 25.02.2014 12:14, schrieb Antonio Fortuny: > > > > Le 25/02/2014 12:04, Sven Barth a écrit : > >> Am 25.02.2014 11:22, schrieb Antonio Fortuny: > >>> Some help would be appreciated. > >> The function for initializing a TRTLCriticalSection

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 13:22:41 +0200 patspiper wrote: >[...] > LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes > precedence in compilation although codetools show it defined in > threadh.inc: EnterCriticalsection(TRTLCriticalSection). I added overload to LCL Enter/LeaveC

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 13:22:41 +0200 patspiper wrote: >[...] > LCLIntf's (winapi.h) EnterCriticalsection(TCriticalSection) always takes > precedence in compilation although codetools show it defined in > threadh.inc: EnterCriticalsection(TRTLCriticalSection). The compiler is very strict and requ

Re: [Lazarus] TRTLCriticalSection

2014-02-25 Thread Mattias Gaertner
On Tue, 25 Feb 2014 11:22:57 +0100 Antonio Fortuny wrote: >[...] > FIniCriticalSection: TRTLCriticalSection; > ... > InitializeCriticalSection(FIniCriticalSection); <- > compilation error A TRTLCriticalSection is initialized with InitCriticalSection from the syst

Re: [Lazarus] (no subject)

2014-02-24 Thread Mattias Gaertner
> Michael Van Canneyt hat am 23. Februar 2014 um 21:05 > geschrieben: > [...] > When you press shift-ctrl-c to add a new method or function, the ide also > corrects casing or other 'small' > discrepancies between interface and implementation. > > While in principle, I am very much a fan of this

Re: [Lazarus] Bug creating a new control?

2014-02-23 Thread Mattias Gaertner
> patspiper hat am 22. Februar 2014 um 09:51 geschrieben: > > > On 22/02/14 02:50, Fabio Luis Girardi wrote: > [...] > I started the TDBCtrlGrid implementation some days ago. At this point, I don't > know if I'm doing some mistake or if Lazarus has a bug. The problem is that I > can't put any

Re: [Lazarus] lazbuild access violation

2014-02-19 Thread Mattias Gaertner
On Wed, 19 Feb 2014 19:59:24 +0100 Sandro Cumerlato wrote: > Hello, > sorry for the "raw" bug report, but current lazbuild.exe compiled from > svn trunk doesn't work, calling: > > \freepascal\laz\1.3\lazbuild.exe --pcp=\freepascal\lazarus project1.lpi > > it generates the following error: > >

Re: [Lazarus] strange linux problem

2014-02-19 Thread Mattias Gaertner
On Wed, 19 Feb 2014 08:42:40 -0500 brian wrote: > On 02/19/2014 04:07 AM, Mattias Gaertner wrote: >[...] > On Wed, 19 Feb 2014 03:46:51 -0500 > > Special characters, wrong encoding, server lock, faulty network. > > > > Definitely not the first. I've written out

Re: [Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-19 Thread Mattias Gaertner
On Fri, 14 Feb 2014 23:21:51 -0800 (PST) leledumbo wrote: > > Anyway I now see, that there is an invalid identifier: > " NiceChartD7". > I added check. Please test. > > Tested and working. So, what the code would do now if such an invalid > identifier occurs? It does not save it. I have to fi

Re: [Lazarus] strange linux problem

2014-02-19 Thread Mattias Gaertner
On Wed, 19 Feb 2014 03:46:51 -0500 brian wrote: >[...] > on a network drive. This is using Debian 7.2, and a recent svn version > of Lazarus (I actually use fpcup to do the downloads and builds). The > information on the 'About' page is version 1.3, date 2014-02-12, fpc > version 2.6.3, svn re

Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-18 Thread Mattias Gaertner
On Tue, 18 Feb 2014 17:53:30 +0100 Lubos Pintes wrote: > Hello, > So now it looks like this: someone mentioned that I have a path of old > 2.6.0 compiler in mi "PATH" variable. That was true, I removed the > directory from the "PATH", and also removed whole Lazarus configuration > from mi user

Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-17 Thread Mattias Gaertner
On Mon, 17 Feb 2014 15:59:00 +0100 Lubos Pintes wrote: > Attached contents of both tabs. Thanks. > Dňa 17. 2. 2014 14:17 Mattias Gaertner wrote / napísal(a): > > On Mon, 17 Feb 2014 14:04:12 +0100 > > Lubos Pintes wrote: > > > >> Hi again, > >> Sor

Re: [Lazarus] Error dialog in freshly built Lazarus

2014-02-17 Thread Mattias Gaertner
On Mon, 17 Feb 2014 14:04:12 +0100 Lubos Pintes wrote: > Hi again, > Sorry for noise, but "interesting" things are happening to me now. > I successfully built the Lazarus, and when I run it, I receive this dialog: > Error > Compiler "C:\FPC\2.6.2\bin\i386-Win32\fpc.exe" does not support target >

Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-17 Thread Mattias Gaertner
On Sun, 16 Feb 2014 22:37:49 +0100 Bart wrote: > On 2/16/14, Bart wrote: > > > Just found out that I could not build any program (in Lazarus) with > > target win64. > > "registerfcl.pas(43,3) Fatal: Can not find unit ServiceManager used by > > RegisterFCL. Check if package FCL is in the depende

Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-17 Thread Mattias Gaertner
On Sun, 16 Feb 2014 22:37:49 +0100 Bart wrote: > On 2/16/14, Bart wrote: >[...] > -MObjFPC -Scghi -Cirot -O1 -Twin64 -Px86_64 -g -gl -gh -vewnhiut > -Filib\x86_64-win64 -FuMijnLib > -FuC:\devel\lazarus\components\printers\lib\x86_64-win64\win32 > -FuC:\devel\lazarus\components\synedit\units\x86

Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-16 Thread Mattias Gaertner
On Sun, 16 Feb 2014 09:30:18 -0300 luiz americo pereira camara wrote: > I'm having similar problem. > > When trying to rebuild from the IDE, the compilation stops with the > following message: > ..\debugger\debugger.pp(41,3) Fatal: Can't find unit DbgIntfBaseTypes used > by Debugger > > I added

Re: [Lazarus] Lazarus compilation problems with 2.6.4 RC1

2014-02-16 Thread Mattias Gaertner
On Sun, 16 Feb 2014 14:19:22 +0100 Sven Barth wrote: > On 16.02.2014 14:12, Maxim Ganetsky wrote: >[...] > It's missing in 2.6.4 RC1, because MySQL 5.6 support was added after RC1 > was tagged. 2.6.4 final will contain MySQL 5.6 support. Both RC1 and final have 2.6.4 and can not be distinguishe

Re: [Lazarus] Attn Martin, LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-14 Thread Mattias Gaertner
On Thu, 13 Feb 2014 19:05:57 -0800 (PST) leledumbo wrote: > > Ah, you debugged startlazarus. > > Please start /media/LinuxShared/lazarus/lazarus in gdb. > > No difference: > > leledumbo@LeleBuntu:/media/Sources/fpc$ gdb > /media/LinuxShared/lazarus/lazarus > GNU gdb (GDB) 7.5-ubuntu > Copyrigh

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-13 Thread Mattias Gaertner
On Thu, 13 Feb 2014 07:38:08 -0800 (PST) leledumbo wrote: > > Please load the IDE in the debugger and set a breakpoint at > FPC_RAISEEXCEPTION. > Then run, reproduce the error and create a backtrace. > > Done, but gdb doesn't seem to catch the exception. Here's the log: > > (gdb) b FPC_RAISE

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-02-13 Thread Mattias Gaertner
On Thu, 13 Feb 2014 20:17:31 +0100 Luca Olivetti wrote: >[...] > TBuildManager.DoCheckIfProjectNeedsCompilation icon has changed Project > "/home/luca/Datos/1354_vision_dot/programas_pc/test_plc/project1.ico" > > don't know why (I didn't change it but the date changes every time I try > to run t

Re: [Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-02-13 Thread Mattias Gaertner
On Thu, 13 Feb 2014 16:44:55 +0100 Luca Olivetti wrote: > El 13/01/14 18:34, Mattias Gaertner ha escrit: > > The Lazarus team would like to announce the second Release Candidate for > > the upcoming Version 1.2. > > ... > > I don't know if it's a known pr

Re: [Lazarus] LazarusDir and FPCSourceDirectory not saved to environmentoptions.xml

2014-02-12 Thread Mattias Gaertner
On Wed, 12 Feb 2014 08:09:48 -0800 (PST) leledumbo wrote: > After some experiments, it looks like there's a bug in handling MY > environmentoptions.xml. > > Running the IDE from terminal shows up: > > [TEnvironmentOptions.Save] error writing > "/home/leledumbo/.lazarus/environmentoptions.xml":

Re: [Lazarus] Using different FPC versions

2014-02-11 Thread Mattias Gaertner
On Tue, 11 Feb 2014 15:49:25 +0100 Mattias Gaertner wrote: >[...] Ah, now I see that Marc asked about with and without -V. At the moment Lazarus only passes -T and -P when querying fpc. So, no -V and no -Xp. I will add them. Mattias -- ___ Laza

Re: [Lazarus] Using different FPC versions

2014-02-11 Thread Mattias Gaertner
On Tue, 11 Feb 2014 15:31:25 +0100 (CET) Michael Van Canneyt wrote: > > > On Tue, 11 Feb 2014, Mattias Gaertner wrote: > > > On Tue, 11 Feb 2014 15:10:51 +0100 > > Marco van de Voort wrote: > > > >> [...] > >>> * In either case, the IDE quer

Re: [Lazarus] Using different FPC versions

2014-02-11 Thread Mattias Gaertner
On Tue, 11 Feb 2014 15:10:51 +0100 Marco van de Voort wrote: >[...] > > * In either case, the IDE queries the ppc386 version using -iV. > > That is wrong, it should query fpc for that. When is that wrong? Mattias -- ___ Lazarus mailing list Lazarus@

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 20:31:20 +0200 patspiper wrote: >[...] > >> You can't specify a ppcxxx executable directly if you cross compile. > > > > Of course I can. I just need to specify the right ppcXXX executable. > > I didn't mean it is not possible, but it is a hassle. You'll have to > select at

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 19:24:18 +0100 Sven Barth wrote: > On 10.02.2014 19:20, patspiper wrote: > > On 10/02/14 20:09, Mattias Gaertner wrote: > >> On Mon, 10 Feb 2014 19:45:44 +0200 > >> patspiper wrote: > >> > >>> [...] > >>> It

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 20:20:40 +0200 patspiper wrote: > On 10/02/14 20:09, Mattias Gaertner wrote: > > On Mon, 10 Feb 2014 19:45:44 +0200 > > patspiper wrote: > > > >> [...] > > And how can I select the right sub tools like fpcres? I still need to > > sp

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 18:10:21 + Mark Morgan Lloyd wrote: >[...] > The other issue is how to tell the IDE where the FPC sources are, and to > keep everything in step. I normally copy a cleaned version of the > sources into e.g. /usr/local/lib/fpc/2.6.2/fpcsrc. /usr/local/lib/fpc/$(FPCVer)/fp

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 19:50:14 +0200 patspiper wrote: >[...] > > fpc is in /usr/local/bin/fpc > > various compilers are in /usr/local/lib/fpc/$version/ppcXXX > > > > or (depending on how it was installed): > > /usr/bin/fpc > > and > > /usr/lib/fpc/$version/ppcXXX > > > > Same paths are used on Darw

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 19:45:44 +0200 patspiper wrote: >[...] > It allows the caller to specify the location (AFAIK it can be a relative > path) of ppcxxx (the actual compiler). That option removes the need to > rely on env variables to specify the fpc and ppcxxx paths. It would be > enough to pr

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 14:44:50 +0100 (CET) Michael Van Canneyt wrote: >[...] > I use a full path to ppcx64-x.y.z How did you create ppcx64-x.y.z? AFAIK none of the installers create this. > I do this, because lazarus does not - out of the box - support the passing of > the version to FPC as in

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 19:01:28 +0200 patspiper wrote: >[...] > > You can not (yet) override environment variables like PATH when invoking > > FPC. > > Once this is implemented, it can be done by "additions and overrides" too. > > Although it is a welcome feature, it will make the usage really >

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
> Michael Van Canneyt hat am 10. Februar 2014 um 16:57 > geschrieben: > > > > > On Mon, 10 Feb 2014, Mattias Gaertner wrote: > > > If someone uses such a package, he can choose 'no override'. That's what I > > meant > > with &

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
> Michael Van Canneyt hat am 10. Februar 2014 um 16:19 > geschrieben: > [...] > On Mon, 10 Feb 2014, patspiper wrote: > > > - Install different fpc versions in folders differing only by the fpc > > version > > To my knowledge, this is done by default, both on Unix and on Windows. Yes. > > -

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
> Michael Van Canneyt hat am 10. Februar 2014 um 14:38 > geschrieben: > > > > > On Mon, 10 Feb 2014, Mattias Gaertner wrote: > > > On Mon, 10 Feb 2014 11:57:08 +0100 (CET) > > Michael Van Canneyt wrote: > > > >> [...] > >> I ne

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
> Martin Frb hat am 10. Februar 2014 um 14:08 geschrieben: > [...] > > I don't understand the "IDE directories" in "Paths": > > >> > > The IDE has one set of search paths for every directory. That means a > > package can have different search paths than the active project. > > << > > Here "direc

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
> patspiper hat am 10. Februar 2014 um 14:15 geschrieben: > [...] > However, is it possible to have a category (like #project) for packages > bundled with Lazarus (LCL, lazreport, lazdaemon, etc...)? Why do you need that? Mattias -- ___ Lazarus mail

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 11:57:08 +0100 (CET) Michael Van Canneyt wrote: >[...] > I never (actively) use IDE macros. Probably they get used in the background. >[...] > Ah, in this completely un-understandable dialog. I am avoiding it like the > plague :( > > A GUI is meant to make things simpler, no

Re: [Lazarus] Using different FPC versions

2014-02-10 Thread Mattias Gaertner
On Mon, 10 Feb 2014 10:33:20 +0100 (CET) Michael Van Canneyt wrote: >[...] > However, this can be avoided to a large extent by simply also adding the > compiler version to the unit output path: > $(fpcversion)/$(cpu)-$(os)/$(widgetset) > or > $(cpu)-$(os)/$(widgetset)/$(fpcversion) > or even > $

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-07 Thread Mattias Gaertner
On Thu, 06 Feb 2014 09:04:10 +0100 Sven Barth wrote: >[...] > And is it by intension that one needs to select a node before the > correct context menu is shown? (win32) E.g. doing a right click on the > "type TObjectList = class(TList)" node without having selected any node > shows the menu co

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-07 Thread Mattias Gaertner
On Thu, 6 Feb 2014 09:47:44 -0200 Flávio Etrusco wrote: >[...] > As long as we are at it, may I ask to reset the progress bar after the > search is completed? :) Thanks. The progressbar is now hidden after update. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 5 Feb 2014 23:58:59 +0100 Reimar Grabowski wrote: > On Wed, 5 Feb 2014 21:55:07 +0200 > Juha Manninen wrote: > > > >> Can we hope to someday get the feature that Lazarus adds the unit where > > >> a type/function/whatever is defined automatically to the uses clause > > >> when it is u

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 5 Feb 2014 21:55:07 +0200 Juha Manninen wrote: > >> Can we hope to someday get the feature that Lazarus adds the unit where a > >> type/function/whatever is defined automatically to the uses clause when it > >> is used for the first time (just like Eclipse does for Java imports)? > > >

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 5 Feb 2014 19:50:53 +0100 Reimar Grabowski wrote: > On Wed, 5 Feb 2014 12:25:18 +0100 > Mattias Gaertner wrote: > > Can we hope to someday get the feature that Lazarus adds the unit where a > type/function/whatever is defined automatically to the uses clause when it is

Re: [Lazarus] Lazarus/FPC for Web Development only

2014-02-05 Thread Mattias Gaertner
On Wed, 5 Feb 2014 17:52:23 +0100 Frederic Da Vitoria wrote: > 2014-02-05 silvioprog : >[...] > Strange things keep happening in this list, mostly answers which arrive > minutes or even hours before the question :-) This happens for me less than every 100th mail. Check the mail headers. It cont

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 05 Feb 2014 12:32:55 +0100 Sven Barth wrote: > Am 05.02.2014 12:25, schrieb Mattias Gaertner: >[...] > > You now get the codebrowser. There you can search for packages, units > > and identifiers. > Great! Let's see how good that will work. :) Any chance thi

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 5 Feb 2014 12:25:18 +0100 Mattias Gaertner wrote: >[...] > Both show only top level identifiers, not sub identifiers or parameters. Correction: The Code Browser does show sub identifiers. :) Mattias -- ___ Lazarus mailing list L

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 05 Feb 2014 09:03:32 +0100 Sven Barth wrote: >[...] > On the German Delphi-Forum Delphi-PRAXiS there was the question in which > unit the type TObjectList resided in Lazarus. Besides the obvious answer > "contnrs" there was also the suggestion to use F1 on the TObjectList > identifier

Re: [Lazarus] Getting help for a type if its unit is not in uses

2014-02-05 Thread Mattias Gaertner
On Wed, 05 Feb 2014 09:03:32 +0100 Sven Barth wrote: >[...] > Now the problem is that this won't work in Lazarus which will return a > error message "Hilfeschlüsselwort "FPCKeyword_TObjectList" nciht[sic!] > gefunden." I fixed the typo. Mattias --

Re: [Lazarus] N00b question, and I apologize.. (Adding file to FPC Package to be recognized by Lazarus)

2014-01-29 Thread Mattias Gaertner
On Wed, 29 Jan 2014 13:17:13 -0600 Den wrote: > Hi there all, > > I really do apologize for this noobish question but, let's say I > add a file to one of the packages in FPC, alter the fpmake.pp etc, etc.. > All is fine, and the compiler is great with it, it runs, all is well.. > > Howev

Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-22 Thread Mattias Gaertner
> Frank Poretzky hat am 22. Januar 2014 um 13:12 > geschrieben: > > > On Sat, 11 Jan 2014 13:57:48 +0100, Bart wrote: > > >Personally I would go for a T(Float)SpinEdit rather than a MaskEdit. > > Yes, that's the easiest way to control range-bound number input. It > just lacks an option to ge

Re: [Lazarus] Compile works, building DEB package fails

2014-01-15 Thread Mattias Gaertner
> Petr Hlozek hat am 15. Januar 2014 um 10:30 geschrieben: > [...] > I'm developing my app in Lazarus for Linux. Now using version 0.9.30 > because it's part of Ubuntu 12.04 repositories. Hint: The Lazarus 1.0.14 deb package for Ubuntu can be found on sourceforge. It is easy to install. > I'v

[Lazarus] Lazarus Second Release Candidate, 1.2RC2

2014-01-13 Thread Mattias Gaertner
The Lazarus team would like to announce the second Release Candidate for the upcoming Version 1.2. We invite all users to test this Release Candidate. Please read here why everybody really should join the testing now. News in this Version http://wiki.lazarus.freepascal.org/Lazarus_1.2.0_release_

Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 14:53:33 +0200 "Dimitrios Chr. Ioannidis" wrote: > Hi, > > Στις 13/1/2014 2:26 μμ, ο/η Mattias Gaertner έγραψε: > > On Mon, 13 Jan 2014 14:18:35 +0200 > > "Dimitrios Chr. Ioannidis" wrote: > > > >> [...] > >&g

Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 14:18:35 +0200 "Dimitrios Chr. Ioannidis" wrote: >[...] > >> just for your information the lazarus 1.2 ".../branches/fixes_1_2" > >> doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile > >> with the 2.6.4 RC1. > > It compiles here one linux/64bit: > >

Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 13:46:48 +0200 "Dimitrios Chr. Ioannidis" wrote: > Hi all, > >just for your information the lazarus 1.2 ".../branches/fixes_1_2" > doesn't build with the fpc 2.6 ".../branches/fixes_2_6" but does compile > with the 2.6.4 RC1. It compiles here one linux/64bit: Lazarus f

Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-12 Thread Mattias Gaertner
On Sun, 12 Jan 2014 13:47:16 +0100 (CET) Michael Van Canneyt wrote: > > > On Sun, 12 Jan 2014, Graeme Geldenhuys wrote: > > > On 2014-01-11 22:42, Bart wrote: > >> The compatibility must be that we can compile Delphi code, the other > >> way around isn't required, > > > > > > Okay, that's a go

Re: [Lazarus] Fwd: newbie

2014-01-12 Thread Mattias Gaertner
On Sun, 12 Jan 2014 13:08:43 +0100 duilio foschi wrote: > Q: can you compile the IDE without the package GR32_dsgn? > A: I followed the following steps > http://it.tinypic.com/r/2ytxips/5 When you "install" a package the IDE adds it to its list and will include the package until you "uninstall"

Re: [Lazarus] bug in sqlstringspropertyeditordlg.pas to mattias

2014-01-12 Thread Mattias Gaertner
On Sun, 12 Jan 2014 13:57:23 +0200 FreeMan wrote: > Hello mattias > In Revision 43714 delete parameter of CheckSQLSyntax. > Please check this line too > Thank you > > /opt/lazarus/components/sqldb/sqlstringspropertyeditordlg.pas > line 362 > please change this line > CheckSQLSyntax(SQLEditor.Lin

Re: [Lazarus] Fwd: newbie

2014-01-11 Thread Mattias Gaertner
On Sat, 11 Jan 2014 23:12:19 +0100 duilio foschi wrote: > the compiler says "Can't find unit ComponentTreeView used by ObjectInspector". > > This message in plain English language seems clear to me, also because > I am accustomed to it (I have been working with Delphi since v. 1). Yes, I agree

Re: [Lazarus] Fwd: newbie

2014-01-10 Thread Mattias Gaertner
On Fri, 10 Jan 2014 22:49:53 +0100 duilio foschi wrote: >[...] > type to Lazarus package (*.lpk), locate and open GR32_DSGN_L.dpk >[...] > Only at the last step, when Lazarus compiles itself, I get the > following error message: > ..\ideintf\objectinspector.pp(47,3) Fatal: Can't find unit > Compo

Re: [Lazarus] "(Source)" in hint boxes

2014-01-05 Thread Mattias Gaertner
On Sun, 05 Jan 2014 10:44:04 + Mark Morgan Lloyd wrote: > When the mouse is hovered over an identifier, a hint box pops up showing > declaration and associated comment. > > Where is this implemented? What do you search: Popup box or content? Mattias -- ___

Re: [Lazarus] Can NOT open any lpk file in last svn update

2014-01-03 Thread Mattias Gaertner
On Fri, 03 Jan 2014 12:45:09 +0200 FreeMan wrote: > Hello, > fpc svn update 26364 > lazarus svn update 43638 > Kubuntu 13.10 x64 > I Updated and then when I try open any lpk file, this error is popup, > and no any open file > > > "Access violation. > > > Press OK to ignore and risk data cor

Re: [Lazarus] Downloading Lazarus 1.0.14

2014-01-01 Thread Mattias Gaertner
On Tue, 31 Dec 2013 08:19:33 +0100 Tom Backer Johnsen wrote: > Yesterday I found a help page from Apple, it said I should click on the .dmg > file while holding down the ctrl key. That solved the problem, I was then > able to open the file despite the message. So far so good. What I evidentl

Re: [Lazarus] Downloading Lazarus 1.0.14

2013-12-30 Thread Mattias Gaertner
On Sun, 29 Dec 2013 23:48:28 +0100 Tom Backer Johnsen wrote: > Gentlepersons > > I have Mac, recently upgraded to and now running OS X 10.9.1. I have > repeatedly tried to download the latest version of Lazarus, version 1.0.14. > I get the .dmg package, but when I try to open it I get the me

Re: [Lazarus] Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?

2013-12-27 Thread Mattias Gaertner
On Thu, 26 Dec 2013 23:54:05 + Graeme Geldenhuys wrote: > On 2013-12-26 17:29, Alexsander Rosa wrote: > > Target OS: Linux for i386 > > Compiling lazcontrols.pas > > Compiling treefilteredit.pas > > treefilteredit.pas(28,48) Error: Illegal expression > > treefilteredit.pas(28,48) Error: Error

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-20 Thread Mattias Gaertner
On Fri, 20 Dec 2013 17:55:48 -0200 Marcos Douglas wrote: > On Fri, Dec 20, 2013 at 3:19 AM, Jürgen Hestermann > wrote: > > Am 2013-12-19 23:04, schrieb Marcos Douglas: > > > >> Well, the same problem... > >> If there is no solution (for now), I prefer using SysToUTF8/ UTF8ToSys > >> because is m

Re: [Lazarus] package source paths / directories

2013-12-19 Thread Mattias Gaertner
> Frederic Da Vitoria hat am 19. Dezember 2013 um 12:09 > geschrieben: > > > Hello, > > I am trying to use the MultiLog package. I installed the MultiLog package in > Lazarus. I can easily create and use a demo project if the project is in > MultiLog's source directory. But if I try to use Mu

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Mattias Gaertner
On Tue, 17 Dec 2013 21:41:09 -0200 Marcos Douglas wrote: >[...] > So, nothing will change for Lazarus users after the new FPC release. I do hope that something will change after a new FPC release. :) Mattias -- ___ Lazarus mailing list Lazarus@lists.

Re: [Lazarus] Lazarus directives

2013-12-17 Thread Mattias Gaertner
On Mon, 16 Dec 2013 20:01:11 +0100 Reimar Grabowski wrote: > On Mon, 16 Dec 2013 19:05:49 +0100 > Mattias Gaertner wrote: >[...] > Disclaimer: I don't favor any one of the todos over the other. You asked how > to encourage usage and that's how I would do it. Thanks.

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-17 Thread Mattias Gaertner
On Mon, 16 Dec 2013 23:41:34 -0200 Marcos Douglas wrote: >[...] > I think use one encoding on all platforms is good, however Windows > uses UTF-16. All string from/to Windows needs to be converted, right? > Is this not a penalty for Windows platform? The Windows API is UTF-16, most text files an

Re: [Lazarus] Lazarus directives

2013-12-16 Thread Mattias Gaertner
On Mon, 16 Dec 2013 18:41:35 +0100 Reimar Grabowski wrote: > On Mon, 16 Dec 2013 18:25:22 +0100 > Mattias Gaertner wrote: > > > How do yo want to encourage that? > Deprecation in the next version of Lazarus. > Removal in the one after that. Deprecation and removal is 

Re: [Lazarus] Lazarus directives

2013-12-16 Thread Mattias Gaertner
On Mon, 16 Dec 2013 14:40:59 + Mark Morgan Lloyd wrote: >[...] > >> Would it be possible to add %todo as an alternative to todo:, to reduce > >> proliferation of multiple formats? > > > > Do you mean like this: > > http://xkcd.com/927/ > > Well yes :-) But if %directive is being adopted as

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Mattias Gaertner
On Mon, 16 Dec 2013 13:43:41 -0200 Marcos Douglas wrote: >[...] > > The problem is not specific to the LCL. The problem is using libraries > > with different encodings. > > Of course! > But I'm using Lazarus and... LCL... so, I'm searching a better way to > continue programming without concern a

Re: [Lazarus] Lazarus directives

2013-12-16 Thread Mattias Gaertner
On Mon, 16 Dec 2013 13:45:10 + Mark Morgan Lloyd wrote: > Noting that Lazarus now accepts %region and %endregion as well as %H-, > is there a full list of these directives anywhere? There is a wiki page: http://wiki.lazarus.freepascal.org/IDE_directives > Would it be possible to add %tod

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Mattias Gaertner
On Mon, 16 Dec 2013 09:22:54 -0200 Marcos Douglas wrote: > On Mon, Dec 16, 2013 at 7:41 AM, Mattias Gaertner >[...] > > Note: > > The Lazarus UTF8 functions are in the package LazUtils. > > You don't need to use the LCL (nor LCLBase) if you only need the > &

Re: [Lazarus] Lazarus (UTF8) and Windows: SysToUTF8, UTF8ToSys... Is there a better solution?

2013-12-16 Thread Mattias Gaertner
On Sun, 15 Dec 2013 17:47:09 -0200 Marcos Douglas wrote: > On Sun, Dec 15, 2013 at 3:13 PM, Reinier Olislagers > wrote: > > On 15/12/2013 16:25, Marcos Douglas wrote: > >> On Sun, Dec 15, 2013 at 1:08 PM, Bart wrote: > >>> So for basic stuff all this is already taken care of. > >> > >> Only in

Re: [Lazarus] 1.2RC1, Incompatible type and overload

2013-12-06 Thread Mattias Gaertner
On Fri, 06 Dec 2013 13:22:49 +0100 Torsten Bonde Christiansen wrote: > On 2013-12-06 11:38, Mattias Gaertner wrote: > > On Fri, 6 Dec 2013 11:26:12 +0100 > > Frederic Da Vitoria wrote: > > > >> [...] > >>uses Laz2_Dom, Laz_XmlRead, Laz_XmlWrite ; >

Re: [Lazarus] 1.2RC1, Incompatible type and overload

2013-12-06 Thread Mattias Gaertner
On Fri, 6 Dec 2013 11:26:12 +0100 Frederic Da Vitoria wrote: >[...] > uses Laz2_Dom, Laz_XmlRead, Laz_XmlWrite ; Do not mix version 1 and 2. uses Laz2_Dom, Laz2_XmlRead, Laz2_XmlWrite ; Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.fre

Re: [Lazarus] Changing tempdir via startup parameters

2013-12-02 Thread Mattias Gaertner
On Mon, 2 Dec 2013 14:29:37 -0200 William Oliveira Ferreira wrote: > Hi List, > > I can use --pcp=blablabla to make lazarus use a different config file, but, > i wanna change a special setting: 'Temp Dir'. Is it possible? The IDE uses the TEMP environment variable by default for the test direct

Re: [Lazarus] Fatal: Internal error 2012090607 want compiled bgrabitmap7.2

2013-11-27 Thread Mattias Gaertner
On Wed, 27 Nov 2013 20:33:38 +0200 Eric Kom wrote: > Hi > Please I got the above error when trying to compile bgrabitmap7.2 as above: > > /home/erickom/fpcBuild/lazarus/components/bgrabitmap7.2/bgrabitmaptypes.pas(2789,1) > > Fatal: Internal error 2012090607 This is almost always a bug in the

Re: [Lazarus] How is XMLConfig supposed to work?

2013-11-27 Thread Mattias Gaertner
On Wed, 27 Nov 2013 16:54:45 +0100 Frederic Da Vitoria wrote: > 2013/11/27 Frederic Da Vitoria > > > 2013/11/27 waldo kitty > > > >> On 11/27/2013 6:50 AM, Frederic Da Vitoria wrote: > >> > >>> Hello, > >>> > >>> I am trying to use XmlConfig to store simple configuration data, but I > >>> can'

Re: [Lazarus] TFindDialog

2013-11-26 Thread Mattias Gaertner
On Tue, 26 Nov 2013 09:18:03 +0200 Chavoux Luyt wrote: > Hi everybody > > I think I am missing something, but reading through the TFindDialog > help file I still cannot figure it out: How do I specify which text > (or component) must be searched? I'm not sure, if you understand what TFindDialog

Re: [Lazarus] IDE problems

2013-11-26 Thread Mattias Gaertner
On Mon, 25 Nov 2013 22:17:05 -0300 Junior wrote: > Fixing the link: > > http://www.meadows.pair.com/Screenshot%20-%2011252013%20-%2006:57:09%20PM.png > > Em 25-11-2013 21:49, brian escreveu: > > On 11/25/2013 06:45 PM, Mattias Gaertner wrote: > >> On Mon, 25 Nov

Re: [Lazarus] IDE problems

2013-11-25 Thread Mattias Gaertner
On Mon, 25 Nov 2013 18:26:48 -0500 brian wrote: > Hi folks, > > Something has spontaneously gone wrong with the IDE on my setup. I say > spontaneously because I was in the middle of debugging a program when > suddenly everything but the source window disappeared. I eventually > had to abort L

Re: [Lazarus] Is there a syntax for displaying comments attached to variables in tooltips?

2013-11-25 Thread Mattias Gaertner
On Mon, 25 Nov 2013 12:14:17 + "vfclists ." wrote: > Is there some way tooltips can be made to display comments linked with > variables and constants? The IDE shows comments in tooltips directly above and directly behind a variable/constant. var { comment about b } b: char; i: integer

Re: [Lazarus] Building on PPC Linux

2013-11-22 Thread Mattias Gaertner
On Fri, 22 Nov 2013 21:14:56 + Mark Morgan Lloyd wrote: > I'm having one of my periodic attempts to build trunk on various obscure > platforms, and have come across an oddity. On a PPC Mac, running Debian > "lenny", I get > > .. > /lib/libpthread.so.0 What are the linker messages before t

[Lazarus] Lazarus 1.0.14 Release

2013-11-19 Thread Mattias Gaertner
The Lazarus team is glad to announce the release of Lazarus 1.0.14. This is a bug fix release, built with fpc 2.6.2. The previous releases from 1.0.8 to 1.0.12 were built with fpc 2.6.2 too, while release 1.0.6 was built with fpc 2.6.0. Here is the list of changes for Lazarus and Free Pascal: h

Re: [Lazarus] CHM docs Lazarus 1.2 fixes + 2.6.4rc1

2013-11-17 Thread Mattias Gaertner
On Sun, 17 Nov 2013 17:54:38 +0100 Marco van de Voort wrote: > > I was making 2.6.4rc1 CHM docs, and decided to also build the lazarus fixes > (1.2) branch. I don't know if this is necessary, who builds the release > docs? You, apparently. :) > Anyway, results are at http://www.stack.nl/~ma

<    7   8   9   10   11   12   13   14   15   16   >