Re: [Lazarus] make installation package in linux.

2013-04-15 Thread Reinier Olislagers
On 14-4-2013 20:42, Dario Ruggi wrote: I want now to make an install package for linux of it and realize that i do not know how. When i searched the net i got not answer. i even dont know what is the best package format for it (i.e deb, rpm ... etc.) If any of you can show me how to do

Re: [Lazarus] make installation package in linux.

2013-04-15 Thread Dario Ruggi
Thank you very much Reinier. I appreciate your quick response. That works. And you have not to worry, your memory is excellent, and yes you got it right! by the way, Mint is based on Debian or Ubuntu and uses Xfce, Mate or Cinnamon. Thanks, Thanks, Thanks, Thanks :) -- View this message

[Lazarus] Sharing of large files

2013-04-15 Thread Graeme Geldenhuys
Hi, I have seen many people wanting to share large files, and use various services on the internet. Most of them have only than single function, expire the link after a while, and also bombard you with adverts - with is rather annoying. I highly recommend you try Ubuntu One

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Graeme Geldenhuys
On 14/04/13 06:58, Martin Schreiber wrote: Hehe. :-) http://article.gmane.org/gmane.comp.ide.mseide.user/18779 ;-) :-) [how do you guys find such old email of mine] Anyway, that was probably before I knew about using configurable Macros in paths - a MSEide help file would have gone a long

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Graeme Geldenhuys
On 14/04/13 07:42, Zaher Dirkey wrote: ​What is B,M,1,2,..6, is it Build Modes also?​ Yes. 6 build modes are available for use. Maximus allows more, but starts with 6, and also has keyboard shortcuts for each build mode. So building using a different build mode is simply a click away, or via a

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
I've been using Google Drive for this. Google Drive has some nice features. Do you think Ubuntu One is better? On Mon, Apr 15, 2013 at 1:26 PM, Graeme Geldenhuys gra...@geldenhuys.co.ukwrote: Hi, I have seen many people wanting to share large files, and use various services on the

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Graeme Geldenhuys
On 14/04/13 08:59, Mattias Gaertner wrote: I'm curious: why do you use dots instead of for example underscores? Thanks. You are one of the few people who give some arguments beside aesthetic reasons. Someone recently explained Delphi's namespace usage to me, and gave me a valid example of

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 11:53, Avishai wrote: I've been using Google Drive for this. Google Drive has some nice features. Do you think Ubuntu One is better? To be honest, I have never tried Google Drive so can't compare. Ubuntu One has been around for some years now, and I created an account when it was

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 11:42:45 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 14/04/13 07:42, Zaher Dirkey wrote: ​What is B,M,1,2,..6, is it Build Modes also?​ [...] All in one screen, and personally I think much simpler than what Lazarus IDE does. I would be happy to have all

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 12:07:19 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 14/04/13 08:59, Mattias Gaertner wrote: [...] tiThread.pas FMX.tiThread.pas Now the developer could simply use tiThread in the uses clause of FireMonkey code, because his FireMonkey apps define the

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 11:53, Avishai wrote: I've been using Google Drive for this. Google Drive has some nice features. Do you think Ubuntu One is better? I just noticed that there is also no official Google Drive software for Linux or FreeBSD.

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 12:22, Mattias Gaertner wrote: Maybe you have some ideas how to put that into a grid that is easy to understand? I'll take another look at the Build Mode settings is Lazarus and report ideas I come up with. The current Build Mode settings is Lazarus IDE is very confusing though -

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Paul Ishenin
15.04.13, 19:26, Mattias Gaertner пишет: How is the namespace passed to the compiler? This is not supported by FPC at the moment but will be implemented before hackaton or on hackaton (probably). There will be a compiler switch similar to dcc32 -NS switch where you wlil pass namespaces

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 12:40:23 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 15/04/13 12:22, Mattias Gaertner wrote: Maybe you have some ideas how to put that into a grid that is easy to understand? I'll take another look at the Build Mode settings is Lazarus and report

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Paul Ishenin
15.04.13, 19:43, Paul Ishenin пишет: If we compile this with dcc32 -NSSystem delphi will find System.SysUtils instead of SysUtils. Without this switch recent delphi will give an error because now delphi RTL has no SysUtils unit - it has System.SysUtils. Just looked at some recent project

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 19:48:09 +0800 Paul Ishenin webpi...@mail.ru wrote: 15.04.13, 19:43, Paul Ishenin пишет: If we compile this with dcc32 -NSSystem delphi will find System.SysUtils instead of SysUtils. Without this switch recent delphi will give an error because now delphi RTL has no

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Michael Van Canneyt
On Mon, 15 Apr 2013, Mattias Gaertner wrote: On Mon, 15 Apr 2013 19:48:09 +0800 Paul Ishenin webpi...@mail.ru wrote: 15.04.13, 19:43, Paul Ishenin пишет: If we compile this with dcc32 -NSSystem delphi will find System.SysUtils instead of SysUtils. Without this switch recent delphi will

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Paul Ishenin
15.04.13, 19:53, Michael Van Canneyt пишет: Are dotted name spaces allowed too? For example -NSXML;my.company ? I would hope so, this is the whole point of namespaces :-) Yes, you can pas dotted namespaces too. Best regards, Paul Ishenin --

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Andrew Brunner
On 04/15/2013 05:26 AM, Graeme Geldenhuys wrote: Hi, I have seen many people wanting to share large files, and use various services on the internet. Most of them have only than single function, expire the link after a while, and also bombard you with adverts - with is rather annoying. I

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
Graeme Geldenhuys makes a good point though. There are many ways to share large files without tormenting with advertisements. Aurawin is a new one for me. I'll have to check it out. Thanks. On Mon, Apr 15, 2013 at 4:04 PM, Andrew Brunner atbrun...@aurawin.com wrote: On 04/15/2013 05:26 AM,

[Lazarus] Bored?

2013-04-15 Thread Reinier Olislagers
Any Laz dev bored with discussions about how to share file uploads or what splash screen is best? If so, you can relieve your boredom by implementing the patch in 24251 [Patches] [patch] fix for fpcunit gui testrunner stopping with exception Thanks ;) Reinier --

Re: [Lazarus] Bored?

2013-04-15 Thread Vincent Snijders
2013/4/15 Reinier Olislagers reinierolislag...@gmail.com Any Laz dev bored with discussions about how to share file uploads or what splash screen is best? What discussion? I have yet little time, so I might have missed something... -- ___ Lazarus

Re: [Lazarus] Bored?

2013-04-15 Thread Reinier Olislagers
On 15-4-2013 15:43, Vincent Snijders wrote: 2013/4/15 Reinier Olislagers reinierolislag...@gmail.com mailto:reinierolislag...@gmail.com Any Laz dev bored with discussions about how to share file uploads or what splash screen is best? What discussion? I have yet little time, so I

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Marco van de Voort
On Mon, Apr 15, 2013 at 12:07:19PM +0100, Graeme Geldenhuys wrote: Someone recently explained Delphi's namespace usage to me, and gave me a valid example of this. tiOPF has unit names with the same name, but used by different GUI toolkits. eg: tiMediators.pas is used by VCL, LCL and fpGUI.

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 14:04, Andrew Brunner wrote: I would certainly recommend people check out Aurawin. Just some user feedback... 1) When I visit the url with Firefox, I get a nasty looking warning about website certificate issue - the website doesn't supply ownership information. I had to confirm

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 14:56, Marco van de Voort wrote: True, one ifdef less in source (since unitname automatically adjusts), but for that it is an very specialized feature, and there probably will be consequences for unit searching also. (similar to the filename case stuff on *nix) All fair points I

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 12:26, Mattias Gaertner wrote: How is the namespace passed to the compiler? No idea... but seeing Paul's reply, it seems via the -NS switch, which I gather Delphi IDE does automatically for you, based on project type. Regards, - Graeme - --

Re: [Lazarus] Bored?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 14:18, Reinier Olislagers wrote: If so, you can relieve your boredom by implementing the patch in 24251 [Patches] [patch] fix for fpcunit gui testrunner stopping with exception I hope you wrote a unit test to test that exception [for regression testing of course]. ;-) Regards,

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 12:47, Mattias Gaertner wrote: You can define any macro you like. The name must follow the normal pascal identifier rules. Yes I understand that, but you must first define the macro (somewhere else), before using them in the Build Modes screen. Lazarus IDE didn't prevent me from

Re: [Lazarus] Bored?

2013-04-15 Thread Reinier Olislagers
On 15-4-2013 16:29, Graeme Geldenhuys wrote: On 15/04/13 14:18, Reinier Olislagers wrote: If so, you can relieve your boredom by implementing the patch in 24251 [Patches] [patch] fix for fpcunit gui testrunner stopping with exception I hope you wrote a unit test to test that exception

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Mattias Gaertner
Graeme Geldenhuys gra...@geldenhuys.co.uk hat am 15. April 2013 um 16:33 geschrieben: On 15/04/13 12:47, Mattias Gaertner wrote: You can define any macro you like. The name must follow the normal pascal identifier rules. Yes I understand that, but you must first define the macro

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Kostas Michalopoulos
I use Dropbox for this and is good for my uses. Also most people seem to use Dropbox instead of other similar services (possibly because it was the first 'good' such service) and it is hard to convince them switch to other stuff :-P On Mon, Apr 15, 2013 at 4:21 PM, Graeme Geldenhuys

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 15:47, Kostas Michalopoulos wrote: I use Dropbox for this and is good for my uses. Sorry if there was a misunderstanding. I didn't mean to say Ubuntu One is the only file sharing service everybody should use. My major gripe was that many developers share code on sites that bombard

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Avishai
No problem. I understood what you were saying. I think everyone hates unwanted ads. But they do help pay the bills so I guess they're somewhat unavoidable. But when there is an ad-free option that works just as well or better, why not choose it? On Mon, Apr 15, 2013 at 5:59 PM, Graeme

Re: [Lazarus] Sharing of large files

2013-04-15 Thread Andrew Brunner
On 04/15/2013 09:47 AM, Kostas Michalopoulos wrote: I use Dropbox for this and is good for my uses. Also most people seem to use Dropbox instead of other similar services (possibly because it was the first 'good' such service) and it is hard to convince them switch to other stuff :-P I

Re: [Lazarus] Bored?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 15:35, Reinier Olislagers wrote: I hope somebody has a patch for the underlying with either fpcunit, guitestrunner or the xml code, or whatever it is that screws with the results ;) Have you tried FPTest (DUnit2 fork) yet? FPCUnit has a DUnit compatible interface - so switching

Re: [Lazarus] Bored?

2013-04-15 Thread Reinier Olislagers
On 15-4-2013 18:13, Graeme Geldenhuys wrote: On 15/04/13 15:35, Reinier Olislagers wrote: I hope somebody has a patch for the underlying with either fpcunit, guitestrunner or the xml code, or whatever it is that screws with the results ;) Have you tried FPTest (DUnit2 fork) yet? No. See

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Zaher Dirkey
Our problem here I like to define a Many named Build profiles(Modes), for example, i want to build my project with special defines to make project for Pascal or PHP or ALL and for WINCE Wegetset etc. many of them. But we need debugging it when compile it in IDE, not the project only also many

[Lazarus] Lazarus Shapes Objects

2013-04-15 Thread Frédéric CRAPEZ
Bonjour, où puis je trouver des examples pour shapes objects sous lazarus. Merci Amicalement Frédéric -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus Shapes Objects

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 19:48:27 +0200 Frédéric CRAPEZ frederic.cra...@wanadoo.fr wrote: Bonjour, où puis je trouver des examples pour shapes objects sous lazarus. Do you mean TShape or drawing shapes in general? Mattias -- ___ Lazarus mailing list

Re: [Lazarus] FPDoc Editor fails on namespace dotted unit names?

2013-04-15 Thread Sven Barth
On 14.04.2013 12:30, Paul Ishenin wrote: 14.04.13, 17:11, Sven Barth пишет: The tests are located in $fpcdir/tests/test and are named tdotunits*.pp. Though I just notice that besides testing for correct compilation the tests never seem to check whether the correct identifier is resolved

Re: [Lazarus] Bored?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 18:31, Reinier Olislagers wrote: No. See the bugreport in my first post. I did see it. I have no interest in trying to get fptest into fpc. Not what I suggested. I suggested using a better and more reliable unit testing framework - but keeping backwards compatibility with

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 18:41, Zaher Dirkey wrote: Our problem here I like to define a Many named Build profiles(Modes), for example, i want to build my project with special defines to make project for Pascal or PHP or ALL snip Yes, I fully understand what you want to do. And like you I simply

[Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Tommi Prami
Hello, I am Windows Guy and tried to install the latest Lazarus to my Ubuntu Virtual machine, but it just did not work... (Not even sure why, tried to install the all packages, but some of them complained that I have too old FPC etc, ecven it seemed that I just installed it successfully,

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 20:41:34 +0300 Zaher Dirkey parm...@gmail.com wrote: Our problem here I like to define a Many named Build profiles(Modes), for example, i want to build my project with special defines to make project for Pascal or PHP or ALL and for WINCE Wegetset etc. many of them. But

Re: [Lazarus] Sharing of large files

2013-04-15 Thread waldo kitty
On 4/15/2013 10:59, Graeme Geldenhuys wrote: On 15/04/13 15:47, Kostas Michalopoulos wrote: I use Dropbox for this and is good for my uses. Sorry if there was a misunderstanding. I didn't mean to say Ubuntu One is the only file sharing service everybody should use. My major gripe was that

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 21:13:43 +0300 Tommi Prami tommi.pr...@gmail.com wrote: Hello, I am Windows Guy and tried to install the latest Lazarus to my Ubuntu Virtual machine, but it just did not work... (Not even sure why, tried to install the all packages, but some of them complained that I

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Zaher Dirkey
On Mon, Apr 15, 2013 at 9:21 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: To get more variations in output directories you have to alter the packages (lpk). To add options to packages as well. Eventually such additions will be configurable in the IDE ​Directories to put

[Lazarus] TPicture SIGSEGV

2013-04-15 Thread Leonardo M . Ramé
Hi, I'm using Lazarus on x86_64 compiled from today and fpc 20240. I've placed a TImage with a picture assigned, on a TForm. I need to do Image1.Picture.Bitmap, to obtain the bitmap associated, but when picture.bitmap is called, the TPicture.ForceType method is called, and I get a SigSegv there:

Re: [Lazarus] TPicture SIGSEGV

2013-04-15 Thread Bart
On 4/15/13, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm using Lazarus on x86_64 compiled from today and fpc 20240. I've placed a TImage with a picture assigned, on a TForm. I need to do Image1.Picture.Bitmap, to obtain the bitmap associated, but when picture.bitmap is called, the

Re: [Lazarus] TPicture SIGSEGV

2013-04-15 Thread Leonardo M . Ramé
On 2013-04-15 21:25:06 +0200, Bart wrote: On 4/15/13, Leonardo M. Ramé l.r...@griensu.com wrote: Hi, I'm using Lazarus on x86_64 compiled from today and fpc 20240. I've placed a TImage with a picture assigned, on a TForm. I need to do Image1.Picture.Bitmap, to obtain the bitmap

Re: [Lazarus] Bored?

2013-04-15 Thread Michael Van Canneyt
On Mon, 15 Apr 2013, Graeme Geldenhuys wrote: On 15/04/13 18:31, Reinier Olislagers wrote: No. See the bugreport in my first post. I did see it. I have no interest in trying to get fptest into fpc. Not what I suggested. I suggested using a better and more reliable unit testing

Re: [Lazarus] Bored?

2013-04-15 Thread luiz americo pereira camara
2013/4/15 Michael Van Canneyt mich...@freepascal.org: On Mon, 15 Apr 2013, Graeme Geldenhuys wrote: I've been a very long user and contributor of FPCUnit, and it is a very problematic framework. Let's not exaggerate the problems. I use it for years, and except for 1 issue, there are no

Re: [Lazarus] Bored?

2013-04-15 Thread Michael Van Canneyt
On Mon, 15 Apr 2013, luiz americo pereira camara wrote: 2013/4/15 Michael Van Canneyt mich...@freepascal.org: On Mon, 15 Apr 2013, Graeme Geldenhuys wrote: I've been a very long user and contributor of FPCUnit, and it is a very problematic framework. Let's not exaggerate the problems.

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Tommi Prami
Installed, I think first two seemed to install OK, but the last (Lazarus) did not install because Apparently FPC did not install even it did not give any Error messages... Or something like that, it just complained the FPC is too old. and jsut isntalled the latest (Or one with Lazarus)...

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 21:31:32 +0300 Zaher Dirkey parm...@gmail.com wrote: On Mon, Apr 15, 2013 at 9:21 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: To get more variations in output directories you have to alter the packages (lpk). To add options to packages as well.

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Mattias Gaertner
On Mon, 15 Apr 2013 23:12:21 +0300 Tommi Prami tommi.pr...@gmail.com wrote: Installed, I think first two seemed to install OK, but the last (Lazarus) did not install because Apparently FPC did not install even it did not give any Error messages... Or something like that, it just complained

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Tommi Prami
I tried to install packages from the file, downloaded from sourceforge, all seemed to install (Except Lazarus) just fine... I can try again later and add more facts... So most likely the Package(s) failed to install but it was not reported to user... or something like that... -Tee- On Mon, Apr

Re: [Lazarus] Bored?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 20:38, Michael Van Canneyt wrote: I use it for years, and except for 1 issue, there are no problems. Yes the issue you mentioned, plus other decorator issues too. I remember having problems where decorators executed too many times too, in nested tests - causing large test suites to

Re: [Lazarus] What is most Lazarus Friendly Linux Distro

2013-04-15 Thread Graeme Geldenhuys
Slackware comes with ALL required libraries to do LCL-QT, LCL-GTK2, fpGUI etc development. Simply install FPC from the binary (*.tar) release. Download the source for Lazarus and do a 'make install bigide'. Nothing else is required. The same goes for FreeBSD 9.1. Regards, Graeme. --

Re: [Lazarus] Bored?

2013-04-15 Thread luiz americo pereira camara
2013/4/15 Graeme Geldenhuys gra...@geldenhuys.co.uk: The list is much larger than just 1 issue. You should take a look at DUnit2/FPTest at some point to see just how far behind FPCUnit is in functionality. Where can we find it? Any docs? Is there a GUI runner? I'm starting now in test

Re: [Lazarus] Runtime package (manual compilation only) forced to re-compile by a design time dependant package?

2013-04-15 Thread Mattias Gaertner
On Sun, 14 Apr 2013 10:23:26 +0300 patspiper patspi...@gmail.com wrote: On 14/04/13 10:08, Mattias Gaertner wrote: On Sun, 14 Apr 2013 09:44:08 +0300 patspiper patspi...@gmail.com wrote: despite that the FCL needs it: Target: FCL 1.0.1 Clean build needed. --- ?? File:

Re: [Lazarus] Bored?

2013-04-15 Thread Graeme Geldenhuys
On 15/04/13 22:24, luiz americo pereira camara wrote: Where can we find it? FPTest https://github.com/graemeg/fptest DUnit2 http://sourceforge.net/projects/dunit2/ Any docs? There are some docs in each repository, there are also example projects included, plus the DUnit v1 docs also