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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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: 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] Implementing a true Singleton - Can we decrease the visibility of a method?

2006-12-08 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 12/8/06, Jonas Maebe [EMAIL PROTECTED] wrote: Quote: You should not change the access modifier for inherited members. So it's possible but discouraged, and they give warnings (and sometimes errors) for it with the recommendation Do not exclude a warning from this

Re: [fpc-pascal] RE: [lazarus] Article on Pixel.

2006-12-11 Thread Vincent Snijders
Graeme Geldenhuys schreef: I did a bit of Google'ing and answered my own question :-) eLiquid is not based on SDL. or is it? :-) I think it depends on the target. Linux = SDL DOS = not SDL --- Quote -- Requirements: It is required to install libSDL package to get Pixel

[fpc-pascal] fpcdoc gives a lot of warnings

2006-12-13 Thread Vincent Snijders
Hi, If I use thhe fpc 2.1.1 version of fpdoc on the rtl documentation files, I get a lot of warnings like: Writing 7520 pages... [no context] Invalid description (illegal XML element: #text) [no context] Invalid description (illegal XML element: #text) [no context] Invalid description

[fpc-pascal] environmentstrings in windows

2006-12-14 Thread Vincent Snijders
Consider the following program: {$mode objfpc}{$H+} uses SysUtils; var i: integer; s: string; begin i := GetEnvironmentVariableCount; writeln('VariableCount: ',i); s := GetEnvironmentString(1); writeln('Variable 1: ', s); s := GetEnvironmentString(2); writeln('Variable 2: ',

Re: [fpc-pascal] 2.1 version

2006-12-18 Thread Vincent Snijders
Carsten Bager schreef: Where can I read what's new in the coming 2.1 version. The next fpc release will probably be fpc 2.2.0. See the roadmap for some details: http://www.freepascal.org/wiki/index.php/Road_map Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] FileExists inconsistency

2007-01-03 Thread Vincent Snijders
Henry Vermaak schreef: Hi all FileExists seems to be inconsistent between linux and windows. FileExists in linux returns true for a directory, but not in windows. The windows behaviour is consistent with Delphi, though, and I assume that's correct. Can anyone confirm or comment on this? I

[fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-02 Thread Vincent Snijders
Hi, Dean Zobec created a new xmlreportwriter for fpcunit. Among others it supports nested test suites. Does anybody have a stylesheet for showing such a report. Maybe somebody is willing to create one. Examples of the old xml format+ style sheet (slightly modified):

Re: [fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-03 Thread Vincent Snijders
Graeme Geldenhuys schreef: Ok, I'll bite.. ;-) Thanks. It is nice to find a volunteer. :-) Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiler bootstrapping?

2007-02-06 Thread Vincent Snijders
Tiziano_mk schreef: I am not sure to understand this text from FPC FAQs item no. 3. Can someone explain better? What do you understand? What is it that you don't understand? Bootstrapping: FPC requires a suitable set of binutils (AS,AR,LD), gmake and a commandline compiler. New

Re: [fpc-pascal] Exception callstacks, backtracks...

2007-02-07 Thread Vincent Snijders
m utku schreef: Hi all, Basically I want to get a stack trace and log it when a special exception occurs. All I could find about was the lineinfo.pas (and -gl switch) but that does not help much as it interfaces only one procedure which is no good for client usage. What do I miss; what

Re: [fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-08 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi Vincent, I'm almost done with the new stylesheet. Nice \0/ I've been testing it with the new xml format sample you mentioned in you email. How did you generate that? I wanted to test the new stylesheet against the tiOPF project, but my xml format is

Re: [fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-09 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 2/8/07, Vincent Snijders [EMAIL PROTECTED] wrote: No, I used unmodified fpc and the lazarus changes (a modified console test runner) are in svn too. How sure are you? :-) I followed your instructions and this is the xml 'runtests' generated. 95 % sure

Re: [fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-09 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 2/9/07, Vincent Snijders [EMAIL PROTECTED] wrote: True the gui test runner still uses TXMLResultsWriter from xmlreporter unit. The lazarus console testrunner uses the TXMLResultsWriter from the xmltestreport unit. Ok, no idea what happened!! I removed the IFDEF

Re: [fpc-pascal] New stylesheet for fpcunit xml reports

2007-02-09 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 2/9/07, Vincent Snijders [EMAIL PROTECTED] wrote: let it read the FDoc private variable. We better create a patch for this. Or update to r6311 of fpc. Ah. :) I'm on r6290. That is more than a week old. I thought you updated each Monday... Vincent

Re: [fpc-pascal] Question on how to avoid memory trouble

2007-02-12 Thread Vincent Snijders
Helmut Hartl schreef: http://www.research.ibm.com/people/m/michael/pldi-2004.pdf This one is not lock free, because it uses atomic instructions used by the cpu, which are essentially fine grained locks. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Windows--Linux library

2007-02-14 Thread Vincent Snijders
Michel Meunier schreef: Hello, With your help, my initial library .dll writen with Delphi, is now working at about 95% when compiled with fpc. Now my goal is to get a .so library under Linux. So I have begun to compile it under linux. There are a lot of hints but not important, but after I

Re: [fpc-pascal] Wikies

2007-02-23 Thread Vincent Snijders
Florian Klaempfl schreef: Felipe Monteiro de Carvalho schrieb: I couldn´t find it because I am used to ignoring the About section. IMHO the links to fpc things aren´t as easy to find as they could be, specially to new users. My suggestion would be to add a small section for FPC of the same

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Vincent Snijders
Jonas Maebe schreef: On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called map file that contains the function addresses matched with the function names when an executable compiled. What would be the equivalent FPC

Re: [fpc-pascal] Equivalent of Delphi map files...

2007-03-02 Thread Vincent Snijders
Jonas Maebe schreef: On 02 Mar 2007, at 09:26, Vincent Snijders wrote: Jonas Maebe schreef: On 02 Mar 2007, at 09:03, m utku wrote: Hello again :), I just forgot to ask; Delphi has an option to generate a so called map file that contains the function addresses matched with the function

Re: [fpc-pascal] exitcode=2 what is that?

2007-03-30 Thread Vincent Snijders
liyupeng schreef: Hi,list, this is the first time of using free pascal! after I compiled my program successful, I run it. The information is exitcode=2. what is that mean? It means: File not found See runtime error list: http://www.freepascal.org/docs-html/user/userap4.html Try

Re: [fpc-pascal] Pipe buffering, accessing C-style stdin/stdout

2007-04-01 Thread Vincent Snijders
Marco van de Voort schreef: After a lot of googling and experimenting, I think I have managed to make it work, but only in C code, and I want it to run in Pascal. The key to make it work in C was to call setvbuf at the right time, to set the buffering mode for stdin/stdout. The problem with

[fpc-pascal] set output directory for resources

2007-04-25 Thread Vincent Snijders
Hi, If I compile a unit which contains {$R wincemenures.res} a file named wincemenures.or is created in the source directory, even if I have set -FU or -FE. What parameter do I need to pass to the compile to move the .or file to the unit output directory? Vincent

Re: [fpc-pascal] set output directory for resources

2007-05-02 Thread Vincent Snijders
Vincent Snijders schreef: Hi, If I compile a unit which contains {$R wincemenures.res} a file named wincemenures.or is created in the source directory, even if I have set -FU or -FE. What parameter do I need to pass to the compile to move the .or file to the unit output directory? Nobody

[fpc-pascal] Does ReallocMem(p,0) always set p to nil?

2007-05-03 Thread Vincent Snijders
Hi, Consider this piece of code: var p: pointer; begin p := getmem(100); reallocmem(p,0); p := nil; end. Do I need to do p:=nil, if I want to be sure that p contains nil? I saw that both system.SysReAllocMem and cmem.CReAllocMem do this, is size=0, but the docs at

Re: [fpc-pascal] Does ReallocMem(p,0) always set p to nil?

2007-05-07 Thread Vincent Snijders
Vincent Snijders schreef: Hi, Consider this piece of code: var p: pointer; begin p := getmem(100); reallocmem(p,0); p := nil; end. Do I need to do p:=nil, if I want to be sure that p contains nil? I saw that both system.SysReAllocMem and cmem.CReAllocMem do this, is size=0

Re: [fpc-pascal] set output directory for resources

2007-05-07 Thread Vincent Snijders
Peter Vreman schreef: Vincent Snijders schreef: Hi, If I compile a unit which contains {$R wincemenures.res} a file named wincemenures.or is created in the source directory, even if I have set -FU or -FE. What parameter do I need to pass to the compile to move the .or file to the unit output

Re: [fpc-pascal] Does ReallocMem(p,0) always set p to nil?

2007-05-07 Thread Vincent Snijders
Michael Van Canneyt schreef: On Mon, 7 May 2007, Vincent Snijders wrote: Vincent Snijders schreef: Hi, Consider this piece of code: var p: pointer; begin p := getmem(100); reallocmem(p,0); p := nil; end. Do I need to do p:=nil, if I want to be sure that p contains nil? I saw

[fpc-pascal] i386-darwin - powerpc-darwin crash

2007-05-09 Thread Vincent Snijders
Hi, I tried to create powerpc units for the lcl on an intelmac, but the compiler crashes. Is this a known issue? Vincent Schindlers-iMac:~/src/lazarus/lcl fpcfan$ make CPU_TARGET=powerpc FPC=~/fpc/bin/fpc /bin/rm -f units/powerpc-darwin/alllclunits.ppu /bin/mkdir -p units/powerpc-darwin

Re: [fpc-pascal] i386-darwin - powerpc-darwin crash

2007-05-09 Thread Vincent Snijders
Jonas Maebe schreef: On 09 May 2007, at 19:59, Vincent Snijders wrote: I tried to create powerpc units for the lcl on an intelmac, but the compiler crashes. Is this a known issue? The compiler is trying to use RTL/packages units compiled by a native ppc compiler (most likely the ones

Re: [fpc-pascal] Question about TProcess

2007-05-10 Thread Vincent Snijders
Darius Blaszijk schreef: The following piece of code is giving me headaches. When I add the option poUsePipes, the application starts and does not seem to do anything else anymore. It just opens a commandline terminal and that is that. When I leave the option out the application actually

Re: [fpc-pascal] Timers in FPC

2007-06-01 Thread Vincent Snijders
Flávio Etrusco schreef: BTW, while I'm still somewhat on-topic (but quite lazy ;-) , is there a high-resolution timer in FCL? If not, what about including Martin Waldenburg's qmwfasttime? Shall I file a request in Mantis? Also take a look at: http://wiki.lazarus.freepascal.org/EpikTimer

Re: [fpc-pascal] FPC only 32 bits?

2007-06-07 Thread Vincent Snijders
Francisco Reyes schreef: Henry Vermaak writes: this doesn't look right you've got BINUTILSPREFIX=x86_64-freebsd -INSTALL_PREFIX=... where you should have BINUTILSPREFIX=x86_64-freebsd- INSTALL_PREFIX=... (note the space after freebsd) did you copy in paste or is this a typo? It was a typo.

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-07 Thread Vincent Snijders
Catalin Zamfir Alexandru schreef: If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use it a lot on theg33ks.com in my articles. Does it work with mediawiki? Can you give a installation

Re: [fpc-pascal] strange with usage

2007-06-08 Thread Vincent Snijders
[EMAIL PROTECTED] schreef: In a delphi app I came across the following syntax; with PropInfo^, PropType^^ do Which results in a Error: Illegal qualifier. Has anyone an idea of what is meant here and how to port that to FPC? I'm puzzled. You have to check the definition carefully. IIRC

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-08 Thread Vincent Snijders
Johann Glaser schreef: Hi! Am Donnerstag, den 07.06.2007, 15:28 +0200 schrieb Vincent Snijders: Catalin Zamfir Alexandru schreef: If there was a petition for this, I would have signed it. We need SYNTAX highlithing ... :P NOW. :D If you do so, please use Geshi :D. It's the best and I use

Re: [fpc-pascal] Wiki Syntax Highlight

2007-06-10 Thread Vincent Snijders
Johann Glaser schreef: Hi! I installed GesHi and one of the extensions: see http://wiki.lazarus.freepascal.org/Executing_External_Programs for the results. Thanks a lot! I've beautified the Web Service Toolkit page now. Unfortunately the documentation about the Wiki itself is quite sparse

Re: [fpc-pascal] GTK2 Lazarus Project, but I want QT.

2007-06-20 Thread Vincent Snijders
On Wed, 20 Jun 2007 23:58:15 +0300 Catalin Zamfir Alexandru [EMAIL PROTECTED] wrote: Yes, built LCL for the Qt Interface. Compilation went great. A trick question: how did you do that exactly? Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] CheckSynchronize

2007-06-21 Thread Vincent Snijders
On Thu, 21 Jun 2007 17:08:05 +0200 Jonas Maebe [EMAIL PROTECTED] wrote: On 21 jun 2007, at 16:52, [EMAIL PROTECTED] wrote: I committed it in trunk in r7756. I created a wiki page with missing changes in the fixes branch. I am considering to add them the snapshots built for Lazarus.

Re: [fpc-pascal] CheckSynchronize

2007-06-21 Thread Vincent Snijders
On Thu, 21 Jun 2007 18:27:48 +0200 (CEST) Peter Vreman [EMAIL PROTECTED] wrote: On 21 jun 2007, at 16:52, [EMAIL PROTECTED] wrote: I committed it in trunk in r7756. I created a wiki page with missing changes in the fixes branch. I am considering to add them the snapshots built for

Re: [fpc-pascal] CheckSynchronize

2007-06-21 Thread Vincent Snijders
On Thu, 21 Jun 2007 18:49:39 +0200 Jonas Maebe [EMAIL PROTECTED] wrote: On 21 jun 2007, at 18:39, Vincent Snijders wrote: And I do actually want to be as close as possible to the release code, but IMHO opnion the merge policy of the fpc team is too strict. Afaics none of the two

Re: [fpc-pascal] CheckSynchronize

2007-06-21 Thread Vincent Snijders
On Thu, 21 Jun 2007 21:31:59 +0200 Jonas Maebe [EMAIL PROTECTED] wrote: Nobody will dispute that, regardless of when the release is. That's also not what the discussion is about. The question is whether it's better to risk introducing new unknown bugs by merging those particular patches

Re: [fpc-pascal] CheckSynchronize

2007-06-22 Thread Vincent Snijders
On Fri, 22 Jun 2007 06:58:55 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort) wrote: On 21 jun 2007, at 20:52, Marco van de Voort wrote: ... That said, you are clearly in favour of merging those patches, and so is Vincent. ... I'm a simple echo of Vincent. The point is that I

Re: [fpc-pascal] CHM components

2007-07-15 Thread Vincent Snijders
Michael Van Canneyt schreef: Hi, Andrew Haines has created some CHM writing components. They have been checked in in FPC's Subversion. Under packages/extra/chm. The makefiles is just for x86_64-linux. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] CHM components

2007-07-15 Thread Vincent Snijders
Vincent Snijders schreef: Michael Van Canneyt schreef: Hi, Andrew Haines has created some CHM writing components. They have been checked in in FPC's Subversion. Under packages/extra/chm. The makefiles is just for x86_64-linux. I regenerated the makefile in packages/extra/chm

Re: [fpc-pascal] Building a i686-pc-mingw32 crosscompiler from i686-darwin

2007-07-16 Thread Vincent Snijders
Daniël Mantione schreef: Op Mon, 16 Jul 2007, schreef Adriaan van Os: and hello.exe actually runs at the other side of the fence. Note that you can install Wine (I'm not sure though how the Darwin port hasprogressed) to do testing. With Wine you can do the full development without a

Re: [fpc-pascal] msedb and fcl-db benchmarks

2007-07-17 Thread Vincent Snijders
Joost van der Sluis schreef: If you know a way to measure that using linux? It should be possible, the shootout ppl also do this. http://shootout.alioth.debian.org/gp4/faq.php#memory Maybe you can poll /proc/$PID/status Vincent ___ fpc-pascal

Re: [fpc-pascal] Where is fpmkconv?

2007-08-11 Thread Vincent Snijders
Darius Blaszijk schreef: Do we need to use a Case Installer.OS of construct or can we implement$(CPU_TARGET) and $(OS_TARGET) as functions that return a string with the current targets? I would say just replace the macros with {$I %FPCTARGETOS%} and {$I %FPCTARGETCPU%} but how do others

Re: [fpc-pascal] Where is fpmkconv?

2007-08-11 Thread Vincent Snijders
Darius Blaszijk schreef: Vincent Snijders wrote: Darius Blaszijk schreef: Do we need to use a Case Installer.OS of construct or can we implement$(CPU_TARGET) and $(OS_TARGET) as functions that return a string with the current targets? I would say just replace the macros with {$I

Re: [fpc-pascal] OT: Rename for Pascal

2007-08-13 Thread Vincent Snijders
Weyert de Boer schreef: Puff, Delphi IDE is way faster then Lazarus. Beside of the need of that idiotic X11 under MacOSX. I will just develop my applications in Mono together with Cocoa# this works perfectly well together with Chrome. :) Good arguments. A name change would make no difference.

Re: [fpc-pascal] fpdoc cleanup after a refactor

2007-08-14 Thread Vincent Snijders
Graeme Geldenhuys schreef: ps: Will the fpdoc.css file used by FPC and Lazarus docs be included as the default in the next FPC release? The default css file in FPC 2.0.4 look crap compared to the one used on the web. ? It's the same file. Not in my copy. The one with 2.0.4 generates black

Re: [fpc-pascal] fpdoc cleanup after a refactor

2007-08-14 Thread Vincent Snijders
Vincent Snijders schreef: Graeme Geldenhuys schreef: ps: Will the fpdoc.css file used by FPC and Lazarus docs be included as the default in the next FPC release? The default css file in FPC 2.0.4 look crap compared to the one used on the web. ? It's the same file. Not in my copy. The one

Re: [fpc-pascal] Target path of a SymLink file

2007-08-15 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, Is there a function in SysUtils or some other place in RTL that I can use to extract the target path of a symlink file? I'm using FindFirst/FindNext. The sr.Attrib and faSymLink is True, but I can't (in a easy way) see how I can actually find out where it points

Re: [fpc-pascal] fpc verbosity

2007-08-23 Thread Vincent Snijders
Jonas Maebe schreef: On 23 Aug 2007, at 01:09, Darius Blaszijk wrote: Is the following correct? C:\FPC\rtlfpc -v0 myproject.pp Free Pascal Compiler version 2.3.1 [2007/08/22] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Shouldn't fpc -v0 -l myproject.pp give the above result? -l

Re: [fpc-pascal] Cross-platform single instance

2007-10-02 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: Hello, I was looking into a way to detect if an instance of my application is running. Is there a cross-platform solution on rtl or fcl? It seams that semaphores would be a good solution. I took a look at pthreads and PSemaphore but that is only an alias

Re: [fpc-pascal] fpwrite buffers issues

2007-10-08 Thread Vincent Snijders
ik schreef: Hello List, snip Then I tried to do the following code, that continue to write the buffer content until nothing more to write, but it reads wrong data: start_count := 0; output_count := readcount * sizeof(cshort); read_content := read_content_from([EMAIL PROTECTED],

Re: [fpc-pascal] class declaration questions

2007-10-12 Thread Vincent Snijders
Marc Santhoff schreef: Hi, the reference manual is not explicitly clear in describing class declarations. Is it true for classes as for objects that the first block of components after the class header are visible as if declared public? E.g. TAnyClass = class fField:anytype; end;

Re: [fpc-pascal] PasWiki for download?

2007-10-22 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 22/10/2007, Florian Klaempfl [EMAIL PROTECTED] wrote: Anything wrong with putting it in the fpc wiki? Oops, posting to the wrong mailing list. :-) Anyway, I thought the fpc wiki was only meant for FPC specific content. By that I mean FPC itself and any

Re: [fpc-pascal] Compiling / Make problems, latest SVN

2007-10-29 Thread Vincent Snijders
Jonas Maebe schreef: On 29 Oct 2007, at 07:54, Tobias Giesen wrote: I am trying to compile the latest FPC 2.3 SVN on OS X i386 with CPU_TARGET=powerpc. The crosscompiling guide on the freepascal web site says to do a: make cycle make cycle only works in the compiler subdirectory. But

Re: [fpc-pascal] fast text processing

2007-10-30 Thread Vincent Snijders
Bee schreef: The pascal counter-part resulting almost twice slower. Though not as simple as Perl, the pascal code is quite simple and only using standar fpc's units. But, I won't post the code here to not influence your logic. ;) For me it would be better if you posted the pascal program,

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: TStrings is meant for GUI purposes. It's design and implementation are not optimized. Then its our task to optimize it more (and more) so it could as fast as Perl. What I meant here is using standard or default FPC's classes/units. ;) I don't count any third parties

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: If you just want to show off, the easiest is simply making a FPC header to pcre, it might be useful even. Making a header on top of other libraries written by other languages is showing that FPC is lack of powerful units/libraries. For some particular cases maybe it's alright.

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Jeff Pohlmeyer schreef: this kludge is about 25% faster than your perl script on my machine Nope. It's still more or less twice slower. :-D I guess it depends on the hardware: % time koleksi.pl # perl Word count: 126944 Unique word count: 11793 real0m1.019s user0m0.992s sys

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: [EMAIL PROTECTED]:word_parser$ time ./project1 Word count:126944 Unique word count:11793 real0m0.185s user0m0.140s sys 0m0.000s [EMAIL PROTECTED]:word_parser$ time perl project1.perl Word count: 126944 Unique word count: 11793 real0m0.281s user0m0.244s sys

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: [EMAIL PROTECTED]:word_parser$ time ./project1 Word count:126944 Unique word count:11793 real0m0.185s user0m0.140s sys 0m0.000s [EMAIL PROTECTED]:word_parser$ time perl project1.perl Word count: 126944 Unique word count: 11793 real0m0.281s user0m0.244s sys

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Marco van de Voort schreef: [ Charset ISO-8859-1 unsupported, converting... ] I had never used Perl before. Until someone showed me Perl is very fast for text processing (using its powerful regex), despite it's an interpreted language. It even beat Delphi and FPC though both are compiled

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: But people who have seen http://shootout.alioth.debian.org/gp4/benchmark.php?test=regexdnalang=all may have doubted that. Vincent, are we connected or what?! I was about to post the very exact URL! :-D I wonder where fpc would end up in that list, A: if it uses its own

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Bee schreef: Sure, but as Jonas pointed out it is better to use a good library than the write a bad library yourself. And someone would claim that the speed comes from the library (c?), not from pascal. :P It's a LANGUAGE shootout btw, not LIBRARY shootout. Maybe you had forgotten that. ;)

Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: Jeff Pohlmeyer schreef: s[i]:=#0; SetLength(s,StrLen(@s[1])); Why not SetLength(s,i)? StrLen is _very_ expensive. I don't see a way how another #0 can be before. That is right, I am working on a version which does

<    1   2   3   4   5   >