Re: [fpc-pascal] Compiling from and to memory

2012-04-20 Thread waldo kitty
On 4/19/2012 08:11, OBones wrote: Hello all, I'm currently creating a build chain where FPC is the last step, the one producing a DLL for Windows, x86 and x64. In front of it in the chain, I have designed a generator that creates a program and a set of units from its own representation. Right no

Re: [fpc-pascal] Compiling from and to memory

2012-04-20 Thread waldo kitty
On 4/20/2012 14:13, Mattias Gaertner wrote: On Fri, 20 Apr 2012 18:26:28 +0200 Florian Klaempfl wrote: [...] Do you have any proof that writing/reading to the files to disk is an issue? On modern harddisks and OSes the plain I/O speed is normally not the issue when compiling. True. Lazarus m

Re: [fpc-pascal] Compilation progress

2012-04-26 Thread waldo kitty
On 4/26/2012 15:06, Jonas Maebe wrote: On 26 Apr 2012, at 17:31, OBones wrote: Is there a way get progress information output by the compiler while building a project? I tried the -vt option, but I can't figure out a way to parse this and get something like current value and max while the li

Re: [fpc-pascal] Windows Phone 8 + pascal

2012-06-25 Thread waldo kitty
On 6/25/2012 05:12, michael.vancann...@wisa.be wrote: On Mon, 25 Jun 2012, Sven Barth wrote: Why does "COM-based + .NET-like metadata" imply that it's not native code? The core libraries are written in either C or C++ and the metadata is needed so that runtimes like .NET and languages like JavaS

Re: RE : [fpc-pascal] JSON and UTF8

2012-07-10 Thread waldo kitty
On 7/10/2012 07:00, Luiz Americo Pereira Camara wrote: With the old behavior, in an system with a system code page <> UTF8, if i try to show the parsed value of "\u4E01" in e.g. a LCL app will get garbage. I would expect to work correctly in any enviroment this means that some environments wil

Re: [fpc-pascal] Re: RE : JSON and UTF8

2012-07-11 Thread waldo kitty
On 7/11/2012 01:36, Reinier Olislagers wrote: On 11-7-2012 4:19, waldo kitty wrote: On 7/10/2012 07:00, Luiz Americo Pereira Camara wrote: With the old behavior, in an system with a system code page<> UTF8, if i try to show the parsed value of "\u4E01" in e.g. a LCL app will

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

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 v

fpc-pascal@lists.freepascal.org

2012-07-22 Thread waldo kitty
On 7/22/2012 03:39, leledumbo wrote: I have a web app that works fine with embedded http server, but due to its current bugs, I need to switch to something more reliable. So I choose ummm what is "its" in "its current bugs"?? the embedded http server or?? i'm going to guess the embedded http s

Re: [fpc-pascal] Translating from error numbers to symbolic name

2012-08-03 Thread waldo kitty
On 8/3/2012 18:24, Marco van de Voort wrote: EAGAIN generally means that you should try again. So repeat until repeat res:=dofunc; err:=geterrno; until (res<>-1) or ((err<>ESysEINTR) and (err<>ESysEAgain)); it is a workaround against potential deadlock between userland and kern

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 since

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 actual

Re: [fpc-pascal] Re: fpdoc executable both in bin and utils\fpdoc - but not fpdoc.css

2012-08-14 Thread waldo kitty
On 8/14/2012 09:47, michael.vancann...@wisa.be wrote: On Tue, 14 Aug 2012, Tomas Hajny wrote: Actually, the file is more a configuration file for fpdoc than its documentation, isn't it? From this point of view, shouldn't SysUtils.GetAppConfigDir serve as the most reasonable location? It is def

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'); W

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

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" 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 release. Sometimes I wonde

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, this

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: a

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... they

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 on

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

[fpc-pascal] set useragent in fphttpclient?

2012-10-15 Thread waldo kitty
how do i set the useragent field in a client built with fphttpclient? i'm starting with the example "httpget" and then moving on from there... i've tried various WAGs like RequestHeaders(fieldUserAgent,'my user agent'); RequestHeaders('User-Agent','my user agent'); SetRequestHeaders(fieldUserA

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 use

[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] 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 op

[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 f

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 high

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 http://

[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 libraries..

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.

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

[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 - fpc-pascal@lists.f

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] 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 anothe

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 s

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 instance,

[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 a

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 comp

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 conditional

[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 ass

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

2012-12-06 Thread waldo kitty
imeDiff < 0 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

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 pri

[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 transf

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 javascri

Re: [fpc-pascal] Re: Compiled program is a virus (seems to be internallinker problem)

2013-02-12 Thread waldo kitty
On 2/12/2013 06:18, Lukasz Sokol wrote: On 11/02/2013 23:19, Gerhard Scholz wrote: I switched to AVAST free Antivirus now, the problem does not occur here. This is not a pascal question, but maybe can give me a hint if AVAST is good or which software is more recommendable. (I do not really trus

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" : > 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 feature announce

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 FP

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\docs>dir 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 t

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 kitty 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 volunteers and hobbyists

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

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 work

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 abou

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 call

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

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] 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 existing

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 think

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 maillis

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 D

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] 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 be

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 has

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 be

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 ming

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 shell

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? that's

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 kitty 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 didn't look all

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 kitty 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 startup code files is not

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 kitty 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

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

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 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!!! Don't simply send Delphi cod

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 mailto:wkitt...@windstream.net>> On 4/27/2013 11:06, silvioprog wrote: 2013/4/27 Sven Barth On 26.04.2013 21:38, silvioprog wrote: Select in socket of Delphi 2007 (a friend sent it

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 Barthmailto:pascaldragon-gM/ye1e23mwn+bqq9rb...@public.gmane.org>> On 26.04.2013 21:38, silvioprog wrote: Oopppss, sorry. I'll delete it. :X Too

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 h

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 starti

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 to

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] 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 i

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 unles

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 verify/vali

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 b

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] How to save a huge XML?

2013-06-21 Thread waldo kitty
On 6/20/2013 17:34, Marcos Douglas wrote: On Wed, Jun 19, 2013 at 12:57 PM, Graeme Geldenhuys wrote: Your only [sane] alternative would then be to NOT use TXMLDocument, pray that your XML format isn't too complex, then use TFileStream (or something similar), and generate the XML lines one by o

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

2013-06-29 Thread waldo kitty
FWIW: top posting is like reading a book backwards... please post below existing quotes... On 6/29/2013 18:59, Johan Tu Toit wrote: I Tried, but only return an integer not a string value. what were you expecting to see as a result? -- NOTE: No off-list assistance is given without prior app

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 kitty wrote: FWIW: top posting is like reading a book backwards... please post below existing quotes... *^^^* i fixed your quotes and reply... On 6/29/2013

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 Linu

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 opti

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] Re: JVM backend and language restrictions

2013-07-11 Thread waldo kitty
On 7/11/2013 09:07, Graeme Geldenhuys wrote: Wow, things are really hard to find in the wiki. this is true for all wikis... i've never found one that wasn't hard to get around on... i like the "what links here" links but have never seen a "this links where" one that shows the other pages th

Re: [fpc-pascal] Re: AV: FCL-Image and XPM image

2013-07-13 Thread waldo kitty
On 7/13/2013 17:03, silvioprog wrote: 2013/7/13 silvioprog mailto:silviop...@gmail.com>> C:\Users\Silvio\Desktop\xpm>project1.exe An unhandled exception occurred at $00412008: EAccessViolation: Access violation $00412008 $00411D6F $00410B81 $0040F9B1

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 co

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" firs

  1   2   3   4   >