Re: [fpc-pascal] FBLib (firebird library for FPC, Delphi and Kylix) has moved

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-05 22:30, Zaher Dirkey wrote: > For understand, now it is the original repo for it or it is just a fork for > it It wasn't my intention to create a fork. I simply didn't want to loose the FBLib fixes and improvements I made over the years, and had to find it a new home. Just the other

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread luiz americo pereira camara
2013/4/5 Graeme Geldenhuys : > On 2013-04-04 16:34, Dennis wrote: >> In windows, you can create Mutex. That's how I ensure no other instance >> of the same program is running. > > > Yes I know that bit, and that is what I did for my old VB6 and Delphi 5 > projects. The question here was not only ab

Re: [fpc-pascal] FBLib (firebird library for FPC, Delphi and Kylix) has moved

2013-04-05 Thread Zaher Dirkey
For understand, now it is the original repo for it or it is just a fork for it I always like the take the source original from the author. As i know, the site is http://fblib.altervista.org but no repo for it? On Tue, Mar 26, 2013 at 2:17 AM, Graeme Geldenhuys wrote: > Hi, > > For years the FBLi

Re: [fpc-pascal] Re: Findfirst/findnext with a samba share

2013-04-05 Thread Jonas Maebe
On 05 Apr 2013, at 18:32, tvr wrote: > do you plan change behavior of findnext function to eliminate samba bug ? It probably won't eliminate it, just make it more rare. You can probably get the same result with "ls" if you put so many files in a directory that their combined info does not fit

[fpc-pascal] Re: Findfirst/findnext with a samba share

2013-04-05 Thread tvr
Hello, do you plan change behavior of findnext function to eliminate samba bug ? tomas -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Findfirst-findnext-with-a-samba-share-tp5713232p5714018.html Sent from the Free Pascal - General mailing list archive at N

Re: [fpc-pascal] SDL 2.0 Conversion Status?

2013-04-05 Thread Sven Barth
On 05.04.2013 16:44, Anthony Walter wrote: It would seem that SDL 2.0 is going to be released in May, and is a complete rewrite which is incompatible with SDL 1.2. It seems to add a lot of functionality and I believe Valve's steam box is going to be based on SDL 2.0. My question is, has anyone d

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread silvioprog
2013/4/5 Michael Van Canneyt > On Fri, 5 Apr 2013, Ludo Brands wrote: > >> On 04/05/2013 09:10 AM, Reinier Olislagers wrote: >> >>> I'm sure the guy who implemented this (I think Ludo Brands) can tell you >>> exactly what's going on. >>> >> >> Yes;) >> >> The background of spitting out the

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-05 10:43, Zaher Dirkey wrote: > Please tell us you success story when you done All done and it works perfectly under Linux, FreeBSD and Windows. All in about 30 lines of code, which includes the client and server parts. :) SimpleIPCServer just works a bit weird though - but that's pro

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-05 14:12, Sven Barth wrote: > It was rather a niche before Windows Vista, I used many apps where the .ico file had multiple sizes - back in the days of Win2k I believe. > but since then multiscale > icons are rather common and are also supported by Lazarus. Yeah, hence the huge 140Kb

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-05 13:42, Michael Van Canneyt wrote: > Well I alread had .gif in mind when proposing this, I didn't know about .ico. > So much the better :-) TIFF also supports multiple images per file. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal htt

[fpc-pascal] SDL 2.0 Conversion Status?

2013-04-05 Thread Anthony Walter
It would seem that SDL 2.0 is going to be released in May, and is a complete rewrite which is incompatible with SDL 1.2. It seems to add a lot of functionality and I believe Valve's steam box is going to be based on SDL 2.0. My question is, has anyone done any work on SDL 2.0 with Free Pascal? If

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Sven Barth
Am 05.04.2013 14:42, schrieb Michael Van Canneyt: On Fri, 5 Apr 2013, Sven Barth wrote: Am 05.04.2013 12:07, schrieb Michael Van Canneyt: On Fri, 5 Apr 2013, Graeme Geldenhuys wrote: Hi, Having had a quick look at the FPReadBMP.pp unit, the only BMP format FCL-Image supports is the Wind

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Michael Van Canneyt
On Fri, 5 Apr 2013, Sven Barth wrote: Am 05.04.2013 12:07, schrieb Michael Van Canneyt: On Fri, 5 Apr 2013, Graeme Geldenhuys wrote: Hi, Having had a quick look at the FPReadBMP.pp unit, the only BMP format FCL-Image supports is the Windows BMP format. I need to read OS/2 BMP files too.

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Sven Barth
Am 05.04.2013 12:07, schrieb Michael Van Canneyt: On Fri, 5 Apr 2013, Graeme Geldenhuys wrote: Hi, Having had a quick look at the FPReadBMP.pp unit, the only BMP format FCL-Image supports is the Windows BMP format. I need to read OS/2 BMP files too. Here is a very brief comparison between

Re: [fpc-pascal] Hashes and CRCs

2013-04-05 Thread Vincent Snijders
2013/4/5 Mark Morgan Lloyd > I agree, Google completely overlooked it when I was searching last night. > I don't see why it should be put into CCR etc. when it's readily available > from the original author, unless of course he's chosen to do so. > > Because at that time it was not fpc/lazarus co

Re: [fpc-pascal] Hashes and CRCs

2013-04-05 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2013-04-04 23:20, Graeme Geldenhuys wrote: DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git repository in the Lazarus-CCR project on SourceForge. On a side note: Probably not the best place for such a project. That also goes for many other proje

Re: [fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Michael Van Canneyt
On Fri, 5 Apr 2013, Graeme Geldenhuys wrote: Hi, Having had a quick look at the FPReadBMP.pp unit, the only BMP format FCL-Image supports is the Windows BMP format. I need to read OS/2 BMP files too. Here is a very brief comparison between the two formats. Note that OS/2 Bitmaps can be larg

[fpc-pascal] FCL-Image and OS/2 BMP support

2013-04-05 Thread Graeme Geldenhuys
Hi, Having had a quick look at the FPReadBMP.pp unit, the only BMP format FCL-Image supports is the Windows BMP format. I need to read OS/2 BMP files too. Here is a very brief comparison between the two formats. Note that OS/2 Bitmaps can be larger, multiple images per file, different compressio

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-04 16:34, Dennis wrote: > In windows, you can create Mutex. That's how I ensure no other instance > of the same program is running. Yes I know that bit, and that is what I did for my old VB6 and Delphi 5 projects. The question here was not only about a "single instance" application, b

Re: [fpc-pascal] Hashes and CRCs

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-04 23:20, Graeme Geldenhuys wrote: > DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git > repository in the Lazarus-CCR project on SourceForge. On a side note: Probably not the best place for such a project. That also goes for many other project in Lazarus-CCR. It is

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread Zaher Dirkey
Please tell us you success story when you done For me i am using SimpleIPC https://github.com/parmaja/miniedit/blob/master/source/gui/mne.lpr look at AnotherInstance and MainUnit.pas Works good in Windows but not tested in Linux. On Thu, Apr 4, 2013 at 12:08 PM, Graeme Geldenhuys wrote: > H

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: On Fri, 5 Apr 2013, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: Regarding the content of your question in the bug: AFAIU it's for backward compatibility. The generic db error shows the error message. The specialized PostgreSQL error does the same, but also s

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Michael Van Canneyt
On Fri, 5 Apr 2013, Ludo Brands wrote: On 04/05/2013 09:10 AM, Reinier Olislagers wrote: I'm sure the guy who implemented this (I think Ludo Brands) can tell you exactly what's going on. Yes;) The background of spitting out the complete error detail was people complaining about not getti

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Ludo Brands
On 04/05/2013 09:10 AM, Reinier Olislagers wrote: >> I'm sure the guy who implemented this (I think Ludo Brands) can tell you > exactly what's going on. > Yes;) The background of spitting out the complete error detail was people complaining about not getting the hints as they are used to when us

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Michael Van Canneyt
On Fri, 5 Apr 2013, Mark Morgan Lloyd wrote: Michael Van Canneyt wrote: Regarding the content of your question in the bug: AFAIU it's for backward compatibility. The generic db error shows the error message. The specialized PostgreSQL error does the same, but also shows it in detail (perhaps

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Mark Morgan Lloyd
Michael Van Canneyt wrote: Regarding the content of your question in the bug: AFAIU it's for backward compatibility. The generic db error shows the error message. The specialized PostgreSQL error does the same, but also shows it in detail (perhaps, can't remember, there can be a list of multiple

Re: [fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Michael Van Canneyt
On Fri, 5 Apr 2013, Reinier Olislagers wrote: On 5-4-2013 8:52, silvioprog wrote: Hello, Please see: http://bugs.freepascal.org/view.php?id=24229 Well, I'd personnally rather would people to fix: http://bugs.freepascal.org/view.php?id=20296 [FPC] Recent changes in dwarf crash heaptrc in

[fpc-pascal] Re: TPQConnection: Duplicated error message.

2013-04-05 Thread Reinier Olislagers
On 5-4-2013 8:52, silvioprog wrote: > Hello, > > Please see: > > http://bugs.freepascal.org/view.php?id=24229 > Well, I'd personnally rather would people to fix: http://bugs.freepascal.org/view.php?id=20296 [FPC] Recent changes in dwarf crash heaptrc in lnfodwrf.pp that's been open since 2011 a

Re: [fpc-pascal] Hashes and CRCs

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-04 22:36, Mark Morgan Lloyd wrote: > package, I've just been hunting for Tiger and have found > http://www.cityinthesky.co.uk/opensource/DCPcrypt which looks interesting: DCPcrypt (in terms of FPC, Lazarus et-al) currently lives in a Git repository in the Lazarus-CCR project on SourceF

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread Dennis
In windows, you can create Mutex. That's how I ensure no other instance of the same program is running. YourIDString is a string that you use to uniquely id your program instance . if OpenMutex(MUTEX_ALL_ACCESS, False, PChar(YourIDString)) = 0 then begin // First one - the mutex didn't e

Re: [fpc-pascal] File Association and opening with already running app

2013-04-05 Thread Graeme Geldenhuys
On 2013-04-04 19:20, waldo kitty wrote: > this is one case where i like the single process with multiple tabs but i > can't > stand it in my browser(s)... I have a few apps that need the functionality, but in most cases it will be user configurable. Everybody has different preferences, and I'll