Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Sven Barth
Am 25.02.2013 07:14 schrieb "Eric Kom" : > > Good day, > > Please what is a difference between .pp and .pas files extension? It's mostly a historical difference..pas are units that could (originally) be compiled with Turbo Pascal as well (which is why all units of the compiler use .pas) while .pp

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Sven Barth wrote: Am 25.02.2013 07:14 schrieb "Eric Kom" : > > Good day, > > Please what is a difference between .pp and .pas files extension? It's mostly a historical difference..pas are units that could (originally) be compiled with Turbo Pascal as well (which is why

[fpc-pascal] Compiler define MAC or MACOS ?

2013-02-25 Thread LacaK
Hi, on documentation http://www.freepascal.org/docs-html/prog/progap7.html#x316-331000G there is : Classic Macintosh MAC but in sources is used: MACOS So may be, that documentation should be updated ? TIA -Laco. ___ fpc-pascal maillist - fpc-pascal@l

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Sven Barth
On 25.02.2013 09:30, Michael Van Canneyt wrote: On Mon, 25 Feb 2013, Sven Barth wrote: Am 25.02.2013 07:14 schrieb "Eric Kom" : > > Good day, > > Please what is a difference between .pp and .pas files extension? It's mostly a historical difference..pas are units that could (originally) be c

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Tomas Hajny
On Mon, February 25, 2013 11:40, Sven Barth wrote: > On 25.02.2013 09:30, Michael Van Canneyt wrote: >> On Mon, 25 Feb 2013, Sven Barth wrote: . . >>> Today .pp is used for example for FPC's test files (also for new ones) >>> out if habit. >> >> I think you are under a misapprehension. It is not

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Sven Barth wrote: On 25.02.2013 09:30, Michael Van Canneyt wrote: On Mon, 25 Feb 2013, Sven Barth wrote: Am 25.02.2013 07:14 schrieb "Eric Kom" : > > Good day, > > Please what is a difference between .pp and .pas files extension? It's mostly a historical difference.

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Sven Barth
On 25.02.2013 11:49, Michael Van Canneyt wrote: On Mon, 25 Feb 2013, Sven Barth wrote: On 25.02.2013 09:30, Michael Van Canneyt wrote: On Mon, 25 Feb 2013, Sven Barth wrote: Am 25.02.2013 07:14 schrieb "Eric Kom" : > > Good day, > > Please what is a difference between .pp and .pas files

Re: [fpc-pascal] Performance problems with Image Conversions

2013-02-25 Thread Graeme Geldenhuys
On 2013-02-24 17:35, Andrew Brunner wrote: > > If not, does anyone have lightning fast scaling methods in C++ or Java > that I can port/contribute? A fpGUI user did a speed comparison of a lot of various image libraries and pure Object Pascal imaging code. I can find the link to his work and res

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Graeme Geldenhuys
On 2013-02-25 10:51, Sven Barth wrote: > > That's indeed a valid argument pro .pp And a large argument against .pp extensions is that NO editor out there (except for FP Text IDE and Lazarus) knows about .pp, so pascal syntax highlighting never works. You have to always manually force the pascal s

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Graeme Geldenhuys wrote: On 2013-02-25 10:51, Sven Barth wrote: That's indeed a valid argument pro .pp And a large argument against .pp extensions is that NO editor out there (except for FP Text IDE and Lazarus) knows about .pp, so pascal syntax highlighting never work

[fpc-pascal] fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

2013-02-25 Thread Reinier Olislagers
Hi all, Hoping you fpweb gurus know the answer by heart: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/ 1. How do instruct the documents action to handle that? Currently I get a Error: Could not determine HTTP module for req

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Henry Vermaak
On Mon, Feb 25, 2013 at 11:00:25AM +, Graeme Geldenhuys wrote: > On 2013-02-25 10:51, Sven Barth wrote: > > > > That's indeed a valid argument pro .pp > > And a large argument against .pp extensions is that NO editor out there > (except for FP Text IDE and Lazarus) knows about .pp, so pascal

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Bart
On 2/25/13, Graeme Geldenhuys wrote: > And a large argument against .pp extensions is that NO editor out there > (except for FP Text IDE and Lazarus) knows about .pp, LazEdit (or EPlus)? Bart ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 2013-02-25 10:51, Sven Barth wrote: That's indeed a valid argument pro .pp And a large argument against .pp extensions is that NO editor out there (except for FP Text IDE and Lazarus) knows about .pp, so pascal syntax highlighting never works. You have to always man

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Graeme Geldenhuys
On 2013-02-25 11:09, Michael Van Canneyt wrote: > > That is a bug in these editors, you should file a report. Kate, gEdit, syn, mcedit, vim, emacs, Notepad++, Geany etc... I wouldn't even know where to start finding all their bug tracker information. And honestly, I simply don't have the time. Us

Re: [fpc-pascal] fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Reinier Olislagers wrote: Hi all, Hoping you fpweb gurus know the answer by heart: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/ 1. How do instruct the documents action to handle that? Currently I

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Graeme Geldenhuys wrote: On 2013-02-25 11:09, Michael Van Canneyt wrote: That is a bug in these editors, you should file a report. Kate, gEdit, syn, mcedit, vim, emacs, Notepad++, Geany etc... I wouldn't even know where to start finding all their bug tracker informatio

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Graeme Geldenhuys
On 2013-02-25 12:39, Michael Van Canneyt wrote: > > Somehow, tongue-in-cheek humour never seems to work through email... Nope. > Or I'm just no good at it. Neither am I. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Re: [fpc-pascal] fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

2013-02-25 Thread Reinier Olislagers
On 25-2-2013 13:38, Michael Van Canneyt wrote: > On Mon, 25 Feb 2013, Reinier Olislagers wrote: >> Say I have an fpweb CGI server with action documents registered and I >> GET http://server/cgi-bin/tigercgi/documents/301/ >> 1. How do instruct the documents action to handle that? Currently I get >>

Re: [fpc-pascal] fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

2013-02-25 Thread Michael Van Canneyt
On Mon, 25 Feb 2013, Reinier Olislagers wrote: On 25-2-2013 13:38, Michael Van Canneyt wrote: On Mon, 25 Feb 2013, Reinier Olislagers wrote: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/ 1. How do instruct the document

[fpc-pascal] FPC user change trunk page: remove mention of UPX?

2013-02-25 Thread Reinier Olislagers
Hi, Noticed that the user changes for FPC trunk mentions UPX has been removed: http://wiki.lazarus.freepascal.org/User_Changes_Trunk#UPX_support_has_been_removed However, it's also mentioned in 2.6.2: http://wiki.lazarus.freepascal.org/User_Changes_2.6.2#UPX_support_has_been_removed Can we remo

Re: [fpc-pascal] fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

2013-02-25 Thread Reinier Olislagers
On 25-2-2013 14:06, Michael Van Canneyt wrote: > On Mon, 25 Feb 2013, Reinier Olislagers wrote: > >> On 25-2-2013 13:38, Michael Van Canneyt wrote: >>> On Mon, 25 Feb 2013, Reinier Olislagers wrote: Say I have an fpweb CGI server with action documents registered and I GET http://server/c

Re: [fpc-pascal] FPC user change trunk page: remove mention of UPX?

2013-02-25 Thread Marco van de Voort
In our previous episode, Reinier Olislagers said: > Noticed that the user changes for FPC trunk mentions UPX has been removed: > http://wiki.lazarus.freepascal.org/User_Changes_Trunk#UPX_support_has_been_removed > > > However, it's also mentioned in 2.6.2: > http://wiki.lazarus.freepascal.org/Use

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread John Coppens
On Mon, 25 Feb 2013 12:36:18 + Graeme Geldenhuys wrote: > Kate, gEdit, syn, mcedit, vim, emacs, Notepad++, Geany etc... I wouldn't > even know where to start finding all their bug tracker information. And > honestly, I simply don't have the time. Using .pas is just simpler. It's mostly not t

Re: [fpc-pascal] Performance problems with Image Conversions

2013-02-25 Thread Andrew Brunner
On 02/25/2013 04:51 AM, Graeme Geldenhuys wrote: ImageMagick will probably be a good choice. Regards, - Graeme - Ok, I'm going to start tests with that. Thanks ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/m

Re: [fpc-pascal] Performance problems with Image Conversions

2013-02-25 Thread Andrew Brunner
Ok, This matter has been solved. The updated code is so simple and many factors faster! Thanks to all! class function Image.Transform(Stream:TMemoryStream; var iX,iY:Integer):boolean; var status : MagickBooleanType; wand : PMagickWand; srcWidth,srcHeight : Ca

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread waldo kitty
On 2/25/2013 00:34, Eric Kom wrote: Good day, Please what is a difference between .pp and .pas files extension? IIRC, pp is objectpascal whereas pas is "general" pascal... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fre

Re: [fpc-pascal] Re: differences between .pp and .pas files

2013-02-25 Thread waldo kitty
On 2/25/2013 02:31, silvioprog wrote: 2013/2/25 Reinier Olislagers mailto:reinierolislag...@gmail.com>> On 25-2-2013 6:34, Eric Kom wrote: > Good day, > > Please what is a difference between .pp and .pas files extension? As Ralf said: 2 letters. I have the idea .pp was us

[fpc-pascal] Semi OT: Database-free application lecture

2013-02-25 Thread ik
Hello, I gave today a lecture named "database-free applications"[1]. The lecture explain an idea of how to design complex systems and break them apart etc... The lecture is in English and so does my slide notes, and I think that people here can enjoy the idea as well. [1] https://github.com/ik5/

Re: [fpc-pascal] Semi OT: Database-free application lecture

2013-02-25 Thread Sven Barth
On 25.02.2013 21:57, ik wrote: Hello, I gave today a lecture named "database-free applications"[1]. The lecture explain an idea of how to design complex systems and break them apart etc... The lecture is in English and so does my slide notes, and I think that people here can enjoy the idea as w

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Mattias Gaertner
On Sun, 24 Feb 2013 23:20:23 +0100 Reimar Grabowski wrote: > Hi, > > see the following little program: > > program argumentbug; > > {$MODE ObjFpc} > > uses classes; > > type > > TVector3 = packed record > X, Y, Z: Single; > end; > > TClassA = class > protected > fVector: TVector3; > pu

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Mattias Gaertner
On Mon, 25 Feb 2013 22:54:51 +0100 Mattias Gaertner wrote: > On Sun, 24 Feb 2013 23:20:23 +0100 > Reimar Grabowski wrote: > > > Hi, > > > > see the following little program: > > > > program argumentbug; > > > > {$MODE ObjFpc} > > > > uses classes; > > > > type > > > > TVector3 = packed re

Re: [fpc-pascal] Semi OT: Database-free application lecture

2013-02-25 Thread ik
On Mon, Feb 25, 2013 at 11:28 PM, Sven Barth wrote: > On 25.02.2013 21:57, ik wrote: >> >> Hello, >> >> I gave today a lecture named "database-free applications"[1]. >> The lecture explain an idea of how to design complex systems and break >> them apart etc... >> >> The lecture is in English and s

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Reimar Grabowski
On Mon, 25 Feb 2013 22:59:26 +0100 Mattias Gaertner wrote: > And it works under 2.7.1 rev 23661: > TClassB: 0.0E+00, 0.0E+00, 3.0E+00 Thanks for the info. Updating now. R. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Reimar Grabowski
> On Mon, 25 Feb 2013 22:59:26 +0100 > Mattias Gaertner wrote: > > > And it works under 2.7.1 rev 23661: Even with 23662 it does not work for me compiling from Lazarus. But from command line it works. So it is not a FPC problem. Sorry for the noise. Investigating further. R. __

Re: [fpc-pascal] Re: differences between .pp and .pas files

2013-02-25 Thread Graeme Geldenhuys
On 2013-02-25 20:22, waldo kitty wrote: > > for instance: > DOS: foo.exe > OS2: foop.exe > WIN: foow.exe > LNX: fool.exe I quite like this idea. I have always hated *nix systems that don't use extensions for executables. Rather hard to quickly search for executables in a directory hierarchy, whe

Re: [fpc-pascal] Re: differences between .pp and .pas files

2013-02-25 Thread Joao Morais
On Mon, Feb 25, 2013 at 8:03 PM, Graeme Geldenhuys wrote: > > I quite like this idea. I have always hated *nix systems that don't use > extensions for executables. Rather hard to quickly search for > executables in a directory hierarchy, where with a file extension it is > much easier. find -type

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Reimar Grabowski
On Tue, 26 Feb 2013 00:02:33 +0100 Reimar Grabowski wrote: > But from command line it works. So it is not a FPC problem. I am really sorry for communicating with myself but I have spoken too early. Now I can reproduce the problem using just FPC, no Lazarus involved. It gets triggered when compil

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Ralf A. Quint
At 12:19 PM 2/25/2013, waldo kitty wrote: On 2/25/2013 00:34, Eric Kom wrote: Good day, Please what is a difference between .pp and .pas files extension? IIRC, pp is objectpascal whereas pas is "general" pascal... There is no "is", it's all up to you what kind of convention you use. From t

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Flávio Etrusco
On Mon, Feb 25, 2013 at 11:45 PM, Reimar Grabowski wrote: > On Tue, 26 Feb 2013 00:02:33 +0100 > Reimar Grabowski wrote: > >> But from command line it works. So it is not a FPC problem. > I am really sorry for communicating with myself but I have spoken too early. > Now I can reproduce the probl

Re: [fpc-pascal] Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

2013-02-25 Thread Mattias Gaertner
On Tue, 26 Feb 2013 03:45:37 +0100 Reimar Grabowski wrote: > On Tue, 26 Feb 2013 00:02:33 +0100 > Reimar Grabowski wrote: > > > But from command line it works. So it is not a FPC problem. > I am really sorry for communicating with myself but I have spoken too early. > Now I can reproduce the p