Re: [Lazarus] Configuration location on Windows
On 2-4-2013 8:30, Lubos Pintes wrote: > I am running the latest Lazarus from source on Windows. > I need to know where IDE configuration is stored. That's in C:\Users\\AppData\Local\lazarus\ on Windows Vista+ and C:\Documents and Settings\\Local Settings\Application Data\lazarus on Windows 2K, XP (this path can differ depending on Windows language edition) Good luck, Reinier -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] hint on unused private method
Hi, Are there any compiler switch so that lazarus can emit hint on unused private method? Thanks. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Event generator
Hi Folks. I've installed Lazarus 1.0.8 and FPC 2..6.2 on two newly created Linux x86_64 VMs One is a OpenSuse 11.4 and the other one is a 12.2 Install on both machines was as I like to say when all runs well, the fingers in the sose and the hands in the pocket 8-) Recompile IDE with all my needed packages: beautiull. Run tests: great ! I really appreciate BUT: on the form of an application (btw, multi-threaded + Indy 10) drop a common TButton on the main (and only) form: OK. When trying to assign an event to it: BOUM >:o the LCLClasses unit is displayed and the next error is displayed in the errors window: No way to assign an event to a new TButton. Same behaviour in both machines. What happens ? Antonio. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On 02/04/13 2:47, Antonio Fortuny wrote: BUT: on the form of an application (btw, multi-threaded + Indy 10) drop a common TButton on the main (and only) form: OK. When trying to assign an event to it: BOUM >:o the LCLClasses unit is displayed and the next error is displayed in the errors window: No way to assign an event to a new TButton. Same behaviour in both machines. What happens ? If you view your project in the Project Inspector, is the LCL shown as a required dependency? If not, it should be added. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Tue, 02 Apr 2013 15:47:08 +0200 Antonio Fortuny wrote: > Hi Folks. > > I've installed Lazarus 1.0.8 and FPC 2..6.2 on two newly created Linux > x86_64 VMs > One is a OpenSuse 11.4 and the other one is a 12.2 > Install on both machines was as I like to say when all runs well, the > fingers in the sose and the hands in the pocket 8-) > Recompile IDE with all my needed packages: beautiull. Run tests: great > ! I really appreciate > BUT: > on the form of an application (btw, multi-threaded + Indy 10) drop a > common TButton on the main (and only) form: OK. > When trying to assign an event to it: BOUM >:o > > > the LCLClasses unit is displayed and the next error is displayed in the > errors window: > > > No way to assign an event to a new TButton. > Same behaviour in both machines. What happens ? Something is wrong with your installation of fpc and/or fpc-src. Please check via menu 'View / IDE internals / About FPC' and 'About IDE'. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 02/04/2013 16:05, Howard Page-Clark a écrit : If you view your project in the Project Inspector, is the LCL shown as a required dependency? Yep, both are there: LCL and IndyLaz BTW, I've installed Lazarus 1.1 an,d FPC 2.6.0 on the 12.2: besides some IDE problems, project compiles and runs. Adding new TButton and assigning evaents is a piece ok cake. The version before was 1.0.5 which did work too. If not, it should be added. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 02/04/2013 16:07, Mattias Gaertner a écrit : Something is wrong with your installation of fpc and/or fpc-src. Please check via menu 'View / IDE internals / About FPC' and 'About IDE'. Mattias -- Looks fine, no error lines. Something special to look for ? ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Tue, 02 Apr 2013 16:16:23 +0200 Antonio Fortuny wrote: > Le 02/04/2013 16:07, Mattias Gaertner a écrit : > > Something is wrong with your installation of fpc and/or fpc-src. > > Please check via menu 'View / IDE internals / About FPC' and 'About > > IDE'. Mattias -- > Looks fine, no error lines. Something special to look for ? In the 'About FPC' should be lines like: classes=/usr/lib/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu Sources: Directory=/usr/share/fpcsrc/2.6.2 Files.Count=11316 Check on your disk that "Directory" contains many "classes.pp". Have you tried "Tools / Rescan FPC source directory"? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Tue, 02 Apr 2013 16:16:23 +0200 Antonio Fortuny wrote: Le 02/04/2013 16:07, Mattias Gaertner a écrit : Something is wrong with your installation of fpc and/or fpc-src. Please check via menu 'View / IDE internals / About FPC' and 'About IDE'. Mattias -- Looks fine, no error lines. Something special to look for ? In the 'About FPC' should be lines like: classes=/usr/lib/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu /usr/lib64/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu Sources: Directory =/usr/share/fpcsrc/2.6.2 Files.Count=11316 Check on your disk that "Directory" contains many "classes.pp". /usr/share/fpcsrc/2.6.2/tests/test/units/classes /usr/share/fpcsrc/2.6.2/rtl/watcom/classes.pp /usr/share/fpcsrc/2.6.2/rtl/objpas/classes /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classesh.inc /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classes.inc /usr/share/fpcsrc/2.6.2/rtl/unix/classes.pp but none for linux ?? /usr/share/fpcsrc/2.6.2/rtl/win64/classes.pp /usr/share/fpcsrc/2.6.2/rtl/openbsd/classes.pp /usr/share/fpcsrc/2.6.2/rtl/beos/classes.pp /usr/share/fpcsrc/2.6.2/rtl/netwlibc/classes.pp /usr/share/fpcsrc/2.6.2/rtl/morphos/classes.pp /usr/share/fpcsrc/2.6.2/rtl/gba/classes.pp /usr/share/fpcsrc/2.6.2/rtl/wince/classes.pp /usr/share/fpcsrc/2.6.2/rtl/wii/classes.pp /usr/share/fpcsrc/2.6.2/rtl/netware/classes.pp /usr/share/fpcsrc/2.6.2/rtl/nativent/classes.pp /usr/share/fpcsrc/2.6.2/rtl/nds/classes.pp /usr/share/fpcsrc/2.6.2/rtl/go32v2/classes.pp /usr/share/fpcsrc/2.6.2/rtl/amiga/classes.pp /usr/share/fpcsrc/2.6.2/rtl/win32/classes.pp /usr/share/fpcsrc/2.6.2/rtl/haiku/classes.pp /usr/share/fpcsrc/2.6.2/rtl/os2/classes.pp Have you tried "Tools / Rescan FPC source directory"? Yes, still same behaviour Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On Tue, 02 Apr 2013 16:51:41 +0200 Antonio Fortuny wrote: > On Tue, 02 Apr 2013 16:16:23 +0200 Antonio Fortuny > wrote: > >> Le 02/04/2013 16:07, Mattias Gaertner a écrit : > >>> Something is wrong with your installation of fpc and/or fpc-src. > >>> Please check via menu 'View / IDE internals / About FPC' and 'About > >>> IDE'. Mattias -- > >> Looks fine, no error lines. Something special to look for ? > > In the 'About FPC' should be lines like: > > > > classes=/usr/lib/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu > /usr/lib64/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu This is the line: classes=/usr/lib64/fpc/2.6.2/units/x86_64-linux/rtl/classes.ppu ? > > Sources: > > Directory =/usr/share/fpcsrc/2.6.2 > > Files.Count=11316 What file count do you see? > > Check on your disk that "Directory" contains many "classes.pp". > /usr/share/fpcsrc/2.6.2/tests/test/units/classes > /usr/share/fpcsrc/2.6.2/rtl/watcom/classes.pp > /usr/share/fpcsrc/2.6.2/rtl/objpas/classes > /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classesh.inc > /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classes.inc > /usr/share/fpcsrc/2.6.2/rtl/unix/classes.pp > but none for linux ?? Linux uses the one for unix. What values do you have under "Active Target" and "FPC executable"? > > Have you tried "Tools / Rescan FPC source directory"? > Yes, still same behaviour Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Cassandra
Anyone know if you can work in Lazarus with Cassandra Database??? The information contained in this e-mail is privileged and confidential information intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, copy or taking action in reliance upon this email is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and then delete this e-mail in its entirety. Este correo electronico es confidencial y/o puede contener informacion privilegiada. Si usted no es su destinatario o no es alguna persona autorizada por este para recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o tomar ninguna accion basada en este correo electronico o cualquier otra informacion incluida en el, favor de notificar al remitente de inmediato mediante el reenvio de este correo electronico y borrar a continuacion totalmente este correo electronico y sus anexos -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Packages
Not me, I know NOTHING about Laz internals, I just use Laz to develop apps. Someone who does know could probably do this in minutes. And how would one go about learning the internals? It's important to make Laz easier for beginners, and it's not always obvious which palette a component is on as it is in Delphi. A. G. From: Mattias Gaertner To: lazarus@lists.lazarus.freepascal.org Sent: Monday, April 1, 2013 3:19 AM Subject: Re: [Lazarus] Packages On Sat, 30 Mar 2013 14:48:00 -0700 (PDT) Alejandro Gonzalo wrote: > When you click on a package in the Installed list (in Install/Uninstall > Packages) it should show which palette it's in. It does in Delphi. If you want to implement it and you need help, do not hesitate to ask. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Cassandra
Edgar García wrote: Anyone know if you can work in Lazarus with Cassandra Database??? I've not seen it discussed here. Possibly via Thrift, which is supposed to support Delphi. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues] -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Configuration location on Windows
On 4/2/13, Lubos Pintes wrote: > ... Because Lazarus under > Windows has serious accessibility problems, I need to manually alter > some settings like unit search paths etc. The dialogs are unusable due > to unnamed items (TLabel is inaccessible). Did you report this in the bugtracker? Any suggestion how it can be fixed? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Packages
On Tue, Apr 2, 2013 at 9:59 PM, Alejandro Gonzalo wrote: > And how would one go about learning the internals? > > It's important to make Laz easier for beginners, and it's not always obvious > which palette a component is on as it is in Delphi. See units InstallPkgSetDlg and ComponentPalette. The code browsing features help learning it. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Packages
On Tue, 2 Apr 2013 11:59:39 -0700 (PDT) Alejandro Gonzalo wrote: > Not me, I know NOTHING about Laz internals, I just use Laz to develop apps. > Someone who does know could probably do this in minutes. And how would one > go about learning the internals? > > It's important to make Laz easier for beginners, and it's not always obvious > which palette a component is on as it is in Delphi. Some notes: Where a component is: Right click on components / View all What components are installed by a package: Open the package editor, select a file. Many (most) packages do not install components. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] data matrix with thousands of columns
On 2013-03-26 16:38, Andrea Mauri wrote: I am looking for the best option in order to store big datasets with thousands of columns. The dataset can contains from tens to hundred thousands lines and thousand of columns (some columns are string some numbers). Have you looked at '/Synopse Big Table/'? http://blog.synopse.info/post/2011/01/22/Synopse-Big-Table-1.12a It is Delphi code --I have no idea whether it compiles with FPC or how much effort is required to do so. But, from the sound of what it does, it seems it might be something you might be interested in --plus it is in Pascal. You might also want to read this: http://stackoverflow.com/questions/1799634/how-should-i-implement-a-huge-but-simple-indexed-stringlist-in-delphi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Option to get old package graph feature
The new package graph feature is making harder to find what i'm looking for. The attached screenshot show how is my package graph. (Other messages with more screenshots will follow to get through the 100k limit of mail list) I'd like to see an option to get the old treeview based graph. It works better, at least to me Luiz <>-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] New package graph - more screenshots
See previous email about package graph http://imagebin.org/252597 http://imagebin.org/252598 Luiz -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Configuration location on Windows
This is more complicated. A report would be "please implement accessibility on Windows". I am interested about it and am playing with possibilities. I will be "spamming" here about it soon. I already reviewed commits and a part of code that tries to implement accessibility in general (TLazAccessibleObject etc.) Dňa 2. 4. 2013 23:03 Bart wrote / napísal(a): On 4/2/13, Lubos Pintes wrote: ... Because Lazarus under Windows has serious accessibility problems, I need to manually alter some settings like unit search paths etc. The dialogs are unusable due to unnamed items (TLabel is inaccessible). Did you report this in the bugtracker? Any suggestion how it can be fixed? Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] DBF components are maintained now
Hi lists, Just wanted to let you know about http://wiki.lazarus.freepascal.org/User_Changes_Trunk#TDBF_unit_deprecation_removed Currently I'm adding test cases to dbtestframework and verifying if other existing tests apply to the dbf units, so the dbase units can be regression tested. New unit tests are welcome: $(fpcdir)\packages\fcl-db\tests\testspecifictdbf.pas I'm also investigating open dbf bugs, as well as the fact that FoxPro (table level 25) output doesn't seem to give valid FoxPro files. I'll also be working with the new Sourceforge TDBF maintainer to synchronize the FPC and Sourceforge versions. Thanks, Reinier -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 02/04/2013 18:35, Mattias Gaertner a écrit : What file count do you see? Files.count=11313 Check on your disk that "Directory" contains many "classes.pp". /usr/share/fpcsrc/2.6.2/tests/test/units/classes /usr/share/fpcsrc/2.6.2/rtl/watcom/classes.pp /usr/share/fpcsrc/2.6.2/rtl/objpas/classes /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classesh.inc /usr/share/fpcsrc/2.6.2/rtl/objpas/classes/classes.inc /usr/share/fpcsrc/2.6.2/rtl/unix/classes.pp but none for linux ?? Linux uses the one for unix. OK What values do you have under "Active Target" and "FPC executable"? Active target: TargetOS=Linux TargetCPU=x86_64 Have you tried "Tools / Rescan FPC source directory"? Yes, still same behaviour Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
On 3-4-2013 8:38, Antonio Fortuny wrote: > Le 02/04/2013 18:35, Mattias Gaertner a écrit : >> What values do you have under "Active Target" and "FPC executable"? > Active target: > TargetOS=Linux > TargetCPU=x86_64 FPC executable? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Event generator
Le 03/04/2013 08:51, Reinier Olislagers a écrit : On 3-4-2013 8:38, Antonio Fortuny wrote: Le 02/04/2013 18:35, Mattias Gaertner a écrit : What values do you have under "Active Target" and "FPC executable"? Active target: TargetOS=Linux TargetCPU=x86_64 FPC executable? FPC executable: Compiler=/usr/bin./fpc Options= CompilerDate=18/03/2013 00:51:19 RealCompiler=/usr/lib64/fpc/2.6.2/ppcx64 RealCompilerDate=18/03/2013 00:51:19 RealTargetOS=linux RealTargetCPU=x86_64 RealCompilerPath=/usr/lib64/fpc/2.6.2/ppcx64 Version=2.6.2 CfgFilename=/etc/fpc.cfg -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus