Re: [fpc-pascal] "Hello world" syscalls

2020-01-08 Thread Vincent Snijders via fpc-pascal
Op do 9 jan. 2020 om 00:47 schreef Graeme Geldenhuys < mailingli...@geldenhuys.co.uk>: > On 07/01/2020 1:28 am, Vojtěch Čihák via fpc-pascal wrote: > > I found this article: https://drewdevault.com/2020/01/04/Slow.html > > but FPC is missing, so I wrote simple: > > On a side note, and for

Re: [fpc-pascal] try..finally vs interfaces performance

2016-04-14 Thread Vincent Snijders
2016-04-14 10:50 GMT+02:00 Michael Van Canneyt : > > > On Thu, 14 Apr 2016, Mazola Winstrol wrote: > > Recently i did some maintenance in a code of a colleague. I realized that >> he designed several classes with interface support so he do not need to >> protect the code

Re: [fpc-pascal] Wiki etc.- where?

2016-02-25 Thread Vincent Snijders
2016-02-25 12:39 GMT+01:00 Mark Morgan Lloyd < markmll.fpc-pas...@telemetry.co.uk>: > http://www.freepascal.org/ points to http://wiki.freepascal.org/ for the > wiki, which is giving me a permanent 403 "Forbidden". > > Anybody know what's going on? > I don't get such error. Last week a mediawiki

Re: [fpc-pascal] FPC Unicode / CodePage aware strings

2015-12-10 Thread Vincent Snijders
2015-12-10 11:18 GMT+01:00 Graeme Geldenhuys : > On 2015-12-10 09:50, Jonas Maebe wrote: > > > > Graeme Geldenhuys wrote on Thu, 10 Dec 2015: > > Tried to compile that with FPC (yes, I included the new "Character" unit > in uses clause) and I get a couple of

Re: [fpc-pascal] [fpc-other] FPC Pestering Peacock (3.0.0) release

2015-11-27 Thread Vincent Snijders
2015-11-26 22:44 GMT+01:00 Jonas Maebe : > On 26/11/15 22:39, Florian Klämpfl wrote: > >> Am 26.11.2015 um 22:31 schrieb Jonas Maebe: >> >>> It just got posted on Slashdot too: >>> >>>

Re: [fpc-pascal] FPC fails to build rev 31874

2015-09-28 Thread Vincent Snijders
2015-09-28 11:08 GMT+02:00 Anthony Walter : > FPC revision 31874 is failing to build with the following error: > > pexpr.pas(3990,48) Error: Incompatible type for arg no. 1: Got "tnode", > expected "tsym" > > Last Changed Author: nickysn > Last Changed Date: 2015-09-27 20:17:53

Re: [fpc-pascal] Compiler error passing a Property as a parameter

2014-06-09 Thread Vincent Snijders
2014-06-08 21:50 GMT+02:00 Graeme Geldenhuys mailingli...@geldenhuys.co.uk : Hi, I think it was FPC 2.6.0 that changed the language rules about Properties. You can't pass them directly as a var parameter, can't assign to a property of a property etc. Anyway, somebody recently asked my why

Re: [fpc-pascal] Typinfo incompatibilities between FPC and Delphi

2014-05-31 Thread Vincent Snijders
2014-05-31 11:48 GMT+02:00 Sven Barth pascaldra...@googlemail.com: On 31.05.2014 05:53, Kenneth Cochran wrote: I'm attempting to port GExperts from Delphi to Lazaurus and noticed the definition of TPropInfo differs from Delphi's. In FPC's TPropInfo the PropType field is PTypeInfo whereas in

Re: [fpc-pascal] Announcing PUMA Repository

2013-12-13 Thread Vincent Snijders
2013/12/13 Johannes W. Dietrich j.w.dietr...@medizinische-kybernetik.de Sorry, I cannot understand your message. Which software do I need to decode it? I have no idea what went wrong. I meant to say: Maybe you can add it to the wiki too in this place:

Re: [fpc-pascal] Announcing PUMA Repository

2013-12-12 Thread Vincent Snijders
2013/12/13 Johannes W. Dietrich j.w.dietr...@medizinische-kybernetik.de With immediate effect the PUMA Repository (Pascal Units for Medical Applications) is available from SourceForge and berlios. The PUMA Repository is a collection of Pascal units for medical informatics. It is compatible

Re: [fpc-pascal] CompareMem documentation

2013-11-14 Thread Vincent Snijders
2013/11/14 Juha Manninen juha.mannine...@gmail.com Documentation here: http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/comparemem.html says that the function returns 0, 0 or 0 while actually it returns a Boolean. Those docs are outdated: see up to date docs at:

Re: [fpc-pascal] math round vs banker's round

2013-08-14 Thread Vincent Snijders
2013/8/14 Sven Barth pascaldra...@googlemail.com I wanted to write x.5 instead of 0.5 :) For any digit x, it still can be represented exactly in binary representation ... Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-27 Thread Vincent Snijders
2013/5/27 Reinier Olislagers reinierolislag...@gmail.com On Linux x64 with a clean fpc directory, using fpcup: svn info: ... Last Changed Author: joost Last Changed Rev: 24622 Last Changed Date: 2013-05-26 22:51:41 +0200 (Sun, 26 May 2013) ... make -C linux all make[4]: Entering

Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-27 Thread Vincent Snijders
2013/5/27 Jonas Maebe jonas.ma...@elis.ugent.be On 27 May 2013, at 09:58, Vincent Snijders wrote: I got a different problem on poerpc-darwin with r24621: https://fpcbuildserver.firmos.**at/job/buildfpc_branch/** platform=powerpc-darwin/902/**consolehttps://fpcbuildserver.firmos.at/job

Re: [fpc-pascal] Trunk seems to break again!?!?

2013-05-27 Thread Vincent Snijders
2013/5/27 Joost van der Sluis jo...@cnoc.nl It uses the pyacc that is already installed on the system. So unless that version is installed using fpmake, this problem did already exist. But the underlying problem is that h2pas.pas is generated again. That should not be necessary. It is

Re: [fpc-pascal] FPC trunk r224549 needs more incantations?

2013-05-22 Thread Vincent Snijders
2013/5/22 Reinier Olislagers reinierolislag...@gmail.com r24549 | joost | 2013-05-21 21:58:14 +0200 (di, 21 mei 2013) | 1 line * Removed unused unit jarparamparser.pas Perhaps some (fp(c))make regeneration or something? Building it I see: make.exe[3]: Leaving directory

[fpc-pascal] Re: [FPC 0024437]: can not build RTL with 2.7.1 compiler

2013-05-16 Thread Vincent Snijders
-- (0067718) Vincent Snijders (manager) - 2013-05-16 18:39 http://bugs.freepascal.org/view.php?id=24437#c67718 -- That compiler is too old, it should

Re: [fpc-pascal] Re: Hashes and CRCs

2013-04-09 Thread Vincent Snijders
2013/4/7 Reinier Olislagers reinierolislag...@gmail.com Apart from that, the wiki already has a huge list of components etc. If dpcrypt on Laz CCR is missing, it should be added. You can find it at: http://wiki.lazarus.freepascal.org/DCPcrypt Vincent

Re: [fpc-pascal] Hashes and CRCs

2013-04-05 Thread Vincent Snijders
2013/4/5 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk 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

Re: [fpc-pascal] x86 asm bswap

2013-02-06 Thread Vincent Snijders
2013/2/6 Juha Manninen juha.mannine...@gmail.com: I read that bswap is used for converting big-endian (Intel) format to little-endian (Motorolla etc.) format. However this a an old Delphi app, Win32 only. I am confused. Intel i386 is little endian. Motorola Powerpc is big endian. Vincent

Re: [fpc-pascal] Free Pascal 2.6.2 rc1

2012-11-27 Thread Vincent Snijders
2012/11/28 Bart bartjun...@gmail.com On 11/27/12, Pierre Free Pascal pie...@freepascal.org wrote: I have uploaded a fpc-2.6.2rc1.i386-win95.exe ,in the same directory beta/2.6.2-rc1/i386-win32, Sorry to say, but I cannot find that file on

Re: [fpc-pascal] Change Endian of String types

2012-11-26 Thread Vincent Snijders
2012/11/26 ik ido...@gmail.com Hello, Is there a way to convert endian of a string (from little to big and vice versa) ? What kind of string you want to convert? For example a PChar is trivial. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: Free Pascal 2.6.2 rc1

2012-11-13 Thread Vincent Snijders
2012/11/13 Reinier Olislagers reinierolislag...@gmail.com I noticed the i386-win32/ directory has wince+win64 installers as well as the i386 ones. Maybe these could/should be moved to their own directories arm-wince and x86_64-win64? Of course, the main thing is that they're there ;) I

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread Vincent Snijders
2012/10/22 Graeme Geldenhuys gra...@geldenhuys.co.uk: On 2012-10-22 14:36, michael.vancann...@wisa.be wrote: I am not sure whether they use the binary release of fpc, or if they compile their own for e.g. windows. If it is the latter, you're in problems. Anybody from the Lazarus development

Re: [fpc-pascal] releasing commercial components as PPU files

2012-10-22 Thread Vincent Snijders
2012/10/22 michael.vancann...@wisa.be: On Mon, 22 Oct 2012, Vincent Snijders wrote: I am more optimistic than Michael. Because the same source is used, the CRC is the same and no recompile is done. It also depends on the date of the .ppu ? I don't think so. But I don't mind to be proven

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-17 Thread Vincent Snijders
2012/10/17 Marco van de Voort mar...@stack.nl: D:\repo\fpcmake all makefile:2717: *** The only supported starting compiler version is 2.6.0. 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] problems compiling FPC

2012-10-16 Thread Vincent Snijders
2012/10/16 dhkblas...@zeelandnet.nl: The starting compiler is also from SVN (21955). On 16 okt '12, mar...@stack.nl wrote: It should be 2.6.0, and nothing else. Then the solution is simple, use fpc 2.6.0. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Error: Can't take the address of constant expressions

2012-09-25 Thread Vincent Snijders
2012/9/25 Bernd prof7...@gmail.com: 2012/9/25 patspiper patspi...@gmail.com: procedure test; begin Move(MyClass1.Ref.Data^, MyClass2.Ref.Data^, 1); end; and if you cast it to some other pointer type before dereferencing the error goes away: procedure test; begin

Re: [fpc-pascal] Windows installer fails to add fpc binaries to PATH

2012-09-14 Thread Vincent Snijders
2012/9/14 Andrew Pennebaker andrew.penneba...@gmail.com: It did work perfectly on my Win7 laptop. You might want to haveadministrator privileges whilst installing (IIRC modifying the global PATH variable requires administrator privileges). I do have administrator privileges, and the

Re: [fpc-pascal] Re: Windows installer fails to add fpc binaries to PATH

2012-09-13 Thread Vincent Snijders
2012/9/14 leledumbo leledumbo_c...@yahoo.co.id: I don't even remember the installer ever tries to add something to PATH... Still, it does. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Constant of 2D array

2012-09-11 Thread Vincent Snijders
2012/9/11 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: Hello, Can I write constants of a 2D array? I am trying to convert some C++ code which uses this ... so far I tryed: const number_return_map: array[0..7][0..7] of U8 = const number_return_map: array[0..7,0..7] of byte

Re: [fpc-pascal] Wiki search broken?

2012-08-27 Thread Vincent Snijders
2012/8/27 Andrew Haines andrewd...@aol.com: On 08/27/12 00:27, Vincent Snijders wrote: 2012/8/27 Andrew Haines andrewd...@aol.com: Hi, Search seems to be broken for me on the wiki What was your search word? I typed in the search box on the bottom right on this page: http

Re: [fpc-pascal] Wiki search broken?

2012-08-26 Thread Vincent Snijders
2012/8/27 Andrew Haines andrewd...@aol.com: Hi, Search seems to be broken for me on the wiki What was your search word? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] wiki down again?

2012-08-21 Thread Vincent Snijders
2012/8/20 Chadisko konradchrist...@googlemail.com: is the freepascal wiki down again? It is working OK now. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Problems with assigning pointers

2012-04-10 Thread Vincent Snijders
Op 10 april 2012 22:06 heeft Darius Blaszyk dhkblas...@zeelandnet.nl het volgende geschreven: Here's a minimal example that has the bug. First of all the first output is wrong as it says 0,50 instead of 20,50 (so the x item is overwritten). The second printed output differs from the first, so

[fpc-pascal] wiki on a new server

2012-03-23 Thread Vincent Snijders
Hi, The Free Pascal and Lazarus wiki has been moved to a new server. Also the wiki software has been upgraded to the latest Mediawiki version. Because porting the custom Free Pascal skin to the new version was too time consuming the default monoskin is used now. Therefore you will notice changes

Re: [fpc-pascal] Where and how is the FPC documentation created?

2012-02-29 Thread Vincent Snijders
Op 29 februari 2012 16:29 heeft Frank Church vfcli...@gmail.com het volgende geschreven: 4. Is there some page where previous versions are available? PS. After some searching questions 2, 3 and 4 are answered - http://svn.freepascal.org/svn/fpcdocs/. or:

Re: [fpc-pascal] Where and how is the FPC documentation created?

2012-02-29 Thread Vincent Snijders
Op 29 februari 2012 18:57 heeft Frank Church vfcli...@gmail.com het volgende geschreven: How often do you update it? See: http://svn.freepascal.org/svn/logs/fpcdocs-trunk.log (also available with viewvc). Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Request for Win32 bootstrap compiler on ftp.freepascal.org/

2012-01-27 Thread Vincent Snijders
Op 27 januari 2012 14:00 heeft Marco van de Voort mar...@stack.nl het volgende geschreven: One can try to cut corners, but that will only end up having to install the release anyway at the first hickup. I'd expect the utils in fpcbuild/trunk to be able to build fpc/trunk better than the release

Re: [fpc-pascal] Re: Installing FPC 2.5.1 in Mac OS X

2012-01-05 Thread Vincent Snijders
2012/1/5 Marco van de Voort mar...@stack.nl: In our previous episode, shiruba2012 said: I had the same issue when specifying a specific compiler in Lazarus.  I changed the directory back to /usr/local/bin/ppc386 and it worked fine.  I almost created another SymLink (as you did), and since

Re: [fpc-pascal] debian control files for fpc

2011-12-18 Thread Vincent Snijders
2011/12/18 David Emerson dle...@angelbase.com: I'd like to roll my own fpc-2.4.4 .deb for in-house development The lazarus sources seem to include a debian directory with all the control files, which is wonderful! Where can I find debian control files for fpc? In the fpcbuild svn

Re: [fpc-pascal] Testing applications with FPCUnit

2011-12-16 Thread Vincent Snijders
2011/12/16 luciano de souza luchya...@gmail.com: Hello listers, Navigating in FPC source codes, I found fpcunit. It's really wonderful. With the tTestCase class, we can  generate a report with the success or the failure of our tests. Is there documentation on the usage of fpcunit? What is

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Vincent Snijders
2011/12/7 Graeme Geldenhuys graemeg.li...@gmail.com: Hi, I did a simple GetTickCount() timing around this loop. Delphi executes the loop in 20 ticks. FPC 2.6.0-rc2 takes 10585 ticks The outer loop runs 200400 iterations. The types for BitValue, ByteValue and RandSeed is of type Byte.

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-08 Thread Vincent Snijders
2011/12/8 Graeme Geldenhuys graemeg.li...@gmail.com: On 8 December 2011 09:25, Felipe Monteiro de Carvalho wrote: And what if it changes in the future to being slow and statistically strong, we change again too? The random number generator can be implemented in such a way that the backend

Re: [fpc-pascal] Premature end of headers using fcl-web and POST

2011-11-01 Thread Vincent Snijders
2011/11/1 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: On Mon, Oct 31, 2011 at 7:30 PM, Michael Van Canneyt mich...@freepascal.org wrote: So it seems that you MUST set the contenttype either to MULTIPART/FORM-DATA or APPLICATION/X-WWW-FORM-URLENCODED. Yes, this is as per

Re: [fpc-pascal] How to insert a record and get the primary key with sqldb?

2011-10-24 Thread Vincent Snijders
2011/10/22 Graeme Geldenhuys graemeg.li...@gmail.com: 1) Use a GUID created at the time you do the Insert. This also means you can do Master/Detail records with no problems at all. I consider this bad advice. GUID are bad primary keys, because of their size and the fact they are not sequential

Re: [fpc-pascal] How to insert a record and get the primary key with sqldb?

2011-10-24 Thread Vincent Snijders
2011/10/24 michael.vancann...@wisa.be: On Mon, 24 Oct 2011, Vincent Snijders wrote: 2011/10/22 Graeme Geldenhuys graemeg.li...@gmail.com: 1) Use a GUID created at the time you do the Insert. This also means you can do Master/Detail records with no problems at all. I consider this bad

Re: [fpc-pascal] fpc has trouble with array types

2011-10-18 Thread Vincent Snijders
2011/10/18 Sven Barth pascaldra...@googlemail.com: Am 18.10.2011 11:12, schrieb Sven Barth: type TByteArray = array of Byte; function XlatPrime(): TByteArray; begin XlatPrime := TByteArray.Create( $64, $73, $66, $64, $3b, $6b, $66, $6f, $41, $2c, $2e, $69, $79, $65, $77, $72, $6b, $6c,

Re: [fpc-pascal] fpc has trouble with array types

2011-10-17 Thread Vincent Snijders
2011/10/18 Andrew Pennebaker andrew.penneba...@gmail.com: But, but, the docs imply that this is the syntax for a function that returns an array of bytes. Where in the docs did you read this? Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] More Filter Madness

2011-10-14 Thread Vincent Snijders
2011/10/14 Ko Hashiguchi ko.d.hashigu...@gmail.com: Mine is more of a programming problem, rather than one native to Pascal, but here goes: I have a text file with many Double values. Looking more or less like below, but with hundreds of entries... 1.5 3.25 7.54 10.33 2.22 The values

Re: [fpc-pascal] More Filter Madness

2011-10-14 Thread Vincent Snijders
2011/10/14 Graeme Geldenhuys graemeg.li...@gmail.com: On 14/10/2011 08:49, Vincent Snijders wrote: Depending on how many numbers you read and the difference between The original poster's questions sounds very much like a homework assignment, which you have no done for him. Naughty

[fpc-pascal] Reusing a TProcess object (issue 19997)

2011-10-11 Thread Vincent Snijders
Hi, Is it allowed to execute a TProcess object more than once? And if yes, different command lines be used? The reason I ask is issue 19997, each invocation of the compiler in Lazarus leaks a process handle and a thread handle on windows. (not tested on other OS-es). If is it allowed to re-use

Re: [fpc-pascal] fpmake exception

2011-08-18 Thread Vincent Snijders
2011/8/18 Henry Vermaak henry.verm...@gmail.com: Hello While building fpc on my arm netbook, I found this crash in fpmake: EAccessViolation : Access violation  $00027448  FIXPATH,  line 1737 of src/fpmkunit.pp  $00039E24  TTARGET__SETNAME,  line 5577 of src/fpmkunit.pp  $00027F24  

Re: [fpc-pascal] Virtual inline methods

2011-08-18 Thread Vincent Snijders
2011/8/18 dhkblas...@zeelandnet.nl: I'm porting a piece of code from C++ and there they use virtual inline methods. I tried it in FPC but it accepts either virtual OR inline methods. Is this a bug, or a feature that I don't understand enough about? At first I didn't understand how a virtual

Re: Re[2]: [fpc-pascal] TimSort

2011-05-24 Thread Vincent Snijders
2011/5/24 José Mejuto joshy...@gmail.com: Hello FPC-Pascal, Tuesday, May 24, 2011, 1:06:43 PM, you wrote:   Why is TimSort specially interesting to you ? MG  I need a fast stable sort, so multiple sorts work as expected (contrary to MG QuickSort). MG  TimSort is a candidate. That's

Re: [fpc-pascal] Re: Register variables slowing down floating point operations

2011-05-13 Thread Vincent Snijders
2011/5/13 Marcos Douglas m...@delfire.net: So, not to use the option -O in i386? When I compile FPC sources, on Win32 XP SP3, using make, the option is used. I'm confusing now... Did you try one of the -Cf options to enable MMX on i386? Vincent ___

Re: [fpc-pascal] Installing FPC 2.5.1 in Mac OS X

2011-04-15 Thread Vincent Snijders
2011/4/15 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: On Fri, Apr 15, 2011 at 4:11 PM, Jonas Maebe jonas.ma...@elis.ugent.be wrote: And does it work when you manually execute it? As in just typing: fpcres ? IIRC, with -va or -vd, ppc386 shows the fpcres command line. Can

Re: [fpc-pascal] Is there a problem on the lazarus mailing list?

2011-04-12 Thread Vincent Snijders
2011/4/12 Luca Olivetti l...@ventoso.org: Sorry for the off-topic, but I sent a message yesterday to the lazarus mailing list and it hasn't appeared. In fact there aren't new messages since last Sunday. Does anybody know if is there a problem with the lazarus list server? I restarted mailman,

Re: [fpc-pascal] Convert error hex string to cardinal....

2011-01-17 Thread Vincent Snijders
2011/1/17 Bo Berglund bo.bergl...@gmail.com: I have encountered a conversion error using FPC 2.4.2 with Lazarus 0.9.29 as follows: var  t: Int64;  v: string; begin  ...  t := StrToInt('$' + v); This gives an exception invalid integer. At this moment v is '577B4D58A51A0EE', which

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread Vincent Snijders
2011/1/10 alexv...@mail.ru alexv...@mail.ru: But I want packages to be binary portable between OS (on target processor architecture) I don't think that is feasible, unless you don't use any OS features. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Help building fpc svn Win64

2011-01-05 Thread Vincent Snijders
2011/1/5 Marco van de Voort mar...@stack.nl: This snapshot is missing the cmp.exe file, so I had used the win32 one. After an error about not found as.exe I had used the win32 version too, but now I'm stuck at an ld.exe problem. The win32 version of ld.exe does not have a pei-x86-64 target so

Re: [fpc-pascal] Help building fpc svn Win64

2011-01-05 Thread Vincent Snijders
2011/1/5 Marco van de Voort mar...@stack.nl: I would not build the fp ide. Does that remark apply to 2.4.x or 2.5.1? 2.5.1, because AFAIK, Pierre's work that requires the external linker on win64 is done in trunk only and not yet merged to 2.4.2. Vincent

Re: [fpc-pascal] Unicode strings

2010-12-31 Thread Vincent Snijders
2010/12/31 Juha Manninen juha.mannine...@gmail.com: UTF-16 needs codepages, too. I don't think so. What would a code page be used for with UTF-16. UTF-16 itself is already an encoding, implictly stating one and only one code page, if it can be named a code page. Vincent

Re: [fpc-pascal] Progress indication while linking

2010-12-28 Thread Vincent Snijders
2010/12/28 Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk: Jonas Maebe wrote: On 28 Dec 2010, at 11:04, Mark Morgan Lloyd wrote: Is it possible to get any sort of activity indication that confirms that the linker is actually doing something useful, rather than just sitting there

Re: [fpc-pascal] fpGUI powered by OpenGL

2010-12-20 Thread Vincent Snijders
2010/12/20 dhkblas...@zeelandnet.nl: But why is it not possible to integrate this with the regular fpGUI ? Can you explain in a couple of sentences ? Can't remember having said that it was impossible with the current approach. In fact it is perfectly doable. However (free)glut and opengl are

Re: [fpc-pascal] Please update ubuntu repository

2010-12-12 Thread Vincent Snijders
2010/12/12 Darius Blaszyk dhkblas...@zeelandnet.nl: Hi, When updating 2.4.0 to 2.4.2 I noticed that the Ubuntu repository on www.hu.freepascal.org, has not been updated yet. Could someone please upload the latest versions there? Or is this something experimental only? It will be updated by

Re: [fpc-pascal] Suggestion about ability to pass local procedures as variables

2010-11-30 Thread Vincent Snijders
2010/11/30 Max Vlasov max.vla...@gmail.com: Hi, it appears recently several pieces if knowledge came to me, I understood how anonymous functions (aka closures) work :) and the fact that GNU Pascal allows passing local procedure as variables. I mentioned them together because as many I don't

Re: [fpc-pascal] bugtracker questions/report (where to send)

2010-11-26 Thread Vincent Snijders
2010/11/26 Max Vlasov max.vla...@gmail.com: Hi, I have two questions: - Is everything is ok with steps to reproduce field in fpc bugtracker? It never show at the issue view. Hope it saves and and at least the developers are seeing it. It is visible in the advanced view, not in the simple

Re: [fpc-pascal] Building FPC trunk on XP win64

2010-11-26 Thread Vincent Snijders
2010/11/26 Birger Jansen bir...@cnoc.nl: I'll see if I can find the missing cmp.exe in 64 bit version or try with the 32 bit version. Copying the cmp.exe that comes with the Lazarus 32 bit installer to a 64 bit installation worked. Can this file be included in the 64 bit installer to

Re: [fpc-pascal] Re: Cross-compiling with FPC 2.5.1

2010-10-26 Thread Vincent Snijders
2010/10/26 patspiper patspi...@yahoo.com The buildcrossbinutils.sh script produces i686-mingw32- binaries only (no i686-cygwin-), and yet, FPC 2.4.2 cross compiles without any problem. What is different about 2.5.1? Probably 2.5.1 contains assembler files, so it needs an assembler, 2.4.2

Re: [fpc-pascal] Re: Posting to the list via GMAIL

2010-10-09 Thread Vincent Snijders
2010/10/9 Bo Berglund bo.bergl...@gmail.com: So it seems like the GMANE maintainers have either not understood or not reconfigured this NG with the new setting. I suggest you keep an eye on http://gmane.org/info.php?group=gmane.comp.compilers.free-pascal.general The list is still marked

Re: [fpc-pascal] How to get to Range Check Error location

2010-10-02 Thread Vincent Snijders
2010/10/2 Jonas Maebe jonas.ma...@elis.ugent.be: Because of -gh I am getting the following output always when closing Lazarus. Only the numbers change with Lazarus versions and compile options. Likely it is not a real error. Vincent Snijders suspected it is a bug in the way heaptrc does its

Re: [fpc-pascal] How to get to Range Check Error location

2010-10-02 Thread Vincent Snijders
2010/10/2 Juha Manninen (gmail) juha.mannine...@gmail.com: The last 3 lines practically say Lazarus has a memory corruption or leak or something, while it does not have. It is OK not that I know it. True heap size : 1048576 True free heap : 1924768 Should be : 1048576 It just says that heaptr

Re: [fpc-pascal] Initializing records and other complicated structures

2010-09-28 Thread Vincent Snijders
2010/9/28 Jürgen Hestermann juergen.hesterm...@gmx.de: Sven Barth schrieb: It's enough code, because FillByte (and others) are defined with a var parameter and such the hint (not a warning) won't go away. It's an old topic already and we have just to live with it (regarding the Fill*

Re: [fpc-pascal] What is wrong with this enum and array related code

2010-09-12 Thread Vincent Snijders
2010/9/12 Frank Church vfcli...@gmail.com: program testnums; //{$APPTYPE CONSOLE} uses   Classes, SysUtils; type    stType = (stLite := -100, stDb, stBothLite, stBothDb); //settings location Type    stTypes = Array [stType] of integer; var  d : stType;  s : string;  i : integer;

Re: [fpc-pascal] Re: What is wrong with this enum and array related code

2010-09-12 Thread Vincent Snijders
2010/9/12 Frank Church vfcli...@gmail.com: I need to elaborate more on this code On this line d := stTypes[i - Ord(low(stType))]; since stTypes is an array, I expect stTypes[n], with n being 1 to 4,  to retrieve an array value and as 'i - Ord(low(stType)) evaluates to integer it should

Re: [fpc-pascal] Anything like TRichView?

2010-05-26 Thread Vincent Snijders
CA Gorski schreef: Is there anything like TRichView (www.trichview.com) for Lazarus/FPC? Doesn't need to be as complex as that one. Can be much simpler, but TMemo is too simple. ;) Maybe: http://wiki.lazarus.freepascal.org/RichMemo Vincent ___

Re: [fpc-pascal] UTF8Decode

2010-05-11 Thread Vincent Snijders
Graeme Geldenhuys schreef: Luis Fernando Del Aguila Mejía het geskryf: Why WideString is not equal to Unicodestring in Windows? WideString is reference counted (for Windows COM reasons). UnicodeString is pretty much the same as WideString, but not reference counted. I am pretty sure it is

Re: [fpc-pascal] deprecated syntax is inconsistent.

2010-04-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 29 April 2010 17:23, Marco van de Voort mar...@stack.nl wrote: Its got nothing to do with the latex package. Trying to describe the inconsistent syntax of Hint Directives in a syntax diagram (like used in the FPC Language Reference doc) just seems impossible. From

Re: [fpc-pascal] deprecated syntax is inconsistent.

2010-04-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 29 April 2010 21:57, Vincent Snijders vsnijd...@vodafonevast.nl wrote: I don't see the issue, it gets a bit more complicated, but not impossible. I am just bad in ascii graphics, but I can imagine how it looks like. I'm sure Michael will welcome your patch

Re: [fpc-pascal] Question about Deleting elements in Dynamic Array

2010-04-28 Thread Vincent Snijders
Bihar Anwar schreef: I've tried to use Move() instead of Copy(). Any objection with the following code? Yes, at first glance without much thinking, I don't think it is safe. Did you think through the consequences of copying reference counted types (ansistring in this case presumably)?

Re: [fpc-pascal] What project management tool does FPC developers use?

2010-04-27 Thread Vincent Snijders
Florian Klaempfl schreef: Frank Church schrieb: What project management tool does FPC and Lazarus developers use? I mean besides mantis for bug tracking? None, simply because we don't have any time budgets/resources but people are working as soon as they find time. I am thinking along the

Re: [fpc-pascal] State of FPC docs.rant

2010-04-22 Thread Vincent Snijders
Joseph Montanez schreef: rant In the end I think automated documentation is bad, and thats really what I see with the current state of FPC docs. It might allow better ability to stay sync with the current release but not allowing _easy_ social interaction to expand those docs, I think it is a

Re: [fpc-pascal] FPC static linking of zlib

2010-04-13 Thread Vincent Snijders
Matthias Klumpp schreef: I'm not sure if some version of zlib was translated to pascal; therefore having the same security issues, or if it was written from scratch, so that it won't have those security issues? Not sure... I should say that WinFF and easyMp3Gain do not use any ZLib function,

Re: [fpc-pascal] New wiki, ftp and mailing list server planned

2010-03-13 Thread Vincent Snijders
Florian Klaempfl schreef: Flávio Etrusco schrieb: From the wiki, it's more interesting to pay in Euros, right? Is the German PayPal only a localized version, or are they separate corporations and I'd have to create a different account? And is there a way to use the German site in English? ;)

Re: [fpc-pascal] New wiki, ftp and mailing list server planned

2010-03-13 Thread Vincent Snijders
Florian Klaempfl schreef: As you might have noticed, the server running the wiki (lazarus and fpc), the mailing lists (lazarus and fpc) Just the fpc mailing lists. The Lazarus mailing lists are hosted on the same server that hosts the lazarus website and forum. and being ftp master (fpc

Re: [fpc-pascal] Thread IDs

2010-02-18 Thread Vincent Snijders
Wimpie Nortje schreef: Jonas Maebe wrote: On 18 Feb 2010, at 16:35, Wimpie Nortje wrote: What is the difference between GetThreadID() and GetCurrentThreadID()? There is a threadvar called threadid in the system unit. When a new thread is started, GetCurrentThreadID is called to obtain

Re: [fpc-pascal] Locating the users HOME folder

2010-02-01 Thread Vincent Snijders
Michael Van Canneyt schreef: No. But it has been a regular request to add this to sysutils. Please file a feature request in the bug tracker, so we won't forget it. (preferably with implementation patch ;) ) Are you sure? Peter Vreman asked for a $HOME macro in lazarus and Mattias

Re: [fpc-pascal] [OT] which editor - emacs?

2010-01-12 Thread Vincent Snijders
David Emerson schreef: on multiple projects at once. Especially, e.g., if I want to test some feature or idea in a new little project, I tend to just do that in a separate editor rather than opening another group of lazarus windows or closing the big project I'm working on. For such use

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-03 Thread Vincent Snijders
Doug Chamberlin schreef: Florian Klaempfl wrote: Doug Chamberlin schrieb: Anyone know how soon this will be incorporated into the tar file that is posted as the latest 2.4 download? Never. 2.4.0 is out and finished. OK. anyone know when this fix will be incorporated into the next tarball

Re: [fpc-pascal] Const Array Length (was Dynamic Array Length)

2010-01-02 Thread Vincent Snijders
Jürgen Hestermann schreef: Juha Manninen schrieb: const a: array of string = ('aaa', 'bbb', 'ccc'); It looks like a dynamic array, but obviously is not dynamic because it is constant. :-) The indexing would start from 0 like with dynamic arrays. It would not break the existing syntax and

Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/12/29 Joost van der Sluis jo...@cnoc.nl: Please try again first using a recent snapshot. I think this bug is solved long ago.. I don't have the problem under Linux, and I used Lazarus SVN of yesterday (which I think is recent enough). I don't know how to

Re: [fpc-pascal] RE: Possibly a dumb question.... (Jennifer Usher)

2009-12-28 Thread Vincent Snijders
Jürgen Hestermann schreef: I have been trying to compile a simple test program and I keep getting the following errors: c:\lazarus\fpc\2.2.4\bin\i386-win32\windres.exe: can't open file `project1.manifest': No such file or directory I am about a week ahead of you with Lazarus, and I struggled

Re: [fpc-pascal] Forum merger

2009-12-18 Thread Vincent Snijders
Graeme Geldenhuys schreef: I really don't care where projects are created - I think SourceForge or GitHub are more visible and accessible by all. So that would be my first choice anyway. I really don't care either. The most important thing now is that (at least) one person actually starts

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Vincent Snijders
Matthias Klumpp schreef: server, this is not really a problem. Why don't use Git this time? A. Because there no Git Server on the FPC SVN server. It's making code review and code merging from other sources a lot easier. I don't understand what you mean here. Vincent

Re: [fpc-pascal] Forum merger

2009-12-17 Thread Vincent Snijders
Graeme Geldenhuys schreef: I agree with Mattias. I didn't think Mattias commented on this thread. Do you mean Matthias, who suggested to use Git on the FPC svn server? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Possible bug in return value of MonthsBetween function in unit dateutils

2009-12-10 Thread Vincent Snijders
Funky Beast schreef: Hi, When trying to get the number of months between the following dates: 01-06-2009 and 01-08-2008 MonthsBetween returns: 9 months. That is clearly wrong (fundamentally counting with my fingers yields 10 months). Looking at the function in dateutils.inc, I copied the

Re: [fpc-pascal] Help porting DeCAL library

2009-12-07 Thread Vincent Snijders
leledumbo schreef: http://old.nabble.com/file/p26671529/decal-1.zip Here is a FPC conversion of DeCAL library. However, many things still don't work. Please see todo.txt. You can find (the same, or another) port to FPC in

Re: [fpc-pascal] char in [range]

2009-12-07 Thread Vincent Snijders
ik schreef: Yes :) OT: My native language is non latin based, and you write what you hear (unlike latin based languages). Reading http://en.wikipedia.org/wiki/Orthographic_depth, I would expect that in Hebrew, one cannot just write what one hears, unlike some (but not all) Latin based

Re: [fpc-pascal] (Generic) Container Classes

2009-11-29 Thread Vincent Snijders
Juha Manninen schreef: What about the generic containers? I guess it has not been planned yet. There are some in the fgl unit in the RTL. As far as I can see, they are not yet documented. Vincent ___ fpc-pascal maillist -

  1   2   3   4   5   >