Re: [Lazarus] exception handling in constructor

2013-03-01 Thread Flávio Etrusco
On Fri, Mar 1, 2013 at 11:49 PM, Xiangrong Fang wrote: > Hi there, > > If my class constructor looks like this: > > constructor TMyClass.Create(fn: string); > begin > sl := TStringList.Create; > try > fs := TFileStream.Create(fn, fmOpenRead); > except > self.Destroy; > end; > end;

Re: [Lazarus] Maintainers: packages without description: please add them

2013-03-01 Thread silvioprog
+1. Very nice suggestion. Em 02/03/2013 02:12, "Reinier Olislagers" escreveu: > Hi list, > > 1. Going through my Lazarus install (trunk) I noticed these packages > without description. I've added suggestions for descriptions (hope > they're correct). > Could package maintainers please add a desc

[Lazarus] Help with... help!

2013-03-01 Thread Reinier Olislagers
Guys, Anybody else interested in getting F1 to show the offline help if context-sensitive help is not appropriate? I've gotten partway there but need some help: http://bugs.freepascal.org/view.php?id=23411 Thanks a lot, Reinier -- ___ Lazarus mailing

[Lazarus] Maintainers: packages without description: please add them

2013-03-01 Thread Reinier Olislagers
Hi list, 1. Going through my Lazarus install (trunk) I noticed these packages without description. I've added suggestions for descriptions (hope they're correct). Could package maintainers please add a description to their packages? That would surely help people who don't yet know what the package

[Lazarus] exception handling in constructor

2013-03-01 Thread Xiangrong Fang
Hi there, If my class constructor looks like this: constructor TMyClass.Create(fn: string); begin sl := TStringList.Create; try fs := TFileStream.Create(fn, fmOpenRead); except self.Destroy; end; end; I create the objec like: MyInstance := TMyClass.Create('AnNonExistentFile');

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-03-01 Thread Marcos Douglas
On Fri, Mar 1, 2013 at 11:34 AM, Graeme Geldenhuys wrote: > On 2013-03-01 14:09, Marcos Douglas wrote: >> >> You probably right, but problems can happen -- little problems -- like >> a file deleted, file renamed, etc. So I'll have to change the lpk >> anyway, manually. > > You should still not get

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-03-01 Thread Graeme Geldenhuys
On 2013-03-01 14:09, Marcos Douglas wrote: > > You probably right, but problems can happen -- little problems -- like > a file deleted, file renamed, etc. So I'll have to change the lpk > anyway, manually. You should still not get any conflicts in the *.lpk files even if files was added, renamed

Re: [Lazarus] FPC, Lazarus and 3rd libs

2013-03-01 Thread Marcos Douglas
On Thu, Feb 28, 2013 at 5:51 PM, Graeme Geldenhuys wrote: > On 2013-02-28 18:31, Marcos Douglas wrote: >>> You can change the output directory of the third party package to use >>> > the $(FPCVer) macro. For example >>> > "lib/$(FPCVer)/$(TargetCPU)-$($TargetOS)". >> Yep, but for this I need to ch

Re: [Lazarus] BitBlt caused SIGFPE in lclproc.pas

2013-03-01 Thread Bart
Hi, > Why the following code generated SIGFPE on BitBlt? [snip] > ClipDC := CreateCompatibleDC(ScreenDC); http://msdn.microsoft.com/en-us/library/aa922550.aspx says that if the Result of CreateCompatibleDC = NULL, then the function failed. So, maybe you should check that before callinf BitBlt?

Re: [Lazarus] Form ordering problem on tiling window manager

2013-03-01 Thread Sven Barth
On 01.02.2013 21:32, Sven Barth wrote: On 01.02.2013 07:19, zeljko wrote: On Thursday 31 of January 2013 22:44:33 Mattias Gaertner wrote: On Thu, 31 Jan 2013 22:15:26 +0100 Sven Barth wrote: On 31.01.2013 09:39, Mattias Gaertner wrote: On Wed, 30 Jan 2013 21:24:38 +0100 Sven Barth wrote:

[Lazarus] tiOPF: Repository migrated to Git

2013-03-01 Thread Graeme Geldenhuys
Hi, In case there are anybody using tiOPF, please note the following. I'll also update the Free Pascal wiki in the next few minutes. Original Message Subject: Repository migrated to Git Date: Wed, 27 Feb 2013 19:43:33 + From: Graeme Geldenhuys Newsgroups: tiopf.development,