Re: [fpc-pascal] private type and type compatibility

2013-10-31 Thread waldo kitty
On 10/31/2013 7:38 AM, Frederic Da Vitoria wrote: 2013/10/31 Sven Barth pascaldra...@googlemail.com [...] It's this way at least since Turbo Pascal (though without classes then ;) ). Yes, I agree this is the TP/Delphi way, and as such should be kept at least in DELPHI mode. and TP

Re: [fpc-pascal] SqlDB fails under Windows to create a new Firebird database

2013-10-30 Thread waldo kitty
On 10/30/2013 8:13 AM, Graeme Geldenhuys wrote: Here is the console output of when I run the program. --- c:\programming\m2_system\Scriptsmakedb -d '127.0.0.1:c:\programming\data\m2_dl_3019.fdb' Creating database... '127.0.0.1:c:\programming\data\m2_dl_3019.fdb' exception at

[fpc-pascal] same routine with different parameters?

2013-10-29 Thread waldo kitty
question: in simple language, how can i have a routine with differing parameters like some routines in FPC and Lazarus do? i've never attempted this before and it is completely alien to my experience but i do use the functionality quite a lot with existing routines... description: i have a

Re: [fpc-pascal] same routine with different parameters?

2013-10-29 Thread waldo kitty
On 10/29/2013 1:56 PM, Sven Barth wrote: Am 29.10.2013 18:21 schrieb waldo kitty wkitt...@windstream.net: example: procedure MyObject.MyRoutine; procedure MyObject.MyRoutine(VarA : SomeType); procedure MyObject.MyRoutine(VarA : string; VarB: integer); at one point

Re: [fpc-pascal] same routine with different parameters?

2013-10-29 Thread waldo kitty
On 10/29/2013 2:35 PM, Mark Morgan Lloyd wrote: waldo kitty wrote: example: procedure MyObject.MyRoutine; procedure MyObject.MyRoutine(VarA : SomeType); procedure MyObject.MyRoutine(VarA : string; VarB: integer); at one point, the first instance would be used... at another

Re: [fpc-pascal] same routine with different parameters?

2013-10-29 Thread waldo kitty
On 10/29/2013 6:53 PM, Mark Morgan Lloyd wrote: waldo kitty wrote: Another useful variant is giving *the* *last* parameter an optional value, which will allow you to omit the parameter: procedure MyObject.MyRoutine(const VarA : string; VarB: integer= -1); very interesting... will this work

Re: [fpc-pascal] Namespaces Support

2013-10-26 Thread waldo kitty
On 10/25/2013 10:18 PM, Fabrício Srdic wrote: I know I'm a newbie in fpc, myself.. even after almost a decade ;) As Michael and Sven said, if Delphi itself is not fully compatible among versions, why should fpc be? because FPC (and lazarus) strives to be better? and to not alienate those

Re: [fpc-pascal] Namespaces Support

2013-10-26 Thread waldo kitty
On 10/26/2013 7:06 PM, Fabrício Srdic wrote: If the namespace feature isn't a improvement, so why was it added to fpc? compatibility with delphi products that use it?? -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list unless

Re: [fpc-pascal] aggpas examples

2013-08-20 Thread waldo kitty
On 8/20/2013 17:11, David Emerson wrote: I am trying to compile some of the aggpas examples included with lazarus, but I am getting errors upon errors. the first thing is what errors? we do appreciate your confidence in our telepathic and remote viewing abilities but some things just cannot

Re: [fpc-pascal] aggpas examples

2013-08-20 Thread waldo kitty
On 8/20/2013 23:16, waldo kitty wrote: the first thing is what errors? we do appreciate your confidence in our telepathic and remote viewing abilities but some things just cannot be handled in either of these manners ;) damned fingers... i didn't get a chance to add the requisite [humor] tags

Re: [fpc-pascal] Re: Compilation Error At revision 25270.

2013-08-18 Thread waldo kitty
On 8/18/2013 02:52, Reinier Olislagers wrote: On 17/08/2013 19:34, waldo kitty wrote: [...] so you started as #1 above and svn up to #2... when you run make clean, the old mylib.o,.a,.ppu files are still in \projects\myproject somewhere and may be used by the compiler instead of those

Re: [fpc-pascal] Re: Compilation Error At revision 25270.

2013-08-18 Thread waldo kitty
On 8/18/2013 09:49, Mattias Gaertner wrote: On Sun, 18 Aug 2013 09:43:37 -0400 waldo kittywkitt...@windstream.net wrote: On 8/18/2013 02:52, Reinier Olislagers wrote: On 17/08/2013 19:34, waldo kitty wrote: [...] in any case, failing to run make clean or make disclean /before/ svn up can

Re: [fpc-pascal] Compilation Error At revision 25270.

2013-08-17 Thread waldo kitty
On 8/17/2013 04:44, Juha Manninen wrote: On Sat, Aug 17, 2013 at 3:40 AM, waldo kittywkitt...@windstream.net wrote: FWIW: i learned a while back (from the lazarus list i think) to perform make clean before svn up because the make files may have changed and the new ones may not know where the

Re: [fpc-pascal] Re: Compilation Error At revision 25270.

2013-08-17 Thread waldo kitty
On 8/17/2013 04:57, Reinier Olislagers wrote: Also, there have been oversights in the past in what gets cleaned by make clean, so I usually do a recursive delete of .a, .o, .ppu followed by e.g. an svn revert -R or svn up to get any files back that are required. right... that's why clean

Re: [fpc-pascal] Re: Compilation Error At revision 25270.

2013-08-17 Thread waldo kitty
On 8/17/2013 07:35, Reinier Olislagers wrote: I appear to be unclear. The makefile sometimes does not specify all .a/.o files to clean. Therefore make clean does not clean all .a/.o files, i.e. does not work, i.e. doing just make clean is not always enough. no, you are perfectly clear... clean

Re: [fpc-pascal] Compilation Error At revision 25270.

2013-08-16 Thread waldo kitty
On 8/16/2013 10:52, Eric Kom wrote: svn up make clean [trim] FWIW: i learned a while back (from the lazarus list i think) to perform make clean before svn up because the make files may have changed and the new ones may not know where the old files resided... performing make clean first

Re: [fpc-pascal] Re: [Lazarus] Should TObject or TComponent have a Comment property?

2013-07-16 Thread waldo kitty
On 7/16/2013 17:56, vfclists . wrote: I have 2 main concerns here, a comment for the component itself which is not particularly important and a comment for the component when I add it to a form or data module. When I create a method I can add a comment to the method. If I create a component in

Re: [fpc-pascal] It is possible to pass command line to pascal

2013-06-30 Thread waldo kitty
On 6/29/2013 20:53, Johan Tu Toit wrote: On 6/30/13, waldo kittywkitt...@windstream.net wrote: FWIW: top posting is like reading a book backwards... please post below existing quotes... *^^^* i fixed your quotes and

Re: [fpc-pascal] It is possible to pass command line to pascal

2013-06-30 Thread waldo kitty
On 6/30/2013 05:41, Rainer Stratmann wrote: On Sunday 30 June 2013 00:59:59 you wrote: I Tried, but only return an integer not a string value. Thats right. You have to put the result in a file and then afterwards read the file. ls uname -r file.txt what?! that's not right... i've never

Re: [fpc-pascal] It is possible to pass command line to pascal

2013-06-30 Thread waldo kitty
On 6/30/2013 08:14, Mark Morgan Lloyd wrote: Rainer Stratmann wrote: On Sunday 30 June 2013 12:32:30 you wrote: If I had to go on, what's that -r supposed to be doing? It is not too difficult to find out. If you speed up your engine then you can find out that he wants to know the actual

Re: [fpc-pascal] It is possible to pass command line to pascal

2013-06-30 Thread waldo kitty
On 6/30/2013 08:44, Rainer Stratmann wrote: On Sunday 30 June 2013 14:14:56 you wrote: In which case why is he putting ls in front of it? I guess he simply does not know by now and tries out something. don't guess... others cannot learn from assumptions and guesses... -r is a valid

Re: [fpc-pascal] It is possible to pass command line to pascal

2013-06-30 Thread waldo kitty
On 6/30/2013 09:12, Johan Tu Toit wrote: sorry it is my fault it was suppose to be: $uname -r ok... thank you for clarifying that ;) have you learned what you need to do from the link leledumbo gave earlier in this thread? http://wiki.lazarus.freepascal.org/Executing_External_Programs

Re: [fpc-pascal] How to save a huge XML?

2013-06-19 Thread waldo kitty
On 6/19/2013 06:14, Graeme Geldenhuys wrote: On 2013-06-19 08:47, Michael Van Canneyt wrote: The problem is that the source XML is completely in memory, which is why it takes so much memory after while. +1 And if logging is the use case, XML is by far the worst format anybody could choose.

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux - MIPS-linux?

2013-06-12 Thread waldo kitty
On 6/12/2013 05:13, Dennis Poon wrote: Michael, I just typed ld -v and it replied: GNU ld (GNU Binutils for Debian) 2.22 and what do you get if you type /usr/mips-linux-gnu/bin/ld -v ?? just typing ld -v uses the one in your path and not necessarily the one that you want to

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux - MIPS-linux?

2013-06-12 Thread waldo kitty
On 6/12/2013 05:40, Michael Schnell wrote: On 06/12/2013 11:13 AM, Dennis Poon wrote: Michael, I just typed ld -v and it replied: GNU ld (GNU Binutils for Debian) 2.22 You'd better do gcc -v This should output (among others) a line starting Target: Same will state the architecture and be

Re: [fpc-pascal] is there a ready to use FPC Cross compiler x86-Linux - MIPS-linux?

2013-06-08 Thread waldo kitty
On 6/8/2013 06:31, Sven Barth wrote: Please remind me not to update wiki articles early in the morning. Psst! Remember to not update wiki articles early in the morning! O:) -- NOTE: No off-list assistance is given without prior approval. Please keep mailing list traffic on the list

Re: [fpc-pascal] How to handle External:SIGPIPE on linux

2013-05-31 Thread waldo kitty
On 5/31/2013 07:31, Dennis wrote: I am using LNet 's SSL sockets on ubuntu. When I use a self signed certificate and the browser gets a warning, it seems the browser immediately send a close-notify or shutdown ssl signal to the server and then without waiting close the connection. sadly, this

Re: [fpc-pascal] Error: Duplicate identifier FarPointer

2013-05-15 Thread waldo kitty
On 5/15/2013 12:18, silvioprog wrote: But I dont added it, please see: Makefile:2704: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to

Re: [fpc-pascal] Error: Duplicate identifier FarPointer

2013-05-15 Thread waldo kitty
On 5/15/2013 14:50, Marco van de Voort wrote: In our previous episode, waldo kitty said: Makefile:2704: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version

Re: [fpc-pascal] AT-SPI fpc compatible ?

2013-05-08 Thread waldo kitty
On 5/8/2013 04:34, Fred van Stappen wrote: The point is nevertheless that you answered to an existing thread with a completely new/unrelated question. OK, my fault, i wanted to answer to my own tread an that answer appears like a new one ( i used ( RE: ... ) in place of (Re: ...). ). that

Re: [fpc-pascal] systemh.inc(117, 16) Error: Duplicate identifier FarPointer

2013-05-08 Thread waldo kitty
On 5/8/2013 12:22, Mark Morgan Lloyd wrote: waldo kitty wrote: You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. perhaps the message is too

Re: [fpc-pascal] systemh.inc(117, 16) Error: Duplicate identifier FarPointer

2013-05-08 Thread waldo kitty
On 5/8/2013 17:50, Sven Barth wrote: On 08.05.2013 22:27, waldo kitty wrote: On 5/8/2013 12:22, Mark Morgan Lloyd wrote: waldo kitty wrote: You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try

Re: [fpc-pascal] systemh.inc(117, 16) Error: Duplicate identifier FarPointer

2013-05-07 Thread waldo kitty
On 5/7/2013 02:38, Jonas Maebe wrote: On 07 May 2013, at 08:21, Eric Kom wrote: Thanks for the respond! but without option OVERRIDEVERSIONCHECK is set, another error occurred: erickom@cloudTwo:~/freePascal27/fpc$ make NOGDB=1 OPT='-O- -gl -Xs-' all Makefile:2704: *** The only supported

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-29 Thread waldo kitty
On 4/29/2013 06:04, Reinier Olislagers wrote: On 29-4-2013 11:50, Lukasz Sokol wrote: On 27/04/2013 16:06, silvioprog wrote: 2013/4/27 Sven Barthpascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org mailto:pascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org On 26.04.2013 21:38, silvioprog

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-29 Thread waldo kitty
On 4/29/2013 13:29, silvioprog wrote: Well, I messed up badly, sorry again. I don't know if that would solve the problem, but if they prefer, we can delete me from the FPC lists, because I have no intention to piracy. Will be discretion of yours guys. x( speaking only for myself: i think you

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread waldo kitty
On 4/27/2013 11:06, silvioprog wrote: 2013/4/27 Sven Barth pascaldra...@googlemail.com mailto:pascaldra...@googlemail.com On 26.04.2013 21:38, silvioprog wrote: Select in socket of Delphi 2007 (a friend sent it to me: http://www.sendspace.com/file/__06ev02: Gaahhh!!!

Re: [fpc-pascal] Re: Odyssey: SSockets and Threads.

2013-04-27 Thread waldo kitty
On 4/27/2013 13:51, silvioprog wrote: 2013/4/27 waldo kitty wkitt...@windstream.net mailto:wkitt...@windstream.net On 4/27/2013 11:06, silvioprog wrote: 2013/4/27 Sven Barth pascaldra...@googlemail.com On 26.04.2013 21:38, silvioprog wrote: Select

Re: [fpc-pascal] Warnings crti.o and crtn.o not found

2013-04-15 Thread waldo kitty
On 4/14/2013 14:03, Sven Barth wrote: On 14.04.2013 18:30, waldo kitty wrote: On 4/14/2013 12:17, Reimar Grabowski wrote: On Sun, 14 Apr 2013 11:55:14 -0400 waldo kittywkitt...@windstream.net wrote: 2.7.1? that's trunk, right? Yes. whew... viewvs made me walk thru every commit as i could

Re: [fpc-pascal] Warnings crti.o and crtn.o not found

2013-04-15 Thread waldo kitty
On 4/14/2013 15:22, Marco van de Voort wrote: In our previous episode, waldo kitty said: that i can't say as i don't know :( hopefully someone with deeeper knowledge will ring in... i just wanted to offer what i could in the hope that it might be helpful... as it is, i'm just now updating my

Re: [fpc-pascal] Warnings crti.o and crtn.o not found

2013-04-14 Thread waldo kitty
On 4/14/2013 10:29, Reimar Grabowski wrote: Hi, I just updated my FPC 2.7.1 from revision 23807 to 24236 and for every project I compile I now get warnings that crti.o and crtn.o are not found. based on prior discussions on these FPC/Lazarus lists, these are C runtime files... 2.7.1?

Re: [fpc-pascal] Warnings crti.o and crtn.o not found

2013-04-14 Thread waldo kitty
On 4/14/2013 12:17, Reimar Grabowski wrote: On Sun, 14 Apr 2013 11:55:14 -0400 waldo kittywkitt...@windstream.net wrote: 2.7.1? that's trunk, right? Yes. whew... viewvs made me walk thru every commit as i could not find a way to limit it to display only the commits for trunk... but i

Re: [fpc-pascal] Warnings crti.o and crtn.o not found

2013-04-14 Thread waldo kitty
On 4/14/2013 12:17, Reimar Grabowski wrote: On Sun, 14 Apr 2013 11:55:14 -0400 waldo kittywkitt...@windstream.net wrote: Commit: 23892 Author: florian Date: Sun Mar 17 14:51:19 2013 UTC (4 weeks ago) Changed paths: 4 Log Message:+ warn if one of the linux libc

Re: [fpc-pascal] RE: 64 bit cross binutils on a 32 bit OS

2013-04-12 Thread waldo kitty
On 4/12/2013 02:44, leledumbo wrote: why use cygwin when mingw is available? Highly *nix tied programs that needs quick porting can use it (e.g.: those that use X11). ok... what is the difference between the two? MinGW doesn't implement the *nix layer (Msys does, though only for the

Re: [fpc-pascal] RE: 64 bit cross binutils on a 32 bit OS

2013-04-11 Thread waldo kitty
On 4/11/2013 10:14, leledumbo wrote: Anyhow, there is no cygwin target for Free Pascal, neither win32 nor win64. Could I ask what for? Cygwin is Unix emulation layer on M$ Windows, what is it good for when you can target Windows natively? not that i use either but... why use cygwin when

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-09 Thread waldo kitty
On 4/9/2013 04:14, Mark Morgan Lloyd wrote: It might be notable that Debian doesn't volunteer a domain name unless it's able to contact DNS. I'll get onto nslookup, or just use temporary text (it's only salt for a password hash, and is stored). understood... your nslookup output looked fine to

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-09 Thread waldo kitty
On 4/9/2013 04:24, Tomas Hajny wrote: On Tue, April 9, 2013 10:14, Mark Morgan Lloyd wrote: waldo kitty wrote: i note that both, GetDomainName and GetHostName both use the same var (Sysn : utsname) but just different fields in what is apparently a record of some type... [TRIM] It might

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-09 Thread waldo kitty
On 4/9/2013 05:09, Mark Morgan Lloyd wrote: Ludo Brands wrote: On 04/09/2013 10:14 AM, Mark Morgan Lloyd wrote: It might be notable that Debian doesn't volunteer a domain name unless it's able to contact DNS. I'll get onto nslookup, or just use temporary text (it's only salt for a password

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-09 Thread waldo kitty
On 4/9/2013 14:10, Tomas Hajny wrote: On Tue, April 9, 2013 19:51, waldo kitty wrote: On 4/9/2013 04:24, Tomas Hajny wrote: . . Have you tried using unit netdb from package fcl-net? It doesn't support Windows (and some other platforms yet), but it should work for Unix targets. I believe

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-08 Thread waldo kitty
On 4/8/2013 11:03, Mark Morgan Lloyd wrote: How best to get the (internet-style) domain name of a system? GetDomainName() appears to be returning (none) here on x86 Linux. do you mean the FQDN (Fully Qualified Domain Name)?? ___ fpc-pascal maillist

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-08 Thread waldo kitty
On 4/8/2013 14:54, Mark Morgan Lloyd wrote: waldo kitty wrote: On 4/8/2013 11:03, Mark Morgan Lloyd wrote: How best to get the (internet-style) domain name of a system? GetDomainName() appears to be returning (none) here on x86 Linux. do you mean the FQDN (Fully Qualified Domain Name)?? I

Re: [fpc-pascal] Portable (or at least working) version of GetDomainName()?

2013-04-08 Thread waldo kitty
On 4/8/2013 16:14, Mark Morgan Lloyd wrote: waldo kitty wrote: from the machine you are trying to perform this look up from, what do you get if you do the following? nslookup pye-dev-01 Server: 192.168.1.1 Address: 192.168.1.1#53 Name: pye-dev-01.telemetry.co.uk Address: 192.168.1.16

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

2013-04-04 Thread waldo kitty
On 4/4/2013 04:08, Graeme Geldenhuys wrote: Example of what I want to achieve. Say I have gEdit (Gnome editor) open and have a file loaded. Now if I am in a console and type 'gedit someotherfile.txt' [or double click a text file in Nautilus], it doesn't start a new instance of gedit, the

Re: [fpc-pascal] [OT] Re: Feature proposal: function-based assignment operatorst

2013-04-04 Thread waldo kitty
On 4/4/2013 08:11, Sven Barth wrote: Am 04.04.2013 14:56, schrieb Mark Morgan Lloyd: Sven Barth wrote: Am 04.04.2013 13:54, schrieb Lukasz Sokol: [trim] So far, not many (i.e. none) comments in favor... Yes, I've seen that as well... But it was discussed fairly thoroughly here, and I

Re: [fpc-pascal] Re: HMAC_SHA1 and FPC

2013-04-02 Thread waldo kitty
On 4/2/2013 03:04, Noah Silva wrote: Haha I was just mentioning one positive benefit. Also, I am pretty sure Synapse can use the OpenSSL DLLs. it does... and on at least three platforms, too... winwhatever, *nix and OS2... ___ fpc-pascal maillist

Re: [fpc-pascal] newbie question

2013-03-30 Thread waldo kitty
On 3/30/2013 13:38, Marco van de Voort wrote: In our previous episode, waldo kitty said: that's the main one that's used when there's no dedicated one for the individual users... generally speaking, you'd also have ~/.fpc.cfg or such... how this arrives in ~/ i don't know as i've not (yet

Re: [fpc-pascal] newbie question

2013-03-29 Thread waldo kitty
On 3/29/2013 17:51, duilio foschi wrote: I had somebody install fpc and brook framework into my linux server (as probably I would not had been able to do it) Then I tried to compile the first 'hello world' example of the brook framework. Soon I discovered that - fpc configuration file is

Re: [fpc-pascal] How To write an enumerator for trees

2013-03-21 Thread waldo kitty
On 3/21/2013 09:59, Xiangrong Fang wrote: I am not creating a new thread, but just replied it. your post did not contain a references control line pointing to the post you were replying to... that breaks the linking and it won't be placed in the tree... my 2 centavos... My question is

Re: [fpc-pascal] Case based on type

2013-03-01 Thread waldo kitty
On 3/1/2013 17:57, Sven Barth wrote: [...] Alternatively if you don't need to check the hierarchy, but can live with an exact match you can do this: === example begin === procedure checkLibrariesAndConnect(db: TSQLConnection); begin case LowerCase(db.ClassName) of // Note: .ClassName won't

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

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 reinierolislag...@gmail.com 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

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-18 Thread waldo kitty
On 2/18/2013 02:40, Florian Klämpfl wrote: waldo kittywkitt...@windstream.net schrieb: On 2/17/2013 14:35, Florian Klämpfl wrote: Am 17.02.2013 20:31, schrieb Frank Church: One more thing lest I forget. The official FPC documentation is very good, especially for documents created by

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread waldo kitty
On 2/17/2013 04:45, Sven Barth wrote: Am 16.02.2013 22:14 schrieb Michael Van Canneyt mich...@freepascal.org: True. But I think Florian (or my) time is better spent on actaul coding. Let people that like blogs do the blogging. They're almost certainly going to be better at it. I'm doing

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread waldo kitty
On 2/17/2013 12:44, Michael Van Canneyt wrote: What I (and Florian) are trying to say is that our limited time is better spent on coding than on spreading the news of FPC. But no-one is stopping you from spreading the news, on the contrary. We'll be glad that you do, because it means you think

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread waldo kitty
On 2/17/2013 14:35, Florian Klämpfl wrote: Am 17.02.2013 20:31, schrieb Frank Church: One more thing lest I forget. The official FPC documentation is very good, especially for documents created by volunteers and hobbyists. That it is not accompanied by examples c:\fpc\docsdir ex*.pp /s | grep

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread waldo kitty
On 2/17/2013 19:40, Rainer Stratmann wrote: Am Sunday 17 February 2013 18:45:50 schrieb Florian Klämpfl: Am 17.02.2013 18:10, schrieb ik: Nice, Pascal is at the same level of usage and exposure as gcc, Linux kernel and llvm, And you think some fancy webpage filled with java script (which is

[fpc-pascal] JSON coders beware...

2013-02-07 Thread waldo kitty
i just saw this in my latest copy of @RISK and thought i'd share it since there seem to be quite a few coders using JSON... http://www.reddit.com/r/netsec/comments/17xzlw/why_does_google_prepend_while1_to_their_json/ not knowing others' level of security awarness or what data they are

Re: [fpc-pascal] what happened to the contributed units listing?

2013-02-07 Thread waldo kitty
On 2/7/2013 07:50, Michael Van Canneyt wrote: On Thu, 7 Feb 2013, José Mejuto wrote: Please, add some kind of notification that the page (and maybe others) need javascript enabled to be displayed. I thought that the page was empty :( I didn't imagine there are still people who disable

Re: [fpc-pascal] Favourite Pascal books

2013-01-22 Thread waldo kitty
On 1/22/2013 06:52, Leonardo M. Ramé wrote: The best introductory Turbo Pascal book I've ever read was Mastering Turbo Pascal 6 from Scott D. Palmer spanish edition, i've got one with that very same title but written by Tom Swan... the one i have is the paperback, fourth edition - third

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread waldo kitty
Then TimeOut := True Else TimeOut := False; End; End; On 12/5/2012 6:25 PM, waldo kitty wrote: Var TimeCounter: LongInt Absolute $40:$6C; FPC tells me the following... MKDOS.PAS(14,36) Fatal: Syntax error, ; expected but : found i know this is using direct access to the timer

[fpc-pascal] converting a TP/BP library to FPC

2012-12-05 Thread waldo kitty
w2k with FPC 2.6.0 release using lazarus 1.1 only as an editor... no GUI stuffings at all... i'm using -Mtp in the project options... i have finally gotten around to trying to convert the old FTN/BBS MKSMG library to FPC... it was written for DOS TP/BP and has defines for windows which i

[fpc-pascal] problem with command line defines??

2012-11-28 Thread waldo kitty
on OS/2 eCS2 i have fpc 2.6.0 release installed... i've been working with a library and needed to create a define so that some code would be compiled that otherwise is not... since i have to compile from the command line with fpc, i compiled my project like this... fpc -dOS2GCC testhttp

Re: [fpc-pascal] problem with command line defines??

2012-11-28 Thread waldo kitty
On 11/28/2012 13:55, Tomas Hajny wrote: On Wed, November 28, 2012 19:39, Jonas Maebe wrote: Changing defines does not cause recompilation of units because e.g. the defines required to compile the FPC RTL or packages are completely unrelated to any defines that may or may not be required for

Re: [fpc-pascal] problem with command line defines??

2012-11-28 Thread waldo kitty
On 11/28/2012 13:55, Tomas Hajny wrote: In other words - it is normal, but you can solve it without manually deleting the created *.o and *.ppu files by using the -B parameter (which asks fpc to rebuild all units for which it has sources with the new command line parameters including

Re: [fpc-pascal] Free Pascal 2.6.2 rc1

2012-11-27 Thread waldo kitty
On 11/27/2012 17:48, Bart wrote: So, to make a long story short, I just need the installer to be Win9x compatible, the current rc1 does not need any special build as far as I am concerned. FWIW: the installers have been, in recent times, the problem with many software packages... for

Re: [fpc-pascal] synapse and OS/2

2012-11-11 Thread waldo kitty
On 11/11/2012 07:05, Tomas Hajny wrote: On 10 Nov 12, at 20:29, waldo kitty wrote: before i get too much further along on this project, i guess i should ask about the ssleay32 and libeay32 libraries on OS/2... i'm developing this project on windows with the ultimate goal of copying the source

[fpc-pascal] synapse and OS/2

2012-11-10 Thread waldo kitty
before i get too much further along on this project, i guess i should ask about the ssleay32 and libeay32 libraries on OS/2... i'm developing this project on windows with the ultimate goal of copying the source files over to my OS/2 (eCS2) box and compiling it there with FPC... i have

[fpc-pascal] adding additional libraries

2012-11-09 Thread waldo kitty
when you add additional libraries to your FPC and/or Lazarus installation, how do you normally do it? where do you normally place them? i'm thinking of libraries like synapse, fpGUI, tiOPF and similar... ___ fpc-pascal maillist -

Re: [fpc-pascal] adding additional libraries

2012-11-09 Thread waldo kitty
On 11/9/2012 16:42, Graeme Geldenhuys wrote: On 2012-11-09 19:53, waldo kitty wrote: when you add additional libraries to your FPC and/or Lazarus installation, how do you normally do it? where do you normally place them? Do you mean your directory layout on your hard drive? yes, sorry

[fpc-pascal] secure REST client?

2012-11-08 Thread waldo kitty
i'm looking at creating a REST web application client... nothing fancy... command line oriented... fire it up, it logs into the website and performs the REST queries saving the output to named files... i have no clue where to start looking in the FPC documentation or any existing

Re: [fpc-pascal] secure REST client?

2012-11-08 Thread waldo kitty
On 11/8/2012 17:11, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, waldo kitty wrote: i'm looking at creating a REST web application client... nothing fancy... command line oriented... fire it up, it logs into the website and performs the REST queries saving the output to named files... i

Re: [fpc-pascal] secure REST client?

2012-11-08 Thread waldo kitty
On 11/8/2012 22:15, Виктор Матузенко wrote: Ккк what? i don't understand how this is related to my query :? :( ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] OT: Creating a site to contain Pascal units, libraries etc

2012-10-30 Thread waldo kitty
On 10/29/2012 20:04, ik wrote: * I sent it originally for FPC-Others, but it does not appear there even in the archive FWIW: it showed up here in fpc-other when you first posted it... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] collection memory usage...

2012-10-27 Thread waldo kitty
i'm trying to figure out the best numbers to use for setting up a sorted collection... i'm just not understanding the numbers i'm getting from the heapdump unit at the end of the run... i have two collections (/details at the end/)... these collections can be pretty large (~4 entries

Re: [fpc-pascal] collection memory usage...

2012-10-27 Thread waldo kitty
On 10/27/2012 16:23, Tomas Hajny wrote: [trim] *if i'm reading this properly*, what is confusing me is the first one allocates less memory blocks and uses more heap whereas the second one allocates (a lot) more memory blocks (55000 more??) but uses much less heap... The number of blocks is

Re: [fpc-pascal] fphttpclient close connection?

2012-10-16 Thread waldo kitty
On 10/16/2012 02:36, michael.vancann...@wisa.be wrote: On Mon, 15 Oct 2012, waldo kitty wrote: i've noted that fphttpclient has a DefaultTimeout of 15 minutes... how can i close the connection after all data is received? That should happen by itself ? Keeping the connection open

Re: [fpc-pascal] set useragent in fphttpclient?

2012-10-15 Thread waldo kitty
On 10/15/2012 17:06, Michael Van Canneyt wrote: On Mon, 15 Oct 2012, waldo kitty wrote: i've tried various WAGs like RequestHeaders(fieldUserAgent,'my user agent'); RequestHeaders('User-Agent','my user agent'); SetRequestHeaders(fieldUserAgent,'my user agent'); SetRequestHeaders('User-Agent

[fpc-pascal] fphttpclient close connection?

2012-10-15 Thread waldo kitty
i've noted that fphttpclient has a DefaultTimeout of 15 minutes... how can i close the connection after all data is received? the server is configured to keep-alive. AddHeader(fieldConnection,'close'); works but i want/need to use keep-alive and then close the connection afterwards instead

Re: [fpc-pascal] windres not required/provided by Debian 2.6.0 FPC

2012-10-09 Thread waldo kitty
On 10/8/2012 03:12, Tomas Hajny wrote: The manual forgets to mention that this is only the case on Win32 (where the various GNU tools and utilities are included with the FPC installation package). It also doesn't mention that different resource compilers may be used on other platforms (e.g. gorc

Re: [fpc-pascal] Re: Editing resource of executable

2012-09-01 Thread waldo kitty
On 9/1/2012 02:56, Mark Morgan Lloyd wrote: waldo kitty wrote: Of course, an even safer way would be to leave the executable alone and to put an early check in the startup code that a subsidiary key file existed, and for that key to include something that identified the machine or site

Re: [fpc-pascal] Editing resource of executable

2012-08-31 Thread waldo kitty
On 8/29/2012 17:46, Krzysztof wrote: Hi, I have some problem. Example: I created some exec using free pascal and lazarus. It is placed on http server. User in webbrowser click download, and server should attach link from where it is clicked into this exec. So when user run downloaded exec,

Re: [fpc-pascal] Re: Editing resource of executable

2012-08-31 Thread waldo kitty
On 8/31/2012 11:55, Reinier Olislagers wrote: On 31-8-2012 17:48, waldo kitty wrote: if i'm reading the above correctly, it would appear that it can possibly do what you are looking for... maybe... I'd say it can definitely do what he's asking for - but I'm biased: as well you should

Re: [fpc-pascal] Re: Editing resource of executable

2012-08-31 Thread waldo kitty
On 8/31/2012 16:18, Mark Morgan Lloyd wrote: waldo kitty wrote: i also used this technique to store registration data and options settings directly in the executable instead of having a separate and external configuration file... i can post those old sources if anyone is interested

Re: [fpc-pascal] TObjectQueue with ability to dequeue arbitrary positions

2012-08-25 Thread waldo kitty
On 8/24/2012 14:57, Jorge Aldo G. de F. Junior wrote: [trim] When the object issues request it has to keep looping (until timeout) and dequeueing the last message from the mailbox, inspecting its transaction id for a match and requeueing the same message back into the mailbox if theres no match.

Re: [fpc-pascal] variant.inc(82, 10) Error: Illegal type conversion: Text to TextRec

2012-08-25 Thread waldo kitty
On 8/24/2012 18:07, Sven Barth wrote: Am 24.08.2012 21:21 schrieb Jonas Maebe jonas.ma...@elis.ugent.be It is something with your old build, namely the fact that it is not the latest release (2.6.0 at this time). Building svn versions is only supported if your starting compiler is the latest

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-15 Thread waldo kitty
On 8/15/2012 03:33, Rainer Stratmann wrote: Am Wednesday 15 August 2012 03:52:00 schrieb waldo kitty: On 8/14/2012 03:11, Rainer Stratmann wrote: Am Tuesday 14 August 2012 03:28:26 schrieb waldo kitty: i've been following this whole thread with interest... one thing that i'm still not clear

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-14 Thread waldo kitty
On 8/14/2012 03:11, Rainer Stratmann wrote: Am Tuesday 14 August 2012 03:28:26 schrieb waldo kitty: i've been following this whole thread with interest... one thing that i'm still not clear about, though, is why is this important? is it to see what areas of the program are actually used

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-14 Thread waldo kitty
On 8/14/2012 22:05, Martin wrote: On 15/08/2012 02:52, waldo kitty wrote: this would be no different than the program doing writeln(snippet1); .i must still be missing something :? If I understood him correct: It is not writeln(snippet1); it is writeln('snippet1'); With quotes

Re: [fpc-pascal] Re: Get all caller adresses of a given function/procedure before executing

2012-08-13 Thread waldo kitty
On 8/13/2012 05:09, Rainer Stratmann wrote: Am Monday 13 August 2012 10:35:55 schrieb Lukasz Sokol: [TRIM] You were saying, that you want to know, which string has not been used / which string has been used and how many times ? I want to knof if the string was called the first time. But

Re: [fpc-pascal] Inter-process communication, a cautionary tale

2012-07-20 Thread waldo kitty
On 7/19/2012 03:12, Mark Morgan Lloyd wrote: waldo kitty wrote: On 7/18/2012 08:48, Mark Morgan Lloyd wrote: I was reminded of this when somebody was asking about portable signalling APIs the other day, but I think it's also relevant to discussion of e.g. how to pass a keyword to a help viewer

Re: [fpc-pascal] Variable of class method type of function

2012-07-16 Thread waldo kitty
On 7/15/2012 08:13, Jonas Maebe wrote: On 15 Jul 2012, at 14:05, CA Gorski wrote: How to declare a variable of class method type of function? ... var MyVar: function(AParam: string): boolean of class; ... gives an error using FPC 2.6.1 (Win64). You have to use of object, just like for a

<    1   2   3   >